« February 2006 | Main | April 2006 »
March 28, 2006
Last minute change - speaking at FITC
Hi folks.
As it turns out, I will be speaking at FITC in place of Christian Cantrell*, who is on leave. Nominally, the talk is on Flex Builder, but I'd like to solicit your opinion -- what should I be talking about? Is it worthwhile to have a one hour session focused purely on the tool? There is only one other Flex talk, which is a Flex overview given by Chafic.
The reason I am asking is that my gut tells me that spending 50% of the time on the framework and 50% of the time on the tool feels like the wrong balance.
* (footnote) This is ironic, because Christian was actually filling in for me, because I was originally unable to do FITC because of my schedule, which has since changed.
Posted by sho at 10:19 PM | Comments (2) | TrackBack
March 21, 2006
Flex 2.0 beta 2 now available
Flex 2.0 beta 2 is now available at labs.adobe.com.
Highlights
--
- The API has been scrubbed for consistency. A lot of names have been changed, but in a fairly straightforward way.
- The new contraint syntax is in place (yes!)
- You can now choose a subdirectory within your project to place your source files
- You can use the [Bindable] metadata on getters and setters
- You can initialize inherited properties through MXML tags with the id attribute. (this is usually used to support a "code behind" idiom)
- Many, many bugs fixed, of course.
All the gory details are available at http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes
Posted by sho at 08:49 AM | Comments (3) | TrackBack
March 08, 2006
Some personal thoughts on the Flex/AJAX Bridge...
Before moving to the Flex project, I ran engineering for the HTML tools division at Macromedia. Back then, we thought a lot about advanced DHTML techniques, including the technique of using XMLHTTPRequest to update portions of a page locally, which has since come to be called AJAX.
As you can see from my posts, I eventually ended up moving to Flex. AJAX is wonderful and has its share of strengths, but I find working with Flex to be more fun for me personally. Flex is a great way to put together richer and more complex front ends. It has a runtime that is consistent across browsers, and an object model that is designed from the ground up to support networked application UIs.
I'm still a big fan of AJAX. I believed in it way back when, and I believe in it now. But Flex can do a lot that would be difficult in AJAX, both visually and in terms of data connectivity.
I'm quite curious to see how people use the two together. I'm convinced that some of the raw building blocks inside of Flash/Flex (e.g., binary sockets) have a lot to add to the AJAX puzzle.
P.S. In my last post, I mistakenly called this the Flex/ActionScript Bridge, which is obviously much less interesting. :-) Thanks to Robert Penner for pointning this out to me.
Posted by sho at 01:05 PM | Comments (9) | TrackBack
FAB - Flex / AJAX bridge
FAB - Flex/AJAX Bridge - is a library created by Ely Greenfield, who is a good friend and Flex Architect.
FAB lets you control Flex applications using JavaScript. Method calls just work, and getters and setters are converted to method calls (because browsers don't support getters and setters yet).
You can even attach event listeners from JavaScript and pass function objects back and forth. For example, you can create an MXML file with a button in it and drive all of the logic from within your HTML/JavaScript.
MXML:
--
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml">
<fab:FABridge xmlns:fab="bridge.*" />
<mx:Button id="okButton" label="OK" />
</mx:Application>
JavaScript:
--
function init()
{
var flexApp = FABridge.flash.root();
flexApp.okButton().addEventListener("click", handleClick);
}
function handleClick(event)
{
// handle the click event here.
}
You can read more about it on Ely's blog, which I predict will be worth reading.
http://www.quietlyscheming.com/blog/2006/03/06/flex-and-ajax/
Posted by sho at 09:07 AM | Comments (3) | TrackBack
March 06, 2006
Slides from Flashforward 2006
As promised, here are my slides and notes from Flashforward. Some things you will need to know:
- The layout syntax uses the new beta 2 syntax, which is not out yet.
- The notes cover a bit less material than the slides. That's because the notes were finalized before the slides were, in order to get them printed on paper for conference attendees. If I have time, I may extend the notes but with so much going on, I am not sure I will have time to do this.
[Speaker notes - doc] [Speaker notes - pdf]
Posted by sho at 01:51 PM | Comments (0) | TrackBack
March 02, 2006
Impressions from Flashforward
Just got back late last night from Flashforward. Quick impressions:
- Huge attendance -- I don't have exact numbers but I hear it was ~1400?
- Loved Erik Natzke's talk. Very inspirational. Wish I'd been able to see Grant's talk as well, but I had a meeting.
- Talked to lots of people about Flex. I was pleasantly surprised by the enthusiasm.
- I had a few people say to me, "I don't get it.. is Flex an easier version of Flash?" This is obviously not what Flex is, and I think this means we need to be clearer in how we talk about it. During the keynote, I emphasized how easy it was to put an application together, so I can see how you could walk away with that impression.
- Had an interesting talk with Moses Gunesch about tweens. I wish I'd been able to stay to hear his session.
- Found out what shots of Southern Comfort and lime taste like (thanks, I think, Chafic)
- Really enjoyed David Schroeder's talk about sound design. Made me think about sound in a whole new way.
Posted by sho at 12:47 PM | Comments (0) | TrackBack