DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Resolver in Angular: An Overview
  • From Low Code to No Code: Borne to the Extreme Necessity to Solve Key Tech
  • Top 13 Mobile App Development Platforms You Need
  • 5 Best JavaScript Web Development Frameworks

Trending

  • The Agile Architect: Mastering Architectural Observability To Slay Technical Debt
  • TypeScript: Useful Features
  • What Technical Skills Can You Expect To Gain From a DevOps Course Syllabus?
  • How To Learn Secure Software Development Lifecycle (SDLC)
  1. DZone
  2. Coding
  3. Frameworks
  4. Jaggery.js: The Delicious Javascript Framework

Jaggery.js: The Delicious Javascript Framework

Pubudu Dissanayake user avatar by
Pubudu Dissanayake
·
Mar. 19, 14 · Interview
Like (0)
Save
Tweet
Share
5.61K Views

Join the DZone community and get the full member experience.

Join For Free

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, works 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 ?

jaggeryjs

jaggery is a framework to write web apps 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 .

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"}';
print(parse(jsonstring));
%>

you can try the above code on jaggery-tryit . download jaggery framework form the parent site and do your experiments, here are a few sample implementations which helps you to learn in depth about what jaggery can do.

cheers, happy coding.

resources

[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/

JavaScript framework

Published at DZone with permission of Pubudu Dissanayake. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Resolver in Angular: An Overview
  • From Low Code to No Code: Borne to the Extreme Necessity to Solve Key Tech
  • Top 13 Mobile App Development Platforms You Need
  • 5 Best JavaScript Web Development Frameworks

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: