Hi Allen, et. al.,
I responded to Allen's comments on the NewUrlStructure page of the wiki:
http://rollerweblogger.org/wiki/Wiki.jsp?page=Proposal_NewUrlStructure
and started a Proposal for using Spring MVC:
http://rollerweblogger.org/wiki/Wiki.jsp?page=Proposal_VelocityToSpringMVC
I'm quite busy for the next two weeks, but will be able to work with
Allen (and others) to flesh out/discuss the proposal. However, I can
commit to coding/helping with the Spring MVC implementation for the
Roller 3.0 release.
It seems to me that one of the next steps is to see if the
SimpleUrlHandlerMapping will work for the proposed new URL structure. I
should have the time to write the XML configuration for the mapping
sometime tomorrow. Creating the full Spring config file for the web
layer, roller-servlet.xml (or whatever it will be called) and changes to
web.xml would be the step after writing the URL matching strings for
SimpleUrlHandlerMapping.
Although I believe SpringMVC will help with URL mapping, the main
reason I am proposing is because I believe view-layer independence is a
compelling reason for considering this proposal. I'm not saying we want
to move away from Velocity in the short term, but I think the Roller
codebase should keep the view layer "pluggable" just in case. It means
that the Roller blog engine could be used with a different template
engine than Velocity, not that we would be forcing any existing sites to
migrate.
Regards,
Sean