Archive

Posts Tagged ‘JavaScript’

Ext JS 2.1 now GPL :(

April 22, 2008 Leave a comment

Unfortunately Ext JS 2.1 (and Ext GWT 1.0) have been released under the GPL. This will make Ext more difficult to sell to corporate clients.

Ext JS 2.0.2 is still available for download under a LGPL licence and can be used with the GWT integration found in the GWT-Ext project (not to be confused with Ext GWT). i.e. GWT-Ext 2.0.3 and Ext 2.0.2 are still both LGPL. I wonder if Ext GWT 1.0 (GPL) started life as GWT-Ext 2.0.3 (LGPL)…

I wonder if a fork will appear… or perhaps a Yahoo! UI on GWT or a Tibco GI on GWT. Both YUI and GI are BSD and so very business friendly.

I discovered a promise of a tibcogi4gwt project but nothing more :(

Update: more info can be found in a post by the author of GWT-Ext.

Super Mario in JavaScript

April 10, 2008 Leave a comment

It’s amazing to see this implemented in JavaScript!

Note that there seems to be only one level to the game which isn’t entirely implemented. It’s the concept that such a beast can be implemented in JavaScript rather than Flash that’s interesting.

Thoughts on web application frameworks

Here’s a brain dump of my current thoughts on Web Frameworks:

  • Click with OpenRico. A simple and effective however there are some gaps for more complex flows. Some good OpenRico examples for simple DHTML effects and AJAX.
  • Wicket. More complicated than Click and generates less HTML for you. However, it would work well with Web designers – templates are valid XHTML. I like it but the documentation leaves something to be desired.

On the radar is JSF, GWT, Tibco GI, Yahoo UI, Dojo:

will update again soon…

Static versus dynamic attitude

February 22, 2005 Leave a comment

I think Bill is dead-on-the-money with the different-language, different-mindset thing. Java can make you feel guilty alright :-). Even when you can get over your own guilt, there’s the struggle with your colleagues who may not have a dynamic mindset.

I’ve been programming in JavaScript lately (actually more ActionScript 2.0 but some browser based JavaScript too). You’d probably return a single object there rather than multiple:

    var context = ExamplePage.process();

followed by code using context.forumID, context.reply, context.subject and context.body.

Single objects are constructed easily in JavaScript:

    function process() {
        // Do some processing...
        return {
            forumID: ...,
            reply: "a reply",
            subject: "a subject",
            context: "a context"
        }
    }

This is a very lightweight approach. Another poster had a similar solution in Python. There must be a similar way of doing this in Ruby or Groovy.

It would be great to use Ruby/JRuby, Groovy, JavaScript, Python/Jython or whatever on the Java platform. What’s needed for adoption is buy-in by vendors like Sun and IBM (so that project managers and other developers don’t have a fit when something without the .java or .xml file extension is checked into the repository). It would be nice to have support for these languages in Eclipse (say) with all the usual bells-and-whistes Java programmers have come to rely on to get stuff done – code completion, Javadoc lookup, hyperlinking, refactoring etc. Groovy seems to have alot of momentum including a JSR thing – so maybe something along these lines is not too far away. Maybe it’s already there and I just haven’t looked!

BTW – have you heard about NoXML? It’s this great new XML technology…

Follow

Get every new post delivered to your Inbox.