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

[eluser]Colin Williams[/eluser]
Correct.

app/controllers/bike.php
app/controllers/bike/part.php
app/controllers/bike/manufacturer.php

More and more I don't like how bike.php falls out of the other group, so I've considered moving it to app/controllers/bike/core.php, but I equally don't like setting up routing when it isn't absolutely necessary.. IDK, still up in the air about it.

I might also mention that I have one Bike_model, prototyped like:

Code:
Bike_model
    save_bike()
    get_bike()
    save_part()
    get_part()
    save_manufacturer()
    get_manufacturer()
    [...]

To me, it's nice having that as one unit.


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



Theme © iAndrew 2016 - Forum software by © MyBB