Friday, May 9th, 2008
Category: Announcements
, Standards
Flickr, Viddler, Qik, Pownce and Revision3 are the first services to support oEmbed, an easy way to allow embeding media from a certain URL in a third party site.
From the oEmbed site:
oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.
This means that if you for example find a nice photo on flickr, you can take the URL and easily turn it into embed-able data:
Original URL: http://flickr.com/photos/codepo8/2475016321/
oEmbed URL: http://flickr.com/services/oembed?url=http://flickr.com/photos/codepo8/2475016321/
Result:
XML:
-
<oembed>
-
<version>1.0</version>
-
<type>photo</type>
-
<title>? too much myspace error</title>
-
<author_name>codepo8</author_name>
-
<author_url>http://www.flickr.com/photos/codepo8/</author_url>
-
<cache_age>3600</cache_age>
-
<provider_name>Flickr</provider_name>
-
<provider_url>http://www.flickr.com/</provider_url>
-
<width>500</width>
-
<height>375</height>
-
<url>
-
http://farm4.static.flickr.com/3128/2475016321_982666ec95.jpg
-
</url>
-
</oembed>
You can define the output format and the maximum width and height with URL parameters:
oEmbed URL:
http://flickr.com/services/oembed?url=http://flickr.com/photos/codepo8/2475016321/&format=json&maxwidth=200
Result:
JAVASCRIPT:
-
{
-
version: '1.0',
-
type: 'photo',
-
title: '? too much myspace error',
-
author_name: 'codepo8',
-
author_url: 'http://www.flickr.com/photos/codepo8/',
-
cache_age: '3600',
-
provider_name: 'Flickr',
-
provider_url: 'http://www.flickr.com/',
-
width: '100',
-
height: '75',
-
url: 'http://farm4.static.flickr.com/3128/2475016321_982666ec95_t.jpg'
-
}
Supported formats for responses so far are photo, video, link and rich.
Thursday, May 1st, 2008
Category: Adobe
, Announcements
I start with an aside; This must be the most un-Adobe website I have ever seen. Below is the entire website for the Open Screen Project:

As the site says, the details are in the press release which says:
The Open Screen Project is working to enable a consistent runtime environment -- taking advantage of Adobe Flash Player and, in the future, Adobe AIR -- that will remove barriers for developers and designers as they publish content and applications across desktops and devices, including phones, mobile Internet devices (MIDs), and set top boxes. The Open Screen Project will address potential technology fragmentation by enabling the runtime technology to be updated seamlessly over the air on mobile devices. The consistent runtime environment is intended to provide optimal performance across a variety of operating systems and devices, and ultimately provide the best experience to consumers.
The cool part of all of this, is the fact that the old restrictions on the SWF and FLV specifications are now in the past. The restrictions used to say that if you read the SWF spec, you couldn't build something that would run SWF files. So, could build an editor, a tool, but not a runtime in anyway.
This has just changed by:
- Removing restrictions on use of the SWF and FLV/F4V specifications
- Publishing the device porting layer APIs for Adobe Flash Player
- Publishing the Adobe Flash Cast protocol and the AMF protocol for robust data services
- Removing licensing fees - making next major releases of Adobe Flash Player and Adobe AIR for devices free
With news of OpenJDK coming at JavaOne next week, we will see changes with the most deployed runtimes out there. Just the beginning of the path towards an open source Flash.
I keep thinking of the JVM playing FLV/SWF, and the Flash player grokking .class files!
Friday, March 28th, 2008
Category: Announcements
, Dojo
The Dojo team has released version 1.1 which includes from over 800 improvements:
- An easy to use and significantly improved Dojo API Viewer with some seriously great features, including the ability to easily find the original definition of a method that is “mixed-inâ€
- A growing collection of demos, tutorials, and articles
- A new BorderContainer Dijit, which is a much better way to handle layout-based widgets than SplitContainer and LayoutContainer
- Significant performance improvements to dojo.query and dojo.fx
- Support for Adobe AIR and Jaxer, and updated dojox.flash and dojox.offline APIs
- Major improvements to Dijit infrastructure and widgets
- All around Dijit theme improvements including the CSS structure for themes, refinements to the Tundra theme, re-introduction of the Soria theme, and the newly added Nihilo theme
- DTL, the Django Template Language, is now available for use in widgets with dojox.dtl
- Vector graphics animations
- Additions to DojoX including an analytics package
- Improvements to Dojo Data and RPC, and support for JSONPath
- Many improvements to the build system including CSS optimization, multiple-versions of the Dojo Toolkit co-existing in the same document, and other great tools for optimizing performance
What is next for Dojo 1.2?
On to 1.2, where the focus will be on continuing to refine Dijit, the Dojo Grid, Dojo Charting, a better approach to DojoX, and much much more.
Thursday, March 20th, 2008
Category: Announcements

There is something cool about being able to write an Ajax app on an embedable device.
The people behind BarracudaDrive have released a free version of the BarracudaDrive Ajax application server for the Linksys NSLU2 and the Unslung Linux firmware.
Developers can customize and write their own applications by using the integrated scripting language Lua Server Pages, which is based on the super fast scripting language Lua. The server includes its own integrated database engine, thus making it possible to create configuration less database powered applications such as the CMS. The server also includes the Bindows Ajax framework.
The integrated scripting language Lua Server Pages (LSP) is similar to how ASP and PHP works. BarracudaDrive LSP applications are deployed as standard ZIP files. The ZIP files, which are in the "applications" sub directory are loaded and mounted as read only file systems by the web server. The server can also load "non deployed" applications. The "non deployed" Lua Server Pages (LSP) are compiled on demand just like PHP and ASP pages are compiled.
Wednesday, March 12th, 2008
Category: Announcements
, Aptana
, Rails
, Screencast
Aptana took over the RadRails open source project a few months back, and now have fully integrated it with Aptana Studio with the RadRails 1.0 release.
RadRails 1.0 runs as a plug-in to Aptana Studio. So in addition to all the Ruby on Rails IDE goodies and the integrated Rails shell command-line console, developers get the great HTML, CSS, DOM, JavaScript and Ajax features in Aptana Studio, which can run stand alone or within Eclipse to that all your other Eclipse tools can be right there as well.
The new version has a slew of new and enhanced functionality such as:
- Rails 2.0 support
- JRuby support
- Bundled auto-installing gems for rails development
- A Ruby profiler for Pro users
- An RDoc preview view
- Extended RHTML/ERb color preferences
- Code completion for ActiveRecord model fields and finders
- Code completion suggesting method call arguments
- Significant expansion of code warnings and analysis, including syntax changes from Ruby 1.8 to 1.9
- An improved look and feel
You can watch a screencast of the product at work or a full feature list.
Aptana continues to add new functionality to its products as it tries to hit the "best tools for Web development with scripting languages" vision.
Tuesday, March 11th, 2008
Category: Announcements
, Browsers
, Microformat
While this is not strictly Ajax or JavaScript related, it is noteworthy to point out that Sitepoint just released a HTML reference that is quite handy to have around if you wonder if what you are building is really HTML or just tagsoup.
Good HTML references are really hard to come by, either they are just listings, like W3schools.com or terribly outdated. Sitepoint have done quite a good job in listing all the HTML elements and categorizing them into different use cases. There is also a list of deprecated elements and attributes to avoid (which could be considered dangerous to still bring up as some of them are too handy to simply add to solve an issue) and a Microformats primer.
We know for a fact that other portals/article sites are working on similar projects and consider it a really good way of flushing old and outdated tutorials on things as simple but important as markup out of the search engine result pages.
The reference also gives a legend of browser support, something that so so far was only available on the German SelfHTML reference.
Wednesday, March 5th, 2008
Category: Announcements
, Conferences
, Toolkit
, Yahoo!
Yahoo's Tom Coates today finally released FireEagle at ETech 2008. Seeing Tom in the office for quite a while getting everything ready makes me very happy to announce that it is out and invite you to come along and sign up for the beta to start testing and - even more importantly - developing applications for it. This is FireEagle:
Fire Eagle is an open location services platform offering web, mobile, and desktop developers a simple way to build new location-based applications while also ensuring that consumers have complete control over their data, including how, when and where their location is made available. Want to easily make your site responsive to a user's location? Or, maybe you've found a way to capture someone's location and you want to find cool apps to plug it into? By doing the heavy lifting and connecting you to a community of geo-developers, Fire Eagle makes it easier to build location-aware services.
Once you got in you'll be able to download development kits in several languages including PHP, Python, Ruby and of course JavaScript. All the API calls are REST and the API authentication is handled via OAuth. The output format is either XML or JSON. The code is licensed with BSD and you can even contribute to the FireEagle source at a code repository.
The available API calls are:
- user
- Returns the location of a specific user in a location hierarchy format.
- recent
- Returns a list of users of the application who have updated their location within the given amount of time.
- within
- Takes a Place ID or a WoE ID and returns a list of users using your application who are within the bounding box of that location.
- update
- Sets a user's current location using using a Place ID hash or a set of location parameters. If the user provides a location unconfirmed with lookup method then Fire Eagle makes a best guess as to the user's location and updates.
- lookup
- Disambiguates potential values for update. Results from lookup can be passed to update to ensure that Fire Eagle will understand how to parse the location parameter.
You can learn more by watching the video of Tom explaining FireEagle at ETech.
The uses for a service like this are endless. From sensible search applications that show you places of interest nearby your current location up to real-life games of high-tech hide and seek everything is possible.
Tuesday, March 4th, 2008
Category: Announcements
, JavaScript

Jonathan Snook will be conducting a live chat tomorrow (3/5/08) at 10:00am EST (15:00 GMT) via UStream. Here are the details:
- Location: http://www.ustream.tv/channel/snookca
- Date/Time: 3/5/08 at 10:00am EST (15:00 GMT)
- Topic: Q&A relating to Jonathan's development work with Adobe AIR, and questions regarding JavaScript, frameworks (PHP or JavaScript), or about freelancing.
This is definitely a good opportunity to pick the brain of one of the top professionals around.
Friday, February 29th, 2008
Category: Adobe
, Ajax
, Announcements
, MooTools
After recently installing Snitter, I have to say I've become a bit of a fanboy of Jonathan Snook. The guy just produces some good stuff. So when I saw that he announced a new AIR application, I had to get it installed and checked out.
While Snoto (ya know, Snook, Snitter, Snoto) isn't as polished as Snitter, it's not meant to be. Jonathan has released this as a foundation for those that want to understand how to build AIR applications.
The goal of this is not to create a Flickr client that "does it all". It was put together as a reference application for anybody interested in learning more about Adobe AIR. Snoto has been released under a Creative Commons license, so it's available for you to take and extend how you wish. The link to the source code is included at the bottom of the Snoto page.
This is a great help to many developers as interest in Adobe AIR has skyrocketed since the release of AIR v1.0. MooTools developers should be especially pleased with the fact that Snoto was built using the MooTools JavaScript library, specifically because of the ease with which AIR applications can be developed without jumping through hoops. While other JS libs are now updated to work with AIR's security model, MooTools was the first to be compatible even during the beta process.

Again, the biggest benefit is to those that want to learn about working with the AIR API:
From the AIR API, I haven't gone hogwild but rather kept it simple. You can see use of nativeWindow, context menu and EncryptedLocalStore.
Having access to Webkit made styling the interface very straightforward. Like Snitter, it's a combination of background images, PNG images, and some CSS3/border-radius to round things out.
The Snoto page has been setup with an AIR install badge which should make it easy to check it out.
Category: Announcements
, Toolkit
The Pownce team has been working hard to get their API up to speed and have gotten the API to a point where some cool applications can be built from it. Yesterday, they announced v2.0 of the Pownce API:
We’re sorry it took so long for us to release a complete API. We’ve taken great care to provide the best experience for developers and we hope the wait was worth it. Going forward, we’ll be working hard to keep Pownce the best social messaging application out there.
Well worth the wait, new features include:
- Ability to post notes
- Ability to post messages, links, files, events and replies
- Ability to fetch lists of private and friends-only notes.
- Integration of OAuth token-based web authentication.
This should open the doors for building new custom Pownce clients and applications similar to what's been done with Twitter.
In addition, the Pownce team has created a new application directory to showcase applications built by developers.
Documentation for Pownce API v2.0 can be found here: http://pownce.pbwiki.com/API+Documentation2-0
Friday, February 8th, 2008
Category: Announcements
, jQuery
The jQuery team announced today the release of jQuery v1.2.3. Primarily a bug fix for v1.2.2, this new release also includes new features to make it compatible with the Adobe AIR runtime and SDK:
The primary purpose of this release was to fix a couple outstanding bugs from the jQuery 1.2.2 release. Specifically, this release is now compatible with Adobe AIR, will be included in Drupal 6, and will be the base for jQuery UI 1.5. Additionally, a couple minor features, for plugin developers, were included in this release.
Another notable feature is the enhancement of the namespaced event methods, specifically unbind(), which now allows you to remove all bound events that match a particular namespace.:
LANGUAGE:
$("div").bind("click.plugin", function(){});
$("div").bind("mouseover.plugin", function(){});
$("div").unbind(".plugin"); // All handlers removed
You can download this new jQuery release via the following links:
jQuery 1.2.3:
If you wish to checkout the full release from the Subversion repository, you can do so by following the instructions and checking out the source from the following location:
svn co http://jqueryjs.googlecode.com/svn/tags/1.2.3
Friday, January 25th, 2008
Category: Announcements
, Fun
, Yahoo!
The Yahoo User Interface library is now almost 2 years old and the team is getting ready to celebrate with a party on the Yahoo! campus in Sunnyvale, California.
If you're around on 26th of February, why not drop by for the celebrations, meeting the people behind and get some inside information about what the future holds for the YUI. Apart from that, there'll be the obligatory food and beers and of course some schwag to take away. Space is currently limited to 150 people, so be quick if you want to come.
You can find out more about the party on the YUI blog and sign up for the party on upcoming.
Tuesday, January 15th, 2008
Category: Announcements
, Library
, jQuery
jQuery has a new release, 1.2.2, which is a bug fix release and more. This release comes on the 2nd birthday of jQuery:
I remember doing the first release at BarCamp NYC (combined with the mention of two other projects of mine that fizzled: Feed Pile and Idea Shrub). While I had released a bunch of open source code in the past, this was the first one that I put some serious effort into getting publicity. Luckily it made it onto del.icio.us/popular, digg - and the rest is history.
Amusingly, the entire chain of popularity was due to the fact that I made a troll-y comment on a Prototype blog post (when they announced their new selector feature) and it was discovered and re-blogged by Ben Nolan (creator of the Behaviour library for Prototype). From there it hit the Rails community and was launched onto del.icio.us, digg, etc.
The major changes are:
- 300% Speed Improvements to $(DOMElement)
- .ready() Overhaul: Uses Diego Perini's non-document.write() technique, now wait for CSS to be ready, can now watch for the document ready event via the traditional .bind()
- .bind("mouseenter") / .bind("mouseleave")
- Complex :not()
- Accepts Headers
- Event API: jQuery.event.special setup teardown handler
You can download the latest release (minified).
Sunday, January 13th, 2008
Category: Announcements

Being a Londoner, how can I not mention a pub night that relates to Ajax technology!
Brent Ashley has created the first Ajax Pub Nite for Monday January 14th in Toronto.
Hopefully this is the first pub nite of many. If anyone is up for a Bay Area Ajaxian pub crawl let me know.
Wednesday, January 9th, 2008
Category: Ajax
, Announcements
Boasting over 900 controls from many of the popular JavaScript libraries, AjaxRain.com has become one of the main resources for finding JavaScript and Ajax components. Owner Archana Patchirajan just sent me an email to let me know that AjaxRain has had a major facelift including:
- A new UI
- A revamped home page with the latest scripts
- A section for popular scripts
- Feeds from delicious, digg and ajaxian.

AjaxRain has truly become an invaluable resource which is used daily to find unique and powerful controls. While other sites have tried the UI aggregation route, few have been as consistently updated as this site.
Thursday, December 13th, 2007
Category: Announcements
, Flash
Flash (via Flex or AIR) allows developers to open connections to servers (binary sockets), much like XHR in Web applications. And, just as frameworks like DWR and JSON RPC allow for remoting objects via XHR, a number of frameworks allow for remoting objects in Flex. One of the most popular has been Flex LiveCycle Data Services, but it's also a commercial product with a big enough price tag to cause many developers to steer clear.
Not anymore.
Adobe just announced that they are open-sourcing the remoting and HTTP messaging features of Flex LiveCycle Data Sources in a new product called Blaze DS, which will be LGPL licensed. In addition, they are taking a page from Comet and making it easy to create a persistent connection for "server push" functionality for the HTTP messaging. The "data management" features (i.e., keeping a client and server model in sync) remain payware.
In addition, they are publishing the spec to their object remoting protocol (AMF), making it easy for others in the community to create remoting servers (previously, folks had to reverse-engineer the protocol). This opens the door for other non-Java platforms to provide middle tiers in the Flex stack (i.e., Flex doesn't include any public database drivers, so you have to write a middle-tier to transfer data to Flex apps, and right now Java is the only first-class option).
Many folks wonder why Ajax developers don't just use Flash; as Adobe open-sources more and more of their stack, it's going to be very interesting to see the reaction of the community. We at Ajaxian aren't in the "Open Web or Else" crowd, but a fully open Flash stack would sure make the world a touch more interesting.
Next Page »