jump to navigation

Flex Component Class Hierarchy February 6, 2008

Posted by suketuvyas in : General, Flex 3, Flash, Flex, Architecture , 4 comments

This article is all about presenting the visual component hierarchy this is basic thing in flex which shows how different properties, method and evens added to the component at various levels and this give knowledge to the lower level of abstraction.

Flex Visual component are created with the class hierarchy of several ActionScript class to provide more flexibility and add more features at the different level of hierarchy.

Following is a visual representation of class hierarchy of Flex Visual Components:

Flex Component Class HierarchyObject: Object is a Top/Root Level class of AactionScript class hierarchy. | More Info…

EventDispatcher: EventDispatcher class extends object class. EvenDispacher class allows any object on the display list to be an event target. | More Info…

DisplayObject: Display Object class extends object and this is the base class for all objects which can be added in the DisplayList. Display object class allows some properties (x, y, width, height )for components/Objects like MovieClip, Button, TextField etc… | More Info…

InteractiveObject: InteractiveObject extends DisplayObject and it is an abstract base class for all DisplayObject with which user can interact. InteractiveObject provides some common properties like doubleClickEnabled, focusRect, tabIndex etc… and Events like all mouse Events, Keyboard Events. | More Info…

DisplayObjectContainer: DisplayObjectContainer extends InteractiveObject class and it is a base shell for all containers which adds display objects in the container shell. . DisplayObjectContainer provides some common properties like… numChildren, tabChildren etc… and methods like addChild(), removeChilld() method related to the child display object management. .. | More Info…

FlexSprite: FlexSprite is a subclass of the Player’s Sprite class and the superclass of UIComponent. It overrides the toString() method to return a string indicating the location of the object within the hierarchy of DisplayObjects in the application. The Sprite class is a basic display list building block: a display list node that can display graphics and can also contain children. | More Info…
UIComponent: UIComponent extends Sprite and it is a base class for all Interactive and non Interactive component. The UIComponent class is not used as an MXML tag, but is used as a base class for other classes. | More Info…

All Visual Components like VBox, HBox, Canvas, Button etc… extends UIComponent.

Hope this article will help you. Any Comments?

Open Source Flex Development Framework January 19, 2008

Posted by suketuvyas in : General, Flex, Architecture , 2 comments

Moxie Zhang has posted a nice article in infoq about Open Source Flex development frame works.  In his post Moxie has listed 10 Open source frameworks for Flex Development.

Following are top Open Source Frameworks:

  1. Cairngorm
    The Cairngorm micro architecture is intended as a framework for Enterprise RIA developers. If you are writing a very simple application (such as a prototype application) or an application with only a single view, then you might consider a “Model 1″ solution that doesn’t strive for the same separation of model, view, and control that Cairngorm advocates. The benefits of the Cairngorm architecture are realized when developing complex RIA applications with multiple use-cases and views, with a team of developers, and with a multi-disciplinary development team that includes designers as well as creative and technical developers.“ by Adobe
    Download Cairngorm.
  2. PureMVC
    PureMVC is a lightweight framework for creating applications in ActionScript 3, based upon the classic Model-View-Controller design meta-pattern.This free, open source framework does not depend on any Flash, Flex or Apollo classes, and is therefore suitable for architecting applications on any platform running AS3.” By PureMVC
    Download PureMVC
  3. Model-Glue
    The Model-Glue family of frameworks support Web application developers by making the construction of Object-Oriented Web and Rich Internet Applications a straightforward process.
    Through a simple implementation of Implicit Invocation and Model-View-Controller, they allow applications to be well organized without sacrificing flexibility.
    ” By Model-Glue
    Download Model-Glue
  4. Foundry
  5. Guasax Flex Framework
  6. ARP
  7. Flest Framework
  8. EasyMVC
  9. Adobe FAST
  10. Joeberkovitz’s framework 

An architectural blueprint for Flex applications January 18, 2008

Posted by suketuvyas in : General, Flash, Architecture , add a comment

Joe Berkovitz has posted nice article on “An architectural blueprint of Flex Applications” on DevNet. He briefed out how to envision the architecture flex application in very simple way.  He has explained MVCS architecture in very good way by taking example of ReviewTube .

If you are new to flex and learn how to start developing flex applications by using MVCS then this article will give you good start.

You can read article here…

Link to ReviewTube

PureMVC Courseware January 17, 2008

Posted by suketuvyas in : General, Flex 3, Architecture , 1 comment so far

PureMVCPureMVC has opened up the Beta test program for PureMVC Courseware. This is good initiative by PureMVC team to document the PureMVC and help people to adopt the frame work.

You can register for PureMVC Beta testing program here…

In can if you haven’t heard…

What is PureMVC?

PureMVC is a lightweight framework for creating applications in ActionScript 3, based upon the classic Model-View-Controller design meta-pattern.
This free, open source framework does not depend on any Flash, Flex or Apollo classes, and is therefore suitable for architecting applications on any platform running AS3.

Visit PureMVC website.

The REST in RPC January 10, 2008

Posted by suketuvyas in : General, Architecture, WEB , add a comment

There are Different ways for RPC for data exchange like WebService besed on SOAP, WSDL WS- and REST. I have come across an interesting article which focuses on Introduction to REST and Key Principals of REST.

Article talk briefly on following RESTful Principals:

This is good article to understand REST quickly and enter in to RESTful arena ;)

Read Article here…

Articles

  • Java Development in Flex Builder
  • Flex component class hierarchy