Flex - Design Patterns For Adobe Air/Flex Applications?

Jun 2, 2010

I'm going to write an application with the Air/Flex-Framework. I'm looking for Best Practise and general Design Patterns for designing software especially in Air/Flex. I have experience with this framework but never had the pleasure to write a piece of software from scratch.

For instance: I stumbled across lots of software written in Air/Flex with nearly infinity global vars Most of the software I saw was not object-oriented How can I pack the asynchronous method calls nicely?

I'm familiar with general design patterns by gamma. I'm looking more for advise in designing good quality software with Adobe Air/Flex.

View 4 Replies


Similar Posts:


Design Patterns - Particular Flex Framework Can Bring More Advantages For This Case?

Apr 7, 2011

I had experiences using Mate and Parsley. But for now, I'm using none.For instance, I'm using observer and singleton patterns like following.

RegisterView.mxml implements IRegisterAction interface
function onBtnRegisterClick(){
var action:RegisterAction = new RegisterAction();[code].......

This is my interface IRegisterAction.as

function registerCallback(customer:Customer ):void;

My question is "What additional benefits I will get, if I use a particular framework ?".

View 1 Replies

Flex :: Adobe - Create Smooth Transitions For Drop Down List In Flex For Desktop Applications?

Jan 22, 2012

I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.

View 1 Replies

Flex :: Write Adobe AIR Applications?

May 9, 2010

I cannot afford the Creative Suite or Flex Builder but I would like to develop a commercial Flex/ActionScript AIR application. Is this a viable goal and are there robust tools out there that don't cost a small fortune?

View 2 Replies

Flex - Printing In Adobe Air Applications?

May 12, 2011

I have a requirement to print a bill from the AIR application.

Following are the constraints.

I need to print to a DotMatrix Printer. I have a complex layout with header, footer and a datagrid with data rolling out to more that one page. I need to have a template to which I will be passing my object.The suffice with the usage of Jasper reports, but I have no server side support.I tried the FlexReport, bentbit and other tools which is optimized for the DotMatrix printers.

Is there a alternative to get the above requirements done. Is there any alternative similar to that of jasper reports without going for a server.

View 2 Replies

ActionScript 3.0 :: Combining 2 OOP Design Patterns?

Mar 9, 2012

I have a question on how to combine 2 OOP design patterns. First off, I created a MVC pattern that loads XML into the as3 classes. Now, I want to add another OOP design pattern which is the OBSERVER pattern. How would I call that in the MVC pattern?

To be more clear about this, I created a MVC pattern design of a widget that loads the data from the xml file. I want to input a graph bar observer pattern to the widget. How would i do that?

View 1 Replies

Iphone :: Make Applications Using Adobe Flex/AIR?

Jun 22, 2009

Is it possible to make applications for iPhone using Adobe Flex/AIR?

View 5 Replies

Flex :: Adobe Air - Get OS Open A File In Their Native Applications?

Sep 9, 2009

In adobe air, is there anyway to get OS open a file, in their native applications?

View 3 Replies

Flex :: Get Ability To Start Up Multiple Same Adobe Air Applications?

Jun 5, 2010

How to be able to start up same Adobe Air applications multiple times? How to make it to my app?

View 1 Replies

Flex :: Do Full Text Search In Adobe AIR Applications?

Jul 11, 2011

It seems that AIR doesn't come packaged with the powerful FTS module for Sqlite (its a hot requested feature)

What are the some other alternatives I can use? I want to be able to do simple boolean and phrase queries. Support for stemming would be great but not required. I am targeting the mobile platforms.

So far I've thought of three options:

Write a simple inverted index and a scorer Do search on server side (last resort b/c it messes up offline capability) Somehow install FTS module with AIR. First indication from googling is that its not feasible (looks like loading of modules is disabled in air)

View 1 Replies

ActionScript 3.0 :: Empty Interface (relates To Design Patterns)

Nov 11, 2010

quick opinion question for anybody who cares to sound off. I am doing an implementation of the Command Pattern right now, and thought I might try defining my command structure almost entirely around interfaces. I am running into a problem however with empty interfaces. Let's say I have the following two interfaces:

[Code]...

View 12 Replies

Java :: Using JavaFX And/or Adobe Flex For Building Desktop Applications?

Sep 29, 2009

Most of the desktop application development I do is in Swing, and I'm curious to hear people's thoughts on using JavaFX and/or Adobe Flex for building desktop applications. Have you had success building desktop apps with these? Or would you stick with Swing for now and use tools to help make Swing development more productive?

View 6 Replies

Flex :: Get A File Explorer/Navigator To Work In Adobe AIR Applications?

May 6, 2010

I realize this is probably a simple question but my google-fu is failing me. I would like to get a windows explorer like file browser to popup when I click a button to select images to upload to my AIR application.However I cannot find a component that handles File exploring. Does anyone know what to use?

View 1 Replies

JavaScript :: Integrating Adobe Flex Applications With HTML Pages

Feb 16, 2011

How can I get my Adobe Flex applications to seamlessly integrate with HTML pages? That is, I want Flex to: Not take up the entire page (make it any size page element I want). Talk back to the JavaScript on the page (further linking the Flash application with the HTML page).

View 1 Replies

Flash - File System, Native Process Utility Libraries For Adobe AIR/flex Applications?

Dec 20, 2011

I am looking for utility/helper classes for Adobe AIR/actionscript 3.0 file system and native process utilization. Could someone point me to opensource library projects specific to Adobe AIR..

View 2 Replies

Flex :: Dynamically Create Axis Via ActionScript In Adobe Flex Charting Library; Adobe Bug?

Mar 21, 2011

Multiple axis creation via MXML works fine:
http:[url]...

But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....

View 2 Replies

Flex - Design - Mediators Coupled To Proxies In Flex PureMVC?

Aug 14, 2009

I've just recently learned the PureMVC framework, and am a little confused as to the coupling between Proxy and Mediator objects. The links on this page connect to some documents describing the framework. (Please note, the links on the aforementioned page open PDFs.)

The diagrams and examples of PureMVC I've examined often show a direct coupling between a Mediator and Proxy. When the proxy's state is updated, rather than sending a new Notification, the Mediator (which retrieves a reference to the Proxy from the Facade) has its state updated.

This certainly seems to simplify the logic of the code, but it also directly couples two seemingly disparate components together. To my understanding, a Mediator's purpose is to translate Events from a view into PureMVC Notifications. Proxies are meant to perform some function to gather data and relay it back to the view. These two components seem to exist in different layers of the application, and perhaps shouldn't necessarily be coupled together.

Wouldn't it make more sense to have the Proxy objects send their own Notifications when their state updates, which are forwarded to the interested Mediator by the Facade?

View 2 Replies

Flex - Create Applications In Flex/AIR?

Aug 6, 2009

What is the best way to create applications in Flex/AIR, which look and feel the same irrespective of the screen resolution?

View 3 Replies

Communication Between Two Flex Applications?

Aug 6, 2010

I have two web applications written in Flex I would like to integrate. I would like one Flex app (let's call it application A) to invoke second Flex app (let's call it application B). Application A has access only to swf file of application B (not source code). When application A invokes application B, it should be able to pass some data to application B. After application B is invoked it should be able to pass some data back to application A. These two applications will be hosted on the same server, but will use different server code.

The easiest way of implementing this (or one of the ways to be more precise) would be to have UI element on app A (button, link, menu item, etc) that would invoke app B. But in that case, two Flex applications couldn't communicate directly (since only one is active at a time), and they would have to communicate through server code, which is something I would like to avoid.

In short application A should invoke application B, pass some data to it. Application B should do it's work, display some content, and have a mean of passing some data back to application A. I'm aware of LocalConnection, and I've seen similar question, but in that case I would have to have both application in the same browser window. This would be acceptable to some extend, but only if app B is contained in app A (not if they are both on the same HTML page). Would LocalConnection work in that case?

Do you have any recommendations on how to implement this kind of communication?

View 2 Replies

Flex :: Get List Of Installed AIR Applications?

Feb 15, 2010

Is it possible to get list of installed AIR applications, optionally only by one vendor?

Or, is it possible to check, whether is one application (checked by name/some id/vendor) installed (this method would be preferred)

View 3 Replies

Flex :: Load Audio Into Applications?

Mar 9, 2010

I want to play Audio in flex application.I am using SWFLoader for it.Is there any other way to load audio into Flex applications.

View 1 Replies

Flex :: Do AIR Applications Run In A Trusted Sandbox

Jul 22, 2010

I have an AIR application that is packaged with a network appliance and that is used to configure that network appliance...much like a the embedded webservers on home routers except this is an installed AIR app.

If I want to communicate with the appliance on a port higher that 1024, do I need that appliance to serve up a socket policy file or is AIR considered a trusted sandbox. All the info I find relates to Flash Player and the web, but this particular AIR app is communicating in a closed environment.

View 1 Replies

Flex :: Skins Not Loaded In Sub-applications ?

Jul 29, 2010

we try to develop a flash game engine with several abstraction layers. This flex project contains: an Application (1)-> loading a class (2)-> loading another class (3) which instanciates a Flex component (4).

The loadings uses SWFLoader. The last Flex component (4) is just a Group with AdvancedDataGrid. We do not define skins so I suppose it must take default skin.The problem is that during execution, an error is throwed because default skin for components cannot be found in the Flex component (4). In our case, for the AdvancedDataGrid:

Error #1007: Instantiation attempted on a non-constructor.In mx.controls::AdvancedDataGridBaseEx. The guilty command is: getStyle("headerSeparatorSkin"); which returns null

For the moment, we found two solutions :

the first solution is to add the attribute headerSeparatorSkin="spark.skins.SparkSkin" into the AdvancedDataGrid of the Flex component .

View 2 Replies

Align Flex Applications To The Left?

Dec 17, 2010

How can align my application to the left in Flex ? The application is horizontally centered and when I resize the browser window it stays centered. It is not css padding, it is flex padding, so I guess I have work with Flex code.

I've tried to add the following properties to the Application container: paddingLeft="0", left="0".. but it doesn't work. Still centered. I've also tried to set "align","left" in the html/javascript code, but it doesn't solve the issue, because the padding is inside the flex application.

View 1 Replies

Why Flex Applications Perform Better Than Flash

May 14, 2011

When I'm making projects with Flex (or Flash Builer) the end result usually performs much better than a similar level project made with the Flash authoring tool. I know Flash IDE is rather for animations and design heavy works so you can't really compare these 2 tools, but this question is bugging me for a long time.If apps made with Flex (or Flash Builder) are really faster and less CPU intensive - why is that?

View 1 Replies

Flex :: Mailto With Attachments In AIR Applications

Jul 27, 2011

How to forward attachment(for example image) from Flex or AIR application to email client? For forwarding email address, body and subject, I use this:

var s:String = "";
s+= "mailto:";
s+= g.text;

[Code].....

View 1 Replies

Android :: Ios - Flex Vs Eclipse For Applications?

Dec 18, 2011

I am a beginner in this so I am not sure what would be better. I read that Android API is targeted towards Eclipse, however, I read that Flex allows you to use your apps on Android and iOS at once, reducing the need for two apps.

The kind of app I am building will involve reading data from the gyro, and making some calculations, then reporting it to a server.

View 1 Replies

ActionScript 3.0 :: Using Adobe AIR Applications In Webpages?

Jun 22, 2009

I want to use an air application in web page. Can I do this?

View 4 Replies

Flex :: Pass Parameters Across Multiple Applications?

Jul 21, 2009

Is there any way we can pass parameters from one flex application to the other flex application ?

I know we can pass parameters from module to application and vice versa.

View 1 Replies

Flash :: Securing .net Web Services For Flex / AIR Applications

Oct 15, 2009

What would be the best way to secure .net web services used by a flex application (both desktop and browser) that requires login? I thought about requesting the user and password in every method of the web service, and having them stored as variables in the flex app, but I don't feel like this is the most elegant way.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved