Using PURE on the Server Side
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



Funny coincidence…
Juste reading now that you used Aptana to build Pure…
This very morning, a colleague just showed me the “program he had discovered” to write some RoR .. well that was Aptana .. Was going to fetch the install file on his PC when I bumped into the RSS feed about this news …
Coincidences are sometimes quite frightening tbh
Excellent work, guys.
I’ve been enjoying using PURE. I’ve got a nice example lined up that uses Jaxer’s database API and slots the results into a dynamically created template.
It great to see folks using our tools to build stuff I want to use!
keep it up!
You can also use Jaxer to provide the JSON data services that feed PURE on the client-side.
@ Kevin:
It is an interesting idea because you can end up with a full application with just HTML/CSS/JavaScript.
I am just wondering about performance. It can be really powerful for small websites and apps, but what when you need to support higher usage.
Have you already looked at that aspect ?