« February 2008 | Main | April 2008 »

March 2008 Archives

March 1, 2008

Creating template components in Flex 3 and AIR

The template component enables you to define and create properties in the components with a general data type. This means that a template component is equipped to act as a property or as the defined object with the same data type of the property declared in it or a subclass of that data type.
In previous solutions, when you created a property for a component created with MXML or ActionScript, you assigned an ArrayCollection or a String as the data type to these properties. In the invocation phase of the component in a main application, if you try to send another type of value to this property (such as an XMLListCollection data type), you receive an error at compile time.
With template components, the properties that are defined by the developer are the placeholders that wait to be used.
In this way, you can create components that are more reusable. You can also guarantee to everyone who will use this component that you have respected the rules for object creation.

To create a template component, you create an ActionScript or MXML component and define the properties linking them to a general data type; for example, one of the UIComponent or Container classes:

public var header:mx.controls.Image;
public var footer:mx.controls.Image;

When you invoke the component in the main application file, the developer can specify the properties to send, defining a valid subclass of the UIComponent or Container class, according to the data type used:

<comp:Chapter_2_Sol_10 id="myTplComp">

<comp:header>

<mx:Image source="" />

</comp:header>

<comp:bottomRow>


To create a template component, follow the same procedure that you used when you created a normal component.

1. Create an MXML component in the com/flexsolutions/chapter2 folder by selecting File > New > MXML Component and give it the name Chapter_2_Sol_10.mxml. Base the component on a VBox container:



<?xml version="1.0"?>

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" >

</mx:VBox>

2. In the MXML component, start a block of ActionScript code in which you define the property of the component with the general data types:



<?xml version="1.0"?>

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" >

<mx:Script>

<![CDATA[

import mx.controls.Image;

import mx.core.UIComponent;

public var header:Image;

public var footer:Image;



[ArrayElementType("mx.core.UIComponent")]

public var content:Array;

]]>

</mx:Script>

</mx:VBox>


Continue reading "Creating template components in Flex 3 and AIR" »

March 7, 2008

A report of the FITC 2008 Amsterdam

KEYWORD: INTERACTIVITY

The lait motif of this design & technology conference was the interactivity as part of everyday user experience. Both if you are navigating the Net or visiting an exhibition the most important thing nowadays is to interact with things around you.
We all like to click everywhere on the screen when there are buttons and icons showing that "something is going to happen then" and at the same way we would like to touch every paintings and sculptures or installations we see in exhibitions. We all want to interact, we all want more action, that’s the main point now. In the design process we must consider people necessity to use things, to find them attractive and even useful, we must create really fancy interfaces even when we follow the usability strict rules.
The world we live today it’s full of new technologies, futuristic approaches and everything it is changing so fast, our minds are most of the time incited by millions of images, videos and sounds so that it’s difficult to capture someone’s attention in a very effective way, in order to make him/her buy or use our product or service. And I doubt it will become easier in the future.
That’s why designers and developers are always looking for something new to surprise people.

At FITC I attended many interesting speeches about the way to use code to create amazing effects, 3d interfaces and website where users could interact with characters inside, and I got really useful advices on how to approach design projects. There were a couple of big company showing great examples of video installations or structures which could interact with the environment.

About the 3D and original interfaces I think that Carlos Ulloa’s work with Papervision3D was really something different for users, you can take a look to the Sony Bravia project to get the idea. The kind of interaction you can have with this tridimensional space is great and the way you can move between different levels to read information or to play with images gives you a real new experience.
It was interesting to see how GMunk use a complex 3d software as Maya, to create really nice special effects in his video ads, even if I found his website a little bit difficult to navigate:) have a look at some of the motion graphics work he has there. How dynamic media design and development converge was the focus of Remon Tijssen (Fluid) presentation, he showed some games’ interfaces where the most important thing was the entertaining part. Flash has been used just to let users play and have fun with characters or environment inside a game, not paying attention only to what a functional application is.

About the special effects I can say that we should call people like Joshua Davis and Erik Natzke artist more than designers, they found the way to use code to create pieces of art, to transform letters and numbers in beautiful moving effects, it was interesting for me to listen how they can found themselves, naturally, writing code in order to reach the final results they have in mind, that was something visible as a static image or a dynamic one.

Anyway, as I saw during the presentations about projects of big company as Imaginary Forces , Bigspaceship or designers as Nikolai Cornell, we can find interactivity not only on a computer screen, but even in exhibition or inside an event going around the showroom. It was amazing to see how architecture can be mixed with technology creating decorative video panel placed on buildings that interact with the weather, changing colors or movies to show, or the entrance door of a car expo that people could touch to get information. I think this is our future, the structure around us can be part of our everyday life not only because they are schools, offices, houses or bars, but also because we can mix pixels with glass, wood and every kind of material to make them interact with us in different way so to be even more useful.

On the other side of the interactivity concept there was a discussion about communication and how to approach design project even with different media. Keywords in these case were: simplicity, detail observation, sharing ideas, experimentation and passion. I agree with Aral Balkan when he says that software are only instruments like brushes for painters and that we must look around us to see how things change, we should use all kind of services on-line to understand better what’s going on in the Net.

If we think about communication generally it’s important for a creative mind to ask the right question while working on a project even if it’s a poster, a logo, a brochure or a video, and Robert L. Peters suggest us the most important ones: how, why, what, whom, when and where. Maybe this seems to be a commonplace idea, but when we are creating something for other people, not only for ourselves, that has to be seen by different people, that’s the way to think because we are part of a big world with lots of different cultures, different way of living, of behaving and we are most of the time responsible for what we do in our works.

In any case all the speakers at Fitc agree with one main point: the real secret for everybody success and to get satisfaction from the work you do, is to work hard, or like hell as someone said:)

March 14, 2008

Who should grab the opportunity to attend the 360Flex Europe conference, and why

I am totally convinced that the next 360Flex conference in Milan (7-9 April) is a fantastic chance for a profitable full immersion into Flex and Flex related themes, there including Adobe AIR.

Besided the fact that the previous editions which took place in the States have been tremendously successfull, this is the only event in Europe with such a strong focus and such a big concentration of interational technical expertise on Flex.

Who should really grab the opportunity to attend the 3 day conference (for just 360 euros)? Here is a synthesis from the 360Flex website (http://www.360flex.com/360flex_europe/):

- Flex developers (of course!)

- ColdFusion, COBOL, .NET, LISP developers, looking to move more into UI and RIA technologies.

- Flash developers, looking to leave timelines and keyframes behind

- AIR developers (or would-be ones)

- Those who think that Flex might be the technology direction their company will want to take

Don't miss out, only €360. This includes over 35+ speakers/sessions and free hands-on "Getting started with Flex" training. More details can be found at http://360flex.com/360flex_europe

To register http://360flexeurope.eventbrite.com/

If you're a FlexGala members there is a discount code to use during the registration phase. Register to FleXGala (http://www.augitaly.com/flexgala/index.php?cmd=register) and you'll receive it via the FlexGala newsletter.

March 27, 2008

Comtaste launches new Adobe Flex 3 and Adobe AIR training courses in New York City, London and Milan

Comtaste has just launched its new training courses on Adobe Flex3 and AIR for late spring-early summer 2008.

First courses to be scheduled are:

"Flex 3 and Flex Builder 3: Developing Rich Internet Applications with the new Flex 3 SDKs" (Milan and London 26-29 May, NYC-Manhattan 2-5 June)

"Developing desktop applications with Adobe AIR, Ajax and Flex" (Milan 14-17 April, NYC-Manhattan 9-12 June, London 23-26 June).

Our educational proposal, designed and set up by Flex expert Marco Casario, is mainly the result of our strong experience in real world enterprise projects.

Our courses reflect our clients' training needs that our consultants have encountered in the day by day running of enterprise-class projects, where Flex and AIR are also connected to backend applications under robust and rigid JEE architectures or other server side technologies.

Training programs and other details on company's website www.comtaste.com/en/training.htm

About March 2008

This page contains all entries posted to Comtaste Consulting | Enterprise RIA consulting and development in March 2008. They are listed from oldest to newest.

February 2008 is the previous archive.

April 2008 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33