[No-XML, MVC.] I know FB best-practice is to allow FB's application.cfc to control the model...but...a colleague, who's an RoR/PHP person learning CF & FB,...
4234
Barney Boisvert
barneyboisvert
May 14, 2009 4:02 am
I think that mechanism gets a lot of false weight for three main reasons: 1) it keeps everything in FB with no reliance on other technologies 2) it's easier to...
4235
John M Bliss
houston_blue...
May 14, 2009 12:33 pm
So if we're *not* using CS, you recommend sticking to FB best-practice -or- running your model CFC's outside of FB? And why? ... -- John Bliss IT Professional...
4236
Sean Corfield
seancorfield
May 14, 2009 12:54 pm
... The model should be independent of FB. The model should not - except in the case of certain facade scenarios - reference any of the global scopes, nor any...
4237
John M Bliss
houston_blue...
May 14, 2009 1:00 pm
Interesting. "Fusebox 5 & FLiP," "How To Drive Fusebox 5.5," and (I think) all sample apps at http://fusebox.org/go/fusebox-downloads/sample-applications have...
4238
Sean Corfield
seancorfield
May 14, 2009 1:45 pm
... Exactly Barney's point: easiest way to build demo apps - but not the right way to build real production apps. The books don't show complex enough models to...
4239
John M Bliss
houston_blue...
May 14, 2009 1:51 pm
I see. So how do we, as a community, teach new FB people the right way to do it? ... -- John Bliss IT Professional LinkedIn: http://www.linkedin.com/in/jbliss...
4240
Josh Carrico
the_sigepjedi
May 14, 2009 1:56 pm
Sean, I instantiate ColdSpring and store it in Fusebox ... What does the cost of this look like on startup? Thanks. JOSH...
4241
Loren Scherbak
scherbakl
May 14, 2009 2:18 pm
Please forward this job posting to anyone you think would be interested in applying. Most of our code is uses Fusebox 5. The Archives of American Art (AAA), a...
4242
Loren Scherbak
scherbakl
May 14, 2009 2:33 pm
... corrected.. sorry about the "is uses".... btw, we are a nice place to work. ;-}...
4243
Sean Corfield
seancorfield
May 14, 2009 5:17 pm
... The default is lazy-init=true so it has negligible impact. Even with lazy-init=false you won't notice it unless you have hundreds of interdependent...
4244
xyxoxy
May 20, 2009 4:04 pm
Sorry to hijack an older thread but this is exactly what I'm working on today... I'm using FB 5.5 with Application.CFC. In OnError() I compare the...
4245
Adam Haskell
krogercfug
May 20, 2009 8:36 pm
Mostly Fusebox's onError is translating internal Fusebox errors into something and exposing the errortemplate mechanism. Infact this may be an appropriate...
4246
Sean Corfield
seancorfield
May 20, 2009 10:24 pm
The errortemplates folder can be copied out of the core file directory and placed under your application39;s root directory, then you can modify...
4247
Adam Haskell
krogercfug
May 20, 2009 11:42 pm
For future reference I've taken Sean's and my own explanations and added them to the wiki: http://wiki.fuseboxframework.org/display/fb/Handling+Errors Adam...
4248
xyxoxy
May 21, 2009 4:06 am
Thanks guys... this helps a lot. You got me thinking more about customizing the FB error templates which I've never really looked into before. May be better...
4249
Robert H. Nichols
catdragon1964
May 22, 2009 1:25 pm
Hi Fusebox5, I invited you to join Facebook a while back and wanted to remind you that once you join, we'll be able to connect online, share photos, organize...
4250
houston_blue_texas
houston_blue...
Jun 1, 2009 8:50 pm
I have a fuseaction that gets called as follows: http://domain.com/index.cfm?fuseaction=MyCircuit.MyFuseaction&id=GUID ...where "GUID" is an actual globally...
4251
Nathan Strutz
nathan_strutz
Jun 1, 2009 9:01 pm
Sounds like your ampersand is getting chopped out of some things. It's always a good idea to use & even in href attributes on your HTML pages, as there...
4252
Kevin Pepperman
lbretail22
Jun 1, 2009 9:35 pm
This is quite possible related to this issue. http://tech.groups.yahoo.com/group/fusebox5/message/3356 Although its not exactly the same issue you are having--...
4253
John M Bliss
houston_blue...
Jun 1, 2009 9:37 pm
Thanks, Kevin! ... -- John Bliss IT Professional LinkedIn: http://www.linkedin.com/in/jbliss...
4254
Kevin Pepperman
lbretail22
Jun 2, 2009 4:02 am
I am a long a long time user of Fusebox (since FB2) and big supporter of using fusedocs for documentation, and with FB5, using XML for app development. Mainly...
4255
Kevin Pepperman
lbretail22
Jun 2, 2009 5:46 am
I also noticed in the FB 5 bookstore applications store.cfc cffunction name="main" they use the event objects "variables.attributes" scope: <cfset...
4256
Kevin Pepperman
lbretail22
Jun 2, 2009 6:39 am
addn: Sean Corfield mentions this here.. But these methods did not seem to make it to the core. He calls it "view / attributes scope dependence" ...
4257
Sean Corfield
seancorfield
Jun 3, 2009 6:02 am
That was a pre-release. What you are looking for is myFusebox.variables() - a function call - that returns a reference to the top-level variables scope. See: ...
4258
Kevin Pepperman
lbretail22
Jun 4, 2009 11:29 pm
Thanks Sean. I did figure out about myFusebox.variables()-- But it did not seem to be a good way for me to approach this. As I mentioned, I see that the event...
4259
Sean Corfield
seancorfield
Jun 6, 2009 9:48 pm
... The event object encapsulates both variables.attributes and variables.xfa. ... No it doesn't. The view can use event.getValue() - event.getValue("foo") is...
4260
Kevin Pepperman
lbretail22
Jun 6, 2009 11:23 pm
Thanks Sean. That does clarify this for me. I probably just spend way too much time trying to figure out how stuff works. Thanks for all the work you put into...
4261
Brian
alpha_potato
Jun 9, 2009 2:54 pm
Hey - I'm looking for a good explanation of XFA. eXit Fuseaction doesn't mean much to me. Thanks, Brian...
4262
John M Bliss
houston_blue...
Jun 9, 2009 3:01 pm
http://www.fusebox.org/go/about/faq/fusebox-technical-faq#ft4 What are XFAs? - XFA stands for eXit FuseAction. XFAs are a powerful idea ... -- John Bliss IT...