InfoQ

News

jMaki Ajax Framework Releases 1.0 with Support for Java, PHP, and Ruby

Posted by Craig Wickesser on Sep 25, 2007 04:51 PM

Community
Java
Topics
Web Frameworks
Tags
AJDT
Today the jMaki project released version 1.0.  jMaki is a client/server framework for creating Web 2.0 applications.  jMaki abstracts JavaScript and CSS by providing widgets. The JavaScript and CSS are made easily accessible so they may be customized by a designer or page developer however. InfoQ recently had the pleasure of interviewing jMaki's lead developer Greg Murray to discuss the upcoming release of jMaki 1.0. Before discussing the upcoming release Murray provided some background on jMaki.

 

Almost two years ago, in the Land of the Rising Sun, work began on a project known as jMaki. Simply put, jMaki is a client/server framework for developing AJAX applications. The primary focus has been geared towards corporate developers although they are working to broaden their scope. Eventually the jMaki team

...would love to see jMaki become the Wordpress of Ajax functionality.
Murray explained that,
jMaki began as a way to describe portable / reusable JavaScript. We soon found that it was very useful for wrapping the growing set of JavaScript toolkits out there. Being a client server framework we are able to make the process of defining widgets and the dependent JavaScript dependencies, CSS, and HTML template text could be accelerated by a server.
He continued to explain the overall goal of the jMaki project,
Basically we want jMaki to provide a framework where you can create standards based applications that use your code along with the best of breed toolkits and functionalities out there. This might include Dojo or Yahoo Widgets, use Google Gears for local storage, Scriptataculus / Protoscript for effects, and use services such as Yahoo or Google Maps.
Additionally, Murray made the point clear that jMaki is not an "all or nothing framework",
jMaki is good as a single widget (such as a chart or the revolver) and it is also good for applications. The framework is designed to perform well. The client-side script containing all the core functionality is 18KB. Further, size is determined by what you decide to use and we have also gone through great pains to make sure the toolkits we use are tuned to work very well.

 

The release of jMaki 1.0 provides developers with a plethora of features and capabilities which Murray explained when answering InfoQ's question, If you had the opportunity to sit with a web application developer who was about to start a new application, what would be the top five features or capabilities that you would point out? 

  1. Defaults set when you use a widget /extension
  2. jMaki adheres to convention over configuration. There are well known locations for putting widgets /extensions that get picked up. Especially when you use a tool you will get a working widget when you drag it in the page. The templates we use have inlnine data (data can also be loaded using Ajax calls).
  3. Tooling
  4. We provide plugins for Netbeans / Eclipse and have Ant tasks for building web applications
  5. Standardizes Event / Data Models
  6. We have a consistent way of describing widgets and interactions with widgets. This allows you to learn one model and you can apply it across toolkits. We manage the differences in the widget wrappers we have written.
  7. Consistent programming model
  8. The way to interact with a widget is consistent across toolkits. The use of Actions for example is a single way of handling events on widgets declaratively. We have glue to allow for a programatic way of handling events on widgets, extensions, or user behavior.
  9. Portable Widget / Extension libraries
  10. jMaki widgets are portable and they can also be aggregated into libraries which include all of their need resources. This allows a user to upgrade or share a set of widgets in a simple zip file package format that can be loaded by tools
  11. Extensions
  12. jMaki isn't about just widgets any more. You can also wrap Google Gears, Protoscript, JavaScript sound, or any other JavaScirpt accessible functionality in portable libraries in a re-usable manner.
  13. Platform Independence
  14. jMaki has full support for Java (JSP / JSF 1.1-2 / Facelets / Portlets), PHP 5.x, Phobos, and now Ruby (though we don't have the proxy implemented do to there not being a standard XSLT processor).

 

The release of jMaki 1.0 is a culmination of a lot of hard work and time by the community. However, with a 1.0 release date of September 25, Murray and the rest of the team have already begun discussion jMaki 1.1. Future enhancements include improving the consistency of the client-event bus connection with the server component, improving the breath of widgets (i.e. jQuery and Protoscript) and increase the utilization of the server to improve the over the wire experience.

1 comment

Reply

qwqwq by berkay NiQuiL Posted Jun 30, 2008 2:00 PM
  1. Back to top

    qwqwq

    Jun 30, 2008 2:00 PM by berkay NiQuiL

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.