How do you use the MVC paradigm in PHP with ADODB as your DAL?

Jwam

New Member
No ORM. All I know is that I have PHP 5+ and adodb. From those two, how can I use MVC? I cannot use other frameworks and I"m not asking that someone build be anything from scratch (I want to learn!). But how would I start off here? I know how to mix things incorrectly classic asp style. What I don't know how to do, on a very very basic level is to do MVC. Say I had a model which is just some adodb and SQL, how do I get that to go from my "model" to my view? Or how do I call anything from my controller since I don't have an ORM to call?Can someone give me something concrete? I am hoping this is the basis of a future CMS.Thanks
 
Back
Top