We built PURE with the idea of having the rendering of the HTML on the client.
The idea behind it is to decentralize the power needed to run the application to the clients and also to lower the bandwidth needed (by sending just small pieces of JSON).
If this is good in our context (creation of a business application), some people might have good reasons to render the HTML on the server side.
For example, if you need to have the content of your application or website indexed by Google (for SEO).
We have planned to bring the logic of PURE to our Erlang back-end for our own needs (like sending tables to Excel for example) and there is nothing that should stop anybody from doing the same with any other back-end language.
But there is also the possibility to run the JavaScript on the server side.
While we have received comments about Spidermonkey or Rhino, we have never performed tests until now.
We have however received a message from Davey Waterson, JavaScript Architect from Aptana, telling us that:
PURE works unchanged out of the box with Jaxer running as serverside JS
Have a look at his example. You can also check out the Aptana website for more information about Jaxer
Davey will soon publish new examples of integration between PURE and Jaxer on the Aptana Forum
We’ll keep you updated.
On a more personal note, PURE has been entirely built on Aptana Studio and it was a great surprise to read that the same company was paying attention to our project.
Stay tuned