Re: Coldfusion fusebox 5.5 sessioning

2012-03-27 Thread Uday Patel

>Check the cookies on windows to see if the CFID/CFTOKEN are changing 
>between pages.
>
>On 3/26/12 11:43 PM, Uday Patel wrote:
>>

Thanks Jonah,
yes the cookies are changing. this.setclientcookies was false, changed it to 
true and now its working good.
AAh what a waste of my night.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350558
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Coldfusion fusebox 5.5 sessioning

2012-03-27 Thread .jonah

Check the cookies on windows to see if the CFID/CFTOKEN are changing 
between pages.

On 3/26/12 11:43 PM, Uday Patel wrote:
> Hi,
>
> This is my first ever post. I have been programing coldfusion for more than 3 
> years now.
>
> I was working on a web application for almost a year now, and than i decided 
> to use fusebox5.5 (no xml).
>
> Problem: loose session variables on relocation.
>
> I have user object : user.cfc
> I have singleton object: userGateway.cfc to fetch user details from DB
> I have singleton object: userService.cfc below is the code of userService.cfc
> 
> component displayname="UserService" output="true"
> {
>   public UserService function init()
>   {
>   private.cfo = 
> application.objectfactory.create('commonfunction');
>   return this;
>   }
>   
>   //get current user from session
>   public ANY function getCurrentUser()
>   {
>   if(StructKeyexists(session,'userObj'))
>   return session.userObj;
>   else
>   return '';
>   }
>   
>   //set current user to session
>   public VOID function setCurrentUser(obj)
>   {
>   var localObj = arguments.obj;
>   var tmp = '';
>   try{
>   //if(!StructKeyexists(Session,'userObj')){
>   
> //StructInsert(Session,'userObj',duplicate(localObj));
>   //}
>   //else{
>   Session['userObj'] = DUPLICATE(localObj);
>   //}
>   
>   tmp = localObj.get('user_id');
>   client.user_id = tmp;
>   }
>   catch (ANY e){
>   private.cfo.sendmail(htmlcontent = cfcatch, msg = 
> "Problem adding user to the session", Subject="Error in userservice.cfc");
>   }
>   }
>   
>   //delete current user from session
>   public VOID function deleteCurrentUser()
>   {
>   if(StructKeyexists(session,'userObj'))
>   StructDelete(session,'userObj');
>   }
>   
> }
> 
> All i am trying to do here is when a person logs in i put the userobject in 
> session scope. THis works good but as soon i click on some other link (i 
> removed the redirect) userobject goes away from the session scope. I also put 
> the user_id in client scope to see what happens and even the user_id from 
> client scope disappaeared.
>
> on my MAC firefox this works good. But on windows xp(firefox, IE), MAC safari 
> the session scope looses userobj.
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350557
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Coldfusion fusebox 5.5 sessioning

2012-03-26 Thread Uday Patel

Hi,

This is my first ever post. I have been programing coldfusion for more than 3 
years now. 

I was working on a web application for almost a year now, and than i decided to 
use fusebox5.5 (no xml).

Problem: loose session variables on relocation.

I have user object : user.cfc
I have singleton object: userGateway.cfc to fetch user details from DB
I have singleton object: userService.cfc below is the code of userService.cfc

component displayname="UserService" output="true"
{
public UserService function init()
{
private.cfo = 
application.objectfactory.create('commonfunction');
return this;
}

//get current user from session
public ANY function getCurrentUser()
{
if(StructKeyexists(session,'userObj'))
return session.userObj;
else
return '';
}

//set current user to session
public VOID function setCurrentUser(obj)
{
var localObj = arguments.obj;
var tmp = '';
try{
//if(!StructKeyexists(Session,'userObj')){

//StructInsert(Session,'userObj',duplicate(localObj));
//}
//else{
Session['userObj'] = DUPLICATE(localObj); 
//}

tmp = localObj.get('user_id');
client.user_id = tmp;
}
catch (ANY e){
private.cfo.sendmail(htmlcontent = cfcatch, msg = 
"Problem adding user to the session", Subject="Error in userservice.cfc");
}
}

//delete current user from session
public VOID function deleteCurrentUser()
{
if(StructKeyexists(session,'userObj'))
StructDelete(session,'userObj');
}

}

All i am trying to do here is when a person logs in i put the userobject in 
session scope. THis works good but as soon i click on some other link (i 
removed the redirect) userobject goes away from the session scope. I also put 
the user_id in client scope to see what happens and even the user_id from 
client scope disappaeared.

on my MAC firefox this works good. But on windows xp(firefox, IE), MAC safari 
the session scope looses userobj.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350556
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-14 Thread Matt Quackenbush

Cool beans.  Always glad to help.  Thanks for reporting back.  :-)


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342198
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-14 Thread Don

Thanks Matt your suggestion worked.

"


"

Odd this is the first time I've encountered this specific behaviour in 
Coldfusion. Thanks a byunch was spinning my wheels on this. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-14 Thread Don

Hi guys, just came in this morning. thanks for the responses will try out the 
suggested code and get back to you.

I'm on CF9/Fusebox 5.5 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Sean Corfield

On Sun, Feb 13, 2011 at 8:58 PM, Matt Quackenbush  wrote:
> I have two different CF9 installations that behave the way I described.

Odd. I couldn't repro on CF9.0.1 locally. Do you have a small test
case that shows form scope behaving like that for you? I'd love to try
it on my setup. Thanx!
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342187
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Matt Quackenbush

I have two different CF9 installations that behave the way I described.  It
actually caught me out on a quickie application I did for someone awhile
back, because I did not expect that behavior.  But that's exactly what it
does on two different installations.  


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342186
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Sean Corfield

On Sun, Feb 13, 2011 at 7:59 PM, Sean Corfield  wrote:
> I tried it on Railo and discovered that the form scope is somehow
> reused across multiple requests - so on Railo, your logic would be
> correct. That's interesting and I'll have to take that up with
> engineering to find out why / how it's different.

Some experimentation yields the answer. In ACF, form is a fairly
regular struct object that is created and populated afresh on each
request with whatever is posted into that request. In Railo, form is a
smart object that behaves like a proxy to the current request's form
data so, whilst the contents of the form scope are populated afresh on
each request, the "form scope" itself is a proxy to that data rather
than actually containing it.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342185
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Sean Corfield

On Sun, Feb 13, 2011 at 9:36 AM, Matt Quackenbush  wrote:
> Dave, as you well know I usually agree with you.  However, in this case, I
> do not agree with you at all.  Why?  Because you are 100% wrong in your
> statement.  What I showed is **exactly** how references work.

Well, yes, your code was about references but unfortunately form scope
is created anew on each request in ACF so whilst

> 

leaves session.myvariable pointing at a struct (that was the form
scope on that request), by the time you do this:

> 

The name form is bound to a new struct and the original
session.myvariable is unchanged.

I tried it on Railo and discovered that the form scope is somehow
reused across multiple requests - so on Railo, your logic would be
correct. That's interesting and I'll have to take that up with
engineering to find out why / how it's different.

Which begs the question of the Original Poster: Don / Dan - are you
running on ACF or Railo?
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret At

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342184
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Matt Quackenbush

On Sun, Feb 13, 2011 at 11:36 AM, Matt Quackenbush wrote:

> The only way to pass a structure in CF by reference is by using
> duplicate().
>


Oops.  That is suppose to say

The only way to pass a structure in CF by value is by using duplicate().


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342175
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Matt Quackenbush

Dave, as you well know I usually agree with you.  However, in this case, I
do not agree with you at all.  Why?  Because you are 100% wrong in your
statement.  What I showed is **exactly** how references work.

1) If you create a _reference_ to something as my code example did...



2) and then you change the original...



3) the reference **will** be updated to match the value to which it is
pointing at.

In ColdFusion, structures are passed _by reference_ rather than _by value_.
The only way to pass a structure in CF by reference is by using
duplicate().  Can it be an expensive operation?  Ayep.  Is it necessary when
you want to pass by value rather than reference?  Ayep.

The 'form' scope, like all others in CF, is a structure.  Therefore the
rules about reference and value apply to it just as though you had created
the structure yourself with structNew().

Test the code I wrote.  You'll see that I am right.

Now then, if you are setting your session values like so...


session.myvariable = {};
for ( key IN form )
{
 session.myvariable[key] = form[key];
}


... then you are creating brand new variables that will are _value_ based
rather than simply a reference to the form scope.  If this is what you are
doing, then, of course, changing the form scope (of form-scoped variables)
will have no bearing on the session variables you created.

HTH


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342174
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-13 Thread Dave Watts

> Presumably you are doing something like so...
>
> 
> 
>
> I have not tested it, but I am guessing that you are "loosing" the session
> variables because you are creating a _reference_ to the form scope.  When
> you redirect, the form scope is now empty, and therefore, any and all
> references to it will be empty.  To create a session variable that actually
> holds the *value* (rather than the reference), use duplicate().
>
> 
> 

This is not how references work. You can safely create a reference to
the form (which is itself just a reference) and when the form goes out
of scope, the reference you subsequently created will still be
available. There's no need to use Duplicate here, and it's
unnecessarily expensive.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342173
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-12 Thread Matt Quackenbush

Presumably you are doing something like so...




I have not tested it, but I am guessing that you are "loosing" the session
variables because you are creating a _reference_ to the form scope.  When
you redirect, the form scope is now empty, and therefore, any and all
references to it will be empty.  To create a session variable that actually
holds the *value* (rather than the reference), use duplicate().




HTH


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Fusebox seemingly clearing contents of session variables on relocation

2011-02-12 Thread Don

I have some code where I am transferring the contents of a form submission into 
a session variable.

According to some cfdumps, the form variables do get set in session.

but after the  redirect, the session variables are there but empty.

Any ideas?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342166
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Fusebox Timeout issue

2010-07-17 Thread Paolo Broccardo

Hi all

I am having a weird issue which I can't seem to track down or resolve. 
In my fusebox 5 architectured application, I have many links within the site 
that all work as per normal. However, if I repeatedly click a link quickly, the 
application goes into a timeout with the error below. 

Could anyone please shine some light on to the issue, or direct me to something 
that may assist me in resolving this issue. 

Thanks so much.

Request (path: C:\Railo\webapps\ROOT\CCMS\index.cfm 
(C:\Railo\webapps\ROOT\fusebox5\Application.cfc):11) is run into a timeout (50 
seconds) and has been stopped. open locks (ccms_alpha_0.005 
{e67208f95998116494847ec02ea49182}_fusebox_fusebox, 
c:/railo/webapps/root/ccms/parsed/profile.update.cfm)

The Error Occurred in
C:\Railo\webapps\ROOT\fusebox5\Application.cfc: line 117
115:
116: 
117: 
118: 
119: 

called fromC:\Railo\webapps\ROOT\CCMS\Application.cfc: line 127

125:
126: 
127: 
128:
129: 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335445
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: mod_rewrite issue on fusebox 5

2010-01-23 Thread Barney Boisvert

You need a slash at the front of your rule (and you DO need to escape
both the question mark and period):

RewriteRule ^/index.cfm\?fuseaction=test\.test$ bob.html

cheers,
barneyb

On Sat, Jan 23, 2010 at 12:23 PM, Matthew Gersting  wrote:
>
> Hey gang,
> Having an issue I was hoping someone might have an answer to.
>
> I have a mod_rewrite rule:
>
> RewriteRule ^index.cfm?fuseaction=test.test$ bob.html
>
> The problem is that this is not getting caught and rewritten, it's going 
> through to the Fusebox.  I've also tried escpacing the "?" and the "." both 
> alone and together (as below) without any luckany thoughts?
>
> RewriteRule ^index.cfm\?fuseaction=test.test$ bob.html
> RewriteRule ^index.cfm\?fuseaction=test\.test$ bob.html
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


mod_rewrite issue on fusebox 5

2010-01-23 Thread Matthew Gersting

Hey gang,
Having an issue I was hoping someone might have an answer to.

I have a mod_rewrite rule:

RewriteRule ^index.cfm?fuseaction=test.test$ bob.html

The problem is that this is not getting caught and rewritten, it's going 
through to the Fusebox.  I've also tried escpacing the "?" and the "." both 
alone and together (as below) without any luckany thoughts?

RewriteRule ^index.cfm\?fuseaction=test.test$ bob.html
RewriteRule ^index.cfm\?fuseaction=test\.test$ bob.html 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: fusebox layout adding to csv?

2009-12-04 Thread LRS Scout

What version of fusebox is it?

You should be able to swap or suppress the layout around the csv content.

-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] 
Sent: Friday, December 04, 2009 9:12 AM
To: cf-talk
Subject: fusebox layout adding to csv?


Hi I have an old fusebox app i am working on. it outputs a csv file with
data however the html (layout) is also getting added to the csv? anyone know
why.



function cleanField(sField){
sField = (replace(sField,",",";","All"));
sField = (replace(sField,chr(13)&chr(10),";","All"));
sField = (replace(sField,chr(13),";","All"));
sField = (replace(sField,chr(10),";","All"));
sField = (replace(sField,";;",";","All"));
return sField;
}











#variables.colName#=#variables.colVal#,









#csv_TextBuffer.toString()#




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


fusebox layout adding to csv?

2009-12-04 Thread Glyn Jackson

Hi I have an old fusebox app i am working on. it outputs a csv file with data 
however the html (layout) is also getting added to the csv? anyone know why.



function cleanField(sField){
sField = (replace(sField,",",";","All"));
sField = (replace(sField,chr(13)&chr(10),";","All"));
sField = (replace(sField,chr(13),";","All"));
sField = (replace(sField,chr(10),";","All"));
sField = (replace(sField,";;",";","All"));
return sField;
}











#variables.colName#=#variables.colVal#,









#csv_TextBuffer.toString()#


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfmodule and fusebox

2009-06-03 Thread Scott Stewart

Thanks Barney..

Chalk this one up to end of day brain fart...

--
Scott Stewart
ColdFusion Developer
4405 Oakshyre Way
Raleigh, NC 27616
(h) 919.874.6229 (c) 703.220.2835

-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com] 
Sent: Wednesday, June 03, 2009 4:30 PM
To: cf-talk
Subject: Re: cfmodule and fusebox


The former.  Attributes on the CFMODULE tag are passed to the custom
tag in the attributes scope, exactly the same as any other custom tag
invocation (CF_ prefix, CFIMPORT, CFMODULE name="...").

myTag.cfm:

Hello, #attributes.name#!

test.cfm:





output:
Hello Scott!
Hello world!
Hello barney!

cheers,
barneyb

On Wed, Jun 3, 2009 at 1:25 PM, Scott Stewart 
wrote:
>
> We're using fuse-q (based around fb 3?)
>
>
>
> And I'm trying to use cfmodule to redirect to another page..
>
>
>
> Is the syntax:
>
>
>
> 
>
>
>
> Or  attributes.fuseaction="usermanager.editor">
>
>
>
> --
> Scott Stewart
> ColdFusion Developer
> 4405 Oakshyre Way
> Raleigh, NC 27616
> (h) 919.874.6229 (c) 703.220.2835
>
>
>
>
>
> 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323131
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfmodule and fusebox

2009-06-03 Thread Barney Boisvert

The former.  Attributes on the CFMODULE tag are passed to the custom
tag in the attributes scope, exactly the same as any other custom tag
invocation (CF_ prefix, CFIMPORT, CFMODULE name="...").

myTag.cfm:

Hello, #attributes.name#!

test.cfm:





output:
Hello Scott!
Hello world!
Hello barney!

cheers,
barneyb

On Wed, Jun 3, 2009 at 1:25 PM, Scott Stewart  wrote:
>
> We're using fuse-q (based around fb 3?)
>
>
>
> And I'm trying to use cfmodule to redirect to another page..
>
>
>
> Is the syntax:
>
>
>
> 
>
>
>
> Or  attributes.fuseaction="usermanager.editor">
>
>
>
> --
> Scott Stewart
> ColdFusion Developer
> 4405 Oakshyre Way
> Raleigh, NC 27616
> (h) 919.874.6229 (c) 703.220.2835
>
>
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323130
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfmodule and fusebox

2009-06-03 Thread Scott Stewart

We're using fuse-q (based around fb 3?) 

 

And I'm trying to use cfmodule to redirect to another page.. 

 

Is the syntax:

 



 

Or 

 

--
Scott Stewart
ColdFusion Developer
4405 Oakshyre Way
Raleigh, NC 27616
(h) 919.874.6229 (c) 703.220.2835

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323129
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for a Fusebox 4+ or 5+ eCommerce solution

2009-04-02 Thread Mary Jo Sminkey

> I am on the hunt for a CF Fusebox 4+ or 5+  eCommerce solution, and 
> can't find any -- other than the demos at Fusebox.org.  
> 
> Has no one developed such a thing?  I would build one myself, but I 
> just don't know how I would find the time to do so.


CFWebstore is a somewhat modified FB3 app, so it's closer than most of what is 
out there. I'd been looking at migrating it over to FB 5.5 which should at 
least be considerably easier than converting it would have been on the earlier 
4/5 releases, just have a lot of other more important things to work on at the 
moment (the vast majority of my users really couldn't care less about the FB 
version...and many would prefer I don't change the code at all. ;-) If moving 
it to FB 5.5 might be something you would consider assisting with, we could 
probably work some kind of trade out. It certainly would be a lot less work 
than writing something from scratch, depending on the level of functionality 
you needed. 

---
Mary Jo Sminkey
Author of CFWebstore, ColdFusion Ecommerce
http://www.cfwebstore.com



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321259
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Looking for a Fusebox 4+ or 5+ eCommerce solution

2009-04-02 Thread Michael David

Hi Folks!

I am on the hunt for a CF Fusebox 4+ or 5+  eCommerce solution, and can't find 
any -- other than the demos at Fusebox.org.  

Has no one developed such a thing?  I would build one myself, but I just don't 
know how I would find the time to do so.

Surely there must be something out there...

-- 
Cheers!
Michael David   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-04 Thread John M Bliss

Concur.  Should have been more clear:  "How to Drive Fusebox 5.5"
*requires*"Fusebox 5 & FLiP: Master-Class ColdFusion Applications" or
equivalent FB
knowledge.

On Tue, Feb 3, 2009 at 10:36 PM, Mary Jo Sminkey wrote:

>
> >Assuming you're not opposed to books, www.protonarts.com (when the site's
> >working  :-(  ) has two books you should purchase: "Fusebox 5 & FLiP:
> >Master-Class ColdFusion Applications" and "How to Drive Fusebox 5.5" both
> by
> >Jeff Peters (www.grokfusebox.com).
>
> I'm not really sure I'd recommend the Fusebox 5.5 for a complete newcomer.
> It's a decent enough book on 5.5 but seems to be very much written for
> people already familiar with Fusebox in terms of what's new in 5.5 and how
> you would redo a FB5 application without XML. The intro to the book even
> says this, that you should have experience with Fusebox prior to reading it.
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-04 Thread Joel Polsky

Thanks, I am in the group.

On Wed, Feb 4, 2009 at 4:51 AM, John Whish
wrote:

>
> Hey Joel,
> You definitely want to sign up to the Yahoo group. I did do a few posts
> about the no XML flavour of Fusebox which might be of interest
> http://www.aliaspooryorik.com/blog/. The skeleton apps on the Fusebox site
> are definitely a good starting point.
> Good luck!
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-04 Thread John Whish

Hey Joel,
You definitely want to sign up to the Yahoo group. I did do a few posts about 
the no XML flavour of Fusebox which might be of interest 
http://www.aliaspooryorik.com/blog/. The skeleton apps on the Fusebox site are 
definitely a good starting point.
Good luck! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Mary Jo Sminkey

>Assuming you're not opposed to books, www.protonarts.com (when the site's
>working  :-(  ) has two books you should purchase: "Fusebox 5 & FLiP:
>Master-Class ColdFusion Applications" and "How to Drive Fusebox 5.5" both by
>Jeff Peters (www.grokfusebox.com).

I'm not really sure I'd recommend the Fusebox 5.5 for a complete newcomer. It's 
a decent enough book on 5.5 but seems to be very much written for people 
already familiar with Fusebox in terms of what's new in 5.5 and how you would 
redo a FB5 application without XML. The intro to the book even says this, that 
you should have experience with Fusebox prior to reading it. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Mike Soultanian

did you join the fusebox5 yahoogroups mailing list?  That's a good resource.

Mike

Joel Polsky wrote:
> I've been searching around and there seems to be limited tutorials on FB 5.5 
> -- there's quite a bit on 4.x -- and the references in the 5.x say that the 
> 4.0 tutorials and code samples "for the most part also work with Fusebox 5" - 
> which is scary as I don't know what will and won't work and how to tell, as 
> it's ALL NEW to me!
> 
> Can someone point me to a site that has GOOD tutorials for a newbie in the 
> Fusebox world.  I need basic understanding of the framework, where stuff 
> goes, what it does, and where I put my stuff so it works. (Also how to make 
> the friendly url's!)
> 
> Thanks in Advance!!
> 
> Joel 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Adam Haskell

And apparently I might John's email :)


Adam


On Tue, Feb 3, 2009 at 4:08 PM, John M Bliss  wrote:

>
> Assuming you're not opposed to books, www.protonarts.com (when the site's
> working  :-(  ) has two books you should purchase: "Fusebox 5 & FLiP:
> Master-Class ColdFusion Applications" and "How to Drive Fusebox 5.5" both
> by
> Jeff Peters (www.grokfusebox.com).
>
> Other Fusebox resources to bookmark and/or subscribe to, in order of
> usefulness to me:
>
>   1. http://tech.groups.yahoo.com/group/fusebox5/
>   2. http://www.fusebox.org/forums/
>   3. Blogs:
>   http://fusebox.org/go/fusebox-community/community-resources/blogs
>   4. Sites:
>   http://fusebox.org/go/fusebox-community/community-resources/web-sites
>   5. Training:
>   http://fusebox.org/go/fusebox-community/community-resources/training
>
>
> On Tue, Feb 3, 2009 at 2:03 PM, Joel Polsky  wrote:
>
> >
> > I've been searching around and there seems to be limited tutorials on FB
> > 5.5 -- there's quite a bit on 4.x -- and the references in the 5.x say
> that
> > the 4.0 tutorials and code samples "for the most part also work with
> Fusebox
> > 5" - which is scary as I don't know what will and won't work and how to
> > tell, as it's ALL NEW to me!
> >
> > Can someone point me to a site that has GOOD tutorials for a newbie in
> the
> > Fusebox world.  I need basic understanding of the framework, where stuff
> > goes, what it does, and where I put my stuff so it works. (Also how to
> make
> > the friendly url's!)
> >
> > Thanks in Advance!!
> >
> > Joel
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318815
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Adam Haskell

Fusebox 4 - > 5 is almost always the same, just don't stray off the beaten
path (like making your own lexicons or plugins) and you will be fine.
Fusebox 5 was sort of like ColdFusion 5 -> 6 Complete rewrite with a couple
of tweak an addtions. The current version 5.5.x introduce some implicit
circuits and what nots (the release notes do a fairly adequate job
explaining that).

As for a tutorials I am working on a couple of things right now (contrary to
what the site says I am the lead developer of Fusebox now, I really need to
get that changed ehh?) others will most likely have some advice and check
out the sample apps on Fusebox.org as well as the skelton app that is packed
up. As for mentoring check out our yahoo group:
http://tech.groups.yahoo.com/group/fusebox5/  It's fairly active and folks
on there are a great help.


Other resources:
   http://www.fuseboxframework.org/go/fusebox-downloads/sample-applications
   http://trac.fuseboxframework.org/fusebox/
   http://www.fuseboxipedia.com/index.cfm
   http://tech.groups.yahoo.com/group/fusebox5/   (again :) )

There are also various blogs around with good articles about fusebox, my own
being http://cfrant.blogspot.com.


Adam Haskell


On Tue, Feb 3, 2009 at 3:03 PM, Joel Polsky  wrote:

>
> I've been searching around and there seems to be limited tutorials on FB
> 5.5 -- there's quite a bit on 4.x -- and the references in the 5.x say that
> the 4.0 tutorials and code samples "for the most part also work with Fusebox
> 5" - which is scary as I don't know what will and won't work and how to
> tell, as it's ALL NEW to me!
>
> Can someone point me to a site that has GOOD tutorials for a newbie in the
> Fusebox world.  I need basic understanding of the framework, where stuff
> goes, what it does, and where I put my stuff so it works. (Also how to make
> the friendly url's!)
>
> Thanks in Advance!!
>
> Joel
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318814
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fusebox book?

2009-02-03 Thread Greg Luce

24th of this month is a class "Intro to Fusebox" and next month is
"Intermediate Fusebox 5"
http://teratech.com/go/training/class-schedule?trainingaction=detail&TID=358

$400 class and a $300 plane ticket... I'm sure you'll make up that $700 in
productivity in the next few months.

Greg Luce
Luce Consulting Services, Inc.
www.luceconsulting.net
(863) 273-0289



On Tue, Feb 3, 2009 at 7:28 PM, John M Bliss  wrote:

>
> SEE thread from earlier today for my 2 cents:
>
> http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:58671#318786
>
> On Tue, Feb 3, 2009 at 6:23 PM, Joe  wrote:
>
> >
> > I've been asked to start on a new project from the ground up and I'm
> > interested in using FB55 for this project.  I haven't been able to find
> any
> > good tutorials on it and I've spent the last cpl of weeks trying to
> reverse
> > engineer the Cat Club samples on the Fusebox site with limited success.
> >  Can
> > anyone recommend any online resources that they've used previously?  I'm
> > considering buying the following book:
> >
> > http://www.cafepress.com/protonarts.297794563
> >
> > Any opinions?
> >
> > tia,
> >
> >  - Joe
> >
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Fusebox book?

2009-02-03 Thread John M Bliss

SEE thread from earlier today for my 2 cents:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:58671#318786

On Tue, Feb 3, 2009 at 6:23 PM, Joe  wrote:

>
> I've been asked to start on a new project from the ground up and I'm
> interested in using FB55 for this project.  I haven't been able to find any
> good tutorials on it and I've spent the last cpl of weeks trying to reverse
> engineer the Cat Club samples on the Fusebox site with limited success.
>  Can
> anyone recommend any online resources that they've used previously?  I'm
> considering buying the following book:
>
> http://www.cafepress.com/protonarts.297794563
>
> Any opinions?
>
> tia,
>
>  - Joe
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318804
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Fusebox book?

2009-02-03 Thread Joe

I've been asked to start on a new project from the ground up and I'm
interested in using FB55 for this project.  I haven't been able to find any
good tutorials on it and I've spent the last cpl of weeks trying to reverse
engineer the Cat Club samples on the Fusebox site with limited success.  Can
anyone recommend any online resources that they've used previously?  I'm
considering buying the following book:

http://www.cafepress.com/protonarts.297794563

Any opinions?

tia,

 - Joe


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318802
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread John M Bliss

Assuming you're not opposed to books, www.protonarts.com (when the site's
working  :-(  ) has two books you should purchase: "Fusebox 5 & FLiP:
Master-Class ColdFusion Applications" and "How to Drive Fusebox 5.5" both by
Jeff Peters (www.grokfusebox.com).

Other Fusebox resources to bookmark and/or subscribe to, in order of
usefulness to me:

   1. http://tech.groups.yahoo.com/group/fusebox5/
   2. http://www.fusebox.org/forums/
   3. Blogs:
   http://fusebox.org/go/fusebox-community/community-resources/blogs
   4. Sites:
   http://fusebox.org/go/fusebox-community/community-resources/web-sites
   5. Training:
   http://fusebox.org/go/fusebox-community/community-resources/training


On Tue, Feb 3, 2009 at 2:03 PM, Joel Polsky  wrote:

>
> I've been searching around and there seems to be limited tutorials on FB
> 5.5 -- there's quite a bit on 4.x -- and the references in the 5.x say that
> the 4.0 tutorials and code samples "for the most part also work with Fusebox
> 5" - which is scary as I don't know what will and won't work and how to
> tell, as it's ALL NEW to me!
>
> Can someone point me to a site that has GOOD tutorials for a newbie in the
> Fusebox world.  I need basic understanding of the framework, where stuff
> goes, what it does, and where I put my stuff so it works. (Also how to make
> the friendly url's!)
>
> Thanks in Advance!!
>
> Joel
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318786
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Joel Polsky

IF they were local to me sure! I'd need online or in person (preferred)
Thanks

>Joel,
>
>Try one of Teratech's Fusebox classes. I've taken a couple of them.
>
>Greg Luce
>Luce Consulting Services, Inc.
>www.luceconsulting.net
>(863) 273-0289
>
>
>
>
>
>> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318785
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Greg Luce

Joel,

Try one of Teratech's Fusebox classes. I've taken a couple of them.

Greg Luce
Luce Consulting Services, Inc.
www.luceconsulting.net
(863) 273-0289



On Tue, Feb 3, 2009 at 3:03 PM, Joel Polsky  wrote:

>
> I've been searching around and there seems to be limited tutorials on FB
> 5.5 -- there's quite a bit on 4.x -- and the references in the 5.x say that
> the 4.0 tutorials and code samples "for the most part also work with Fusebox
> 5" - which is scary as I don't know what will and won't work and how to
> tell, as it's ALL NEW to me!
>
> Can someone point me to a site that has GOOD tutorials for a newbie in the
> Fusebox world.  I need basic understanding of the framework, where stuff
> goes, what it does, and where I put my stuff so it works. (Also how to make
> the friendly url's!)
>
> Thanks in Advance!!
>
> Joel
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318783
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Learning Fusebox 5.5 -- Seeking guidance / mentor

2009-02-03 Thread Joel Polsky

I've been searching around and there seems to be limited tutorials on FB 5.5 -- 
there's quite a bit on 4.x -- and the references in the 5.x say that the 4.0 
tutorials and code samples "for the most part also work with Fusebox 5" - which 
is scary as I don't know what will and won't work and how to tell, as it's ALL 
NEW to me!

Can someone point me to a site that has GOOD tutorials for a newbie in the 
Fusebox world.  I need basic understanding of the framework, where stuff goes, 
what it does, and where I put my stuff so it works. (Also how to make the 
friendly url's!)

Thanks in Advance!!

Joel 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread Greg Luce
OK, one last point just for accuracy. Fusebox does NOT rely on the
Coldfusion language. There is also Fusebox for php. One of the reasons for
the XML was to make it platform agnostic.

Greg Luce
Luce Consulting Services, Inc.
(863) 273-0289



On Fri, Sep 12, 2008 at 6:25 PM, Claude Schneegans <
[EMAIL PROTECTED]> wrote:

>  >>Are nested loops allowed in fusebox 5?
>
> I'm not sure I understand your question:
> Fusebox is not a language, just a framework, and as such has no mean to
> allow
> loops or not.
> Fusebox relies on the ColdFusion language, and yes, CF allows nested loops.
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread Discover Antartica
Hi,

I have tried the following and it worked!


        
                
        
        

Thanks guys!


- Original Message 
From: Nathan Strutz <[EMAIL PROTECTED]>
To: CF-Talk 
Sent: Friday, September 12, 2008 4:36:17 PM
Subject: Re: Are nested loops allowed in fusebox 5?

Claude,

DA is probably talking about the fusebox XML language, which is, in essence
a programming language (a DSL even).

In that case, yes, you should be able to nest loops. Maybe posting some code
asking why it's not working would be a better idea. In general, it goes like
this:


  
    
  


nathan strutz
http://www.dopefly.com/

Manager - AZCFUG
http://www.azcfug.org/


On Fri, Sep 12, 2008 at 3:25 PM, Claude Schneegans <
[EMAIL PROTECTED]> wrote:

>  >>Are nested loops allowed in fusebox 5?
>
> I'm not sure I understand your question:
> Fusebox is not a language, just a framework, and as such has no mean to
> allow
> loops or not.
> Fusebox relies on the ColdFusion language, and yes, CF allows nested loops.
>
> 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312480
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread s. isaac dealey
Nathan Struts said: 
> In that case, yes, you should be able to nest loops. 

Oh, well I guess I was wrong. Thanks Nathan. :)

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312479
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread s. isaac dealey
>  >>Are nested loops allowed in fusebox 5?
> 
> I'm not sure I understand your question:
> Fusebox is not a language, just a framework, and as such has no mean
> to allow loops or not. Fusebox relies on the ColdFusion language,
> and yes, CF allows nested loops.

Actually that's inaccurate. It depends on how you're using Fusebox --
version 5.5 of the framework offers several different "modes" of
handling "implicit" circuits, but still allows you to use the XML syntax
from previous versions. Unlike Mach-II or Model-Glue which only include
framework-specific constructs in their XML syntax, the Fusebox XML
syntax actually does allow for the declaration of flow-control
constructs like loops. Nathan Struts published a cheat-sheet for the XML
syntax here:

http://www.dopefly.com/projects/fuseboxxmlcheatsheet.cfm

Last I knew however, the  statements in Fusebox XML could not be
nested either. I remember reading some talk of rewriting it to allow
nested if statements, but I don't know if that ever happened. I wouldn't
expect the Fusebox XML grammar to allow nested loops. 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312478
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread Josh Nathanson
> I'm not sure I understand your question:
> Fusebox is not a language, just a framework, and as such has no mean to
> allow
> loops or not.
> Fusebox relies on the ColdFusion language, and yes, CF allows nested 
> loops.

Fusebox 4 had its own xml-based syntax for flow control, I think this is 
what he's referring to.  I'm not sure what the answer to the question is 
though.  Check out fusebox.org, probably there's more information there.

-- Josh 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread Barney Boisvert
In the Fusebox XML, you can nest verbs arbitrarily.  Note that 'do' is
not a verb, so you can't nest that one.  So you can put loops inside
loops, ifs inside ifs, ifs inside loops inside ifs inside loops, ad
nauseum.

cheers,
barneyb

On Fri, Sep 12, 2008 at 3:25 PM, Claude Schneegans
<[EMAIL PROTECTED]> wrote:
>  >>Are nested loops allowed in fusebox 5?
>
> I'm not sure I understand your question:
> Fusebox is not a language, just a framework, and as such has no mean to
> allow
> loops or not.
> Fusebox relies on the ColdFusion language, and yes, CF allows nested loops.
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312476
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread Nathan Strutz
Claude,

DA is probably talking about the fusebox XML language, which is, in essence
a programming language (a DSL even).

In that case, yes, you should be able to nest loops. Maybe posting some code
asking why it's not working would be a better idea. In general, it goes like
this:


  

  


nathan strutz
http://www.dopefly.com/

Manager - AZCFUG
http://www.azcfug.org/


On Fri, Sep 12, 2008 at 3:25 PM, Claude Schneegans <
[EMAIL PROTECTED]> wrote:

>  >>Are nested loops allowed in fusebox 5?
>
> I'm not sure I understand your question:
> Fusebox is not a language, just a framework, and as such has no mean to
> allow
> loops or not.
> Fusebox relies on the ColdFusion language, and yes, CF allows nested loops.
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312475
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Are nested loops allowed in fusebox 5?

2008-09-12 Thread Claude Schneegans
 >>Are nested loops allowed in fusebox 5?

I'm not sure I understand your question:
Fusebox is not a language, just a framework, and as such has no mean to 
allow
loops or not.
Fusebox relies on the ColdFusion language, and yes, CF allows nested loops.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312472
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Are nested loops allowed in fusebox 5?

2008-09-12 Thread Discover Antartica
Hi All,
 
Are nested loops allowed in fusebox 5?
 
If so, can I have the syntax?

Thanks
DA


  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312471
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-09-05 Thread Richard White
hi,

apologies for the delayed thanks! - but thanks very much there are some 
excellent points here and really made me understand. 

seeing as we are doing everything to understand OO and change our applications 
into OO it sounds like we should stick with it - it is really helping us 
understand it further

thanks again for your comments




> hi
> 
> we have just reviewed model glue, and have also looked into fusebox 
> very briefly
> 
> is fusebox similiar to model glue? and if so is it a case of using one 
> or the other? and if so then what are your feelings on which one is 
> better?
> 
> thanks for your help
> 
> richard 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312070
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-04 Thread Brian Kotek
I don't know anyone who thinks that TDD is the be-all-end-all of software
development. The reality is that it does offer some very tangible benefits:

   - Everyone writes some kind of test. It might be a scribble pad that you
   run to make sure something works. It might be that you write code and then
   run the application and try to confirm that the code does what it should.
   Unit testing simply formalizes this and makes it a process that can be
   easily documented and repeated.
   - Writing a test first does help you determine the design of the code
   you're going to write. If you're writing a new block of code or a new
   method, writing the test helps you look at it from an API perspective: What
   do I have to pass in? What do I expect to get back? What can go wrong?
   - In a dynamic language like ColdFusion, unit tests pretty quickly become
   essential. Since we have no compiler, we can't catch any errors until
   runtime. And since values can be nearly any type, without tests that enforce
   input and output requirements it is extremely easy to write code that seems
   to work fine on the surface, or at least doesn't throw an error when you run
   it. It might be much later that something goes wrong. Tests help reduce the
   likelihood of this.
   - When a bug is found, if you add it to the test you make it far more
   unlikely that that bug can reappear.
   - Perhaps most importantly, creating and maintaining a suite of unit
   tests makes ongoing development much, much easier. If you make a change, it
   is incredibly useful to be able to run all of your tests and be fairly
   confident that you didn't break something else. Of course this isn't a
   guarantee, but it is vastly more reassuring than having no tests at all.

Now, should TDD give one complete confidence? Of course not. But it offers a
lot of benefits anyway, and it offers far more confidence than not having
any tests. It is for these reasons (which I would call very pragmatic
reasons) that I would recommend that everyone follow TDD.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312024
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-03 Thread Jaime Metcher
Well, it's kind of cool that cf-talk is having the TDD argument.  Don't
really mind how it turns out.  Makes me feel good about being a CF
programmer.

@Bill,
Thanks for the links.  The thing that intrigues me about a lot of the TDD
debate, including these articles you point to, is that most of the anti-TDD
side of the argument ends up espousing pretty much all of the principles of
TDD in the very act of trying to refute it. 

So a lot of the debate is actually about people reacting to what they see as
extremism and overly prescriptive statements.  IMHO, there's nothing wrong
with strongly stating a principle - everyone knows that principles get
modified in application - but it's true that some people get way too
personal about it.

The rest of the debate is along the lines of "I blindly followed the letter
of the TDD law while ignoring the principles and it didn't work for me -
therefore TDD is flawed."  The poster then lays out how they manage to apply
all the principles of TDD in some other way that is superficially different
from "cookbook" TDD.

So leaving those two smokescreens aside, I have yet to see anyone even
attempt to seriously contradict the principles of TDD - but I'm still
looking!

Jaime

> -Original Message-
> From: Bill Shelton [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 4 September 2008 1:59 AM
> To: CF-Talk
> Subject: Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)
> 
> I'm not going to get into the discussion of whether or not TDD is good,
> bad, or should be done lest you are just stupid and ugly. Anytime, or
> anyway, you think hard about the software you deliver, it's is going to be
> better than if you just bang it out with one eye open and hope no one sees
> it's shortcomings. TDD kind of forces you to open both eyes. TDD seems to
> work for some and others it does not - why is that?
> 
> This one has been floating around this year, and with good cause: "The
> Flawed Theory Behind Unit Testing" -
> http://michaelfeathers.typepad.com/michael_feathers_blog/2008/06/the-
> flawed-theo.html
> 
> 
> Here's some other really interesting debates on TDD:
> 
> Cedric Beust wrote the TestNG framework, with others, and though a total
> hard-core tester, openly criticizes TDD:
> http://beust.com/weblog/archives/000477.html
> 
> "Uncle" Bob Martin has some good responses to Cedric as well as some other
> good points: http://butunclebob.com/ArticleS.UncleBob
> 
> 
> I hope I have few illusions about the quality of my software. Today, I
> truly believe my delivered software is only as good as the tests that have
> executed it. In other words, the number of defects is directly
> proportionals to how thoroughly it's been tested - either manually or
> through automation.
> 
> best,
> bill
> 
> 
> 
> 
> >> It's actually switching over, to where the tests come first, that's
> >> the hard part, for me.  Due to a lot of the reasons listed in that
> >> article about big balls of mud.  :]
> >
> >I'm not entirely convinced that writing the test before writing the code
> >is the best strategy... or at least that it's the best strategy for
> >everyone. Development work by its nature means doing things that (we
> >hope anyway) haven't been done before. And while you may have some ideas
> >about how to accomplish those things ahead of time, the human brain is
> >really just not equipped to map out large numbers of variables
> >accurately in advance.
> >
> 
> snip ...
> 
> >--
> >s. isaac dealey  ^  new epoch
> > isn't it time for a change?
> > ph: 781.769.0723
> >
> >http://onTap.riaforge.org/blog
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312012
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-03 Thread Bill Shelton
I'm not going to get into the discussion of whether or not TDD is good, bad, or 
should be done lest you are just stupid and ugly. Anytime, or anyway, you think 
hard about the software you deliver, it's is going to be better than if you 
just bang it out with one eye open and hope no one sees it's shortcomings. TDD 
kind of forces you to open both eyes. TDD seems to work for some and others it 
does not - why is that? 

This one has been floating around this year, and with good cause: "The Flawed 
Theory Behind Unit Testing" 
-http://michaelfeathers.typepad.com/michael_feathers_blog/2008/06/the-flawed-theo.html


Here's some other really interesting debates on TDD:

Cedric Beust wrote the TestNG framework, with others, and though a total 
hard-core tester, openly criticizes TDD: 
http://beust.com/weblog/archives/000477.html

"Uncle" Bob Martin has some good responses to Cedric as well as some other good 
points: http://butunclebob.com/ArticleS.UncleBob


I hope I have few illusions about the quality of my software. Today, I truly 
believe my delivered software is only as good as the tests that have executed 
it. In other words, the number of defects is directly proportionals to how 
thoroughly it's been tested - either manually or through automation.

best,
bill




>> It's actually switching over, to where the tests come first, that's
>> the hard part, for me.  Due to a lot of the reasons listed in that
>> article about big balls of mud.  :]
>
>I'm not entirely convinced that writing the test before writing the code
>is the best strategy... or at least that it's the best strategy for
>everyone. Development work by its nature means doing things that (we
>hope anyway) haven't been done before. And while you may have some ideas
>about how to accomplish those things ahead of time, the human brain is
>really just not equipped to map out large numbers of variables
>accurately in advance. 
>

snip ...

>-- 
>s. isaac dealey  ^  new epoch
> isn't it time for a change? 
> ph: 781.769.0723
>
>http://onTap.riaforge.org/blog 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311992
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-01 Thread denstar
I like that you've been thinking about thinking while writing your
framework, Isaac.  I dig that. :-)


The way I'm currently tackling the tests, is to try to work them into
my routine.

That hard part is, as been mentioned, not having to go back a lot to
keep it all in sync.

I wonder if this ties into keeping branches synced up with trunk and
whatnot with SVN... heh.  Somehow similar...

Anyways, where I'd, before, just keep doing stuff in a scribble file,
sorta testing, building, testing (but not saving any tests), I now try
to save the tests, sorta.

It is hard to write tests that are easy to refactor, but it's getting
easier as time goes by.  There are sweeping changes sometimes, and I'm
a sweeping changer, for all my not much changing... but it really does
save time having those old tests, of the various bits.  If just in
having that history/memory refresher...

I'm still working on the testing of the behaviors, I guess, because
I'm quite often including stuff in later tests that are tested
themselves, but should be stubs (instead of the real things), just to
verify the behavior, but that's still sorta beyond me.  Basically I
can see cascading fails, where I don't think you'd have that with
stubs and whatnot.  It still works, but I could see how it would work
better to keep it strictly to interactions, vs. creating and whatnot.
If that makes sense.  Probably didn't explain it too clear since I'm
still twirling the ideas around in my head, sorta.

I get the failure aspect of overthinking, or overengineering, and I
battle those twin demons (or maybe it's just one demon with two
heads), and other, more Rube Goldberg-ish impulses, but I have
actually seen some pretty good return on tests, even with poor style,
as it were.

What sells me, is projects like the javascript toolkit "dojo".  That
thing is verbose, but put together really well.  It's a snap to read
the sources, and there are some good standards, and *various* types of
tests, from your more literal "it passed!" to your, "here a few random
examples".
I've had really good luck refactoring and keeping up-to date with it,
and I attribute the majority there to well written code.  It has been
really interesting to watch it evolve.  Same with projects like
Eclipse and whatnot.  Apache, hell, it's been ages.

I think that part of the reason open source is kicking ass, is because
it's really tackled the problems of the future, you know?  There's a
lot of history, too, that we can learn from,  all the various flavors
of OSes.. Mozilla... from sources open to closed to a mix of the
two... but, heh, the battle of big balls of mud...

Maybe it's fundamental.  Part of nature.  Something about entropy or
whatnot, ya know?  Chaos and order, a spinning yin-yang of seasons.
:]

Balance.  I'm trying to hold it, but it still sorta feels like jumping
from one side to the other, versus just sorta maintaining.  Not
exactly smooth... but not too rough.

Hmmm... maybe it will be easier if I go faster!  HaHA!

-- 
There is no such thing as a 'self-made' man. We are made up of
thousands of others.
George Matthew Adams

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311897
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-09-01 Thread denstar
They all have their ups and downs, I would imagine.

I can vouch for the fact that well-written MG apps, as I assume is the
same for the other frameworks, are pretty easy to debug and whatnot.

Poorly written, however, sucks donkey balls.  And I've written some
code that deserves to be flushed.  I'd love to see it do that little
circle... well, guess it's more of a spiral... :-)

Seems like that's just how it goes.  A lot depends on your background,
strengths, weakness, etc., as to which you'd be able to get up to
speed with faster.  And there are some cool choices out there.  It
ain't just FB and MG, and yes, it all takes time, but ideas can be
worth, like, millions-- and everyone seems to say that trying new
things gives them "new" ideas.

I know, I know... time is money, and there is a bottom line, and that
cold hard logic we all must at least pay some sort of tribute to...

But there's more to it than just the... machine mentality, or
whatever.  Time is funky-- sometimes a little investment frees up more
than you'd think, later on...  whatever you choose to invest in.. or
maybe it's sorta like art, and some kinds are more appealing, just
cause.

Eh, I'm not really sure where I'm going with this.  Heh.  It can all
be crap, and it can all be roses, and somehow there's a relation?
Bah.  :-)

:D

-- 
There is no such thing as a 'self-made' man. We are made up of
thousands of others.
George Matthew Adams

On Mon, Sep 1, 2008 at 2:59 PM, Eric Roberts wrote:
> Which I have run into with MG...most of what we are doing is made overly
> complex by using MG, which in turns made it overly difficult to debug when
> we had probs.  I can see where MG would be very useful for a very complex
> application...but I don't think it is the solution for everyone.  I
> personally prefer the ease of use and flow of FB (or more specifically, my
> bastardized version of FB ;-) which based on a combination of my personal
> coding style that is very close to a fusebox-esque style and a version that
> we were forced to use due to draconian server restrictions at
> AT&T ).
>
> Eric

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311896
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-01 Thread s. isaac dealey
> Whoa, hold it right there.  Show me the TDD advocate who promotes
> writing all tests before writing code and I'll personally have their
> card revoked! TDD means write a test, then write some code, then write
> another testby the time you write your last test, you've written
> all your code bar that last function.  You will actually rewrite less
> of your stuff than otherwise, because writing tests first really
> brings a poorly factored design into the spotlight much earlier than
> would otherwise happen.

That's probably true some of the time... I'm not necessarily convinced
it's true most of the time... And I'm going to delve a bit into the land
of personal anecdote (yeah yeah) to comment on this one here, rather
than citing other cognitive studies. My own experience at various
companies has been that "big picture" changes to the system often have
to be made mid-project. 

It seems to happen because in the initial planning stages there's a
certain kind of inherent myopia that we all seem to fall prey to where
we're focusing on getting the design fleshed out for a small part of the
system and because we're focused on that small "unit" we don't notice a
larger interoperability issue. 

On my last project we had clients who were probably fairly typical in
wanting the application to read their minds. (And I'll be the first to
say I love really good intuitive designs that seem like they're actually
doing that.) Except on this project mind reading had been promised up
front. So we've got this application with a multi-page form and two
things are demanded. 

1) never under any circumstances should the application ever forget
anything that a person has typed into any field, even if they abandon
that page of the form 

2) never under any circumstances should the application ever display
information in a form field that the user doesn't want in that field. 

So right off the bat, if the user changes their mind, hits back then
goes forward again, the system is supposed to magically know that they
changed their mind. 

I'm not just griping to gripe, there's a point to this. :) So this
multi-page form actually has a 2nd multi-page form embedded in the
middle of it. It's a custom project management app and each project has
phases. Up to this point, the user enters the info on a particular page,
that gets saved to the database (if valid) before they go back to a
previous tab or before they go forward to the next tab. 

In a normal, intelligent design you would think the name of the phase
should be somewhere on the first page of the multi-page form to enter
phases, so that, if nothing else there is at least a label to identify
it. Not so. It's part of the spec that the name of the phase is entered
on page 2. And I'm told in no uncertain terms that this decision is from
the client and therefore set in stone. It's also part of the spec that
they should be able to go "back" to previous pages of the form and then
return and as previously mentioned, the application should never ever
forget anything under any circumstances... 

So since the data on page 1 of the form is saved to the database and has
no label, I add the label "unnamed" when they're looking at the list of
phases to indicate that a particular phase was abandoned halfway. This
maintains 1) remembering the information they entered and 2) gives them
the opportunity to delete the item if they really had decided they
didn't want it. 

Then the problem -- "it should never say 'unnamed' in the list of phases...
if they change their mind about entering a phase, it should just throw
it away"... 

ummm... this violates the first few principles of the design. That it
should always remember everything and it should allow them to go "back"
to previous pages in the form without forgetting. 

And of course nobody noticed this major design flaw because everyone was
focused on small units of the design and didn't notice the big picture.
We went round and round trying to get the thing settled. And had I
written behavioral tests for these things I'm sure a lot of them would
have had to be rewritten because of mid-project design changes that were
a result of thinking about things as isolated "units" in the early part
of the design. (Which seems to catch us all off-guard, myself included.)

Now I'm not necessarily saying that's the majority of projects or even
that it's the way things should be. It's just been my experience that
these kinds of things happen ... well they've happened to just about
every project I can remember having worked on... More of the ubiquitous
forces behind that "big ball of mud" design pattern that's so popular. 

When I worked for SiteManageware in Ft Lauderdale we were working on an
overhaul of the pricing system and I think we ended up essentially going
back to scratch on the technique two or three times. 

I don't even necessarily mind the idea of "thinking outloud into a test
case"... but to be the devil's advocate, I'm not convinced it results 

Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-01 Thread s. isaac dealey
> TDD advocate here... I really think folks are going into TDD with
> this mindset that it's just write a test before you write code (so yes
> your are somewhat right). Doing this is going to result in frustration
> and an eventual failure and abandonment of TDD. Focusing on just
> writing a test is really the wrong approach  The fact is some
> very smart folks have realized TDD was a horrible name for a great
> idea as it put us into this mind set of testing a unit.  This is
> why many folks (mostly outside of the CF community) are "evolving" TDD
> into BDD (behaviour driven development).  I could ramble on more
> probably but I think I've said enough for now, maybe this deserves a
> blog post?

Thanks Adam, I'd be interested in reading more about that. :) I hadn't
heard about the shift in thinking from TDD to BDD. 

There's an old apocryphal story I like about how language helps to shape
thought. The story goes that the people in a particular area (let's say
it was an island) were having a problem in which people were falling
into unexplained comas and they feared people were being burried alive.
They wanted to resolve this problem, so they assigned the task of
devising a solution to two teams and would then choose the best of the
two. One team produced a solution that was complicated, time consuming,
labor intensive, questionably effective and expensive. The other team
produced a solution that was unquestionably fast, cheap and effective
(you might call this an "elegant solution"). 

The complicated solution was to burry each person with a small amount of
food and water and raise a pipe from the coffin up to ground level so
that if the person woke from their coma they could call up to someone
monitoring the grave sites and help would rush to pull them out. After a
few days they could be reasonably assured the person had died and fill
in the pipe. Problems involved rain flooding the coffin, etc. 

The question posed to the team who produced this solution: how to we
keep from burrying people who are still alive? 

The "elegant" solution was to mount a 6-inch spike to the inside of the
coffin lid at roughly chest-height. When you closed the lid of the
coffin, you would remove all doubt that the person could still be alive. 

The question posed to the team who produced this solution: how to we
ensure that everyone we bury is dead? 

 

I've been trying to come up with a good way of explaining a similar kind
of shift in thinking with regard to the notion of a "front controller"
and I'm not sure how well I've done in that regard. It's posted on the
onTap framework wiki as "The Rear Controller and You". 

The basic premise of my calling this a new design pattern (as opposed to
simply describing it as a sub-set of the front controller) is to flip
the thinking involved in the "front controller" away from forcing
everything to deal with the challenges of the front controller (the
application says "I INSIST you speak to me THIS WAY") and instead allow
the controller to do the work more seamlessly by saying something to the
effect of "I don't know X but if you hum a few bars I can fake it". :P  

The system accomodates both the traditional front controller
index.cfm?event=company.about style urls as well as more traditional
/company/about.cfm style urls which makes it a trivial matter to move
pages into or out of the framework without changing any existing URLs. 

For anyone interested in the Rear Controller design pattern, you can
find more information here: 

http://ontap.wikispaces.com/The+Rear+Controller+and+You

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311888
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-01 Thread Jaime Metcher
> -Original Message-
> From: s. isaac dealey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 2 September 2008 3:06 AM
> To: CF-Talk
> Subject: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)
> 


> And so it's an assumed that the TDD advocates who talk about writing all
> your tests before writing your code will be overconfident about their
> design. 


Whoa, hold it right there.  Show me the TDD advocate who promotes writing
all tests before writing code and I'll personally have their card revoked!
TDD means write a test, then write some code, then write another testby
the time you write your last test, you've written all your code bar that
last function.  You will actually rewrite less of your stuff than otherwise,
because writing tests first really brings a poorly factored design into the
spotlight much earlier than would otherwise happen.

The assertion is that if you can't write a test you don't *have* a design,
or indeed a clear intention.  And if your tests are hard to write, it's
because you have a bad design.  So given all of this, it's hard to argue
that the right thing to do in this situation is to go ahead and write some
code anyway.  "Thinking out loud" in code is fine, but thinking out loud
into a test case is even better.

@Adam:
Agreed that "behaviour" is a better word.  I also like the last "D" to stand
for "design".  "Test driven design" takes away some of the quality-control
mindset that's introduced by the word "test".

Jaime



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311887
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-09-01 Thread s. isaac dealey
> Eric sometime we should talk about these draconian restrictions and
> what you've had to do with Fusebox, drop me a line sometime.

I imagine you were thinking something like I was... 

What was it in Fusebox (of all things) that would be anathema to the
server managers at AT&T? FB's always struck me as being pretty
non-invasive from the standpoint of server requirements, irrespective of
the fact that it's generally not my tool of choice. 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311886
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-01 Thread Adam Haskell
TDD advocate here... I really think folks are going into TDD with this
mindset that it's just write a test before you write code (so yes your are
somewhat right). Doing this is going to result in frustration and an
eventual failure and abandonment of TDD. Focusing on just writing a test is
really the wrong approach, hell the fact you get some tests out of TDD is
just a nicity. Use TDD or do not the value to me is the thought process
involved this is the indispensable part of TDD. The problem comes in to the
fact that how do I teach a group of people good TDD in a 1 hour (hell 2
hour) session at a conference? I am attempting it at bFusion, hopefully it
will turn out well and I can take it on the road so to speak ;) Here's my
short synopsis of how we stand with TDD:

Proper TDD seeks to break down that 80% failure by focusing on putting more
thought into your *design*. We can either write, rewrite and rewrite
production code, or we can write and rewrite test cases until we are more
confident with the design. Then we may only write and refactor production
code once or twice. I'd much rather see that happen. The fact is some very
smart folks have realized TDD was a horrible name for a great idea as it put
us into this mind set of testing a unit. With this mindset we focus on
asserting simple values and string, or looking at booleans of a unit. What
the hell is a unit anyway? A CFC? A Method? The whole concept of a unit is
based off its context. Really what TDD should be about is testing the
behavior and (more importantly in many systems) the interaction of objects
in the system. This is why many folks (mostly outside of the CF community)
are "evolving" TDD into BDD (behaviour driven development). It's the same
thing just worded differently. Instead of using a word like testing which
someone assumes oh just write tests first, this name sort of smacks you in
the face. FOCUS ON BEHAVIOUR, yet if you read up on BDD its all about
validating your design (fancy way of saying test ;) ).  I could ramble on
more probably but I think I've said enough for now, maybe this deserves a
blog post?


Adam


On Mon, Sep 1, 2008 at 1:05 PM, s. isaac dealey <[EMAIL PROTECTED]> wrote:

> > It's actually switching over, to where the tests come first, that's
> > the hard part, for me.  Due to a lot of the reasons listed in that
> > article about big balls of mud.





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311882
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-09-01 Thread Adam Haskell
Eric sometime we should talk about these draconian restrictions and what
you've had to do with Fusebox, drop me a line sometime.


Adam

On Mon, Sep 1, 2008 at 4:59 PM, Eric Roberts <
[EMAIL PROTECTED]> wrote:

> Which I have run into with MG...most of what we are doing is made
> overly
> complex by using MG, which in turns made it overly difficult to debug when
> we had probs.  I can see where MG would be very useful for a very complex
> application...but I don't think it is the solution for everyone.  I
> personally prefer the ease of use and flow of FB (or more specifically, my
> bastardized version of FB ;-) which based on a combination of my personal
> coding style that is very close to a fusebox-esque style and a version that
> we were forced to use due to draconian server restrictions at
> AT&T ).
>
> Eric
>
> /*-Original Message-
> /*From: Larry Lyons [mailto:[EMAIL PROTECTED]
> /*Sent: Monday, September 01, 2008 11:01 AM
> /*To: CF-Talk
> /*Subject: Re: fusebox vs model glue
> /*
> /*>denstar wrote:
> /*>> Sounds like with FB you could end up with a Pretty Entertaining
> /*Environment.
> /*>
> /*>*groans*
> /*>
> /*>> Is there a down side to all the flexibility?  :-)
> /*>
> /*>Yes. It means that no 2 application developers will develop websites the
> /*>same way. Though IMHO, that's not much of a downside.
> /*
> /*It could also mean that you end up with it going down the TOtally
> /*Ineffective Ludicrous Entertaining Technology or TOILET.
> /*
> /*ok its been a long weekend.
> /*
> /*
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311881
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: fusebox vs model glue

2008-09-01 Thread Eric Roberts
Which I have run into with MG...most of what we are doing is made overly
complex by using MG, which in turns made it overly difficult to debug when
we had probs.  I can see where MG would be very useful for a very complex
application...but I don't think it is the solution for everyone.  I
personally prefer the ease of use and flow of FB (or more specifically, my
bastardized version of FB ;-) which based on a combination of my personal
coding style that is very close to a fusebox-esque style and a version that
we were forced to use due to draconian server restrictions at
AT&T ).

Eric

/*-Original Message-
/*From: Larry Lyons [mailto:[EMAIL PROTECTED]
/*Sent: Monday, September 01, 2008 11:01 AM
/*To: CF-Talk
/*Subject: Re: fusebox vs model glue
/*
/*>denstar wrote:
/*>> Sounds like with FB you could end up with a Pretty Entertaining
/*Environment.
/*>
/*>*groans*
/*>
/*>> Is there a down side to all the flexibility?  :-)
/*>
/*>Yes. It means that no 2 application developers will develop websites the
/*>same way. Though IMHO, that's not much of a downside.
/*
/*It could also mean that you end up with it going down the TOtally
/*Ineffective Ludicrous Entertaining Technology or TOILET.
/*
/*ok its been a long weekend.
/*
/*

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311879
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)

2008-09-01 Thread s. isaac dealey
> It's actually switching over, to where the tests come first, that's
> the hard part, for me.  Due to a lot of the reasons listed in that
> article about big balls of mud.  :]

I'm not entirely convinced that writing the test before writing the code
is the best strategy... or at least that it's the best strategy for
everyone. Development work by its nature means doing things that (we
hope anyway) haven't been done before. And while you may have some ideas
about how to accomplish those things ahead of time, the human brain is
really just not equipped to map out large numbers of variables
accurately in advance. 

I realize of course as soon as having said this a lot of TDD advocates
will say "but you're not mapping out large numbers of variables in
advance, you're mapping out small individual 'units'". Which is again
what I think Hermes Conrad would call "technically correct... the best
kind of correct". Even though you might be writing tests for a very
small "unit" like an individual function, the reality is that you're
still basically trying to start from E=MC2 and reverse engineer three
gigantic chalk-boards full of equations to get to that solution. It
works yes, I'm just not convinced it's the most efficient method. 

The reason I'm not convinced it's efficient is because I know there's a
reason for the 80% failure rate in R&D. (Which not enough programmers
are familiar with - good start on Wikipedia.) And don't treat
programming as an R&D discipline like it should be treated. It's human
nature to assume that things are easier than they are -- to be
overconfident. You can't get around that, it just is. And humans are
predisposed to be wrong about everything due to confirmation bias. The
Wason Selection task proved that. 

And so it's an assumed that the TDD advocates who talk about writing all
your tests before writing your code will be overconfident about their
design. Over the course of development it will be necessary to rewrite
about 80% of the initial design. And consequently about 80% of the tests...
but if you write them in advance and you continue to rewrite them when
the design changes, it's not just 80%, it will end up that in the best
circumstances, you've (re)written something like 1000 lines of test code
for every 20 lines of functional code. 

These are also forces that contribute significantly to the big ball of
mud in spite of the fact that they're not described in Foote and Yoder's
treatment of it. It's a shame that more of us in the IT industry haven't
read up on cognitive bias. I'm not an expert, just saying based on what
I've read it seems *really* important and the IT industry as a whole is
almost completely unaware of any of it.

I wanted to actually point to an example I know I saw where Matt
Woodward had posted a comment on the Mach-II wiki about developers
underestimating the challenges involved in maintaining code being a
reason for one of their new features in 1.5. I'm having difficulty
locating that particular comment at the moment. Anyway without using the
term, he was describing precisely the effect of overconfidence bias.
Showing really that you'll be affected by these things whether you're
aware of them or not. Better imo to have at least an awareness of the
research into cognitive bias even if you can't be an expert. 

> Maintaining the tests is what's hard for me.  I don't do it right, so
> I have to update them, instead of the other way around.

So given what I've said above, I don't think this is just you. :) 
I think it's the approach to TDD. I think there's great promise in TDD
though I'm not convinced the most effective approach to TDD is what's
widely practiced (yet) in much the same way that most sold software in
practice is in some kind of "big ball of mud" in spite of the fact that
we have all this really good design available to us. 

> I'm sorta thinking that there should be some ways to automate a lot of
> test creation.  Or a way of flipping the problem on it's head...
> something like introspection combined with a metasploit sorta deal...
> hmm... sometimes the things I come up with are just pie in the sky
> (or, not well thought out, conversely),

See "overconfidence bias". :) 

> so I feel bad writing tests and stuff before I know the idea will work,
> but I should stop that. Freaking throwaway code!  But hey, maybe I'm
> just planning on tossing at least the first version of everything.  =]

I'm thinking personally it may be better to work the tests into the
middle, once you know it works and before it goes into maintenance mode.
Not on an entire large application, but on a mid-sized logical bundle
like a handful of CFCs that manage X. Though that leads to another
problem in that once you're at that stage, there's a real risk of not
getting around to writing the tests because either your boss sees what
you've accomplished and insists that you immediately get on to the next
section of the project without stopping to write the tests (because he
doesn't u

Re: fusebox vs model glue

2008-09-01 Thread Larry Lyons
>denstar wrote:
>> Sounds like with FB you could end up with a Pretty Entertaining Environment.
>
>*groans*
>
>> Is there a down side to all the flexibility?  :-)
>
>Yes. It means that no 2 application developers will develop websites the 
>same way. Though IMHO, that's not much of a downside.

It could also mean that you end up with it going down the TOtally Ineffective 
Ludicrous Entertaining Technology or TOILET.

ok its been a long weekend. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311877
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-31 Thread denstar
On Sun, Aug 31, 2008 at 11:11 PM, s. isaac dealey wrote:

> TDD is on my ever growing list of things to tackle. :) Not something I'm
> doing currently, but it is something I plan to do at some point.

It's cool, really, to have the computer do stuff it can do, while
you're doing other stuff, so to speak.  I like the idea of self-tests,
actually, but I'm not quite "there" yet.

> Hopefully it will also help when I start getting into TDD.

Maintaining the tests is what's hard for me.  I don't do it right, so
I have to update them, instead of the other way around.

I'm sure if you've got some structure going there, writing tests and
whatnot will not be too hard.

It's actually switching over, to where the tests come first, that's
the hard part, for me.  Due to a lot of the reasons listed in that
article about big balls of mud.  :]

I might never do it, and just move to a higher level modeling
language, and then just generate tests for stuff.  Naw, I guess I've
already sorta started using tests to flesh things out.  I can't tell
you how impressed I am with packages that have huge test suites... but
I love watching stuff do other stuff, sorta.  Those green or red marks
churning by are titillating.

Gives you a sense of confidence (false, of course, and moreso with
poorly written tests, but still pretty swell ;] ).

> Speaking of the big ball of mud I actually did sit down the other day
> and read through the entire article written by Brian Foote and Joseph
> Yoder. It's an interesting read and while it's not all entirely
> practical (at least not right away), I think there's some good wisdom to
> keep in mind in there.
>
> Full article at http://www.laputan.org/mud/

It's a fun one.  Every time I come across it I read some/most of it
again.  Nice to see the problems laid out simply, with some, as you
said, good ideas for handling them.  Thanks for the link.


I'm sorta thinking that there should be some ways to automate a lot of
test creation.  Or a way of flipping the problem on it's head...
something like introspection combined with a metasploit sorta deal...
hmm... sometimes the things I come up with are just pie in the sky
(or, not well thought out, conversely), so I feel bad writing tests
and stuff before I know the idea will work, but I should stop that.
Freaking throwaway code!  But hey, maybe I'm just planning on tossing
at least the first version of everything.  =]

Well, this is getting well off the framework versus path.  Although,
this is exactly the stuff frameworks are on about, ain't it? Sorta.
Heh.
Apologies anyways, folks.  |-}

-- 
The key to wisdom is this - constant and frequent questioning, for by
doubting we are led to question and by questioning we arrive at the
truth.
Peter Abelard

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311872
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-31 Thread s. isaac dealey
> Hey, Isaac, you got unit tests being generated as well?  I'd toss that
> in there, while you're at generating stuff.
> I'm loving my tests...

TDD is on my ever growing list of things to tackle. :) Not something I'm
doing currently, but it is something I plan to do at some point. 

As of yet I haven't been hit by any maintenance steamrollers tho... I'm
generally able to switch tracks pretty quickly... For example, prior to
this latest version (3.2) of the onTap framework and for as far back as
I can remember, the bulk of the code in a framework application has been
inside a /_components/ directory. In version 3.2 I made a sudden
decision to change the name of that directory to /_tap/ ... 

I realize a lot of folks might say "wha?! what for?", but I was looking
at it one day and some comments I had made about being surprised by some
variable names in Galleon that weren't very specific (i.e. could result
in namespace conflicts), and realizing that /_components/ might be
somewhat confusing and perhaps a little less likely also be a directory
someone else already had in their web root. And it occurred to me that
/_tap/ might be a bit more specific, less confusing, etc. 

So I decided to make the change... A few days or maybe a week later
(also amidst a 9-5 job) I think I had completely weeded out all
references to /_components/. 

Now it's possible that I was able to do it that quickly because I really
don't have a life and mostly spend my spare time sitting in front of
this machine working on software. :P Though I like to think that the
reason why I was able to make such a sweeping change so easily is really
because although I know it has its faults (like any software system does)
by and large the framework has never been a "big ball of mud". So I'm
able to make "big" changes like that quickly becuase everything is so
well encapsulated. It helps make maintenance and debugging easier.
Hopefully it will also help when I start getting into TDD. 

Speaking of the big ball of mud I actually did sit down the other day
and read through the entire article written by Brian Foote and Joseph
Yoder. It's an interesting read and while it's not all entirely
practical (at least not right away), I think there's some good wisdom to
keep in mind in there. 

Full article at http://www.laputan.org/mud/


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311868
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-31 Thread denstar
On Sun, Aug 31, 2008 at 12:58 PM, Phillip M. Vector wrote:
> denstar wrote:
>> Sounds like with FB you could end up with a Pretty Entertaining Environment.
>
> *groans*

First I was going to go with Pretty Incredible, Sophisticated and
Simple-- but thought that it was a little much.  =]

>> Is there a down side to all the flexibility?  :-)
>
> Yes. It means that no 2 application developers will develop websites the
> same way. Though IMHO, that's not much of a downside.

I was just having a gas, I wasn't really implying that X framework
forces one to be organized.

It's just as easy to Create Rockingly Applicable Performant code with
any framework, I reckon.

The key, IMO, is getting the concepts, more than the FWs themselves.
FWs can help, but it takes real thinking, in the end, no matter what
(well, I guess.  Maybe there will be a point in time where I'm like
"yes, this goes here, and that goes there!", and not have any question
about where X should go... but I doubt it.  I don't, (from years of
watching) think that it works that way)).

Hmmm, so long as we're talking acronyms, what about some TDD, folks?

Hey, Isaac, you got unit tests being generated as well?  I'd toss that
in there, while you're at generating stuff.
I'm loving my tests...

But screw writing all that STUFF by hand.

-- 
The history of philosophy is not, like the history of the sciences, to
be studied with the intellect alone. That which is receptive in us and
that which impinges upon us from history is the reality of man's
being, unfolding itself in thought.
Karl Jaspers

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311859
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-31 Thread s. isaac dealey
> Hell yes there can be a downside to flexibility. That's one of the
> things I've always complain about with fusebox, but I am not planning
> on changing that flexibility. With a good set of best practices and
> coding standards you can wrangle in the variations some and not loose
> all your flexibility, unless you make a stupid standards that are too
> rigid like you must always use CFCs. You can further alleviate
> unneeded variance with code reviews and good design principles.

I tend to agree with Adam's assessment. 

I've attempted to create an environment with the onTap framework which
offers that similar flexibility to start out with quick procedural
coding and then quickly and easily refactor it as needed into an OO/SOA
approach. 

What I'm really working on mostly in the past month or two has been to
grow the community more than anything else. I am still working on code,
but it's not all for things I'll be using myself. 

Right now I'm working on something I always said I never cared for -- a
code generator. Specifically a scaffolding tool I'm calling FireLadder.
I probably won't use it for my own applications, however, I know that a
lot of folks are interested in having it and so that's why I'm working
to provide one. 

And while the scaffold tool will create cleanly separated models, views
and controllers and hook them into the framework's IoC Manager (part of
it's overall SOA design), the tool itself isn't quite that sophisticated
because it really doesn't need to be, and because an application in
production doesn't need the extra load of having a scaffolding tool
loaded up into its SOA config since it should never be used by your
clients or visitors. At least to me, it makes more sense for a "one time"
building tool like this to simply build the infrastructure and then get
out of your way. 

And I'm always excited to get more feedback at http://on.tapogee.com --
or on the new wiki or google group. We even added blog-style comments to
the entire framework site. So the home page and every page of the
documentation now has comments at the bottom to help us tweak them and
make them better. :) 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311858
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-31 Thread Adam Haskell
Hell yes there can be a downside to flexibility. That's one of the things
I've always complain about with fusebox, but I am not planning on changing
that flexibility. With a good set of best practices and coding standards you
can wrangle in the variations some and not loose all your flexibility,
unless you make a stupid standards that are too rigid like you must always
use CFCs. You can further alleviate unneeded variance with code reviews and
good design principles.

Adam!

On Sun, Aug 31, 2008 at 2:58 PM, Phillip M. Vector <
[EMAIL PROTECTED]> wrote:

> denstar wrote:
> > Sounds like with FB you could end up with a Pretty Entertaining
> Environment.
>
> *groans*
>
> > Is there a down side to all the flexibility?  :-)
>
> Yes. It means that no 2 application developers will develop websites the
> same way. Though IMHO, that's not much of a downside.
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311855
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-31 Thread Phillip M. Vector
denstar wrote:
> Sounds like with FB you could end up with a Pretty Entertaining Environment.

*groans*

> Is there a down side to all the flexibility?  :-)

Yes. It means that no 2 application developers will develop websites the 
same way. Though IMHO, that's not much of a downside.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-31 Thread denstar
Sounds like with FB you could end up with a Pretty Entertaining Environment.

Is there a down side to all the flexibility?  :-)

-- 
The community of masses of human beings has produced an order of life
in regulated channels which connects individuals in a technically
functioning organisation, but not inwardly from the historicity of
their souls.
Karl Jaspers

On Sun, Aug 31, 2008 at 9:00 AM, Adam Haskell wrote:
> Disclaimer: I just took over the Fusebox core files so my opinion is most
> likely slaned ;)
>
>
> Well the easy answer here is no they are not similar and yes use one or the
> other. The hard answer is that evil last one. What's the maturity level of
> you/your group? Fusebox offers a vast bit more flexibility in how you code
> (not forcing you into an OO, or pseudo OO approach) if you think you are
> just doing CRUD applications most of the time you will most likely end up
> with a Procedural Object Oriented Program (yep thats right you end up with
> POOP) if you use MG. Thats not to say poop in this regard is always a bad
> thing just know what you are heading for and accept that you will pay the OO
> hit for all your applications regardless of the nessecity for OO. This is
> one on of the reason I sort of like fusebox it can be made to compliment
> different levels of applications. You have an application that is very
> behaviour driven with a rich domain model? No problem model it out and use
> Fusebox as a nice front end controller. You have a reporting app that is
> chock full of complex queries but not much more? No problem write out your
> queries in a coule of qry_ files and display them with some layouts and dsp_
> pages. Why take the OO hit for a reporting app? Fusebox is not the silver
> bullet mind you, but it has not failed me yet in an enterprise with more
> than 20 apps written in fusebox ranging from internal workflow apps to
> enterprise level CMS apps.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311853
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-31 Thread Adam Haskell
Disclaimer: I just took over the Fusebox core files so my opinion is most
likely slaned ;)


Well the easy answer here is no they are not similar and yes use one or the
other. The hard answer is that evil last one. What's the maturity level of
you/your group? Fusebox offers a vast bit more flexibility in how you code
(not forcing you into an OO, or pseudo OO approach) if you think you are
just doing CRUD applications most of the time you will most likely end up
with a Procedural Object Oriented Program (yep thats right you end up with
POOP) if you use MG. Thats not to say poop in this regard is always a bad
thing just know what you are heading for and accept that you will pay the OO
hit for all your applications regardless of the nessecity for OO. This is
one on of the reason I sort of like fusebox it can be made to compliment
different levels of applications. You have an application that is very
behaviour driven with a rich domain model? No problem model it out and use
Fusebox as a nice front end controller. You have a reporting app that is
chock full of complex queries but not much more? No problem write out your
queries in a coule of qry_ files and display them with some layouts and dsp_
pages. Why take the OO hit for a reporting app? Fusebox is not the silver
bullet mind you, but it has not failed me yet in an enterprise with more
than 20 apps written in fusebox ranging from internal workflow apps to
enterprise level CMS apps.


Adam


On Wed, Aug 27, 2008 at 4:03 PM, Richard White <[EMAIL PROTECTED]> wrote:

> hi
>
> we have just reviewed model glue, and have also looked into fusebox very
> briefly
>
> is fusebox similiar to model glue? and if so is it a case of using one or
> the other? and if so then what are your feelings on which one is better?
>
> thanks for your help
>
> richard
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311851
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-27 Thread Phillip M. Vector
Oh... Beyond belief. :)

I could try to explain HOW confusing... but I can't even begin to 
explain it. That's how confusing it is. :)

But the last 5 contracts I did (with different people) had Model Glue 
with a "fusebox like" setup (or standard fusebox). Hopefully, I'm just 
unlucky and this isn't a trend.

s. isaac dealey wrote:
> I would expect that to be fairly confusing. :P 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311698
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-27 Thread s. isaac dealey
> Hell of a well-thought out post.  I was going to snip it down and
> keep only relevant bits, but it was all pretty relevant (so um yeah...
> i snipped it all) :)


Thanks Chuck!


Actually I do appreciate the complement. :)

> i think once you grok the basics of one, learning others won't be
> *nearly* as daunting or intimidating.  that's not to say
> they're "interchangeable", but it's definitely easier to learn your
> 2nd framework than your first.  so, with all due respect to
> both you and Brian... i'd still stick with that response.  yes, it
> *is* confusing and difficult if you are new to a frameworks and OO. 
> but you're only new to frameworks the first time :) 

> obviously, there's still learning to do.  and everyone's time is at a
> premium. i'm not suggesting building something along the lines of a
> full-blown CMS application with each framework.  for my foray into
> ColdBox, i took a page from Dan Wilson's book and did a simple contact
> manager.

I will actually nod general agreement to everything you've said here. :)

Though I will also say that as an individual developer and having
already had a good deal of experience with Fusebox 3 and 4 it still took
me a good 2 weeks or maybe a little more of solid work to get those
Galleon Ports done and the Model-Glue and Mach-II versions weren't quite
finished. 

A few things to note about that 

1) I did take a day out to swap Ray's cfqueries for my own ORM, which I
did not do for any of the other frameworks (ColdBox, Fusebox, etc.)
because none of them had built-in ORMs. (I didn't do FarCry, sorry.
Didn't occur to me at the time, though it does have a built-in ORM
called FourQ.) 

2) I'm not sure if most developers would have put the kind of time I put
into that. That's not intended as any kind of disrespect to other
developers... Sean Corfield may be a notable exception, since I know
he's done similar things in the past... but I really wouldn't expect
most programmers to have the kind of lack of sleep or social life that I
usually have (largely due to autism). In the end I think I might prefer
not to be autistic and have a social life, but that's not the set of
cards I've been dealt. 

3) I personally consider Galleon to be a pretty small application... I'm
not sure if it qualifies as being as small as the theoretical contact
manager, but that's my take on it anyway. There are only about 4 or 5
tables in the database - users, conferences, forums, threads and
messages. So I'm not sure how that compares to the contact manager for
size. 

All that being said, even though the Model-Glue and Mach-II ports were
never really completed, the purpose really was to show that knowledge of
frameworks does transfer from one to the next like you said, so that
having a general understanding of frameworks is ultimately more
important than which framework you choose to start with. 

And moreover that learning any framework will help give you that general
understanding. The article merely gives you a way to read through the
side-by-side comparisons to help you get a generalized understanding
up-front without necessarily having to start by building something in
each framework yourself. More like a primer. Once you've read it, that
should help make the transition a bit smoother. 

And yes I do promote my own framework a lot in the article. :) 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311697
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-27 Thread Charlie Griefer
On Wed, Aug 27, 2008 at 5:24 PM, s. isaac dealey <[EMAIL PROTECTED]> wrote:

Hey Ike:

Hell of a well-thought out post.  I was going to snip it down and keep only
relevant bits, but it was all pretty relevant (so um yeah... i snipped it
all) :)

the one point i'd like to try and make in response is that, yes... learning
a single framework can be daunting and/or intimidating... so suggesting
"learn them all and pick the one that feels right" might seem like bad
advice (or, at the very least, less good advice).  but here's the thing...

i think once you grok the basics of one, learning others won't be *nearly*
as daunting or intimidating.  as i had alluded to... the fact that i had
somewhat of a grasp of fusebox definitely helped me in picking up
model-glue.  that's not to say they're "interchangeable", but it's
definitely easier to learn your 2nd framework than your first.  i've
recently started to play around with ColdBox and again... understanding the
concepts behind a front-controller MVC framework has made it much easier.

so, with all due respect to both you and Brian... i'd still stick with that
response.  yes, it *is* confusing and difficult if you are new to a
frameworks and OO.  but you're only new to frameworks (maybe less the OO
piece) the first time :)  after that it's more "hmm... i'm used to doing it
-this way- in "framework x"... i see that "framework y" does it like
-this-.

obviously, there's still learning to do.  and everyone's time is at a
premium.  i'm not suggesting building something along the lines of a
full-blown CMS application with each framework.  for my foray into ColdBox,
i took a page from Dan Wilson's book and did a simple contact manager.

the investment of time, and the frustration of trying to grasp something
new... that's all part of learning.  it's not always fun, but i've generally
found it to be well worth the pain when the light bulb does finally go off
:)

-- 
A byte walks into a bar and orders a pint. Bartender asks him "What's
wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought
you looked a bit off."


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311692
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-27 Thread s. isaac dealey
> I may be in the minority here, but I've come into several projects that 
> use Model Glue AND fusebox (turning it into a confusing mess for us 
> developers who don't know much OO programing).
> 
> If you do happen to pick a framework, if possible, please try to stick 
> to that one. :)

I would expect that to be fairly confusing. :P 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311691
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-27 Thread Phillip M. Vector
I may be in the minority here, but I've come into several projects that 
use Model Glue AND fusebox (turning it into a confusing mess for us 
developers who don't know much OO programing).

If you do happen to pick a framework, if possible, please try to stick 
to that one. :)

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311689
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: fusebox vs model glue

2008-08-27 Thread s. isaac dealey
> Richard White said: 
> is fusebox similiar to model glue? and if so is it a case of using
> one or the other? and if so then what are your feelings on which one
> is better?

Although it might not mean much right now, I'll say very briefly that
Model-Glue is an OO framework, meaning that, if you're not using OO now,
you WILL use OO if you start using MG, because the framework doesn't
give you a choice in the matter. That's not intended to be derogatory,
some people consider this a benefit. 

Fusebox on the other hand offers a variety of different ways to develop
your application that can actually be used interchangeably. So one
circuit may be designed in an OO manner while others are designed in a
procedural manner. That's also not necessarily an endorsement of Fusebox
either. Some people consider this a drawback. :) 

> Charlie (Good) Griefer said: 
> that being said, your best bet as to determining which one is "better"
> (for you) would be to build small sample apps with both, and see which
> one feels better for you.

This is an answer that a lot of folks give when the question of "best
framework" crops up. (In addition of course to the variety of people who
answer to say "Fusebox" or "ColdBox" or "FarCry".) A while back Brian
Rinaldi had this comment about that approach: 

"Personally, I dislike the advice of building sample apps with each
Framework. It is confusing and difficult if you are new to a frameworks
and OO and it is time consuming. Therefore completely unrealistic unless
you have lots of spare time."

Sean Corfield of course always gives the answer "it depends", which if
I'm being pragmatic is pretty appropriate. If you've got a group of
programmers who're comfortable with a particular style of development,
you're liable to lose productivity if you try the "sink or swim"
approach with a framework that uses a really different approach. So it
makes sense in general to choose a framework that your team is
comfortable with. 

If you're new to frameworks in general though, often the array of
available frameworks can be rather intimidating, and a lot of folks end
up putting off learning frameworks in general in the hopes that soon the
"one true (standard) framework" will come along and be the obvious
choice for every project. Although if you find yourself in that position,
the thing to remember is this: it won't. That's not a criticism either,
it's just human nature to be indecisive for fear of losing options.
Here's a blog I wrote about natural indecisiveness with regard to
frameworks: 

http://ontap.riaforge.org/blog/index.cfm/2008/5/2/Indecisive

Shortly after that I started working on a project that may interest you
in which I ported Ray Camden's Galleon forums to several different
frameworks. I chose Model-Glue, Mach-II, ColdBox, 2-flavors of Fusebox
and my own onTap framework. The article here shows a comparison of how
different common tasks are accomplished with each framework and you can
download the archive with all the ports of Galleon if you want to see
the actual code used to port them: 

http://on.tapogee.com/galleonproject/

That should give you a birds-eye view of the different frameworks
without having to take the time to redevelop the same application
several times, since I've already done that. :) Although it doesn't get
into some of the more specific details of the other frameworks, like it
won't explain what addResult() is in Model-Glue or why you need it (a
very OO concept). 

Lastly I will say that the other four frameworks are all "front
controller" frameworks, so urls like index.cfm?event=yadda.yadda will be
common across the board. The onTap framework on the other hand is a
"rear controller" framework, and while it will *allow* urls like that,
it's designed to offer the flexibility to allow you to write URLs
however you prefer. As a matter of fact, pages can be easily moved into
or out of the framework without changing their URL at all and without
the person visiting your site needing to know that you're even using any
kind of framework. 

There's an article about the "rear controller" design pattern on the
framework wiki here: 

http://ontap.wikispaces.com/The+Rear+Controller+and+You


Good luck in your selection process :) 

ike

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311688
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-27 Thread Will Tomlinson
> hi
> 
> we have just reviewed model glue, and have also looked into fusebox 
> very briefly

It might be good to also review Coldbox. 

www.coldboxframework.com

Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fusebox vs model glue

2008-08-27 Thread Charlie Griefer
On Wed, Aug 27, 2008 at 1:03 PM, Richard White <[EMAIL PROTECTED]> wrote:

> hi
>
> we have just reviewed model glue, and have also looked into fusebox very
> briefly
>
> is fusebox similiar to model glue? and if so is it a case of using one or
> the other? and if so then what are your feelings on which one is better?
>
> thanks for your help
>
> richard
>

wow.  this should be interesting :)

which one is "better" is going to be highly *highly* subjective.  the first
framework that I learned was Fusebox (4.1).  it did make learning Model-Glue
easier, as there are a number of similarities, and I could take MG concepts
and think of it as, "oh... this would be ___ in fusebox".

personally, i'm a huge proponent of the concept of frameworks (whether it's
a community-supported one or your own home-grown).  they help standardize
your development, promote a consistent way of coding, and if done right, do
make smaller bits of reusable code.  so IMHO, there's no "wrong" answer to
which is "better".  whichever framework you choose, if implemented properly,
will give you these benefits.

that being said, your best bet as to determining which one is "better" (for
you) would be to build small sample apps with both, and see which one feels
better for you.


-- 
A byte walks into a bar and orders a pint. Bartender asks him "What's
wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought
you looked a bit off."


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311678
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


fusebox vs model glue

2008-08-27 Thread Richard White
hi

we have just reviewed model glue, and have also looked into fusebox very briefly

is fusebox similiar to model glue? and if so is it a case of using one or the 
other? and if so then what are your feelings on which one is better?

thanks for your help

richard 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Using attributes within cfqueryparam in Fusebox application

2008-07-23 Thread Brad Wood
I would check to make sure that the cfsqltype you are using matches the data 
being passed in, as well as the column in the database.
Please post the actual error.

~Brad

- Original Message - 
From: "Mark Kruger" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, July 23, 2008 9:27 PM
Subject: RE: Using attributes within cfqueryparam in Fusebox application


> As long as the param exists no there is not a problem. What kind of 
> "binding
> error" are you getting?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309561
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Using attributes within cfqueryparam in Fusebox application

2008-07-23 Thread Scott Stewart
Is the attributes scope working as expected in other parts of the
application?

Dump the attributes scope ad make sure that the expected values exist and
are populated as you think they should be.

--
Scott Stewart
ColdFusion Developer
4405 Oakshyre Way
Raleigh, NC 27616
(h) 919.874.6229 (c) 703.220.2835

-Original Message-
From: Toni Steinhauer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 10:14 PM
To: CF-Talk
Subject: Using attributes within cfqueryparam in Fusebox application

Is there a problem using 'attributes' instead of FORM or URL within
cfqueryparam? I am getting invalid binding errors on this insert:

INSERT INTO OrderHeader (Orderno, ItemTotal, Shipping, OrderTotal,
PurchaseDate, BuyerEmail, BuyerName,
Ship2Name, Ship2Addr1, Ship2Addr2,Ship2City,
Ship2State, Ship2Zip, Ship2Country, PaymentType, Card,
Exp, Bill2Name, Bill2Address, Bill2City, Bill2State,
Bill2Zip, Bill2Country, DayPhone, Fax, SiteID, 
Comments, OrderType, Discount, EntryDate)
VALUES(
,
#itemtotal#, 
#shipping#, 
#total#, 
#CreateODBCDate(Now())#, 
, 
'#bname#',
'#shipfname# #shiplname#', 
'#shipaddress#',
'#shipaddress2#', 
'#shipcity#', 
'#shipstate#', 
'#shipzip#', 
'#shipcountry#', 
, 
'#ccr#',
'#expdate#', 
'#bname# ,
, 
, 
'#bill2state#', 
, 
, 
, 
, 
#siteid#, 
,
0, 
#discount#, 
    #CreateODBCDate(Now())#)

I have been able to do similar inserts in scripts that are not under Fusebox
using FORM and URL with no errors being thrown. I was just wondering if the
'attributes' is the problem. This is an older Fusebox 3 application. THANKS!





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309559
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Using attributes within cfqueryparam in Fusebox application

2008-07-23 Thread Mark Kruger
As long as the param exists no there is not a problem. What kind of "binding
error" are you getting? 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Toni Steinhauer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 9:14 PM
To: CF-Talk
Subject: Using attributes within cfqueryparam in Fusebox application

Is there a problem using 'attributes' instead of FORM or URL within
cfqueryparam? I am getting invalid binding errors on this insert:

INSERT INTO OrderHeader (Orderno, ItemTotal, Shipping, OrderTotal,
PurchaseDate, BuyerEmail, BuyerName,
Ship2Name, Ship2Addr1, Ship2Addr2,Ship2City,
Ship2State, Ship2Zip, Ship2Country, PaymentType, Card,
Exp, Bill2Name, Bill2Address, Bill2City, Bill2State,
Bill2Zip, Bill2Country, DayPhone, Fax, SiteID, 
Comments, OrderType, Discount, EntryDate)
VALUES(
,
#itemtotal#, 
#shipping#, 
#total#, 
#CreateODBCDate(Now())#, 
, 
'#bname#',
'#shipfname# #shiplname#', 
'#shipaddress#',
'#shipaddress2#', 
'#shipcity#', 
'#shipstate#', 
'#shipzip#', 
'#shipcountry#', 
, 
'#ccr#',
'#expdate#', 
'#bname# ,
, 
, 
'#bill2state#', 
, 
, 
, 
, 
#siteid#, 
,
0, 
    #discount#, 
#CreateODBCDate(Now())#)

I have been able to do similar inserts in scripts that are not under Fusebox
using FORM and URL with no errors being thrown. I was just wondering if the
'attributes' is the problem. This is an older Fusebox 3 application. THANKS!





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309558
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Using attributes within cfqueryparam in Fusebox application

2008-07-23 Thread Toni Steinhauer
Is there a problem using 'attributes' instead of FORM or URL within 
cfqueryparam? I am getting invalid binding errors on this insert:

INSERT INTO OrderHeader (Orderno, ItemTotal, Shipping, OrderTotal, 
PurchaseDate, BuyerEmail, BuyerName,
Ship2Name, Ship2Addr1, Ship2Addr2,Ship2City, 
Ship2State, Ship2Zip, Ship2Country, PaymentType, Card,
Exp, Bill2Name, Bill2Address, Bill2City, Bill2State, 
Bill2Zip, Bill2Country, DayPhone, Fax, SiteID, 
Comments, OrderType, Discount, EntryDate)
VALUES(
,
#itemtotal#, 
#shipping#, 
#total#, 
#CreateODBCDate(Now())#, 
, 
'#bname#',
'#shipfname# #shiplname#', 
'#shipaddress#',
'#shipaddress2#', 
'#shipcity#', 
'#shipstate#', 
'#shipzip#', 
'#shipcountry#', 
, 
'#ccr#',
'#expdate#', 
'#bname# ,
, 
, 
'#bill2state#', 
, 
, 
, 
, 
#siteid#, 
,
0, 
#discount#, 
    #CreateODBCDate(Now())#)

I have been able to do similar inserts in scripts that are not under Fusebox 
using FORM and URL with no errors being thrown. I was just wondering if the 
'attributes' is the problem. This is an older Fusebox 3 application. THANKS! 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309557
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


fusebox plugin for Dreamweaver

2008-06-25 Thread Scott Stewart
Does anyone know if there's a Fusebox extension for Dreamweaver CS?

 

Thanks

 

--
Scott Stewart
ColdFusion Developer
4405 Oakshyre Way
Raleigh, NC 27616
(h) 919.874.6229 (c) 703.220.2835

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308112
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fusebox 4.1 Conditionals

2008-03-14 Thread Brian Swartzfager
Hi, Chris,

I know for a fact that you could not nest  tags like that in Fusebox 4.0.  
I'm pretty sure that you have to use Fusebox 5 or later to do that.

--
Brian Swartzfager
[EMAIL PROTECTED]



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301328
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Fusebox 4.1 Conditionals

2008-03-14 Thread Chris Ditty
Can anyone tell me what I am doing wrong with these conditionals?
Basically, if the form.emailAddr is present, check the database.  If found
throw error.  If not, continue on.  For some reason, I am getting just a
blank screen with no errors.
































~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301270
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFUNITED News: Chicago early bird ends 8/31/07, Europe-08 speakers, Fusebox docs, Spry for Ajax

2007-08-24 Thread Michael Smith
Here is ColdFusion and Fusebox news

* CFUNITED/Express Chicago (aka CF_Underground) early bird ends 8/31/07
* CFUNITED/Europe-08 call for speakers ends 8/24/07
* Adobe's Damon Cooper on ColdFusion 8 and CFUNITED
* CFUNITED podcasts - Simon Horwith - Object Think - Common Sense 
Software Architecture
* Fusebox 5 documentation update
* Fusebox core file help and bug reports
* CFUNITED Interview - with Andrew Powell on "Integrating Spry and 
ColdFusion".


* CFUNITED/Express Chicago (aka CF_Underground) early bird ends 8/31/07

Ever experienced CF_Underground? The pre-MAX ColdFusion meeting held by 
TeraTech has renamed its
event to CFUnited/Express Chicago-07 this year. We are holding this 
event in CFUnited fashion and we
are bringing to you some great speakers and time to get to know other 
developers like you.

Date: Sunday Sept 30th, 2007
Where: downtown Chicago
Cost: $149 before 8/31/07 (and get a $50 discount as a user group member)
Plus If you register for CFUnited Express Chicago before August 31st you 
can use 100% of your
registration towards CFUnited 2008! After that you can only use 50% of 
your registration cost
towards CFUnited 2008

Register now! Limited Seating. Great materials, goodies, free lunch, 
drinks, and more.

http://cfunitedexpress.com/go/chicago/2007/

Speakers:
* Charlie Arehart
* Raymond Camden (Tentative)
* Adam Howitt
* Patrick Quinn
* Michael Smith


* CFUNITED/Europe-08 call for speakers ends 8/24/07

The call for speakers for CFUNITED Europe ends today 8/24/07. More info 
and how to suggest a topic
or speaker at http://europe.cfunited.com/

CFUnited/Europe
Date: March 12-13 2008
Location: Novotel London West, UK.
Cost: $749 plus VAT until 10/31/07, after that it will be $849.
($749 USD is approximately UKP 374 or Euros 565)
Registration: http://europe.cfunited.com/


* Adobe's Damon Cooper on ColdFusion 8 and CFUNITED

Thanks Damon for your mention of your CFUNITED experience in your blog 
entry about
the making of ColdFusion 8
"Members of our team recently attended the CFUnited Conference, and 
after
breakout session on Ajax,they were mobbed," recalled Cooper.
"Many of the 600 developers who attended those sessions, as
well as others at the conference, wanted to know how ColdFusion 8
was built, how we did it.  Some of our guys felt like rock stars."

Full article at:
http://www.dcooper.org/blog/client/index.cfm?mode=entry&entry=22197BB5-4E22-1671-5276250EC40723FD


* CFUNITED podcasts - Simon Horwith - Object Think - Common Sense 
Software Architecture

Object Think is a technique for object modeling applications. It is the 
foundation for designing
applications using S.A.M., a methodology that Simon adopted largely from 
the techniques taught in
Streamlined Object Modeling and "purist" theories on OOP. Object Think 
is, in Simon's own words,
"the most important skill that a software architect could have at their 
disposal". Its goal is to
demystify design patterns and lead to better software design by teaching 
architects how to think and
by making common sense out of architectural best practices.

http://cfunited.com/blog/index.cfm/2007/7/4/Simon-Horwith--Object-Think--Common-Sense-Software-Architecture


* Fusebox 5 documentation update

Thanks to volunteers including Joe Craven for updating the Fusebox 5 
documentation on
the wiki. If you want to read or contribute go to:

http://fusebox.org/go/learning-fusebox/documentation


* Fusebox core file help and bug reports

Also if you want to contribute to the core files see

http://trac.fuseboxframework.org/fusebox/wiki/FuseboxCoreFiles

Although we believe that adding custom lexicons is the way to go because
additions and/or changes to the core XML language
should be rare and considered extremely carefully. Adding verbs or even
attributes makes Fusebox more complex and harder to learn (as well as
making the core files harder to maintain).

That page also talks about contributing patches and what is involved in 
becoming a committer.

You can also report bugs on the trac site.


* CFUNITED Interview - with Andrew Powell on "Integrating Spry and 
ColdFusion".

Michael Smith: This time we are talking with Andrew Powell about his 
CFUNITED-07 talk "Integrating
Spry and ColdFusion". So why should a developer learn Spry Andrew?

Andrew Powell: Anyone who wants to leverage the power of AJAX, but is 
JavaScript adverse, needs to
learn about Spry.  I will show developers how to leverage the Spry 
framework for AJAX to create
dynamic new user interfaces for their ColdFusion applications with a 
minimal to no JavaScript
required to be written by the developer.  Developers will learn 
techniques that they can use as soon
as they leave the session to enhance their user experiences and quickly 
bring the power of AJAX to
their applications.

MS: That is good as JavaScript can be a bit picky at times! What is AJAX 
an

Re: Running Multiple sites on 1 fusebox 5.1 app

2007-08-17 Thread Phillip M. Vector
Thanks. :) Not exactly what I hoping for, but it'll work for the basics 
and I can expand on it later. Thank you. :)

Dave Anderson wrote:
>> I'm sure I'm overlooking something obvious..
>>
>> If I want to run 2 different sites on 1 fusebox app.. How would I do that?
>>
>> For example, let's say I own the domain www.foo.com and www.bar.com. I'd
>> like to direct people to one directory which will figure out what the
>> URL is and then load the appropriate pages. However, I want 2
>> directories. Foo and Bar so I can edit one site without worrying about
>> the other messing up.
>>
>> Is there a somewhat simple way to do this or do I need to load in 2
>> fusebox apps in different directories?
> 
> 
> Put this in your Application.cfc's onRequestStart method:
> 
> switch (cgi.server_name) {
>   case "bar.com": case "www.bar.com":
>  request.siteID = 2;
>  request.siteName = "Bar";
>   defaultcase:
>  request.siteID = 1;
>  request.siteName = "Foo";
>  break;
> }
> 
> Then you can include templates or call cfc's with #request.siteName# in the 
> path, like:  template="#request.cfRoot#dsp/#request.siteName#/loginForm" /> or  component="myApp.#Request.siteName#" method="whatever">.  In my 
> implementation of this practice, I've got a shared database as well.  Parent 
> tables usually contain 'siteID' fields, foreign keys from a 'site' table that 
> contains the same definitions in the onRequestStart switch.  (I really ought 
> to dynamicize those site value definitions and param them to the app scope, 
> loaded from the database, come to think of it.)
> 
> If you really want to go looking for the purple banana, you can dynamically 
> include css, js, layout, and other files too, and get the most out of that 
> request.siteName variable. 
> 
> 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286467
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Running Multiple sites on 1 fusebox 5.1 app

2007-08-16 Thread Dave Anderson
>I'm sure I'm overlooking something obvious..
>
>If I want to run 2 different sites on 1 fusebox app.. How would I do that?
>
>For example, let's say I own the domain www.foo.com and www.bar.com. I'd
>like to direct people to one directory which will figure out what the
>URL is and then load the appropriate pages. However, I want 2
>directories. Foo and Bar so I can edit one site without worrying about
>the other messing up.
>
>Is there a somewhat simple way to do this or do I need to load in 2
>fusebox apps in different directories?


Put this in your Application.cfc's onRequestStart method:

switch (cgi.server_name) {
  case "bar.com": case "www.bar.com":
 request.siteID = 2;
 request.siteName = "Bar";
  defaultcase:
 request.siteID = 1;
 request.siteName = "Foo";
 break;
}

Then you can include templates or call cfc's with #request.siteName# in the 
path, like:  or .  In my implementation 
of this practice, I've got a shared database as well.  Parent tables usually 
contain 'siteID' fields, foreign keys from a 'site' table that contains the 
same definitions in the onRequestStart switch.  (I really ought to dynamicize 
those site value definitions and param them to the app scope, loaded from the 
database, come to think of it.)

If you really want to go looking for the purple banana, you can dynamically 
include css, js, layout, and other files too, and get the most out of that 
request.siteName variable. 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286445
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Raymond Camden
Heh ok - then let me be more clear -  I wish that the XML generated
from XML would just plain work for FIrefox and other browsers. MS
funky quotes break them. I would have assumed xmlFormat would have
removed them as well. Maybe I assume too much. I think most folks
would assume the same though.

On 8/7/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> > I didn't mean the Y per se - but like the MS Word Characters.
> > If they are valid - nothing seems to like them very much.
>
> That's purely a matter of the specific application reading or writing the
> XML.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Dave Watts
> I didn't mean the Y per se - but like the MS Word Characters. 
> If they are valid - nothing seems to like them very much.

That's purely a matter of the specific application reading or writing the
XML.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285633
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Raymond Camden
I didn't mean the Y per se - but like the MS Word Characters. If they
are valid - nothing seems to like them very much.

On 8/7/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Ah cool. So yeah - my little rant. Don't bother with
> > XMLFOrmat. Well, I won't say don't bother - but XMLFormat
> > will ignore certain invalid characters.
>
> This isn't a problem with XMLFormat. There are only five "built-in" XML
> character entities, and XMLFormat replaces those. Characters like "ý" are
> valid within XML.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285625
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Raymond Camden
Wait! I see it!

If you look at the response in Firebug, above the JSON you see:



Your code is injecting HTML in.

On 8/7/07, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Ah cool. So yeah - my little rant. Don't bother with XMLFOrmat. Well,
> I won't say don't bother - but XMLFormat will ignore certain invalid
> characters. This has caused me MUCH heartache.
>
> On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > We do have the ""
> > set in the code but it seems the problem is with some of our data in the 
> > database.
> >
> > Special chars like ý causes the generated xml file to be incomplete.
> >
> > By getting rid of these special chars the xml file was correctly generated 
> > and used by spry's dataset within fusebox.
> >
> > Thank you very much for your help, Ray.
> >
> > > Oh ok - did you forget your cfcontent perhaps?
> > >
> > > http://www.coldfusionjedi.com/index.
> > > cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry
> > >
> > >
> > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > > All right, Ray, Let me try to rephrase my question:
> > > > the following code does not result in a drop down list of the data
> > > within a fusebox application. and yet calling the fuseaction directly
> > > from the browser does show the generated xml data. Its working when
> > > the page is set outside of fusebox... I am not sure if there is a
> > > connection, but it is what it is...
> > > > (as an aside, all I am trying to do is to get a dynamically
> > > generated drop down list of authors using 'auto suggest')
> > > >
> > > > 
> > > > var dsProducts1 = new Spry.Data.XMLDataSet("index.
> > > cfm?fuseaction=testnames2","authors/author", { sortOnLoad: "name" });
> > > > 
> > > >
> > > > Thanks,
> > > >
> > > > Elena.
> > > >
> > > > > Yes to q1. Spry could care less what your back end is. Fusebox.
> > > > > Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves
> > > > > could make the XML  - it wouldn't matter.
> > > > >
> > > > > As to your second question, it didn't make sense to me. :)
> > > > >
> > > > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > > > > Is it possible to dynamically generate XML data set for Spry in
> > > > > Fusebox 5.1?
> > > > > > It is possible to do that outside of Fusebox, but not in
> > > Fusebox
> > > > > framework. Did anyone encounter this issue yet?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Elena.
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> >
> >
> > 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285624
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Dave Watts
> Ah cool. So yeah - my little rant. Don't bother with 
> XMLFOrmat. Well, I won't say don't bother - but XMLFormat 
> will ignore certain invalid characters.

This isn't a problem with XMLFormat. There are only five "built-in" XML
character entities, and XMLFormat replaces those. Characters like "ý" are
valid within XML.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Raymond Camden
Ah cool. So yeah - my little rant. Don't bother with XMLFOrmat. Well,
I won't say don't bother - but XMLFormat will ignore certain invalid
characters. This has caused me MUCH heartache.

On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> We do have the ""
> set in the code but it seems the problem is with some of our data in the 
> database.
>
> Special chars like ý causes the generated xml file to be incomplete.
>
> By getting rid of these special chars the xml file was correctly generated 
> and used by spry's dataset within fusebox.
>
> Thank you very much for your help, Ray.
>
> > Oh ok - did you forget your cfcontent perhaps?
> >
> > http://www.coldfusionjedi.com/index.
> > cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry
> >
> >
> > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > All right, Ray, Let me try to rephrase my question:
> > > the following code does not result in a drop down list of the data
> > within a fusebox application. and yet calling the fuseaction directly
> > from the browser does show the generated xml data. Its working when
> > the page is set outside of fusebox... I am not sure if there is a
> > connection, but it is what it is...
> > > (as an aside, all I am trying to do is to get a dynamically
> > generated drop down list of authors using 'auto suggest')
> > >
> > > 
> > > var dsProducts1 = new Spry.Data.XMLDataSet("index.
> > cfm?fuseaction=testnames2","authors/author", { sortOnLoad: "name" });
> > > 
> > >
> > > Thanks,
> > >
> > > Elena.
> > >
> > > > Yes to q1. Spry could care less what your back end is. Fusebox.
> > > > Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves
> > > > could make the XML  - it wouldn't matter.
> > > >
> > > > As to your second question, it didn't make sense to me. :)
> > > >
> > > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > > > Is it possible to dynamically generate XML data set for Spry in
> > > > Fusebox 5.1?
> > > > > It is possible to do that outside of Fusebox, but not in
> > Fusebox
> > > > framework. Did anyone encounter this issue yet?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Elena.
> > > > >
> > > > >
> > >
> > >
> > >
>
>
> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285621
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Elena Aminova
We do have the ""
set in the code but it seems the problem is with some of our data in the 
database.

Special chars like ý causes the generated xml file to be incomplete.

By getting rid of these special chars the xml file was correctly generated and 
used by spry's dataset within fusebox.

Thank you very much for your help, Ray.  

> Oh ok - did you forget your cfcontent perhaps?
> 
> http://www.coldfusionjedi.com/index.
> cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry
> 
> 
> On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > All right, Ray, Let me try to rephrase my question:
> > the following code does not result in a drop down list of the data 
> within a fusebox application. and yet calling the fuseaction directly 
> from the browser does show the generated xml data. Its working when 
> the page is set outside of fusebox... I am not sure if there is a 
> connection, but it is what it is...
> > (as an aside, all I am trying to do is to get a dynamically 
> generated drop down list of authors using 'auto suggest')
> >
> > 
> > var dsProducts1 = new Spry.Data.XMLDataSet("index.
> cfm?fuseaction=testnames2","authors/author", { sortOnLoad: "name" });
> > 
> >
> > Thanks,
> >
> > Elena.
> >
> > > Yes to q1. Spry could care less what your back end is. Fusebox.
> > > Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves
> > > could make the XML  - it wouldn't matter.
> > >
> > > As to your second question, it didn't make sense to me. :)
> > >
> > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > > Is it possible to dynamically generate XML data set for Spry in
> > > Fusebox 5.1?
> > > > It is possible to do that outside of Fusebox, but not in 
> Fusebox
> > > framework. Did anyone encounter this issue yet?
> > > >
> > > > Thanks,
> > > >
> > > > Elena.
> > > >
> > > >
> >
> >
> > 


~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285618
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Brian Kotek
Or any Fusebox or CF debugging, Fusebox layouts, etc?

On 8/7/07, Raymond Camden <[EMAIL PROTECTED]> wrote:
>
> Oh ok - did you forget your cfcontent perhaps?
>
>
> http://www.coldfusionjedi.com/index.cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry
>
>
> On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > All right, Ray, Let me try to rephrase my question:
> > the following code does not result in a drop down list of the data
> within a fusebox application. and yet calling the fuseaction directly from
> the browser does show the generated xml data. Its working when the page is
> set outside of fusebox... I am not sure if there is a connection, but it is
> what it is...
> > (as an aside, all I am trying to do is to get a dynamically generated
> drop down list of authors using 'auto suggest')
> >
> > 
> > var dsProducts1 = new 
> > Spry.Data.XMLDataSet("index.cfm?fuseaction=testnames2","authors/author",
> { sortOnLoad: "name" });
> > 
> >
> > Thanks,
> >
> > Elena.
> >
> > > Yes to q1. Spry could care less what your back end is. Fusebox.
> > > Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves
> > > could make the XML  - it wouldn't matter.
> > >
> > > As to your second question, it didn't make sense to me. :)
> > >
> > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > > Is it possible to dynamically generate XML data set for Spry in
> > > Fusebox 5.1?
> > > > It is possible to do that outside of Fusebox, but not in Fusebox
> > > framework. Did anyone encounter this issue yet?
> > > >
> > > > Thanks,
> > > >
> > > > Elena.
> > > >
> > > >
> >
> >
> >
>
> 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285590
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Raymond Camden
Oh ok - did you forget your cfcontent perhaps?

http://www.coldfusionjedi.com/index.cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry


On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> All right, Ray, Let me try to rephrase my question:
> the following code does not result in a drop down list of the data within a 
> fusebox application. and yet calling the fuseaction directly from the browser 
> does show the generated xml data. Its working when the page is set outside of 
> fusebox... I am not sure if there is a connection, but it is what it is...
> (as an aside, all I am trying to do is to get a dynamically generated drop 
> down list of authors using 'auto suggest')
>
> 
> var dsProducts1 = new 
> Spry.Data.XMLDataSet("index.cfm?fuseaction=testnames2","authors/author", { 
> sortOnLoad: "name" });
> 
>
> Thanks,
>
> Elena.
>
> > Yes to q1. Spry could care less what your back end is. Fusebox.
> > Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves
> > could make the XML  - it wouldn't matter.
> >
> > As to your second question, it didn't make sense to me. :)
> >
> > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > > Is it possible to dynamically generate XML data set for Spry in
> > Fusebox 5.1?
> > > It is possible to do that outside of Fusebox, but not in Fusebox
> > framework. Did anyone encounter this issue yet?
> > >
> > > Thanks,
> > >
> > > Elena.
> > >
> > >
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285583
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Elena Aminova
All right, Ray, Let me try to rephrase my question:
the following code does not result in a drop down list of the data within a 
fusebox application. and yet calling the fuseaction directly from the browser 
does show the generated xml data. Its working when the page is set outside of 
fusebox... I am not sure if there is a connection, but it is what it is...
(as an aside, all I am trying to do is to get a dynamically generated drop down 
list of authors using 'auto suggest')


var dsProducts1 = new 
Spry.Data.XMLDataSet("index.cfm?fuseaction=testnames2","authors/author", { 
sortOnLoad: "name" });


Thanks,

Elena.

> Yes to q1. Spry could care less what your back end is. Fusebox.
> Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves
> could make the XML  - it wouldn't matter.
> 
> As to your second question, it didn't make sense to me. :)
> 
> On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote:
> > Is it possible to dynamically generate XML data set for Spry in 
> Fusebox 5.1?
> > It is possible to do that outside of Fusebox, but not in Fusebox 
> framework. Did anyone encounter this issue yet?
> >
> > Thanks,
> >
> > Elena.
> >
> > 


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285582
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


  1   2   3   4   5   6   7   8   9   10   >