On Aug 24, 5:53 pm, Mike Orr <[email protected]> wrote:
> On Mon, Aug 24, 2009 at 10:38 AM, Thomas G. Willis<[email protected]> 
> wrote:
> ...
> Regarding Spring, based on a brief glance at its webpage:
>
> - Its MVC has both a Controller and a FrontController.  The
> FrontController is equivalent to PylonsApp.  The Controller is what
> Pylons calls a Controller and Django calls a View, although Python
> usage may be shifting toward the View direction (?).
>
> - The Controller returns a Model, which the FrontController passes to
> the view.  This is similar to 'c' in Pylons.
>
> - The URL mapper is an XML file, linking URLs to controllers, views,
> and models.  It also has "pluggable MVC", which I think would be the
> equivalent of modularizing part of PylonsApp to allow for different
> paradigms.  The Pypes project is experimenting with a config-file
> mapper and perhaps pluggable MVC.
>
> --
> Mike Orr <[email protected]>

I should probably clarify better what I was thinking here.

spring + spring-mvc = WSGI+paste + pylons

As I understand it at a high level, spring is a framework that is
supposed to help you compose applications in a way that is extendable
and testable and probably other things basically everything that an
inversion of control pattern is suppose to get you. It's as much a
collection of recipes as it is a framework. spring mvc takes advantage
of the recipes/framework spring  has to offer and provides your run of
the mill mvc framework for java as you just pointed out. This isn't a
big deal unless you are stuck in J2EE maintenance hell. If you are
stuck in J2EE maintenance hell,  spring and spring mvc is the new
hotness you wish you were using if you arent' fed up with java yet.

What I was thinking is that the relationship between WSGI+Paste and
Pylons has a similar parallel. WSGI is a spec and to me Paste is a way
of composing applications that meet a spec in a way that promotes
flexibility, sort of a best practices and a bit of code to help you
get there, similar to spring. And then pylons I think we can all agree
is an mvc, so in a way I can be led to believe that it is like spring
mvc.

It's a loose comparison I'll admit, but if we're talking marketing, I
figure it might be worth spending some mental cycles thinking about.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to