Chris Holmes ha scritto: ... > If we end up with a UI framework like wicket combined with a completely > separate REST API like Restlet that can be fine, but if something like > Struts 2 can handle much of the REST calls with a plug-in then that > might make less overall code, so it'd be easier for contributors to get > their heads around it.
The only web frameworks that can do both UI and REST calls are the action based ones, in a component based one (Wicket, JSF) web services have nothing to do with UI building, whilst in an action based one you're throwing out a document in response to a call so they can be coaxed to do REST as well. The only framework I know about that can do both UI and REST is, as you stated, Struts2, with this plugin: http://struts.apache.org/2.x/docs/rest-plugin.html. So if this is a strong requirement, then the UI evaluation is pretty much done, we're left with just one candidate (or maybe two? can Cocoon do both UI and REST api? can it emit json?). Another thing that I was thinking about is the point that Arne raised during yesterday's meeting about the current UI looking bad and being clearly designed by a Java programmer as opposed by an interaction designer. An UI that does both REST and web pages has to behave like a service framework anyways, so I guess this leaves no room at all for an interaction designed to impose a different UI workflow? This seems to me like something requiring the REST API to be separated from the UI? Again, how much do we value the ability to make a very good UI as opposed to make it just a reflection of a good designed REST api? Do you think both can be achieved at the same time? One final thing that comes to mind is a reaction to the following statement: > The prototype is working pretty decently. I do think it's a possibility > that we would invest enough to have it usable by the code sprint, or > soon after. Does it make sense to invest on it while considering the idea of throwing it away and redoing it with a web framework that can do REST as well? Cheers Andrea ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
