I'm looking for a good web framework for compositing multiple JSON sources fetched with HTTP requests in to static HTML. I am not looking to do this on the client-side (browser, javascript), I am looking for the best server-side solution.
So, what I need to do is:
- Fetch several different JSON documents over HTTP
- Format that JSON as HTML content, mostly with templates but some dynamic custom HTML
- Basic login/logout/preferences customization, nothing major
- Mostly stateless pages; what state there is, comes already in the JSON
- User / search engine friendly / bookmarkable URLs; should be customizable accurately
How I'd like to do it:
- A lean solution, perhaps just a template engine
- HTML templates that have no custom syntax over HTML/XML, like Wicket and almost like Tapestry
- Application server that is scalable and utilizes multiple CPUs properly (for example, a single Python process does not)
- Preferably Java, but if Java doesn't have anything that fits, willing to consider others
As for the template part, if this were to be in JavaScript in the browser, something like PURE would be my tool of choice.