Welcome Guest, Not a member yet? Register   Sign In
I'm at a standstill....need help with controllers (theory)
#13

[eluser]jleequeen[/eluser]
[quote author="Colin Williams" date="1220137703"]I actually have a similar real-world scenario happening now. I'm adding a feature to site through which users can create and manage "bike checks" and share these with other users, embed them in social networking sites, etc.

The main object is a bike. A bike is made up of bike parts and some meta info. Bike parts are made up of bike manufacturers and bike part types. I've got a lot of different objects coming together to make one bike object.

I've settled on breaking it down into several controllers, all nested under bike:

bike
bike/add
bike/edit
bike/delete
bike/view

bike/part/view
bike/part/add
bike/part/edit
bike/part/delete

bike/manufacturer/add
...

bike/part_type/add
...[/quote]

Does that mean your using controller subfolders? you have a bike controller, but then you have a bike subfolder with a part controller..and manufacturer controller??


Messages In This Thread
I'm at a standstill....need help with controllers (theory) - by El Forum - 08-30-2008, 01:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB