How's that different from creating the builders and relations first before writing the jsp pages to display/edit them? If you need to change your model (move data from one table to the next, use different relations etc) that really is much easier to do when you have all the code that interacts with the data in one place (i.e. in the model classes) instead of having to grep through hundreds of jsp pages that query the cloud via getlists... And for simple modifications like adding tables, relations or properties I doubt that you need to do much more in a good MVC framework than you need to do right now.
OK, but what would be a good MVC framework for MMBase?
> One of the concepts, i believe, that laid thefundament for the web was the iterative nature of HTML. You could (can) at every moment change the look of your page by fiddling with your HTML-tags. And that's also the nature of the current MMBase taglib, you can fiddle as much as you like until it looks right ;-)
MVC is not about the look - It's talking about how the data on
You are twisting my words. With 'looks right', i meant it works the way you want it to...
the page is retrieved from the database and how you get user input back in the database. You can still use jsp's and taglibs to query the model classes and display some nice html. In fact, that is basically what
... in the way it puts data on a page or gets it from a user. Just like you are saying here.
MMBase is doing already, it just doesn't really have a controller (usually everything, including the cloud connector, is set up via the
You mean like nobody has ever coded a controller for MMBase? If i read you correctly, you are suggesting a controller should be invented for MMBase or it should be done with some other software. MMBase is missing the c in mvc.
Maybe someone could come up with an example? I mean, there is a lot of talk on this list about mvc but i am missing some good examples or proposals (project?) to try to come up with some solution that works in a more or less generic way with MMBase.
Michael wrote about the possibilities of adding a controller to MMBase. He mentioned struts.
And i regret having missed Rob van Maris presentation. I read in Kees his minutes (thanks) that he talked about a mvc approach.
---Andr� -- Andr� van Toly http://www.toly.nl mobile +31(0)627233562 ------------------------------------------------------------------>><<-- _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
