Welcome Guest, Not a member yet? Register   Sign In
TRUE contoller CRUD? Another way to not repeat myself?
#9

[eluser]Devon Lambert[/eluser]
Hey umefarooq,

Again, thanks for being so helpful. Your code does look great but it still doesn't necessarily reduce the amount of code I have to write for all of the Admin Controllers?

i.e. There is still no way to load the necessary model that must match up to each specific controller function.

For instance, the code I presented above is specifically for adding, and editing, new sites within my CMS. However, I repeat much this same process for adding, and editing, themes within my site. I also do the same thing for adding, and editing, pages within my site.

Does this make more sense. If I'm way off then please let me know but I definitely assumed there was some easy way to widdle away at this code and allow me to say drop in the MODULE that I am working on, on the fly, and have it automagically speak to it's respective model?


Messages In This Thread
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-15-2010, 11:08 PM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-15-2010, 11:58 PM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-16-2010, 02:54 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-16-2010, 07:26 PM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 12:06 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 02:11 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 04:02 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 04:06 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 10:23 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 10:31 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 10:45 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 10:49 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 10:58 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-17-2010, 11:52 PM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-18-2010, 12:26 AM
TRUE contoller CRUD? Another way to not repeat myself? - by El Forum - 03-18-2010, 01:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB