You have a point although not entirely correct. The models provide standard CRUD operations through 2 simple functions in the DB object. So all you need to do is to pass them array of variables, like $_POST and you can insert or update. In my opinion it's even better that ActiveRecord, because AR requires you to match the fields in the DB table. On the contrary celeroo reads the fields in the table and use only these fields from $_POST that match (the others are ignored). So you don't need to worry about placing some additional fields in the forms - this is something that always drove me nuts with Active record.
But the models should be more OOP style and provide standard methods like add(), update() or something like that. I agree on this point. On 30 Апр, 00:55, Faza <[email protected]> wrote: > LOL their "models" require you to actually type the SQL queries by hand... > > I vote spam of the quarter... > > Dardo Sordi Bogado pisze: > > > We should start giving prices like "Spam of the month" > > > On Wed, Apr 29, 2009 at 6:35 AM, celeroo <[email protected]> > > wrote: > > >> Hi, > > >> Here is a nice simple "MVC PHP Framework", which is powerful, > >> lightweight, very flexible, transparent. One can easily modify as per > >> their need. It is not complex or very restricted like other > >> frameworks. Just have a look at thishttp://www.celeroo.com/frame/frame.html > > >> Thanks > >> celeroo > >> Web Software Development Tool --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
