You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to turbo...@googlegroups.com
Hi all,
I have some problem and I don't know how to make best solution for that.
I want to have many projects on my web site taken from database (Projects) and manage it separatly. For each project,I would like toassign resourcessuch aspeople, materials,expenses, etc..Eachresourcehas its ownseparate tablein the database.
When I create new project in Projects table then I want assign resources and view each project as a new subpage in my website.
How can I do this?
I think that quick solution can be dynamic controller creation. When I add new project for database then it has its own controller, but I don't know if it is good solution and I don't know also how to create controllers in dynamic way.
I would be gratefulfor any tipsand anycode examples.
Alessandro Molina
unread,
Jul 4, 2012, 6:46:59 AM7/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to turbo...@googlegroups.com
You can use the _lookup or _default method of the controllers to
dynamically dispatch requests.
The _lookup way requires to return a controller instance which will be
used to serve the successive parts of the url.
You can off course create the controller inside the _lookup itself to
implement dynamic dispatch