... Honestly, I'm really more interested in design patterns relating to web application with an emphasis on CFCs (and their limitations). Do you have any good...
Though these are not CFML books. they covers the same issues. The Java patterns they cover apply to CF dev as well as any OOP language. They were suggested in...
Let's say I'm building an application and I need to pass a URL attribute. Where do I define the attribute? Do I define it in the XFA definition in the...
I guess I should have been a little more specific... Do the URL attributes get declared in the XFA declaration or do you pass variables into the view fuses and...
Ok, let's say you have a table of products - are those considered XFAs? Like let's say you have 20 products and their link would be something like: ...
... I believe so, yes. Community concur? For example, in FB5.5 no-XML BER: *controller/product.cfc* <cfset event.xfa("ViewDetail", "product.details") /> ...
In this case, the ProductId does not affect the page you're going to at a conceptual level - it is still the "product details page", just showing different...
Hi.. I'm new to FB and am trying to get it configured. I have this set up: http://localhost:82/ FBTestRoot/ FBTestRoot/_Controller FBTestRoot/_Model ...
Just rename FBTestRoot/FB5CORE to FBTestRoot/fusebox5. Or, you might want to consider moving fusebox5 to make it a "sibling" of FBTestRoot and then add a...
I have tried 2 approached to organization. One is a shared model one is a stand alone model (note the stand alone requires CF8). In the shared model I create a...
I think John gave a greate concrete example of what you should be doing and Peter provides a perfect explaination of how it should work. I just want to stress...
One of things I miss about the XML approach is the permissions attribute for circuit and fuseaction. Has anyone come up with an equivalent in Circuit as CFC? ...
If you use ColdFusion's builtin login architecture you can use the Roles attribute. This is what we are using in our environment, that being said I am still...
Hi Adam, I've had issues with cflogin; you can't update user roles once logged in, or have additional attributes, or use webserver authentication etc, I also...
Interesting. Our shop recently decided to stick with the traditional XML approach to Fusebox and a big part of that decision was due to the fact that it is so...
... I'd like to see some sort of plugin architecture for the no XML style of Fusebox. This is coming from my ModelGlue experience, where I'm used to leveraging...
... Here's what we do: for controllers where we know we'll need to check auth for some/all fuseactions, we use <cfcomponent extends="app"> and then in ...
Hi Nathan, yeah it works, albeit in a slightly different form as I get me circuits to extend a layout circuit and call super.prefuseaction. I haven't tested it...
@John, ... public]", ... I thought about that approach, but don't like having to edit the list every time I create or edit a circuit/fuse. It good also end up...
... Guess it depends on how many exceptions you expect. 90% of our controllers are either all public (do not inherit from app.cfc) or all private (inherit ...
I create a list of permissions in the session scope for each user when they login (the public has no permissions), then check either at the circuit level or...
Stuff like this will get me johny on the spot adding full plugin support to No XML fusebox :) I'll look at it tonight. Most likely I will not use the plugins...
Thanks! I am testing a version of what you posted. Every controller circuit that requires any kind of login now extends my shiny new "appglobal.cfc" that has...