Re: [Tutor] Webprogramming with the MVC pattern

2006-03-23 Thread Alan Gauld
Hi Jan, > I am about to build my first web application using the MVC > pattern. MVC can be done in many ways. Are you trying to build this from scratch or are you using some kind of Web framework such as Zope or CherryPy? > Now I am wondering which might be the best way to initialize > both a mo

[Tutor] Webprogramming with the MVC pattern

2006-03-23 Thread Jan Eden
Hi, I am about to build my first web application using the MVC pattern. Now I am wondering which might be the best way to initialize both a model and a presenter based on the model and its state. My controller should look like this: # model = Models.ModelFactory(cgi_parameters) view =