May 17th, 2006 by Aaron N.
via ajaxian:
Google has released Google Web Toolkit (GWT), a code generation framework that lets you code Ajax apps in pure Java. It’s not unlike Echo2, the open-source framework from NextApp. A compiler performs the Java-to-Javascript translation.
- Use your favorite Java IDE to write and debug an application in the Java language, using as many (or as few) GWT libraries as you find useful.
- Use GWT’s Java-to-JavaScript compiler to distill your application into a set of JavaScript and HTML files that you can serve with any web server.
- Confirm that your application works in each browser that you want to support, which usually takes no additional work.
GWT offers tools for remoting as well as a range of widgets: hierachical trees, tab bars, menu bars, and modal dialog boxes. There’s no mention of using these widgets standalone, but hopefully they can be used as pure Javascript widgets in much the same way as Scriptaculous can be used without Rails.
A widget like tree has methods to manipulate the structure (e.g. addItem()) and event handlers (e.g. addFocusListener).
Posted in 3rd Party Libraries, Server-side Integration, Tools | No Comments »
May 4th, 2006 by Aaron N.
Along the same lines as my haXe post here’s an update to DWR that means you aren’t writing javascirpt directly anymore. Via Ajaxian.
Milestone 2 contains some great new features like Annotation based configuration and a customization to allow Reverse Ajax to use Jetty Continuations.
It also contains an experimental new feature to let you write Javascript using a Java API. Read on for how it works and why it can allow you to do some neat things. Read the rest of this entry »
Posted in 3rd Party Libraries, Server-side Integration | No Comments »
May 4th, 2006 by Aaron N.
A developer friend of mine recently turned me on to haXe (pronounced “HAX-ee”, a sort of generic programming language that gets compiled into java, php, active script (flash), javascript, etc. This means you write all your code in one language (haXe) and then compile it to whatever application language you want. If it spits out javascript, for example, it delints it (no white spaces or comments) and renames all the name spaces to short (abstract) variable names to create the smallest file possible. Because you’re authoring everything in haXe, the compiler runs like any other compiler, helping to ensure your code will execute. I’m not sure how it works if you want to use 3rd party libraries (I’m thinking about things like Scriptaculous), but it sounds very, very promising. I’d love to see some more qualified folks than myself evaluate it. Read the rest of this entry »
Posted in 'Industry' News, 3rd Party Libraries, Server-side Integration, Tools | No Comments »
March 16th, 2006 by Aaron N.
Via Ajaxian. The notion that our pages are either ajax or served whole - one or the other but never both - is one that makes our applications less usable for those in our audience without modern browsers. This looks like a potential awesome solution to the problem. I’d love to see some of our engineering talent sound off on the concept. Read the rest of this entry »
Posted in 3rd Party Libraries, Best Practices, Server-side Integration | No Comments »
March 16th, 2006 by markbult
Sorry about the non-annotated linkdump. Aaron’s always after me to post stuff here instead of emailing him links to new things I find, but I just don’t have time to describe all these sites. At least I categorized them… Read the rest of this entry »
Posted in 'Industry' News, 3rd Party Libraries, Code Snippets, Event Scripting, Examples, Manipulating the Dom, Prototype, Reference, Server-side Integration, Visual Effects | No Comments »
February 8th, 2006 by Aaron N.
This looks very promising:
jspkg is a package loader for Javascript, based on pluggable loaders for locating and loading scripts into a client-side Javascript application. It is designed to work best with unobtrusive Javascript libraries, but doesn’t impose any methodology or design on its users.
Examples:
http://jspkg.sourceforge.net/examples/onlyrequired/test.html
more: http://jspkg.sourceforge.net/
Posted in 3rd Party Libraries, Organizing Code, Server-side Integration | No Comments »
February 8th, 2006 by Aaron N.
Nifty ajax to java interface for those of you unaware of it:
http://getahead.ltd.uk/dwr/
“DWR reduces development time and the likelihood of errors by providing commonly used functions and removing almost all of the repetitive code normally associated with highly interactive web sites.”
Posted in 3rd Party Libraries, Server-side Integration | No Comments »