hey lakshminarayan ;

1 )

cairngorm is a MVC framework which is a combination of (MVC / singleton /
observer)
its a micro architecture which helps to loosely couple our views and data
for better controlability.
i think there are so many explanations about it in the web .
which you should search on if you have time ,

simply what i can say is that

you can have your view logic (basic UI ) in the view.
and from that we will dispatch events when we need to invoke back end calls

those events will call up a command class where you dispatch your business
logic in the delegate.
so in order to bind the event and the  command together we use a controller
.thus when a  event is created it will be binded to a specific command/
commands in the controller.
so automatically command get called when we dispatch and event from the
view.
the best part of it is
view doesn't know which command was invoked and or neither the event.
so there can be multiple commands listerning to single event or vice versa
depending on the requirment.
you can have composite event which handle multiple events by type.
command class will be implemented on Iresponder Interface , where it will
hold the control until the asynchronous function call .
so that on result you can send the data to model () [where we keep data
which is our singlton class]

each view will be bind to a specific data variable in model, since when the
model is updated ,view will be automatically notified and
updated.

there are lots of other things on it ,feel free ask any if you having
trouble in starting up.






2) im not a java guys since i would not be the best person to answer the
spring flow. do post me if got a reply as well so that i also can learn from
it ;-)

and regarding performance testing/ tuning
if you are using flex/flash builder you can simply use profiler .
check which components has more memory ,what are the loop holes , which
methods are slow .....and soo many other things.
profiler is a excellent piece of software when it comes to performance
tuning the application .

but if you are open source and unable to use built in flex profiler , what i
would suggest is to grab a free web proxy which support amf data (depending
on your back end)
and see what methods /and variable size does the harm ....

hope the information make sense.
 let me know if there are any doubts..

Dinukx


On Mon, Nov 9, 2009 at 11:26 AM, lakshminarayan k <naraya...@gmail.com>wrote:

>
> hi >>how to  do perfommance tuning in flex application
>
> thanks & regards
> l...@ks
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to