I know...I know...in the world of social networking like twitter, blogs just aren't cool anymore, right? Well every once and a while I want to share something that exceeds 144 characters, so I created SolamenteNiel, my blog. While I'm at it, I'm also going old school with a cheesy picture of myself on my blog. In this picture I'm pertending to be an IndyCar driver.
In the last few days I've started some hands-on exploring of Ext, "the client-side, JavaScript framework for building web applications". It's popularity is growing, and I can understand why. It's a pretty remarkable library for building rich user interfaces. What I really wanted to know is whether or not I could easily use Ext from Skyway Builder. Over the last several months as Skyway Builder Community Edition (open source) was approaching it's beta 1 release, I was anxious to give Ext a test drive with Skyway Builder. So I hacked some of the Ext samples to build a basic Ext grid and form that integrated with server logic implemented with Skyway Builder. So the UI was implemented using Ext, and the logic for responding to user events and persistence were implemented using Skyway models, which are generated and deployed as a JEE WAR file using the Spring Framework. The experiment went very well, and it energized me to explore this in more detail. When time allowed, I wanted to build a slightly more comprehensive example.
So the very next day I find a blog post titled "CRUD application using Ext and Java" on Abdel's blog. He built a CRUD application using Ext, a few java servlets, and an oracle database. I was curious if I could take his slightly more comprehensive Ext application and re-implement the back end with Skyway. One of the design goals of Skyway Builder is to provide additive and incremental functionality without being intrusive. I thought this would be a good test for Skyway Builder because I didn't write the Ext front-end. If the design goal was met, I should be able to fully leverage Abdel's Ext application without having to make any accomodations for Skyway.
In about 1 hour from downloading Abdel's sample project, I completely re-implemented the backend using Skyway Builder. Here are the details:
I was very pleased with the excellent results of this experiment. The only changes I need to make to Abdel's Ext application (application.js) was to change the form field names to match the variable name I used for my Person data object. If Skyway integrates well with Ext, it's reasonable to assume that Skyway will integrate well with most AJAX frameworks.
If anyone is interested in a copy of this Skyway project for Eclipse, please drop a comment on this blog post.