Welcome Guest, Not a member yet? Register   Sign In
Difficulty understanding how to code up a webpage
#9

[eluser]esra[/eluser]
[quote author="FX" date="1186925020"]oh my... extending the core classes don't work on the current version, so ? or it's just with the Controller class ?

dealing with a master controller class was just the case i won't want to do, because it's a small site and i don't need so complex builds. Anyway, i will definitely try your advice.

where can i find information on controller and view classes ? i do not know the set / part methods, and i've already missed the load->vars() one...[/quote]

I know it works in most versions when a controller class is extended from Controller.

Using a base controller in a simple application is optional. For OOP, you generally want to reuse as much code as possible, allowing subcontrollers to inheirit code from parent controllers.

CoolFactor's proposed View library thread is here:

http://ellislab.com/forums/viewthread/49910/


Messages In This Thread
Difficulty understanding how to code up a webpage - by El Forum - 08-08-2007, 10:23 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-08-2007, 10:50 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-08-2007, 12:52 PM
Difficulty understanding how to code up a webpage - by El Forum - 08-09-2007, 04:36 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-09-2007, 09:04 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-11-2007, 12:59 PM
Difficulty understanding how to code up a webpage - by El Forum - 08-11-2007, 07:07 PM
Difficulty understanding how to code up a webpage - by El Forum - 08-12-2007, 02:23 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-12-2007, 02:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB