Entries from Comtaste Consulting | Enterprise RIA consulting and development tagged with 'flex'

Adobe Alchemy: a comparative example

In my last post I introduced the Alchemy Project and I explained how to install/set up the Alchemy environment on a Window machine to compile a very simple "c" file in a swc. Today I'll go deeper and talk about...

Flex Webservice: how to list available parameters for each operation

In a previous post I explained how to list available operations provided by a WebService, parsing the WSDL document using some undocumented classes of the Flex 3 and 4 SDKs. This time I want to give you some suggestions about...

Swiz framework - Custom Metadata Processor

In my last post I briefly introduced Swiz framework and uncovered part of its great potential. This post will be about Swiz's custom metadata processor, a powerful tool available with the 1.0 release. The metadata processors were available in previous...

Mate Framework - an example

In my last post I showed you how Mate framework works. Now I would like to deepen the study on this framework with a short example, and I'd like to show one of best practice ways to use it. For...

Swiz Framework - Inversion of Control micro-architecture

Swiz is a Flex framework that aims at simplicity in development of Rich Internet Applications by hiding most of the boilerplate code behind well-designed metadata that implement Inversion of Control and simply inject objects where they are required. Besides this,...

Dynamic creation of messaging destinations in BlazeDS

In a former post on this blog I wrote about messaging from java to flex without using JMS. That can be a good starting point for the current post's topic: http://blog.comtaste.com/2009/03/messaging_from_java_to_flex_wi_1.html. In that case I was relying on a correct...

Flex WebService: how to list available operations at runtime

The Flex WebService component provides a operations property but this is set by the MXML compiler and contains only the operations listed in the tag. If you want to access an unknown webservice and list at runtime all available operations,...

First steps with Mate Flex framework

Mate (pronounced mah-teh) is a Flex framework for the MVC ( Model View Control ) Pattern. Like other frameworks, Mate addresses the common architectural concerns in Flex such as event handling, data binding, and asynchronous processing, but the most...

AutoComplete custom component in Flex

Around the web we can find a lot of interesting e useful flex custom components. In my last works I had the chance to use the Autocomplete component developed by Hillel Coren (http://hillelcoren.com). In this post I'll try to present...

Filtering nested elements of a Tree data provider

Rich Internet applications developed with Flex benefit of many of the built-in functionality already provided by this framework. One of such enhancement is the filterFunction, that can be applied to instances of class ListCollectionView (and extending ones, such as the...

Multiple field filtering with ArrayCollection

The flex class ActionScript has a very useful method, filterFunction, that allows to pass as a parameter another function, to be applied as a filter for the data. The filter is effectively applied only after we invoke refresh() on the...

Understanding and improving Flex bindings

Data binding is the magical process by which changes in a data model are instantly exposed to views. It works because of the Flex framework that generates a lot of code for you under the hood.

Installing and using Weborb.NET platform for Flex clients

Weborb for .NET is one of the best platform to connect Flex, Flash, AJAX and Silverlight clients with .NET objects, XML Web Services, native operating system resources and rich media streams (audio and video). In this post I will show you how to install and start up this platform on XP Professional with IIS 6.0. First of all you have to install .NET 2.0 Framework on yours machines, following the steps below

ChangeEvent vs Bindable, multiple change events for binding

When you need to define binding based on different custom events you have to use the ChangeEvent metadata tag. The ChangeEvent metadata keyword generates one or more component events when changes are made to one of its properties. The ChangeEvent...

How to enable communication between AIR and Skype through Merapi

Merapi is an interesting project that wants to create a bridge between Air and Java on the desktop, something that already exists between Flex and Java on the web thanks to BlazeDS/LCDS and other similar projects. It's made up of...

How to use the Flex Dashboard Panel library

I've created a project to explain how to use the "Flex Dashboard Panel library", here the link of the live application complete of source code. The principal component of the library are: 1) DashPanelContainer A canvas Container where we place...

Examples and slides of our latest events on PureMVC, BlazeDS, Java, AIR, and RIA User Interface design

Between October and November we held a couple of events for the italian Flex User Group (FlexGala) and Adobe Italy (Adobe TechConnection events). These are the urls to some of slides and examples showed at those events:

A designer point of view on Adobe Max Milan

One word: cooperation. This was the lait motif of this Adobe Max conference held in Milan this year. The Adobe strategy is to create just one big set of tools (software) for designers and developers, that will really help them...

Extending the ComboBox Flex component to support multiselection

Working in a new dashboard Flex project, I've faced with the need to implement a multi selection feature on a ComboBox control. My goal was to extend the ComboBox component so that the selectedItems and selectedIndexes properties return the selected item contained in the dataprovider and the indices. And here's how to make it happens.

Using the Loader class to load and set dimensions of an image from the remote server in Flex 3

Working and creating images in Flex could not be as easy as it looks. When you load an image loaded from the remote server you will tipicaly receive a ByteArray data. The ByteArray image doesn't contain any information such as the width and height of that data. Moreover you must know when the entire bytearray it's been fully loaded on the client.

Google Maps API for Flex and Flash: some tips and notes

Finally the official version of Google Maps for Flash is arrived. Google has just released the Actionscript API that provides map functionalities to web applications in a way really similar to the Javascript version.

Measuring the ROI of choosing Flex for Enterprise RIAs

The ROI index is a synthetic yet meaningful parameter used to express the benefit of making a project, as well as the benefit of making a certain choice related to a project, for example the technology to be used.

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.

The new BlazeDS JMSAdapter allows to pass connection-level credentials to JMS

I want to point out for the readers of this blog (mainly Java, Flex and Livecycle developers) an article I published on my personal blog : Passing connection-level credentials to the JMSAdapter of BlazeDS One of the limit if the Messaging Services of Livecycle Data Services is the inability to define a username and password in the configuration file to pass them to the JMS. I discovered that in BlazeDS there is a new JMSAdapter that allows you to set the connection-level credentials passing the username and password. The new connection-credentials XML node sets the the username and password used while creating the JMS connection.As the documentation said, use only if JMS connection level authentication is being used

Adobe announces open source BlazeDS and the AMF data binary specification release

Adobe has just announced the BlazeDS beta release. On Adobe Labs today we can read that "BlazeDS is the server-based Java remoting and web messaging technology that enables developers to easily connect to back-end distributed data and push data in...

Techniques to clone an ActionScript 3 Object in Flex using AMF3

When you want to clone an Actionscript Object you have three possible way: the deep-copy, shallow-copy or the lazy-copy. Deep-copy are the slower method but the most effective way, because the new object will lose any reference to the original object, so will not be any data shared between the objects. With shallow-copy results a situation in which some data is shared between the objects, the advantage is that their execution speed is fast

Choosing the appropriate RIA Technology: my speech at the Oreilly Web 2.0 Conference

I am very glad to be part of one of the coolest and rich of contents conference made by Oreilly : Web 2.0 Summit . I'll be present the following speech where I'll give you an overview of pros and cons of different techologies for RIAs development

Creating an ObjectManager for improving the Flex interaction with Ajax or Javascript - 2nd part

In my previous post I have illustrated the creation of a simple object manager to make a javascript application correctly dialog with a Flex movie. That is a simple and well functioning solution, however it is not suitable for a more complex context, when it is necessary, for instance, to use several Flex or Javascript/Ajax applications.

Conditional visualization in Cairngorm 2.x using the ChangeWatcher class

Data Binding is one of the most important and powerful flex features and the Cairngorm framework makes a full use of it in its Model View Controller design pattern. In a standard and simple use of Cairngorm we have a view with some controls with dataProviders directly bound to the ModelLocator, if you don't have a clear view of how these things work you'll have a better outlook viewing the diagram on cairngormdocs.org

Creating an ObjectManager for improving the Flex interaction with Ajax or Javascript

What if we want that Flex interacts with Ajax/JavaScript in the same application to render a virtually unlimited user experience? What if we need our Flex application interacts with third parties' applications (e.g. Google Maps)?

Using Cairngorm 2 in Enterprise RIA development: when and why use (or not) it

What is Cairngorm? Cairngorm 2 is a lightweight framework for Enterprise RIA development in Flex 2; Cairngorm encourages the use of the best development practices on developer's side. It takes advantage of well know Java and J2EE design patterns such...

Quality Control phase of enterprise Flex application with the The Flex Automation Framework

When you develop enterprise flex application the Quality Control phase (QC) is a fundamental aspect of each software development activity. Flex and the LiveCycle Data Services ES include The Flex Automation Framework. The Flex Automation Package provides developers with the ability to create Flex applications that use the Automation API. You can use this API to create automation agents or to ensure that your applications are ready for testing. In addition, the Flex Automation Package includes support for Mercury QuickTest Professional (QTP) automation tool.

Form fields focus and keyboard events in Flex 3 form based applications

We're working on some projects in Flex where the use of the keyboard to navigate through the application is a key aspect. They're both Flex 2 form based application Our goals were : - at the start up of the application give the focus to the first form field - pressing the tab key cycling the focus through all the form fields

Adobe AIR, Flex 3 and Integration between Fireworks,Photoshop and Flash CS3 with Flex. All of these topics at the AdobeLive 2007

Today is the second day of AdobeLiveConference here in Italy. I'm here with Enrique (and some enormous mosquitos) in the business room of the AdobeLive and we're about to start our presentation. Enrique will present Adobe AIR (formerly Apollo) and talk about Flex 3 and new features. After his presentantion I'll show the integration of the Adobe CS3 with Flex and Flex Builder. It's incredible how many things designers and creative are now able to do to help Flex developersin creating the user interface of Flex applications.

Feed Subscription

If you use an RSS reader, you can subscribe to a feed of all future entries tagged 'flex'. [What is this?]

Subscribe to feed Subscribe to feed

Other Tags

Other tags used on this blog: