top

Java + JavaScript = PurpleJS

PurpleJS, the amalgamation of Java and JavaScript, is a framework for executing lightweight JS server applications without the convolution of the Node.js asynchronous programming model. In order to build multithreaded applications, developers can use PurpleJS, which is open source and using this, developers will also be able to use the same code on both the server and the browser. Another advantage for developers is Javascript can be used with already existing Java projects. PurpleJS main developer, Sten Roger Sandvik said, "PurpleJS is a simple and capable framework for creating performant web applications without leaving JavaScript". Sandvik explained that PurpleJS should not be considered as a replacement for Node.js, the popular server-side JavaScript platform. PurpleJS is totally a new model and it is now going to support the asynchronous programming approach in the future. Applications can be built in PurpleJS using the Gradle build system and the Java SDK. In PurpleJS, Java serves as the runtime, but coding is done in JavaScript. Sandvik explained, "It's very easy to develop in 'dev' mode and you will not need to restart the server as long as you stick with JavaScript coding”. According to Sandvik, APIs in PurpleScript are becoming more stable but still framework needs work. PurpleJS is lacking application configuration and it should be in place before the release of 1.0. Also, it demands more libraries and to name a few - SQL, MongoDB, Influx, Freemarker, and Velocity. Sten Roger Sandvik is also in the process of implementing support for CLIs made with PurpleJS. Sandvik is now working for Enonic, offering Enonic XP Web Operating System. PurpleJS is currently a separate project from Enonic but the framework’s code is donated by Enonic.
Rated 4.0/5 based on 20 customer reviews
Normal Mode Dark Mode

Java + JavaScript = PurpleJS

Geneva Clark
What's New
27th Oct, 2016
Java + JavaScript = PurpleJS

PurpleJS, the amalgamation of Java and JavaScript, is a framework for executing lightweight JS server applications without the convolution of the Node.js asynchronous programming model.

In order to build multithreaded applications, developers can use PurpleJS, which is open source and using this, developers will also be able to use the same code on both the server and the browser. Another advantage for developers is Javascript can be used with already existing Java projects.

PurpleJS main developer, Sten Roger Sandvik said, "PurpleJS is a simple and capable framework for creating performant web applications without leaving JavaScript".

Sandvik explained that PurpleJS should not be considered as a replacement for Node.js, the popular server-side JavaScript platform. PurpleJS is totally a new model and it is now going to support the asynchronous programming approach in the future.

Applications can be built in PurpleJS using the Gradle build system and the Java SDK. In PurpleJS, Java serves as the runtime, but coding is done in JavaScript. Sandvik explained, "It's very easy to develop in 'dev' mode and you will not need to restart the server as long as you stick with JavaScript coding”.

According to Sandvik, APIs in PurpleScript are becoming more stable but still framework needs work. PurpleJS is lacking application configuration and it should be in place before the release of 1.0. Also, it demands more libraries and to name a few - SQL, MongoDB, Influx, Freemarker, and Velocity. Sten Roger Sandvik is also in the process of implementing support for CLIs made with PurpleJS.

Sandvik is now working for Enonic, offering Enonic XP Web Operating System. PurpleJS is currently a separate project from Enonic but the framework’s code is donated by Enonic.

Geneva

Geneva Clark

Blog Author
Geneva specializes in back-end web development and has always been fascinated by the dynamic part of the web. Talk to her about modern web applications and she and loves to nerd out on all things Ruby on Rails.

Leave a Reply

Your email address will not be published. Required fields are marked *

SUBSCRIBE OUR BLOG

Follow Us On

Share on

other Blogs

20% Discount