Welcome Guest, Not a member yet? Register   Sign In
How to structure my app?
#1

[eluser]Mauricio de Abreu Antunes[/eluser]
Hello,

I have a controller here:
My index() method shows my view and print my 'notes'.
Ok, i wanna do a insert page now.

The right way is create a insert() method that calls a view note_insert_view with my form?
And where do i put my validation and controll insertion method?

insert_note($params) in my controller?


Messages In This Thread
How to structure my app? - by El Forum - 02-16-2012, 03:47 PM
How to structure my app? - by El Forum - 02-16-2012, 04:16 PM
How to structure my app? - by El Forum - 02-16-2012, 04:22 PM
How to structure my app? - by El Forum - 02-16-2012, 04:43 PM
How to structure my app? - by El Forum - 02-16-2012, 04:57 PM
How to structure my app? - by El Forum - 02-16-2012, 05:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB