[flex_india:26284] difference between cairongormevent and event

View: New views
10 Messages — Rating Filter:   Alert me  

[flex_india:26284] difference between cairongormevent and event

by pradeep gorijavolu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Friends,

This is pradeep,Please any one tel me the difference between
cairongormevent and event?

Regards,
Pradeep.

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26297] Re: difference between cairongormevent and event

by Vaibhav Seth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Both are the extension of Event only.

The difference is that for CairEvent you have a handler defined in the form of execute method in the mapped command. And this mapping is done via Controller.

While event is a simple event for which you define handler as a simple function.(normally)

In General, you can consider CairEvent's scope as global, you can dispatch from anywhere in application, while CustomEvent is limited to a component or up its hierarchy.

If you need to know more, best will be to explore the Cairngorm code with the help of the debugger. It is the only way to understand it at best.


On Mon, Nov 2, 2009 at 5:25 AM, pradeepflex <pradeepflex.group@...> wrote:

Hello Friends,

This is pradeep,Please any one tel me the difference between
cairongormevent and event?

Regards,
Pradeep.





--
Thanks,
Vaibhav Seth.

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26312] Re: difference between cairongormevent and event

by pradeep gorijavolu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks Vaibhav,

and please let me know in every event class
is it mandatory to override the clone method?

Regards,
Pradeep.


On Nov 2, 9:25 pm, Vaibhav Seth <seth.vaibhav...@...> wrote:

> Both are the extension of Event only.
>
> The difference is that for CairEvent you have a handler defined in the form
> of execute method in the mapped command. And this mapping is done via
> Controller.
>
> While event is a simple event for which you define handler as a simple
> function.(normally)
>
> In General, you can consider CairEvent's scope as global, you can dispatch
> from anywhere in application, while CustomEvent is limited to a component or
> up its hierarchy.
>
> If you need to know more, best will be to explore the Cairngorm code with
> the help of the debugger. It is the only way to understand it at best.
>
> On Mon, Nov 2, 2009 at 5:25 AM, pradeepflex <pradeepflex.gr...@...>wrote:
>
>
>
> > Hello Friends,
>
> > This is pradeep,Please any one tel me the difference between
> > cairongormevent and event?
>
> > Regards,
> > Pradeep.
>
> --
> Thanks,
> Vaibhav Seth.

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26323] Re: difference between cairongormevent and event

by Vaibhav Seth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is not necessary, but should be.



On Tue, Nov 3, 2009 at 1:15 AM, pradeepflex <pradeepflex.group@...> wrote:

Thanks Vaibhav,

and please let me know in every event class
is it mandatory to override the clone method?

Regards,
Pradeep.


On Nov 2, 9:25 pm, Vaibhav Seth <seth.vaibhav...@...> wrote:
> Both are the extension of Event only.
>
> The difference is that for CairEvent you have a handler defined in the form
> of execute method in the mapped command. And this mapping is done via
> Controller.
>
> While event is a simple event for which you define handler as a simple
> function.(normally)
>
> In General, you can consider CairEvent's scope as global, you can dispatch
> from anywhere in application, while CustomEvent is limited to a component or
> up its hierarchy.
>
> If you need to know more, best will be to explore the Cairngorm code with
> the help of the debugger. It is the only way to understand it at best.
>
> On Mon, Nov 2, 2009 at 5:25 AM, pradeepflex <pradeepflex.gr...@...>wrote:
>
>
>
> > Hello Friends,
>
> > This is pradeep,Please any one tel me the difference between
> > cairongormevent and event?
>
> > Regards,
> > Pradeep.
>
> --
> Thanks,
> Vaibhav Seth.





--
Thanks,
Vaibhav Seth.

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26327] Re: difference between cairongormevent and event

by vijay-51 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello ,
 
In In normal flex Applic. event we use flash.event.Event super class & In Cairngorm we use the subclass of flash.event.Event which is CairngormEvent,
 
Thanks,
 
Vijay
 
On 11/2/09, pradeepflex <pradeepflex.group@...> wrote:

Hello Friends,

This is pradeep,Please any one tel me the difference between
cairongormevent and event?

Regards,
Pradeep.
--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26333] Re: difference between cairongormevent and event

by Kaleem-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
we override the clone method when we use event bubbling... else we
dont need to use that but its always better to over ride that.

Thanks,
Kaleem

On Nov 3, 1:15 am, pradeepflex <pradeepflex.gr...@...> wrote:

> Thanks Vaibhav,
>
> and please let me know in every event class
> is it mandatory to override the clone method?
>
> Regards,
> Pradeep.
>
> On Nov 2, 9:25 pm, Vaibhav Seth <seth.vaibhav...@...> wrote:
>
>
>
> > Both are the extension of Event only.
>
> > The difference is that for CairEvent you have a handler defined in the form
> > of execute method in the mapped command. And this mapping is done via
> > Controller.
>
> > While event is a simple event for which you define handler as a simple
> > function.(normally)
>
> > In General, you can consider CairEvent's scope as global, you can dispatch
> > from anywhere in application, while CustomEvent is limited to a component or
> > up its hierarchy.
>
> > If you need to know more, best will be to explore the Cairngorm code with
> > the help of the debugger. It is the only way to understand it at best.
>
> > On Mon, Nov 2, 2009 at 5:25 AM, pradeepflex <pradeepflex.gr...@...>wrote:
>
> > > Hello Friends,
>
> > > This is pradeep,Please any one tel me the difference between
> > > cairongormevent and event?
>
> > > Regards,
> > > Pradeep.
>
> > --
> > Thanks,
> > Vaibhav Seth.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26364] Re: difference between cairongormevent and event

by pradeep gorijavolu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanx Vijay

Plesae let me know the more about the behavioural difference

Regards,
Pradeep.
On Tue, Nov 3, 2009 at 9:39 PM, vijay nath <vj4joy2003@...> wrote:

Hello ,
 
In In normal flex Applic. event we use flash.event.Event super class & In Cairngorm we use the subclass of flash.event.Event which is CairngormEvent,
 
Thanks,
 
Vijay
 
On 11/2/09, pradeepflex <pradeepflex.group@...> wrote:

Hello Friends,

This is pradeep,Please any one tel me the difference between
cairongormevent and event?

Regards,
Pradeep.



--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26359] Re: difference between cairongormevent and event

by pradeep gorijavolu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanx Kallem,

Can u please explore the point about the relation of eventbubbling and clone method
like when we set bubbles is true wht wll happen and is it false wht wll happen?

Regards,
Pradeep.
On Wed, Nov 4, 2009 at 2:38 AM, Kaleem <caleem@...> wrote:

Hi,
we override the clone method when we use event bubbling... else we
dont need to use that but its always better to over ride that.

Thanks,
Kaleem

On Nov 3, 1:15 am, pradeepflex <pradeepflex.gr...@...> wrote:
> Thanks Vaibhav,
>
> and please let me know in every event class
> is it mandatory to override the clone method?
>
> Regards,
> Pradeep.
>
> On Nov 2, 9:25 pm, Vaibhav Seth <seth.vaibhav...@...> wrote:
>
>
>
> > Both are the extension of Event only.
>
> > The difference is that for CairEvent you have a handler defined in the form
> > of execute method in the mapped command. And this mapping is done via
> > Controller.
>
> > While event is a simple event for which you define handler as a simple
> > function.(normally)
>
> > In General, you can consider CairEvent's scope as global, you can dispatch
> > from anywhere in application, while CustomEvent is limited to a component or
> > up its hierarchy.
>
> > If you need to know more, best will be to explore the Cairngorm code with
> > the help of the debugger. It is the only way to understand it at best.
>
> > On Mon, Nov 2, 2009 at 5:25 AM, pradeepflex <pradeepflex.gr...@...>wrote:
>
> > > Hello Friends,
>
> > > This is pradeep,Please any one tel me the difference between
> > > cairongormevent and event?
>
> > > Regards,
> > > Pradeep.
>
> > --
> > Thanks,
> > Vaibhav Seth.- Hide quoted text -
>
> - Show quoted text -



--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26370] Re: difference between cairongormevent and event

by Sampath Kumar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
One difference I can think of between Normal Event & Cairngorm Evenet is :
 
Normal Event
 
We use dispatchEvent(new Event());
 
CairnormEvent
 
var myEvt:MyEvent = new MyEvent();
 
myEvt.dispatch();
 
Regards
Sampath

On Wed, Nov 4, 2009 at 9:12 AM, pradeep gorijavolu <pradeepflex.group@...> wrote:
Thanx Vijay

Plesae let me know the more about the behavioural difference

Regards,
Pradeep.
On Tue, Nov 3, 2009 at 9:39 PM, vijay nath <vj4joy2003@...> wrote:

Hello ,
 
In In normal flex Applic. event we use flash.event.Event super class & In Cairngorm we use the subclass of flash.event.Event which is CairngormEvent,
 
Thanks,
 
Vijay
 
On 11/2/09, pradeepflex <pradeepflex.group@...> wrote:

Hello Friends,

This is pradeep,Please any one tel me the difference between
cairongormevent and event?

Regards,
Pradeep.






--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---


[flex_india:26457] Re: difference between cairongormevent and event

by flexorz group of flex corders :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i think with the latest cairngorm.swc you can get the functionality as such

event.dispatch() <-- this is supported.

On Wed, Nov 4, 2009 at 3:57 PM, Sampath Kumar <sampath27@...> wrote:
Hi,
 
One difference I can think of between Normal Event & Cairngorm Evenet is :
 
Normal Event
 
We use dispatchEvent(new Event());
 
CairnormEvent
 
var myEvt:MyEvent = new MyEvent();
 
myEvt.dispatch();
 
Regards
Sampath

On Wed, Nov 4, 2009 at 9:12 AM, pradeep gorijavolu <pradeepflex.group@...> wrote:
Thanx Vijay

Plesae let me know the more about the behavioural difference

Regards,
Pradeep.
On Tue, Nov 3, 2009 at 9:39 PM, vijay nath <vj4joy2003@...> wrote:

Hello ,
 
In In normal flex Applic. event we use flash.event.Event super class & In Cairngorm we use the subclass of flash.event.Event which is CairngormEvent,
 
Thanks,
 
Vijay
 
On 11/2/09, pradeepflex <pradeepflex.group@...> wrote:

Hello Friends,

This is pradeep,Please any one tel me the difference between
cairongormevent and event?

Regards,
Pradeep.









--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to flex_india+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---