I am going to be building a project and have been considering giving a
go at merb for it.  I don't necessarily need a speed increase and
rails would certainly serve my needs well.  However, it just looks so
clean, I have to try it out.

I also don't really use (know) all the extra rails stuff much, so I
really just want activerecord and an MVC pattern.  Perfect!

So, one of my requirements is usually to have a separate admin
interface.  What would be the recommended way to do this using merb?

eg:

r.resources :posts # for the public
r.resources :admin_posts # for the admin section

It would be nice to simply have a namespace, such as in rails where
I'd so something like:

r.resources :posts, :path_prefix => "admin", :controller =>
"admin/products", :name_prefix => "admin"

However, it doesn't look like to me like merb is setup for anything
like that right now.  How are current users doing this kind of
routing?  Is there a reason against this that I haven't thought of or
listened to yet?    Perhaps a better way?

Thanks for your opinions.

-Dusty Doris
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel

Reply via email to