Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorvicent
    Can I show a generic page whitout query data base?
    For exemple, I want show a file list in a server. I have a controlle file_controller.php, a model file.php and template show_file.tpl. But I dont want query any table for show information.
    Excuse me for my english, I'm from València.
    • CommentAuthordale

    Yes, you should be able to do that. A couple of things you might want to consider:

    • Your model probably doesn't need to extend ActiveRecord since it's not going to access the database
    • You might consider set AK_AUTOMATIC_DB_CONNECTION to false so that you don't make any connection to the database at all