This project is read-only.

Advise on part/action architecture

Topics: General, Writing modules
Oct 5, 2011 at 11:53 AM
Edited Oct 5, 2011 at 12:37 PM

Can you guys give me some advice on the following:

I have a user detail page which shows some basic information about a user. Then there are 4 other pages which are shown as tabs withing this user detail page like user connections, administration, etc.

What's the best way to create these pages?:

- Create a part for each pagetype and make them visible and invisible by placements and without a record. and attache those parts to the user type. then create for each part a action which return the user as a shape.

- Create controller and create for each route a different action with it's own routes.


Oct 5, 2011 at 8:35 PM

Both sound ok.