From: Greg T. <gre...@mi...> - 2007-02-15 23:30:43
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Woonsan Ko wrote: > Hi all, > > As I understand, Web MVC is not considered as a future feature. > IMHO, the Web MVC feature should be considered because of the following reasons: > > - Most Java based spring users are very familiar to Spring Web MVC framework. Other python web > frameworks are not familiar specially considering the configurations on components, url handler > mappings and so on. > - Web frameworks such as CherryPy don't provide tightly-integrated local mode with mod_python. > For many cases, it would be preferable to deploy python web apps under Apache local mode with > mod_python. > - A python handler can do like DispatcherServlet according to applicationContext.xml, which > defines components and mappings. And this will provide very simple approach to python web > developers. > > Any comment will be appreciated. > Thanks! > > Regards, > > -Woonsan > Hey Woonsan, First of all, I want to welcome you to Spring Python! Regarding web application development, let me give you my background on that. I'm a software engineer by trade, and I have yet to build one at work. I have started getting interested in web development since I got going with this project. Basically, that means I little experience with Spring's MVC stuff. That is my bias on that. However, I went on build PetClinic as a web app, and have been having fun doing that. My big push for version 0.2.0 was to get some core parts that are the equivalent of Acegi Security into the baseline. That included web based security. Since I had already invested effort into Cherrypy, I decided to move further on that. If you pick through http://springpython.python-hosting.com/wiki/ApplicationSecurity, you will see most of that security documentation is web oriented. Believe it or not, I am actually spending most of my Spring Python time still working in web application development. I have been trying to rewrite the security web components to be WSGI-compliant. I see there are many web frameworks and I like Spring's attitude of trying to integrate with lots of things. It seems to me that WSGI is the secret recipe to integrating with lots of web frameworks, like Quixote, Paste, Cherrypy, whatever. That is one of the reasons which, if you drill down into the PetClinic sample, it is inside a "cherrypy" folder. I would like to have alternate version of PetClinic for other systems, and be able to demonstrate reusable components. So basically, my sphere of influence hasn't been on Spring's MVC. But, this is a an open source framework, and if there is demand for it, of course we can move in that direction. I have no quarrel with it getting in there. The parts of Spring and Acegi I have played with the most are the parts I most readily could visualize how to get into Spring Python. So what you see reflects what I know. I am not opposed to implement Web MVC. It's just not at the front of my personal list, and so far, I'm the only one coding right now! BTW, the Spring Python site is locked down from anonymous edits to avoid spam. I'm willing to grant other developers access on a case-by-case basis. If you are interested in working more on this, let me know. P.S. I am interested in where you heard about Spring Python. And did you find out about this through java/spring channels, or through python channels? Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF1O0aWo5A/EaBZk4RAgedAJ9nMAWwcBdYArBHIXqLNJmwM3NUlgCdHK0c zCXAryEuJ6W7ZxXNBca9sCI= =yKx6 -----END PGP SIGNATURE----- |