Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthordanfreak
    • CommentTimeFeb 18th 2008
     
    Hey guys,

    I'm asking you about development best practices for building an admin backend.

    In other frameworks there is a feature called 'admin routing'.

    Basically, you set an admin routing word in a config, let's say 'admin', then if you use this prefix in your methods, let's say

    admin_add()

    in your Posts controller, the uri is http://www.yourdomain.com/admin/posts/add

    In this way you can then implement a login stuff that requires a certain user group in order to access the admin prefixed method.

    Is there something similar in Akelos?
    If not, is there any best practice in order to build an admin backend?

    Cheers

    Dan
    •  
      CommentAuthorbermi
    • CommentTimeFeb 18th 2008
     

    Hi Dan,

    In Akelos you can use what we call modules.

    http://wiki.akelos.org/modules

    Basically you can move admin/private/secure actions to a sub-folder in app/controllers instead of mixing them in the same one.

    • CommentAuthordanfreak
    • CommentTimeFeb 18th 2008
     
    Cheers Bermi!

    Sorry for my tons of questions but I'm discovering!

    I'll study the modules then!

    Keep up the great work!

    Dan
Add your comments
    Username Password
  • Format comments as