wood burning stoves*
The moose likes Flex and the fly likes A query with respect to Cairngorm Events Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "A query with respect to Cairngorm Events " Watch "A query with respect to Cairngorm Events " New topic

A query with respect to Cairngorm Events

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I am new to cairngorm .
I am designing a StudentApplication using Flex with Cairngorm .
I am struck at writing a Event class for Cairngorm .Please guide me

Assume that this StudentApplication is suppourting Create , Delete , Update ,Read Operations .

My question is do i need to write 4 Event classes , each representing that Operation ,

Or is it possible to do in one Event class by taking 4 different Sring constants , each representing the Appropiate Action .

My question is do i need to make Create , Update , Delete , Read Events for every
Event of my Application ??

Please guide me .

Thanks in advance .

Save India From Corruption - Anna Hazare.
Ratan Kumar Yadav

Joined: May 02, 2008
Posts: 6


It would be better if you create separate event for each of your operations like create,delete,updare etc.
Make sure you map your events in FrontController ,i.e your UIController and write a command class
which will implement ICommand interface.

Once the Event is Dispatched,it vl come wover to command class "execute" method and den you can decide here which operation need to Perform.

Hope I made things simpler....
I agree. Here's the link: http://aspose.com/file-tools
subject: A query with respect to Cairngorm Events
Similar Threads
Java not for NASA?
Using Flex Performance Profiler for Profiling Flex with Java Applications
event handling for med sized MVC app
delete in B&S
nx: All of URLy Bird 1.1.3 read/write lock(2)