Hey Eric, 1) The first question you correctly answered
2) The question of how to re-use code across circuits is interesting... one of the great things about FB though is that all your paths start at the root, no matter what the circuit (ahh... how do I love that)... so you could just do your cfinclude of the fuse from root/whatever/the_fuse_youwant... no matter what fuse you are calling it from 3) As far as securing the section... you can do this the same as always depending on your environment... the easiet way would be to create a login screen that sets a session var for the user if they can use that section... but you can also layer on things like ntlogin checking if you are in an NT intranet... you can use the database to secure certain transactions... etc etc... there are many possibilities... but for basic authentication, the first thing is probably easiest... 4) not sure I got this one, but it is easy to add other circuits... but you don't necessarily want to copy fuses for reuse... I just like to do includes "across" circuits Hope this helps, Kyle eric aislinn wrote: > Hello all, > > I've got most of an application working well now with FB3 (I'd done some > with FB2 a while ago) at least for the first part. I'm not quite getting > when to use the GP/P/C/GC model and wanted to ask a question (or two > :^). > The application allows users to search a database of resources and that > part > works well. What I'm struggling with now is adding an administrative > section. I'm guessing that I set up the directory and map it as follows > > <cfset fusebox.circuits.home="resources"> > <cfset fusebox.circuits.admin="resources/admin"> > > I'm not getting how I access the query/display fuses I wrote for the > user in > the admin section. I think I see how to add the add/edit/delete parts in > the > fbx_switch.cfm in the admin dir. > > Also, how do you secure the admin section? > > The bonus question: Is it difficult to rework it to add another circuit > if > I've put the resources fuses in the resources dir? > > Thanks, > Eric > > Eric Aislinn > President > hyla media, inc. > 206.427.4064 > [EMAIL PROTECTED] > > > ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
