>So my question is, is it important to implement listeners? For web only, >then I'm thinking no, but if you are creating views for Java, Web Services, >Flash, then does a listener need to be implemented, and if so how?
CFDJ has quite a number of articles by Hal Helms I thinkon MVC in its archives. I`m far from expert but from Flash perspective can say listeners are very important where eg a mainpanel.swf is loaded first followed by (LoadMovieNum) next menu.swf each with a menu button listening for an onPress event. Means instead of a large single .file the movie is broken down into smaller Flash movies using listeners. Colm -----Original Message----- From: Paul Johnston [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 09:45 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] MVC issues > Going on this MVC stuff....where are some good resources? I > know there is all the Fusebox stuff (dont get Simon started ;-)... For those of you who don't know: MVC: Model-View-Controller There are 2 versions, model 1 and model 2. Model 2 is most widely used (in Web Apps) within the Java world (JSP/Servlets). The basic idea is (and I mean basic): Controller: It's basically what runs the application calling the right models and views Model: Effectively, the data storage View: The view into the data storage (ie output of data) Very useful, but listeners are discussed with MVC. Listeners tell a view to change if the data changes (in simple terms). With the web, the view is static, a "snapshot" if you will of the current "Model". So my question is, is it important to implement listeners? For web only, then I'm thinking no, but if you are creating views for Java, Web Services, Flash, then does a listener need to be implemented, and if so how? Paul -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
