This morning, Chris Anderson posted a good response to some of Dave Shea’s concerns/questions about Avalon. Both posts are worth a read – very educational in terms of understanding both Avalon itself and some of the initial impressions of the community.
Posts
Avalon on Channel 9
Rob, Arik, Karsten, and Pablo are on Channel 9 talking about Avalon.
If you just want to see the pretty demos, skip to about 34 minutes in. Nathan is the design guru behind those. I suspect that seeing the demos will inspire you to watch the interview as well. :)
What the Heck is an Application, Anyway?
I promised that I would explain a little bit about what “Application Model” means, and more specifically what it means for Avalon. Before we can even get too far there, it’s interesting to ask a simple question: what do we mean by “application” in the first place?
A lot of application platforms don’t do a great job of answering that question. Take these two big categories of app development platforms as examples:
- Desktop Applications: In the traditional desktop app world, there hasn’t ever been a very good model for what an application actually is. Take Win32, for example — here an application is roughly a set of windows in the same process. Because there isn’t an entity representing the app itself, the traditional practice is to pump messages (WM_EXIT) to the main window’s wndproc. State management and manipulation isn’t as hard as it is on the Web, but it is left up to the developer.
In the Windows world, perhaps the best we’ve done so far in this area is with Windows Forms, which provides an Application class that starts and stops the message loop and receives system messages.
- Web Applications: There are some parallel issues in the Web development world. Traditionally, a Web “app” is roughly a set of pages hosted on the same server (usually) that are part of some interactive user activity. Most of the “application-ness” comes from communication with the server, which is done through post-back (and the user experience of post-back is of course sub-optimal, especially for users with slow connections). State management is hard, especially when passing data between pages because of the lack of structured data.
Today we have server-side scripting languages that make “application-ness” for Web apps easier to grok. ASP.Net, for example, provides application-level services for state and session management. Additionally, there have been advances in ASP.Net that enable more and more things to happen on the client side and thus reduce post-back.
With Avalon, we’ve learned some lessons from both of these app paradigms. We’ve defined an application in terms of an object that represents application-ness (which is a godsend for those of us who can’t help thinking in object-oriented terms most of the time), and provided object model there that lets our developers manage common application-related activities. Thus we are able to leverage some of the lessons we’ve learned from other app platforms by:
- Providing a well-defined entity for system interaction (the Application class).
- Enabling you to customize that entity by hanging any state off of it that you want.
- Enabling you to listen to app-wide events at the Application level.
- Providing simple object model around window management.
- Handling resource management for you, allowing you to refer to your application’s embedded resources (pages, images, etc.) using relative URIs (a lot more on this topic later).
Sometimes Truth is Stranger than Fiction
Speaking of ligers, did you know that they actually exist? I was sure that this was just something the overly-imaginative Napoleon dreamed up, but if there’s an article about them in Wikipedia, then they must actually be real.
That’s the most amazing thing I’ve learned all day.
Update 04/13/2005, 9:56am: The story gets even crazier.
Wider Baby Smiling You Just Made a Million
If I do start posting more about film (no guarantee that I will, but I thought I’d warn you just in case), you may start to get the feeling that I’m a harsh critic. And I think this is pretty accurate. If I spend two hours of my life sitting on a couch watching something on a screen, it had better be worth my time. But at the same time, I generally don’t like movies that aren’t comedies, because I watch movies to be entertained, not saddened or freaked out or have my mind blown (there are exceptions here, but I really have to be in the mood if I’m going to watch something heavy).
I don’t like most of the movies that I see, and there is only one person I trust to recommend films for me: my mother. I trust her, because, like me, she dislikes actresses like Julia Roberts and Catherine Zeta-Jones, and cheesy epic blockbusters like Titanic and The English Patient (we wholeheartedly agree with Elaine on this one). And she enjoys John Cusack, Bend it Like Beckham, Young Frankenstein, and Clueless just as much as I do.
I’m not saying that I have impeccable taste (for that, of course, is a matter of opinion), only that I am somewhat particular. :) So just be warned, in case I start criticizing your favorite film at some point (and yes, I really truly hated Garden State). Just so you can get some idea of what I actually do like (and so that I can prove that I don’t hate everything), here are a few of my faves, in no particular order:
- The Graduate
- Ferris Bueller’s Day Off
- Zoolander
- High Fidelity
- O, Brother Where art Thou?
- Better Off Dead
- The Royal Tenenbaums
And now perhaps you think I’m not necessarily harsh, just arbitrary…