I've been playing with similar ideas and I'm wondering if your model just dispatches an 'onUpdate' event, that prompts views to get the values they're interested in, or do you create seperate events for individual properties on the model?
-Scott On 12/19/06, Robin Burrer <[EMAIL PROTECTED]> wrote:
Hi Greg, Thanks for your reply from a few weeks ago. I just found your message today by accident...:-) I ended up creating my own framework which is basically a simplified version of cairngorm for AS2. I didn't use all of the underlying design patterns but most of them. I found that you can easily replace the data-binding with setter methods in the model though. For each property in my model I also have a setter method. Commands that want to update a property in the model will call a setter method. The model then not only updates its property but also dispatches an event to all its listeners/views. - This works perfectly. Robin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of greg h Sent: Tuesday, 19 December 2006 9:09 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Cairngorm Bram, Cairngorm has been used on Flash only projects (although not by me ;-). Following are 3 links related to 2 occasions that this question came up last month here on this list. http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/175801. html http://tech.groups.yahoo.com/group/cairngorm-documentation/message/156 http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/176244. html Yours is the first mention I have seen of a Cairngorm AS3 project not related to Flex. Please do post back and give us an update on your experience if you do move ahead using Cairngorm on an AS3 Flash only project. If you have follow on questions, you might also try posting on either or both of the following lists: cairngorm-documentation<http://tech.groups.yahoo.com/group/cairngorm-doc umentation/>and cairngorm-devel <http://tech.groups.yahoo.com/group/cairngorm-devel/> hth, g On 12/18/06, Webdevotion <[EMAIL PROTECTED]> wrote: > > Hello Flashcoders, > > Is it allright to use Cairngorm for AS 3 projects? > I'm getting up to speed with Flex and AS 3.0 and > want to start learning some relevant frameworks. > > Which ones are among the best choices for > strictly AS 3 projects ? > Any articles concerning those choices ? > > Bram > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- : : ) Scott _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com