Jaggery.js – The delicious Javascript framework

Why JavaScript ?

There is no denying that since its inception in the mid 90’s, JavaScript has become one of the most popular Web development languages. So it has become the top language due to its ability to deliver rich, dynamic web content, its relatively lightweight and its high ease of use. In recent years, we’ve seen its continued evolution beyond the desktop to areas such as mobility and server-side web applications. There are strong odds in favor of JavaScript becoming the dominant language of the enterprise.This isn’t to say every other language will atrophy overnight (They won’t !) but legacy systems count on them for sure. So yet a revolutionary,a simple, open language, equally adapted to building both client and server-side apps? There’s no such thing as technology perfection, but JavaScript looks like the next best thing.

A modern web application invariably includes a significant client-side Javascript component.Why then are we using a completely separate language for server-side programming? You don’t have to switch our brain here and there, now we can use Javascript for server-side-programming for an example Node.js which is based on Google’s V8 JavaScript engine, that makes wonders. I’m directing this post towards another revolutionary server-side Javascript framework called.” jaggery.js “. Jaggery uses Javascript as the server-side programming language, the obvious choice for simplification. let’s get on with it. shall we ?


Jaggery is a framework to write webapps and HTTP-focused web services for all aspects of the application: front-end, communication, Server-side logic and persistence in pure Javascript. One of the intents of this framework is to reduce the gap between writing web apps and web services. Importantly, Jaggery is open-source and released under Apache 2.0. if you interested to read the full manifesto read it from here [5] .

Enough said, here’s a simple example, a step beyond the basic hello world to help you get a sample of Jaggery’s core implementations. enjoy 🙂

var jsonString = '{"name":"Pubudu","company":"WSO2"}';

You can try above code on Jaggery-Tryit . Download jaggery framework form the parent site [2] and do your experiments, here few sample implementations which helps you to learn in depth about what jaggery can do.

My next blog post will be about Basic CRUD operations using Jaggery, till then happy coding 🙂


[1] http://wso2.com/library/articles/2012/10/introducing-jaggery-the-newer-easier-way-of-writing-web-apps/

[2] http://jaggeryjs.org/

[3] http://wso2.com/library/webinars/2012/05/wso2-product-release-webinar-introducing-jaggery-serverside-javascript-framework-composing-web-app/

[4] http://jaggeryjs.org/samples.jag

[5] http://jaggeryjs.org/about.jag


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s