Re: [flexcoders] Backend/Frontend Application Development (Cairngorm)
On Thursday 27 July 2006 09:38, Stefan Schmalhaus wrote: definitely use the same AMFPHP services. What's the best way to tackle this? Should I treat them as two different Flex projects? Or can I develop them within one Flex project but with two different MXML application files? We've just got one Flex project, and it switches views based on who logs in. A better way maybe to put the shared components into a library SWC project, and then write two separate Flex projects for each front end. Depends how big your dev. team and projects are, I suppose. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Backend/Frontend Application Development (Cairngorm)
Put 'em in seperate projects, or sub-projects. Like: com.company.project.admin.* com.company.project.client. Or: com.company.projectadmin.* com.company.projectclient.* You should take advantage of the fact you may be using similiar code; both of the above in the same Flex project allows you to easily do that. - Original Message - From: Stefan Schmalhaus [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 4:38 AM Subject: [flexcoders] Backend/Frontend Application Development (Cairngorm) I'm going to develop a Flex (Cairngorm-based) intranet application for training resources. There will be a backend part for user and content administration, and there will be a frontend for the end user. Both parts, backend and fronted, will presumably share a lot of the underlying data structure, value objects, views, etc. They will definitely use the same AMFPHP services. What's the best way to tackle this? Should I treat them as two different Flex projects? Or can I develop them within one Flex project but with two different MXML application files? Your ideas and thoughts are very much appreciated. Stefan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Backend/Frontend Application Development (Cairngorm)
curious how to share resources with this, say using Cairngorm. How to share a command that returns data to a modellocator? How to return th edata to the current model locator for a sub app?DK On 7/27/06, JesterXL [EMAIL PROTECTED] wrote: Put 'em in seperate projects, or sub-projects.Like:com.company.project.admin.*com.company.project.client.Or:com.company.projectadmin.*com.company.projectclient.*You should take advantage of the fact you may be using similiar code; both of the above in the same Flex project allows you to easily do that.- Original Message -From: Stefan Schmalhaus [EMAIL PROTECTED] To: flexcoders@yahoogroups.comSent: Thursday, July 27, 2006 4:38 AMSubject: [flexcoders] Backend/Frontend Application Development (Cairngorm)I'm going to develop a Flex (Cairngorm-based) intranet application for training resources. There will be a backend part for user and contentadministration, and there will be a frontend for the end user.Both parts, backend and fronted, will presumably share a lot of theunderlying data structure, value objects, views, etc. They will definitely use the same AMFPHP services. What's the best way to tacklethis? Should I treat them as two different Flex projects? Or can Idevelop them within one Flex project but with two different MXMLapplication files? Your ideas and thoughts are very much appreciated.Stefan--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/-- Douglas Knudsenhttp://www.cubicleman.com this is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Backend/Frontend Application Development (Cairngorm)
// Assuming your in your Client Application for example import com.company.project.admin.events.SomeEvent; import com.company.project.client.events.ClientEvent; var e:SomeEvent = new SomeEvent(SomeEvent.EVENT_NAME, false, true); CairngormEventDispatcher.getInstance().dispatchEvent(e); You could do the reverse in the admin. As a GUI guy, I probably would care more about sharing commonly used View's and utility classes vs. events and commands that were probably created for their specific projects, but it could be done. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 9:25 AM Subject: Re: [flexcoders] Backend/Frontend Application Development (Cairngorm) curious how to share resources with this, say using Cairngorm. How to share a command that returns data to a modellocator? How to return th edata to the current model locator for a sub app?DK On 7/27/06, JesterXL [EMAIL PROTECTED] wrote: Put 'em in seperate projects, or sub-projects.Like:com.company.project.admin.*com.company.project.client.Or:com.company.projectadmin.*com.company.projectclient.*You should take advantage of the fact you may be using similiar code; both of the above in the same Flex project allows you to easily do that.- Original Message -From: "Stefan Schmalhaus" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, July 27, 2006 4:38 AMSubject: [flexcoders] Backend/Frontend Application Development (Cairngorm)I'm going to develop a Flex (Cairngorm-based) intranet application for training resources. There will be a backend part for user and contentadministration, and there will be a frontend for the end user.Both parts, backend and fronted, will presumably share a lot of theunderlying data structure, value objects, views, etc. They will definitely use the same AMFPHP services. What's the best way to tacklethis? Should I treat them as two different Flex projects? Or can Idevelop them within one Flex project but with two different MXMLapplication files? Your ideas and thoughts are very much appreciated.Stefan--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/-- Douglas Knudsenhttp://www.cubicleman.com this is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Backend/Frontend Application Development (Cairngorm)
righto on that. Say I have a command GetUserCommand() that returns a userVO for the current user in session. This is returned to the apps modellocator, has stuff like name, etc, in it.so we have com.company.project.admin.model.AModLoccom.company.project.client.model.CModLocHow does GetUserCommand() stick the userVO result into the proper model? Typically the model is hardcoded in the Command, eh? What I've done so far is used a generic model so to speak in com.company.project.model.GModLoc say. Then the client app and admin app can access it as well as their respective model. DKOn 7/27/06, JesterXL [EMAIL PROTECTED] wrote: // Assuming your in your Client Application for example import com.company.project.admin.events.SomeEvent; import com.company.project.client.events.ClientEvent; var e:SomeEvent = new SomeEvent(SomeEvent.EVENT_NAME, false, true); CairngormEventDispatcher.getInstance().dispatchEvent(e); You could do the reverse in the admin. As a GUI guy, I probably would care more about sharing commonly used View's and utility classes vs. events and commands that were probably created for their specific projects, but it could be done. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 9:25 AM Subject: Re: [flexcoders] Backend/Frontend Application Development (Cairngorm) curious how to share resources with this, say using Cairngorm. How to share a command that returns data to a modellocator? How to return th edata to the current model locator for a sub app?DK On 7/27/06, JesterXL [EMAIL PROTECTED] wrote: Put 'em in seperate projects, or sub-projects.Like:com.company.project.admin.*com.company.project.client.Or:com.company.projectadmin.*com.company.projectclient.*You should take advantage of the fact you may be using similiar code; both of the above in the same Flex project allows you to easily do that.- Original Message -From: Stefan Schmalhaus [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, July 27, 2006 4:38 AMSubject: [flexcoders] Backend/Frontend Application Development (Cairngorm)I'm going to develop a Flex (Cairngorm-based) intranet application for training resources. There will be a backend part for user and contentadministration, and there will be a frontend for the end user.Both parts, backend and fronted, will presumably share a lot of theunderlying data structure, value objects, views, etc. They will definitely use the same AMFPHP services. What's the best way to tacklethis? Should I treat them as two different Flex projects? Or can Idevelop them within one Flex project but with two different MXMLapplication files? Your ideas and thoughts are very much appreciated.Stefan--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Douglas Knudsenhttp://www.cubicleman.com this is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Backend/Frontend Application Development (Cairngorm)
If you use the same ModelLocator, yes. I'd assume, however, each would have their own ModelLocator. Additionally there is no reason you couldn't share the same one. Still, depends on the project, and I usually only have borrewed views between proejcts, not command model stuff. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 9:53 AM Subject: Re: [flexcoders] Backend/Frontend Application Development (Cairngorm) righto on that. Say I have a command GetUserCommand() that returns a userVO for the current user in session. This is returned to the apps modellocator, has stuff like name, etc, in it.so we havecom.company.project.admin.model.AModLoccom.company.project.client.model.CModLocHow does GetUserCommand() stick the userVO result into the proper model? Typically the model is hardcoded in the Command, eh? What I've done so far is used a generic model so to speak in com.company.project.model.GModLoc say. Then the client app and admin app can access it as well as their respective model. DK On 7/27/06, JesterXL [EMAIL PROTECTED] wrote: // Assuming your in your Client Application for example import com.company.project.admin.events.SomeEvent; import com.company.project.client.events.ClientEvent; var e:SomeEvent = new SomeEvent(SomeEvent.EVENT_NAME, false, true); CairngormEventDispatcher.getInstance().dispatchEvent(e); You could do the reverse in the admin. As a GUI guy, I probably would care more about sharing commonly used View's and utility classes vs. events and commands that were probably created for their specific projects, but it could be done. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 9:25 AM Subject: Re: [flexcoders] Backend/Frontend Application Development (Cairngorm) curious how to share resources with this, say using Cairngorm. How to share a command that returns data to a modellocator? How to return th edata to the current model locator for a sub app?DK On 7/27/06, JesterXL [EMAIL PROTECTED] wrote: Put 'em in seperate projects, or sub-projects.Like:com.company.project.admin.*com.company.project.client.Or:com.company.projectadmin.*com.company.projectclient.*You should take advantage of the fact you may be using similiar code; both of the above in the same Flex project allows you to easily do that.- Original Message -From: "Stefan Schmalhaus" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, July 27, 2006 4:38 AMSubject: [flexcoders] Backend/Frontend Application Development (Cairngorm)I'm going to develop a Flex (Cairngorm-based) intranet application for training resources. There will be a backend part for user and contentadministration, and there will be a frontend for the end user.Both parts, backend and fronted, will presumably share a lot of theunderlying data structure, value objects, views, etc. They will definitely use the same AMFPHP services. What's the best way to tacklethis? Should I treat them as two different Flex projects? Or can Idevelop them within one Flex project but with two different MXMLapplication files? Your ideas and thoughts are very much appreciated.Stefan--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/-- Douglas Knudsenhttp://www.cubicleman.com this is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this