« Creating Panther Disk Images from the Command Line | Main | FOSDEM Talk on Ruby »

Sunday, December 28, 2003

The Alph Project?

The Alph Project is a bridge between two language runtimes; the Ruby interpreter and the Macromedia Flash player. Flash was originally constructed to be an animation runtime and because of this it has attracted a more design-oriented rather then developer-oriented community. The Flash player is actually a stack-based virtual machine which now supports the ability to write graphical component-based applications in the ActionScript 2.0 language. Although Flash and ActionScript are powerful, the downside to developing in it is that each application you build is compiled into a binary (swf) movie, and the main development environment (Macromedia Flash) is a commercial (> $500) product. Although the Flash development tools are commercial, the player runtime is free and cross-platform.

Alph will create a free, open-source alternative for constructing dynamic Flash-based interfaces in pure Ruby and aims to be an unique, comprehensive user interface framework. Alph ships with a single binary (swf) file that when executed connects to the Ruby-based service (which could be in-machine or network/web-based). This single swf file contains all the Flash 2.0 components compiled in with a network protocol handler, method dispatcher, and event manager which allows Flash-based interfaces to be created at run-time by Ruby over a TCP/IP socket. Ruby programs will have access to the full version 2 GUI component model of Flash 2004 without the commercial costs of existing Flash tools, and those Flash interfaces will have the full power of Ruby (and its library of extensions) behind them.

I originally demonstrated an Alph interface during my RubyJDWP presentation at the Third Annual Ruby Conference in November. I am currently working (as free time allows) on getting this fully running, and will be posting the source to the Alph Project website when it gets in a state where it is possible for others to develop with. I expect the code to be online by the end of January. As I make progress, I will keep my blog up to date with interesting tidbits and things I'm learning along the way.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83455c9b169e200d83423aa1c53ef

Listed below are links to weblogs that reference The Alph Project?:

Comments

I've talked with some of the Flash folks and they are interested in talking with you about this. E-mail me and I will hook you guys up.

Hi !

Do you need help with alph ?

J.

The wiki and project pages are a tease for Alph with no available downloads yet. Looking forward to giving it a bash. This project looks like something exciting, thank for sharing it Rich.

- Daniel

I'm new to Ruby. I installed 'alph' on OS X. The examples didn't work. It was due to the lack of a ruby package called 'sys-uname'. If anyone else comes across this ... you can get it at http://raa.ruby-lang.org/project/sys-uname/

I used version 0.7.0 because 0.7.1 wouldn't install on OS X. (Probably me).

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment