[flexcoders] Re: CairngormStore for Flex 2
Looks like all links to iterationtwo.com are no good, its like they dropped off the face of the earth. --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: the link is broke there also On 10/17/06, Evan Gifford [EMAIL PROTECTED] wrote: You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore. cfm -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Bhuvan *Sent:* Tuesday, October 17, 2006 5:19 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2 from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED] TIA -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
[flexcoders] Help with Error Handling Please
I am wondering if anyone has implemented a master error handler and if it is even a good idea. Since all errors raise events, couldn't I just build a master error handler at the application level that listens for those events and takes appropriate action. I figured I would pop up a friendly error warning, log the error and send and email via CFC if I can. Fatal errors should be caught in try catch logic but general non- fatal errors can be handled this way and not interrupt usage of the application except for the part that errored. Any thoughts? Moving forward, I have tried to get general functionality working and I cannot get the errors events to be caught by my listeners. I think I may have them in the wrong scope. How would I attach a global listener to my application mxml and have it listen for errors bubbling up from components? -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
[flexcoders] Need help using XML files without embedding them in SWF
Right now I use several XML files in my Flex 2 app and they are being embedded in the SWF file. I define them in an mx:XML tag like this: mx:XML id=inboxConfig format=e4x source=../xml/site_configs/inboxConfig.xml/ As you can see by the relative pathing the files are in the same file structure as the final SWF. How can I decouple these files so they are not embedded in the swf but are read at runtime? Since they are config files it would be useful to change them without having to recompile the app to get them re-embedded. Should I be using a URLLoader or HTTPService instead? -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
[flexcoders] Re: Best practices questions about Flex/CF and the cflogin container
Ah, that makes sense. Thanks for the answer on that. I would still love to see a sample CF/Flex app from the developers that shows their vision for a good login system using CFLOGIN. I know its hard to find the time for stuff like this but security and authentication is so integral to every app. With this stuff being so new to me I don't trust that my solution is as solid as it could be or that I am seeing all the angles. --- In flexcoders@yahoogroups.com, D. Dean Harmon [EMAIL PROTECTED] wrote: I can't answer the other questions right now, but I can answer this one: And one last question, if CFLOGIN is the ColdFusion's answer to a best practice for application security why is it not implemented by the login code that is built by the new CF/Flex wizard? The reason that the wizard does not implement login code, but just a skeleton, is that we have no idea what the user will *really* want to do to manage logins. What if the Flex App is part of a larger app and they were already logged in? What if they have a different schema for doing login stuff than CFLogin? Are they using LDAP, roles, or NT Security? Lots of different questions. We made the skeleton so you could put your code in there to do what you want as an example, that's why the login method always returns true and has no actual code inside of it. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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: RESENDING: RE: [flexcoders] Login System
This is something I have been struggling with as well. Since I am brand new to this groups thing how do I download your samples file. It tells me the attachment was not stored and I can not get the file. --- In flexcoders@yahoogroups.com, Bill Sahlas [EMAIL PROTECTED] wrote: Here's a Login sample app (rename to samples.zip) that uses the RemoteObject.setRemoteCredentials(username, password) and the ColdFusion CFLOGIN container. Unzip it to your web server's doc root. In flex builder create a new Flex project of type ColdFusion Flash Remoting Service. Fill out the prompts and specify LoginTest.mxml as your Main application file. Here's a code snippet from the app and it breaks down like this In the MXML ... private function logIn():void { // all this does is set the credentials - these are not sent over until the first actual request is made // set the RemoteObject cf.setRemoteCredentials(this.username.text, this.password.text); loginbtn.enabled = false; logoutbtn.enabled = true; } private function logOut():void { //Alert.show (logout); loginbtn.enabled = true; logoutbtn.enabled = false; cf.setRemoteCredentials(null, null); cf.logout(); cf.logoutuser(); } ... ... mx:FormItem direction=horizontal mx:Button id=loginbtn label=Login click=logIn();/ mx:Button id=logoutbtn label=Logout click=logOut() enabled=false/ /mx:FormItem The CFML included in the app uses the CFLOGIN structure as per CF best practices of usage of this feature. Also note that as part of the new Super Wizard for Flex Builder 2.0 produced by the CF team includes an option to build-in a login scheme (includes a well-formatted login page with user name and password field prompts and the appropriate cfc backend logic). Bill From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, May 19, 2006 4:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Login System On Thursday 18 May 2006 17:52, s_hernandez01 wrote: code up the login system. Would anybody know how to start that, or know of any references that would help me get started. I know that I'd have the Flash send the username/password to the CF over HTTPS. The CF creates a per-session token and gives that back to the Flash. The Flash then gives that token as the first argument to all other server functions. Obviously some small wibbles with CF keeping track of tokens, validating and expiring them etc., but I'm not gonna write it all out here :-) -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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 http://groups.yahoo.com/gads?
[flexcoders] Best practices questions about Flex/CF and the cflogin container
Ok I have been playing with using cflogin to handle security for my Flex/CF app for about a month. After seeing several examples that only address the most simple login scenarios I started to look a little farther. I am wondering if anyone has a real good example of a login/security system using CFLOGIN that can do the following: 1. Manage a flex app side timer that manages timing out a user and logging them out in the app and on CF (also can it keep alive the CF app when no remote objects are in play but hte user is still active in the app). 2. Works across multiple remote objects. (Do I really have to set credentials for every single object? Why can't the jsessionid and session based login info keep me logged in? Its not a laziness thing it is just that I want to understand why I cannot login once and then be good until the session dies without having to check if the proper credentials are sent every single time.) And one last question, if CFLOGIN is the ColdFusion's answer to a best practice for application security why is it not implemented by the login code that is built by the new CF/Flex wizard? (At least the code I generated last night with the wizard did not employ CFLOGIN or even a application.cfc. Sorry for the wall of text, but this stuff is driving me mad Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/