February 12, 2007
Creating a Popup in a Cairngorm Architecture
Often I see this question coming up:
"How should I best create a popup in my Cairngorm application?"
I think of creating a popup control as something only views should be concerned about. It’s like creating other view components, managing states of view components or effects. Therefore this question isn't just about creating popups, instead it's about how to invoke methods that belong to the view. (BTW: I often hear from our User Experience team that they try to prevent popups where possible)
Continue reading "Creating a Popup in a Cairngorm Architecture"
Posted by auhlmann at 02:02 PM
| Comments (19)
February 04, 2007
Best Practice: Code Behind versus MXML Script Blocks versus View Helper
Often I see the question coming up on whether to use MXML Script blocks, Code Behind or Helper classes.
I think the question behind the question we're addressing here is not whether to use Code Behind, MXML Script blocks or View Helpers, but is actually where is it best to place functionality in a Flex application.
But first of all, let’s have a quick rundown on what Code Behind, View Helper and MXML Script blocks actually are:
Continue reading "Best Practice: Code Behind versus MXML Script Blocks versus View Helper"
Posted by auhlmann at 10:56 AM
| Comments (10)
November 03, 2006
Download Distortion Effects – From MAX 2006
For everyone who couldn’t attend my MAX presentation in Las Vegas, here is the presentation as PDF. Furthermore, I’ve released the complete source code for every effect shown.
And here is the Flex 2.0.1 version.
Behind the scenes, these effects are using the DistortImage utility from the open source 3D Engine Sandy. Make sure you check out Sandy if you haven’t yet! The effects included are called Flip, CubeRotate, Push, Pop, Door and Gate. But instead of talking about them, just see them in action for yourself:
Continue reading "Download Distortion Effects – From MAX 2006"
Posted by auhlmann at 01:08 AM
| Comments (105)
September 28, 2006
Using Binding Securely
In my last post about the Cairngorm Dashboard example I’ve added a little functionality that allowed a view to react to a state change in the model in order to do something view related like invoking a popup or an effect.
I’ve been using the binding approach and that made it very easy and flexible to do. But as I said in my last post, this can have one slight drawback you have to consider. In this post I’ll showcase the drawback and provide a solution to it via an extended version of Paul’s Observe tag. Furthermore, this extended version of Observe makes it even easier to perform this kind of listening to the model.
Continue reading "Using Binding Securely"
Posted by auhlmann at 11:58 AM
| Comments (16)
Cairngorm Sample – How Business Logic Can Manage Views Part IV
In the last post about this topic, I’ve added some functionality and another use case to our stock quote application and showcased how a Cairngorm application could scale with focusing on creating model objects. In this post I’ll perform some further refactorings to our model objects.
Furthermore, our customer wants us to show a pop-up as soon as a successful stock purchase is being made. I’ll cover how a state change in your model can transparently cause view related code (like creating a pop-up) to be executed.
Continue reading "Cairngorm Sample – How Business Logic Can Manage Views Part IV"
Posted by auhlmann at 11:15 AM
| Comments (8)
September 08, 2006
MAX 2006: Leveraging Flex 2 and Flash Player 9 for Truly Cinematic Experiences
As MAX 2006 in Las Vegas is coming closer and it’s shaping up to be a fascinating conference. I’m talking about
Leveraging Flex 2 and Flash Player 9 for Truly Cinematic Experiences
and I’d like to give you more information where this will be about, in hope you consider joining my session!
I’ll talk about how cinematic effects can dramatically improve the user experience of a Rich Internet Application and can contribute significantly to the success of how your RIA will translate the experience that your costumer wants to deliver.
You will see new types of effects and learn best practices toward their use and creation.
Continue reading "MAX 2006: Leveraging Flex 2 and Flash Player 9 for Truly Cinematic Experiences"
Posted by auhlmann at 10:35 AM
| Comments (5)
July 20, 2006
Cairngorm Sample – How Business Logic Can Manage Views Part III
The goal of this series is to demonstrate how you can manage views with investing in your client side business logic.
The previous posts (part 1, part 2) were primarily about the infrastructure of a very simple single and multiple view dashboard application. This and the following posts will add further functionality to the application with the indent to demonstrate how your model objects become a focus point of your application.
In particular, we'll add validation logic, formatting logic and an additional use case.
Continue reading "Cairngorm Sample – How Business Logic Can Manage Views Part III"
Posted by auhlmann at 11:47 AM
| Comments (6)
July 05, 2006
Cairngorm 2 (for Flex 2) – Simple Sample Applications
UPDATE: The Login example has been updated by Neil Webb to Cairngorm 2.2. Check out his series of articles explaining Cairngorm using the Login example.
I'd like to give you early access to a new version of the CairngormLogin sample, which we'll ultimately make available on Adobe Labs. We’ve been releasing this very simple example application in earlier versions of Cairngorm alongside the framework code. Intention is to showcase how to get a simple Cairngorm application running. Furthermore, I’ve also upgraded my dashboard samples, which I’ve shown in previous posts.
Continue reading "Cairngorm 2 (for Flex 2) – Simple Sample Applications"
Posted by auhlmann at 04:39 PM
| Comments (29)
July 02, 2006
Cairngorm 2 (for Flex 2) – Overview and Migration Path
Earlier this week Cairngorm for Flex 2 has been released. There have been a number of changes compared to Cairngorm for Flex Beta 3. This post intents to explain some of what’s changed, why it changed and how you can handle the changes for migrating your Cairngorm applications to the newest version. Sorry for the delay of this post, but as you might know, there’s a fantastic soccer World Cup in Germany going on these days. ;)
Continue reading "Cairngorm 2 (for Flex 2) – Overview and Migration Path"
Posted by auhlmann at 03:47 AM
| Comments (3)
June 18, 2006
Cairngorm Sample – How Business Logic Can Manage Views Part II
In the last post I’ve introduced you to the stock market dashboard sample application and how you can create business logic to manage your view. In this post and example, I’ll apply another use case to the sample application. With adding multiple pods to the stock market dashboard, the user can request price quotes independently. Each pod has its own stock market data. I’ll cover how your business logic can be adjusted to manage each view. I’ll also touch on how stateless Commands can help making this application easier.
Continue reading "Cairngorm Sample – How Business Logic Can Manage Views Part II"
Posted by auhlmann at 04:21 PM
| Comments (12)