Page 1 of 1

Ajax for database insert

Posted: Fri Dec 09, 2011 12:19 am
by angelo
Hey there,
I need a quick advice, I'm developing a functionality on the backend side (that will be then used as a module that I still have to implement). The thing is quite simple, based on the Banners feature (I've duplicated and edited those pages) I need now to insert some extra data (stored in a hidden form) in the database. Now, Ajax or not, how do I manage the form's action page (the page that receives those data and do the insert) dealing with the MVC pattern?

Thanks

Re: Ajax for database insert

Posted: Fri Dec 09, 2011 12:30 am
by angelo
Image

Is this a valid diagram for the openCart flow?
is the controller the part receiving the request?
Am I wrong or it means I could have a page without the view component?