Bill, Integrating existing external apps into Farcry is simple under some conditions, not so easy under others. The best conditions are when the app is accessed via a single entry file (e.g. all calls go through index.cfm). This is the approach that most application frameworks take (fusebox, mach-ii, model-glue). When you have such an architecture, you simple create a dmInclude file, which includes your app's index.cfm file. Farcry takes care of the header/footer issue. For an example, you can look at our training registration site, which is an older Fusebox app that was ported into farcry (http://www.echoeleven.com/go/macromedia-authorized-training/registration/index-cfm).
If your app is busted up into multiple entry points, you could theoretically take the same approach, but then you would need a dmInclude for every single entry point, and managing your links will become a nightmare. Regarding security, you can use farcry for this as well. Each dmNavigation node can have security permissions as to who can view it. If anonymous viewing is turned off, the dmInclude below that node will require authentication to access it. So you create a new security group/policy, and allow that group view access to that node. What that does not solve is more granular security needs. If your app has multiple permissions, you may have to somehow integrate into the farcry system, or come up w/a method of passing the farcry authenication data into your app for authorization. (This authenication data is available in the session after the user is logged in). (Alternatively, you could create permissions in farcry, and query them from your app, but that will require substantial code reworking, and you will be unable to extract the app from Farcry in the future.) HTH, Scott BillBleem wrote: > I am brand new to farcry. I have 1 week of learning/playing under my > belt. I have used cf in the past. I am building many CF applications > to access data in my Oracle databases. I would like to hang them off > the farcry site I am building, and would like them all to use the > farcry top menu. A couple of questions: > 1. Should I set up the applications as includes? If so, how do I get > the new cfm's to show up on the include list? If I don't set them as > includes, is there an cfinclude that will pull in the menu structure.? > 2. I need to restrict access to these modules, for example Finance > Only, Quality Only, Operations and Quality... What is the recommended > way to restrict access? I can envision a function to check to see if > the user is logged in and to check the groups they belong to. > > Any comments are appreciated. > -Bill > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
