RE: Regular Expression

2004-12-13 Thread Jim Davis
> -Original Message-
> From: vishnu prasad [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 12:53 AM
> To: CF-Talk
> Subject: Regular Expression
> 
> Hi all
> need an help in requlaer expression
> i have a string like this
> 'this is samp'le data to in'sert'
> 
> now i need to replace the like this usign regular expression
> 'this is samp''le data to in''sert'

I don't think you need regular expressions (mush as I love the little
beasties).

If the string is not single quoted as in:

this is samp'le data to in'sert

you can just use the "replace" function like so:




If the string IS quoted as in:

'this is samp'le data to in'sert'

you can just add the following:





In other words, replace all single quotes with two single quotes (the
Replace() function), then give me the entire string minus the first and last
characters (the Mid() function).

This will create double single quotes at the beginning and end, then
immediately eliminate them.

You might also want to Trim() the strings before processing them if you're
unsure of the input.

Hope this helps.

Jim Davis



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187330
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: (Admin) Please test

2004-12-13 Thread James Holmes
Is that the latest version available? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, 13 December 2004 4:48 
To: CF-Talk
Subject: (Admin) Please test

All HoF resources are now 100% Blackstone. If you can do me a favor and test
out various links and sections, I'd appreciate it. I think I've done them
all, but there may be something I've missed. 
Thanks



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187332
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: (Admin) Please test

2004-12-13 Thread James Holmes
And likewise I can't comment on whether I'm in the trial or not, but it's
good to know the latest version (whichever that may be ;-) is being used on
real sites.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, 13 December 2004 3:13 
To: CF-Talk
Subject: Re: (Admin) Please test

Yep. I can't comment on any exact info about it, but as you can see it's
fast and solid. If your not on the trial for Blackstone, get on it now and
you'll be seeing the info I am. 

>Is that the latest version available? 
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Monday, 13 December 2004 4:48
>To: CF-Talk
>Subject: (Admin) Please test
>
>All HoF resources are now 100% Blackstone. If you can do me a favor and 
>test out various links and sections, I'd appreciate it. I think I've 
>done them all, but there may be something I've missed.
>Thanks



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187334
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: (Admin) Please test

2004-12-13 Thread Michael Dinowitz
It's as if something important is happening with the trial and we just can't 
tell anyone who's not on the trial what it is. :) 
Luckally, the trial is rather open to all who have the time to install and 
report on it. I'm hoping some here who are not on the trial get the hint and 
get on now. 
As for it being live, FA has had it live for a while now while I tested out a 
lot of stuff for performance and use. Got some tight code out of the tests and 
was going to move HoF over when the latest news hit. Gave me more reason to do 
so. I'm glad I did, though there were some funky hacks that I wrote over the 
years that had to be re-examined. all in all, I'm very happy with the results.

>And likewise I can't comment on whether I'm in the trial or not, but it's
>good to know the latest version (whichever that may be ;-) is being used on
>real sites.
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Monday, 13 December 2004 3:13 
>To: CF-Talk
>Subject: Re: (Admin) Please test
>
>Yep. I can't comment on any exact info about it, but as you can see it's
>fast and solid. If your not on the trial for Blackstone, get on it now and
>you'll be seeing the info I am.

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187335
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Murat Demirci
I see ColdFusion is powerfull since we are using and seeing the power. Maybe
it needs an IDE that improves code/architecture quality and productivity.

However it is really expensive for small and medium projects. Our company
need to use other technologies for small/medium projects, so we have
experience of other technologies. And we can continue to use the others for
large projects...

I mean there are strategical mistakes with CF prices currently which will
probably cause to die of CF in the future. Macromedia should review the
market and prices again and again...
Murat.

> -Original Message-
> From: Mike Kear [mailto:[EMAIL PROTECTED] 
> Sent: Monday, December 13, 2004 3:37 AM
> To: CF-Talk
> Subject: Re: CF vs ASP.NET! GET YOUR FRESH POPCON!!
> 
> Regarding the relative costs of the "expensive" ColdFusion and the
> "free" other technologies, I have  a statement from a colleague in
> another organisation, which I'll be posting separately.  I told him
> about a site I'd just about finished in ColdFusion and he told me he
> was amazed.  That I'd done my site in about 70 hours with another
> 40hours or so to finish it , and he had done a similar site in "Free"
> PHP - it had taken two of them (part time) two years to build.
> 
> Let's assume for the sake of argument that all people working on these
> sites are costing $50/hour either as paid contractors or as employees
> including on-costs.I built my site, using "expensive" ColdFusion
> for $3500 plus a cold fusion server at perhaps $1200 - total $4700.
> 
> They built their site using "free" PHP for (say) two people at 600
> hours each - that's $60,000!! But they got the server software for
> free.
> 
> Saved a big bunch there by going with the 'free' one didn't they.
> 
> .Cheers
> Mike Kear
> Windsor, NSW, Australia
> AFP Webworks
> http://afpwebworks.com
> .com,.net,.org domains from AUD$20/Year
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187337
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: (Admin) Please test

2004-12-13 Thread Aaron DC
I clicked the Message link (> Message:
http://www.houseoffusion.com/lists.cfm/link=i:4:187331 below) and it
returns:

 No messages found for this thread ID.

The URL was translated to
http://www.houseoffusion.com/cf_lists/messages.cfm/threadid:187331/forumid:4

Netscape, Win2K

Aaron

- Original Message -
From: "Michael Dinowitz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, December 13, 2004 7:48 PM
Subject: (Admin) Please test


> All HoF resources are now 100% Blackstone. If you can do me a favor and
test out various links and sections, I'd appreciate it. I think I've done
them all, but there may be something I've missed.
> Thanks
>
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187338
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Mark Drew
I think I am going to switch to COBOL or PASCAL.. not sure this CF
shaahoey will ever take off.

ASP.NET? isnt that a website about snakes that are hidden in pretty baskets?

Ho hum.

Flame wars are so invigorating dont you think?

CFMX smells of eldeberries.

-- 
Mark Drew

coldfusion and cfeclipse blogged:
http://cybersonic.blogspot.com/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187339
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


(Admin) Please test

2004-12-13 Thread Michael Dinowitz
All HoF resources are now 100% Blackstone. If you can do me a favor and test 
out various links and sections, I'd appreciate it. I think I've done them all, 
but there may be something I've missed. 
Thanks

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187331
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Micha Schopman
Cmon, step of that pre defined CF idea. It makes a discussion very
difficult, when people are rusty in their current web application
platform, and do not try to be open minded about other possible ways.
The flamewar part is long gone (if there was a flamewar, it was merely a
sharp discussion).

Say to a PHP engineer CF takes away PHP market or just totally without
argument "PHP sucks" and you'll get the same effect, people with high
blood pressures, smashing their keyboards, getting all sweaty, just
eager proving their right and trying to win the battle with attacking
people with accusations instead of arguments ;) It happens on all tech
boards. It isn't necessary :)

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187341
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: (Admin) Please test

2004-12-13 Thread Michael Dinowitz
Yep. I can't comment on any exact info about it, but as you can see it's fast 
and solid. If your not on the trial for Blackstone, get on it now and you'll be 
seeing the info I am. 

>Is that the latest version available? 
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Monday, 13 December 2004 4:48 
>To: CF-Talk
>Subject: (Admin) Please test
>
>All HoF resources are now 100% Blackstone. If you can do me a favor and test
>out various links and sections, I'd appreciate it. I think I've done them
>all, but there may be something I've missed. 
>Thanks

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187333
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Micha Schopman
I guess they did something terribly wrong there, PHP is a very simple
language, you could even compare the learning curve to CF. I build my
apps as fast with CF as PHP or ASP (C# other story), so I must guess
there have been other issues except the application server used.


Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187336
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Cliff Meyers
Subject: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE
From: Dave Watts <[EMAIL PROTECTED]>
Date: Sun, 12 Dec 2004 19:48:18 -0500
Thread:
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=37080&forumid=4#187302

> Perhaps there's a problem with the Content-Disposition header. You might
> want to try "inline" instead of "attachment".

Dave,


Thanks for the recommendation.  Unfortunately I've tried that and it
doesn't work either.  I tried varying the type in CFCONTENT as well and
continued to get the same result over and over.  It's maddening... this
behavior only slows up when you mix Windows IE, SSL and IIS.  For cripe's
sake, it works on the *Mac* flawlessly!

Can anyone recommend a good tool (either standalone or plugin for IE) that
will allow me to see the HTTP response headers for a particular request? 
That way I could at least compare the headers generated for a "regular"
file download and then tweak my CFHEADER statement(s) to match.  Thanks a
bunch.


-Cliff

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187342
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Jim Davis
For most small to medium projects I'm not sure why you would ever want to
buy CF anyway - hosting seems the way to.  Since the development servers are
free you can create and publish a CF application for very little money just
as you would anything else.

In my experience the cost of CF server (at $1200) is insignificant in the
scheme of any project where they'll be buying and managing their own
servers.

Jim Davis

> -Original Message-
> From: Murat Demirci [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 3:30 AM
> To: CF-Talk
> Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
> 
> I see ColdFusion is powerfull since we are using and seeing the power.
> Maybe
> it needs an IDE that improves code/architecture quality and productivity.
> 
> However it is really expensive for small and medium projects. Our company
> need to use other technologies for small/medium projects, so we have
> experience of other technologies. And we can continue to use the others
> for
> large projects...
> 
> I mean there are strategical mistakes with CF prices currently which will
> probably cause to die of CF in the future. Macromedia should review the
> market and prices again and again...
> Murat.
> 
> > -Original Message-
> > From: Mike Kear [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 13, 2004 3:37 AM
> > To: CF-Talk
> > Subject: Re: CF vs ASP.NET! GET YOUR FRESH POPCON!!
> >
> > Regarding the relative costs of the "expensive" ColdFusion and the
> > "free" other technologies, I have  a statement from a colleague in
> > another organisation, which I'll be posting separately.  I told him
> > about a site I'd just about finished in ColdFusion and he told me he
> > was amazed.  That I'd done my site in about 70 hours with another
> > 40hours or so to finish it , and he had done a similar site in "Free"
> > PHP - it had taken two of them (part time) two years to build.
> >
> > Let's assume for the sake of argument that all people working on these
> > sites are costing $50/hour either as paid contractors or as employees
> > including on-costs.I built my site, using "expensive" ColdFusion
> > for $3500 plus a cold fusion server at perhaps $1200 - total $4700.
> >
> > They built their site using "free" PHP for (say) two people at 600
> > hours each - that's $60,000!! But they got the server software for
> > free.
> >
> > Saved a big bunch there by going with the 'free' one didn't they.
> >
> > .Cheers
> > Mike Kear
> > Windsor, NSW, Australia
> > AFP Webworks
> > http://afpwebworks.com
> > .com,.net,.org domains from AUD$20/Year
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187343
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Chris Norloff
ieHTTPheaders
http://www.blunck.info/iehttpheaders.html

I haven't tried it myself, but it's supposed to do what you want.

Here's one for Mozilla, in case you're interested:
http://livehttpheaders.mozdev.org/
I had to re-install Mozilla after using it.

Chris Norloff

-- Original Message --
From: "Cliff Meyers" <[EMAIL PROTECTED]>

>Can anyone recommend a good tool (either standalone or plugin for IE) that
>will allow me to see the HTTP response headers for a particular request? 
>That way I could at least compare the headers generated for a "regular"
>file download and then tweak my CFHEADER statement(s) to match.  Thanks a
>bunch.
>
>
>-Cliff
>
>

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187344
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Limiting SQL Results

2004-12-13 Thread James Smith
Ok, heres the thing.  I have a table (actually multiple tables joined but
for simplicity here we will call it one table) that looks something like...

ID  ISBN
--  
 1 1
 2 1
 3 1
 4 1
 5 2
 6 2
 7 2
 8 3
 9 4
10 4
11 4
12 1
13 5

In the results I need no more than 2 of any ISBN, so for the above data I
need the results of the query to look like...

ID  ISBN
--  
 1 1
 2 1
 5 2
 6 2
 8 3
 9 4
10 4
13 5

The rest of thae data is irelevent, I don't care which two are returned.

I am using MySQL on 2k3 server.

Any help on the SQL here?

--
Jay


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187345
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Ben Rogers
> Can anyone recommend a good tool (either standalone or plugin for IE) that
> will allow me to see the HTTP response headers for a particular request?
> That way I could at least compare the headers generated for a "regular"
> file download and then tweak my CFHEADER statement(s) to match.  Thanks a
> bunch.

Try Fiddler.

  http://www.fiddlertool.com

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187346
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: odd.. cfoutput group and cfloop over query

2004-12-13 Thread Umer Farooq
Thanks for clarification...

Did not find any posts.. matching my request.. so posted..

just a FYI.. nested loops over queries worked fine for me.. in MX6.1.. 
infact I still have 2 systems without the 6.1 updater applied.. on which 
I tested the code.. however I think this point has been discussed 101X 
on this list.. so there goes 102 times.. :-)


--
Regards,

Pascal Peters wrote:
> This has always been like this (and must have been discussed a 100x on
> this list). When you have nested loops over queries (it doesn't matter
> if you are using cfoutput or cfloop), coldfusion looses the reference to
> the first query when looping the second. This means that you can't drop
> the prefix (which you shouldn't in the first place) and that
> q1.currentRow will always return 1 (and q1.column will always return the
> value from the first record. You have already found the solution for
> that problem: set the value to a variable before the second loop.
> 
> If you have a lot of fields from the first query to access in the second
> loop, just save the currentRow in a variable and use array notation for
> the first query.
> 
> 
>   
>   
> 
> do something
>   
>   
> 
> 
> Pascal
> 
> 
>>-Original Message-
>>From: Umer Farooq [mailto:[EMAIL PROTECTED]
>>Sent: 10 December 2004 02:54
>>To: CF-Talk
>>Subject: odd.. cfoutput group and cfloop over query
>>
>>Hi,
>>
>>I'm getting this odd.. problem.. when doing..
>>
>>
>>   
>> 
>>  SOMETHING
>> 
>>   
>>
>>
>>in the loop QUERYONE.XID will keep the first row value.
>>
>>if I remove the prefix from XID.. it gives me an error saying its
>>not defined. Which is odd by itself.
>>
>>I can get away from the error by setting a variable.. before the
>>loop and then compare on it..
>>
>>Any thoughts on this..
> 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187348
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Murat Demirci
There are no professional CF hosting in Turkey :( So we always need to buy
CF to host our projects which should be hosted at different geographical
locations. We're using similar approach for most projects, because we
generally solve all of the problems of the projects (providing hosting,
maintenance, security, content contribution solutions for years). Sometimes
our customers wants to host the site their own servers which requires a
separate ColdFusion license. These conditions force us to shift other
technologies, so maybe I cannot see the future of CF properly due to these
conditions. Its popularity is different in Turkey.

Finally, we have some plans for next year to setup a small CF hosting
company in Turkey :) (Any suggestions to setup a CF hosting company are
welcome) This will help us to continue with CF.
Murat.

> -Original Message-
> From: Jim Davis [mailto:[EMAIL PROTECTED] 
> Sent: Monday, December 13, 2004 3:53 PM
> To: CF-Talk
> Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
> 
> For most small to medium projects I'm not sure why you would 
> ever want to
> buy CF anyway - hosting seems the way to.  Since the 
> development servers are
> free you can create and publish a CF application for very 
> little money just
> as you would anything else.
> 
> In my experience the cost of CF server (at $1200) is 
> insignificant in the
> scheme of any project where they'll be buying and managing their own
> servers.
> 
> Jim Davis
> 
> > -Original Message-
> > From: Murat Demirci [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 13, 2004 3:30 AM
> > To: CF-Talk
> > Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
> > 
> > I see ColdFusion is powerfull since we are using and seeing 
> the power.
> > Maybe
> > it needs an IDE that improves code/architecture quality and 
> productivity.
> > 
> > However it is really expensive for small and medium 
> projects. Our company
> > need to use other technologies for small/medium projects, so we have
> > experience of other technologies. And we can continue to 
> use the others
> > for
> > large projects...
> > 
> > I mean there are strategical mistakes with CF prices 
> currently which will
> > probably cause to die of CF in the future. Macromedia 
> should review the
> > market and prices again and again...
> > Murat.
> > 
> > > -Original Message-
> > > From: Mike Kear [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, December 13, 2004 3:37 AM
> > > To: CF-Talk
> > > Subject: Re: CF vs ASP.NET! GET YOUR FRESH POPCON!!
> > >
> > > Regarding the relative costs of the "expensive" ColdFusion and the
> > > "free" other technologies, I have  a statement from a colleague in
> > > another organisation, which I'll be posting separately.  
> I told him
> > > about a site I'd just about finished in ColdFusion and he 
> told me he
> > > was amazed.  That I'd done my site in about 70 hours with another
> > > 40hours or so to finish it , and he had done a similar 
> site in "Free"
> > > PHP - it had taken two of them (part time) two years to build.
> > >
> > > Let's assume for the sake of argument that all people 
> working on these
> > > sites are costing $50/hour either as paid contractors or 
> as employees
> > > including on-costs.I built my site, using "expensive" 
> ColdFusion
> > > for $3500 plus a cold fusion server at perhaps $1200 - 
> total $4700.
> > >
> > > They built their site using "free" PHP for (say) two people at 600
> > > hours each - that's $60,000!! But they got the server software for
> > > free.
> > >
> > > Saved a big bunch there by going with the 'free' one didn't they.
> > >
> > > .Cheers
> > > Mike Kear
> > > Windsor, NSW, Australia
> > > AFP Webworks
> > > http://afpwebworks.com
> > > .com,.net,.org domains from AUD$20/Year
> > >
> > >
> > 
> > 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187349
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread S . Isaac Dealey
> On Mon, 13 Dec 2004 01:02:18 -0500, Jim Davis
> <[EMAIL PROTECTED]> wrote:
>> I'm not sure how this will be implemented in BlackStone -
>> Isaac's post was
>> the first I'd heard of it.  But it is doable in Java (of
>> course) and it
>> wouldn't be all that hard to create a CFC to kick
>> something like this off in
>> CFMX (several people on this list have already done it
>> I'm sure).
>>
>> If they're going to standardize it in BlackStone, more
>> power to them, but
>> HOW they're going to do it I'm not sure.  Will they only
>> support "orphaned"
>> threads (threads which are created and launched but can't
>> communicate back
>> to the parent thread) or will they support a more
>> complete model.

> Go read Damon Cooper's blog - he goes into quite a bit of
> detail about
> how this will work and, I believe, gives a code example.

Yep, I've heard that mentioned in the last few weeks, I just haven't
gotten around to actually going and reading it.


s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187352
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Micha Schopman
Prior to IE6, the boxmodel of IE was build upon the idea
margin+padding+border were included in the width. You are able to change
boxmodel rendering using the appropriate css rules, (mostly you just
need border or padding box).

The box model can be workaround by not using width/height in combination
with padding/margin. So add an extra nesting to prevent boxmodel issues,
or change the boxmodel rendering with the css properties created for it.

This model however can be suppressed by forcing IE into quirks. I would
recommend it to everyone, since standards mode is to buggy for
production.


Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187355
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Assistenza Sito
"TIm Uzzanti : Someone mentioned ediet.com which has a traffic ranking
of around 280,000 and in comparison CrystalTech is around 23,000.
Microsoft.com which is in the top 10 is using ASP.NET and Dell.COM
which is in the top 100 is also using ASP.NET.."

Forta has already blogged this, but i think it's a useful repost.
Speaking of top internet websites, the hottest social networking site
out there, Myspace.com is growing like crazy, 4,5 million memebers
declared in the last  filing (it's an intermix media property, mix).
>From a Bambi Francisco article on CBS Marketwatch on december 9
(MySpace value unlocked) : "After all, MySpace has twice as many
unique visitors than Friendster had when the social network site was
valued... Mark Pincus, who started Tribe Network, a Web site that's
positioning itself as a classifieds and local information guide, said
MySpace could be worth about $50 million. That's assuming the 3
million unique visitors go to the site 100 times, on average. That
would be 300 million page views. " Well, 300 million page views, not
so bad, someone can inform Tim Uzzanti that there're  actually busy
websites built in CF :-)


On Sun, 12 Dec 2004 08:16:04 -0400, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> I'm going to bring this one in from the Blackstone Beta thread yesterday 
> because I think we all need to talk about this. I'm not going to rehash most 
> of what's been said in that thread.
> 
> ASP.NET is taking market away from CF! WHY? Will Blackstone fix the shift 
> that's taking place? I say no! CF is still outrageous to purchase. The 
> licensing for the .NET SDK is free as is the licensing to deploy. I'm not 
> trying to attack CF here, I'm really not. I'm just trying to wake people up, 
> because I think we've been lulled to sleep by Blackstone. Blackstone is not 
> equivalent to .NET in power and performance. Yeah, maybe it's easy for us to 
> code our simple CFML, and yeah that  is pretty neat, but there 
> are a few factors making CF'ers like me change hats, and put on the .NET one! 
> Will MM ever come up with a true development language like .NET? Are they 
> going to keep putting more icing on the same cake, while Microsoft bakes 
> fresh ones?
> 
> I'll plug Tim Uzzanti's comments below. I think the man would know something 
> about the subject, plus he'll tend to be more honest since he's not on our 
> side of the business.
> 
> One more thing. Please don't attack me! I'm just the messenger!
> 
> Tim Uzzanti:
> "If you believe CF can handle the same traffic loads that .NET can handle, 
> then you are completely confused on the technologies and their 
> infrastructure. I have no idea if 75% of fortune 100% companies use CF, I 
> would love to see some documentation for that, but the Fortune 100 companies 
> ARE NOT the Top 100 sites on the Internet either!
> 
> Asking someone who maintains and manages 10,000 hosted applications on Cold 
> Fusion and someone who manages thousands of .NET applications would probably 
> give you a pretty good opinion of what they see? Is it in my BEST interest to 
> tell a customer not to use CF, or is it in my best interest to suggest what 
> might be the best technologies from my experiences on their requirements?
> 
> Someone mentioned ediet.com which has a traffic ranking of around 280,000 and 
> in comparison CrystalTech is around 23,000. Microsoft.com which is in the top 
> 10 is using ASP.NET and Dell.COM which is in the top 100 is also using ASP.NET
> 
> Regarding the back end of Cold Fusion: CFMX is much better than CF5 but still 
> has many limitations and quirks that we have see and deal with every day. I 
> am not saying that CF doesn't have the ability to grow with larger sites 
> because it has features like the ability to cluster machines and the classes 
> are compiled etc. What I am saying is, if you would like to build an 
> application that can last longer on certain hardware or run more optimally, 
> CF is not the way to go! Cold Fusion MX out of the box has a setting to 
> support no more than 10 simultaneous requests at one time. Macromedia 
> suggestions that you never exceed 40 and this isn't optimal for a large scale 
> sites. There are other settings and issues from a server administration 
> standpoint that hinder CFMX from out performing .NET
> 
> There are other factors that one needs to think about when writing an 
> application. Think about the ability to use Threads in .NET. Depending on 
> your application, sitting and processing 10 requests back to back may take 5 
> minutes but if you had the ability to run the 10 tasks concurrently you may 
> be able to respond back to the customer in 30 seconds. You have to realize, 
> .NET isn't just a web based language, it is a Development language for 
> desktop and server applications as well. CrystalTech uses SmarterMail which 
> is built on the .NET and it outperforms all other mail servers that are built 
> on C and C++.
> 
> One last comment that I would also provid

Using a J2EE Application Server

2004-12-13 Thread Andrew Dixon
Hi All.

I'm looking for a little bit of information. In what case would you
use CFMX on a J2EE platform? We current have a server using CFMX &
Apache on RedHat. What does using the J2EE platform give me and do the
J2EE replace Apache as the webserver or do you still need that?

Thanks for any information anyone can provide.

Best Regards

Andrew.

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187358
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Spammer fills out my order form - how to stop

2004-12-13 Thread Kevin Graeme
Be aware that CAPTCHA techniques are not accessible and will prevent some
valid users from using your site. Because of this, the W3C recommends
against them (though they don't offer a viable alternative).

It's also important to know that they are vulnerable to a sort of "man in
the middle" attack, though the likelihood of a smaller site being targeted,
and just for spam, is pretty low.

It's a technique, just not a silver bullet.

-Kevin

> -Original Message-
> From: Joe Rinehart [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, December 11, 2004 7:33 AM
> To: CF-Talk
> Subject: Re: Spammer fills out my order form - how to stop
> 
> Hey Rick,
> 
> It's called a CAPTCHA.  Doug Hughes at www.alagad.com has a 
> pretty cheap CFC that generates CAPTCHA images, or there's 
> the low-fi way of doing it:  premake 100 or so of your own in 
> photoshop.
> 
> -joe


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187359
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


variables... to prefix or not to prefix

2004-12-13 Thread Tangorre, Michael
Just out of curiosity, who prefixes their variables with a data type
abbreviation...
 
integer - intVariableName
numeric - numVariableName
string - strVariableName
structure - stcVariableName
array - arrVariableName
object - objVariableName
query - qryVariableName
etc...
 
We are ever expanding our best practices and guideline documents and
this is an agenda point up for discussion soon... I want to some in with
some pros and cons.
At first glance, the code becomes more descriptive but I do see and have
run into, many problems such as passing around URL params.. do you
really want to give anymore information than necessary into the type of
data within a variable? What about if you encrypt variables?... The
number 1 could be viewed as URL.intSomeId but once encrypted it is no
longer an interger it is a string URL.strSomeId, this only touches the
tip here.
 
Anyone have anything to offer on this topic?
 
Thanks.
 
Mike


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187360
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: variables... to prefix or not to prefix

2004-12-13 Thread Charlie Griefer
I don't normally preface the vars...but I do try to be descriptive
enough in the var name that it's evident what the var is.  For arrays
and structs in particular, i'll do something like "empArray" or
"empStruct".

But as far as explicitly identifying strings, ints, etc...not really.  

empName is pretty clearly a string.  empID is clear enough (IMO) that
it's a numeric value.  etc.


On Mon, 13 Dec 2004 10:02:39 -0500, Tangorre, Michael
<[EMAIL PROTECTED]> wrote:
> Just out of curiosity, who prefixes their variables with a data type
> abbreviation...
> 
> integer - intVariableName
> numeric - numVariableName
> string - strVariableName
> structure - stcVariableName
> array - arrVariableName
> object - objVariableName
> query - qryVariableName
> etc...
> 
> We are ever expanding our best practices and guideline documents and
> this is an agenda point up for discussion soon... I want to some in with
> some pros and cons.
> At first glance, the code becomes more descriptive but I do see and have
> run into, many problems such as passing around URL params.. do you
> really want to give anymore information than necessary into the type of
> data within a variable? What about if you encrypt variables?... The
> number 1 could be viewed as URL.intSomeId but once encrypted it is no
> longer an interger it is a string URL.strSomeId, this only touches the
> tip here.
> 
> Anyone have anything to offer on this topic?
> 
> Thanks.
> 
> Mike
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187361
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Steve Brownlee
>> One more thing. Please don't attack me! I'm just the messenger!

Ignorance is bliss, my friend.  While you're at it, why not throw a message
around claiming that the Democrats are better than Republicans, or espouse
the ideological supremacy of the Lutheran church over the Catholics.

Flame-mongering is pure evil... please stop it.


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187362
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CF5 Registry Errors

2004-12-13 Thread Steve Logan
Had 2 incidents on a CF5 / Windows 2000 server this morning that are
making me real neverous.

1)  Went to add a new CFX tag in the CFAdmin and got the following
error message:

Error Diagnostic Information
Unable to set the registry key
hkey_local_machine\software\allaire\coldfusion\currentversion\CustomTags\

A problem was encountered trying to access the system registry. Error
number 2 occurred - The specified registry key does not exist.


Date/Time: 12/13/04 10:24:47
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Remote Address: 127.0.0.1
HTTP Referrer: 
http://127.0.0.1/CFIDE/Administrator/extensions/cfxedit.cfm?type=cpp
Query String: type=cpp

Then, when I got out of the error ALL of my installed CFX tags are gone.

Tried a restart on the machine, and when it came back up, I tried to
get back into the CF Admin and it spawned a Windows Meida player which
gave an error that index(1).asx was an invalid media stream.

When I went into the IIS Admin all of the sites in IIS admin were
stopped, and when I tried to start them I kept getting an error "the
IP address is already in use".

In services I stopped all of the Windows Meida services and got that
"fixed", so at least sites that don't require CFX tags are running.

Before I panic and drop the $499 to Allaire for a single incident of
support, can anyone give any insight on this?

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187368
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread S . Isaac Dealey
> If they're going to standardize it in BlackStone, more
> power to them, but
> HOW they're going to do it I'm not sure.  Will they only
> support "orphaned"
> threads (threads which are created and launched but can't
> communicate back
> to the parent thread) or will they support a more complete
> model.

I'm guessing that they will support being able to get a response from
your spawned threads.

> As I said the actual practical uses for this kind of thing
> in a web
> application aren't all that common (think of the really
> good CF or ASP
> applications you've seen - none of them support this - I
> may be wrong, but I
> don't think PHP supports it either).  So I would bet it
> will pretty
> simplistic support, not a full thread management model,
> but that's just a
> guess.

PERL has supported spawning threads for a while. Not sure if it's been
since the beginning or why it was included, but I know it's been
available to them. Though I remember hearing that it's also sort of
like handing a howitzer to a 10 yr old -- hard to know if the spawned
PERL threads will consume the server if you're not the one programming
them.


s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187351
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF5 Registry Errors

2004-12-13 Thread James Holmes
Allaire? That'll be an interesting support call... 

-Original Message-
From: Steve Logan [mailto:[EMAIL PROTECTED] 
Sent: Monday, 13 December 2004 11:24 
To: CF-Talk
Subject: CF5 Registry Errors

[snip]

Before I panic and drop the $499 to Allaire for a single incident of
support, can anyone give any insight on this?


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187370
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Ben Rogers
> IE incorrectly implements the CSS box model, while FF (and other
> browsers) gets it right.  Specifically, IE assumes the width you
> specify is for the actual content area of the elements box, while the
> CSS spec says that the width you specify is for the entire box
> (including padding, border, and margin).

You've got that backwards. In CSS, the width does not include padding,
border, and margin. In older versions of Internet Explorer, the padding and
border were included in the width.

> So if you've got 5px of
> margin, a 1px border, and 4px of padding, your elements will be 10px
> wider than they should be.  Or, if you're looking at it from the IE
> side, rather than the standards side, a standards compliant browser
> will show your boxes 10px smaller than you're used to.

I believe this was all true pre version 6. It's also true if you're using
quirks mode (see doctype switching).

For more information:

 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html
/cssenhancements.asp

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187353
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using a J2EE Application Server

2004-12-13 Thread Robertson-Ravo, Neil (RX)
We too are having these issues.and we are contemplating the move to
J2EE...Have you ran the IIS Lockdown tool?



-Original Message-
From: Andrew Dixon [mailto:[EMAIL PROTECTED] 
Sent: 13 December 2004 15:31
To: CF-Talk
Subject: Re: Using a J2EE Application Server

Hi.

We are basically looking for a more robust platform on which to run
CF. We have a site with about 500,000 page view per day and every now
and again the CF server service will die and the only way we have
found to get it running again is to kill the CF server threads (using
the kill command) and then start it again, trying to stop the server
doesn't work. Some else suggested to a college that using CF on the
J2EE platform might help make it more robust, but we have zero
experience of the J2EE platform and we where using looking for a basic
intro into work it is, does and whether or not it might help.

I understand the Apache is not a J2EE server, but I was wondering if
the J2EE server replaces the web server (like Apache) or if you still
use a web server as well.

The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
average load on the machine never gets to high, but the CF server just
appears to full over sometimes. We are using CFMX6.1 + Updater, which
has improved the stability slightly. Any ideas?

Andrew


On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
<[EMAIL PROTECTED]> wrote:
> Hi Andrew,
> Not sure what you're asking...Apache is not a J2EE server, however a J2EE
server like Tomcat or JBoss can ride on top of Apache. Are you looking for a
full blown J2EE server that does EJB or just a JSP Container? One thing a
J2EE server architecture will give you is force you to separate presentation
and logic, but the same can be said about Fusebox I suppose.
> 
> Can you give more info?
> 
> Thanks,
> Michael
> 
> 
> 
> 
> -Original Message-
> From: Andrew Dixon <[EMAIL PROTECTED]>
> Sent: Dec 13, 2004 9:56 AM
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Using a J2EE Application Server
> 
> Hi All.
> 
> I'm looking for a little bit of information. In what case would you
> use CFMX on a J2EE platform? We current have a server using CFMX &
> Apache on RedHat. What does using the J2EE platform give me and do the
> J2EE replace Apache as the webserver or do you still need that?
> 
> Thanks for any information anyone can provide.
> 
> Best Regards
> 
> Andrew.
> 
> 
> 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187372
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF5 Registry Errors

2004-12-13 Thread Mark Drew
Has someone installed another webserver? if the ip is already in use
have you gone to localhost to see what is there? also are you running
a virus checker?

MD


On Mon, 13 Dec 2004 23:34:17 +0800, James Holmes
<[EMAIL PROTECTED]> wrote:
> Allaire? That'll be an interesting support call...
> 
> 
> 
> -Original Message-
> From: Steve Logan [mailto:[EMAIL PROTECTED]
> Sent: Monday, 13 December 2004 11:24
> To: CF-Talk
> Subject: CF5 Registry Errors
> 
> [snip]
> 
> Before I panic and drop the $499 to Allaire for a single incident of
> support, can anyone give any insight on this?
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187373
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Andrew Dixon
We are on a Redhat Linux box, so the IIS Lockdown tool is not going to
do much, but I have used on a Window box before and it causes lots of
problems!!!

Andrew.


On Mon, 13 Dec 2004 15:30:12 -, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> We too are having these issues.and we are contemplating the move to
> J2EE...Have you ran the IIS Lockdown tool?
> 
> 
> 
> 
> -Original Message-
> From: Andrew Dixon [mailto:[EMAIL PROTECTED]
> Sent: 13 December 2004 15:31
> To: CF-Talk
> Subject: Re: Using a J2EE Application Server
> 
> Hi.
> 
> We are basically looking for a more robust platform on which to run
> CF. We have a site with about 500,000 page view per day and every now
> and again the CF server service will die and the only way we have
> found to get it running again is to kill the CF server threads (using
> the kill command) and then start it again, trying to stop the server
> doesn't work. Some else suggested to a college that using CF on the
> J2EE platform might help make it more robust, but we have zero
> experience of the J2EE platform and we where using looking for a basic
> intro into work it is, does and whether or not it might help.
> 
> I understand the Apache is not a J2EE server, but I was wondering if
> the J2EE server replaces the web server (like Apache) or if you still
> use a web server as well.
> 
> The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
> average load on the machine never gets to high, but the CF server just
> appears to full over sometimes. We are using CFMX6.1 + Updater, which
> has improved the stability slightly. Any ideas?
> 
> Andrew
> 
> On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
> <[EMAIL PROTECTED]> wrote:
> > Hi Andrew,
> > Not sure what you're asking...Apache is not a J2EE server, however a J2EE
> server like Tomcat or JBoss can ride on top of Apache. Are you looking for a
> full blown J2EE server that does EJB or just a JSP Container? One thing a
> J2EE server architecture will give you is force you to separate presentation
> and logic, but the same can be said about Fusebox I suppose.
> >
> > Can you give more info?
> >
> > Thanks,
> > Michael
> >
> >
> >
> >
> > -Original Message-
> > From: Andrew Dixon <[EMAIL PROTECTED]>
> > Sent: Dec 13, 2004 9:56 AM
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Subject: Using a J2EE Application Server
> >
> > Hi All.
> >
> > I'm looking for a little bit of information. In what case would you
> > use CFMX on a J2EE platform? We current have a server using CFMX &
> > Apache on RedHat. What does using the J2EE platform give me and do the
> > J2EE replace Apache as the webserver or do you still need that?
> >
> > Thanks for any information anyone can provide.
> >
> > Best Regards
> >
> > Andrew.
> >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187375
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: variables... to prefix or not to prefix

2004-12-13 Thread Joe Rinehart
I tend to prefix only complex types:

qQuery
sStruct
aArray
oObjectInstance

-joe


On Mon, 13 Dec 2004 10:02:39 -0500, Tangorre, Michael
<[EMAIL PROTECTED]> wrote:
> Just out of curiosity, who prefixes their variables with a data type
> abbreviation...
> 
> integer - intVariableName
> numeric - numVariableName
> string - strVariableName
> structure - stcVariableName
> array - arrVariableName
> object - objVariableName
> query - qryVariableName
> etc...
> 
> We are ever expanding our best practices and guideline documents and
> this is an agenda point up for discussion soon... I want to some in with
> some pros and cons.
> At first glance, the code becomes more descriptive but I do see and have
> run into, many problems such as passing around URL params.. do you
> really want to give anymore information than necessary into the type of
> data within a variable? What about if you encrypt variables?... The
> number 1 could be viewed as URL.intSomeId but once encrypted it is no
> longer an interger it is a string URL.strSomeId, this only touches the
> tip here.
> 
> Anyone have anything to offer on this topic?
> 
> Thanks.
> 
> Mike
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187377
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Michael Greenberg
Ok I gotcha now :)

Technically yes J2EE server can function as a webserver, but I wouldn't 
recommend doing that because its really not what it's meant to do.

As far as the comment that was made to you it seems like they are confusing 
J2EE and Apache. Yes you could have CF ride on top of Apache however I don't 
think you can serve it on top of that. I don't think there are connectors 
available to do so. (I did a quick look up for Tomcat, JBoss, Weblogic, or 
WebSphere and didnt see them available)

I definitely think that if you wanted to do anything on J2EE server I'd 
recommend using JSPs and Servlets.

Thanks,
Michael

-Original Message-
From: Andrew Dixon <[EMAIL PROTECTED]>
Sent: Dec 13, 2004 10:31 AM
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Re: Using a J2EE Application Server

Hi.

We are basically looking for a more robust platform on which to run
CF. We have a site with about 500,000 page view per day and every now
and again the CF server service will die and the only way we have
found to get it running again is to kill the CF server threads (using
the kill command) and then start it again, trying to stop the server
doesn't work. Some else suggested to a college that using CF on the
J2EE platform might help make it more robust, but we have zero
experience of the J2EE platform and we where using looking for a basic
intro into work it is, does and whether or not it might help.

I understand the Apache is not a J2EE server, but I was wondering if
the J2EE server replaces the web server (like Apache) or if you still
use a web server as well.

The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
average load on the machine never gets to high, but the CF server just
appears to full over sometimes. We are using CFMX6.1 + Updater, which
has improved the stability slightly. Any ideas?

Andrew


On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
<[EMAIL PROTECTED]> wrote:
> Hi Andrew,
> Not sure what you're asking...Apache is not a J2EE server, however a J2EE 
> server like Tomcat or JBoss can ride on top of Apache. Are you looking for a 
> full blown J2EE server that does EJB or just a JSP Container? One thing a 
> J2EE server architecture will give you is force you to separate presentation 
> and logic, but the same can be said about Fusebox I suppose.
> 
> Can you give more info?
> 
> Thanks,
> Michael
> 
> 
> 
> 
> -Original Message-
> From: Andrew Dixon <[EMAIL PROTECTED]>
> Sent: Dec 13, 2004 9:56 AM
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Using a J2EE Application Server
> 
> Hi All.
> 
> I'm looking for a little bit of information. In what case would you
> use CFMX on a J2EE platform? We current have a server using CFMX &
> Apache on RedHat. What does using the J2EE platform give me and do the
> J2EE replace Apache as the webserver or do you still need that?
> 
> Thanks for any information anyone can provide.
> 
> Best Regards
> 
> Andrew.
> 
> 
> 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187379
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Michael Greenberg
Is migrating your app to JSP/Servlets a possibility?


-Original Message-
From: Andrew Dixon <[EMAIL PROTECTED]>
Sent: Dec 13, 2004 10:38 AM
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Re: Using a J2EE Application Server

We are on a Redhat Linux box, so the IIS Lockdown tool is not going to
do much, but I have used on a Window box before and it causes lots of
problems!!!

Andrew.


On Mon, 13 Dec 2004 15:30:12 -, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> We too are having these issues.and we are contemplating the move to
> J2EE...Have you ran the IIS Lockdown tool?
> 
> 
> 
> 
> -Original Message-
> From: Andrew Dixon [mailto:[EMAIL PROTECTED]
> Sent: 13 December 2004 15:31
> To: CF-Talk
> Subject: Re: Using a J2EE Application Server
> 
> Hi.
> 
> We are basically looking for a more robust platform on which to run
> CF. We have a site with about 500,000 page view per day and every now
> and again the CF server service will die and the only way we have
> found to get it running again is to kill the CF server threads (using
> the kill command) and then start it again, trying to stop the server
> doesn't work. Some else suggested to a college that using CF on the
> J2EE platform might help make it more robust, but we have zero
> experience of the J2EE platform and we where using looking for a basic
> intro into work it is, does and whether or not it might help.
> 
> I understand the Apache is not a J2EE server, but I was wondering if
> the J2EE server replaces the web server (like Apache) or if you still
> use a web server as well.
> 
> The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
> average load on the machine never gets to high, but the CF server just
> appears to full over sometimes. We are using CFMX6.1 + Updater, which
> has improved the stability slightly. Any ideas?
> 
> Andrew
> 
> On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
> <[EMAIL PROTECTED]> wrote:
> > Hi Andrew,
> > Not sure what you're asking...Apache is not a J2EE server, however a J2EE
> server like Tomcat or JBoss can ride on top of Apache. Are you looking for a
> full blown J2EE server that does EJB or just a JSP Container? One thing a
> J2EE server architecture will give you is force you to separate presentation
> and logic, but the same can be said about Fusebox I suppose.
> >
> > Can you give more info?
> >
> > Thanks,
> > Michael
> >
> >
> >
> >
> > -Original Message-
> > From: Andrew Dixon <[EMAIL PROTECTED]>
> > Sent: Dec 13, 2004 9:56 AM
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Subject: Using a J2EE Application Server
> >
> > Hi All.
> >
> > I'm looking for a little bit of information. In what case would you
> > use CFMX on a J2EE platform? We current have a server using CFMX &
> > Apache on RedHat. What does using the J2EE platform give me and do the
> > J2EE replace Apache as the webserver or do you still need that?
> >
> > Thanks for any information anyone can provide.
> >
> > Best Regards
> >
> > Andrew.
> >
> >
> >
> 
> 



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187380
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Only 5 days remaining in Plum Public Beta... Be heard!

2004-12-13 Thread Adam Churvis
We want to hear your voices on what you like and don't like about the Plum
Public Beta, and if something doesn't work for you.

Remember: Plum is a *free* tool for you, and our goal is to mold it to your
needs.

We're going to release the Plum Release Candidate on Monday, December 20th,
so we must have everyone's feedback within the next 5 days to be able to
make changes in time.

If you already have the Plum Public Beta, please send your feedback to us
either through the Plum Discussion List at [EMAIL PROTECTED]
or, if you're not a subscriber, to [EMAIL PROTECTED]

If you don't already have the Plum Public Beta then you can download it
from:
http://www.productivityenhancement.com/plum/DownloadPlum.cfm

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia
http://www.ProductivityEnhancement.com

Download Plum and other cool development tools,
and get advanced intensive Master-level training:

* C# & ASP.NET for ColdFusion Developers
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187382
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Andrew Dixon
I think you are right and that they didn't really understand what they
where talking about. I've been doing some digging about and I'm
heading towards think that problem lays with the Apache connector. I
might look into using the CF built in web server, anyone had any
experience of doing it that way?

Andrew.


On Mon, 13 Dec 2004 10:40:41 -0500 (GMT-05:00), Michael Greenberg
<[EMAIL PROTECTED]> wrote:
> Ok I gotcha now :)
> 
> Technically yes J2EE server can function as a webserver, but I wouldn't 
> recommend doing that because its really not what it's meant to do.
> 
> As far as the comment that was made to you it seems like they are confusing 
> J2EE and Apache. Yes you could have CF ride on top of Apache however I don't 
> think you can serve it on top of that. I don't think there are connectors 
> available to do so. (I did a quick look up for Tomcat, JBoss, Weblogic, or 
> WebSphere and didnt see them available)
> 
> I definitely think that if you wanted to do anything on J2EE server I'd 
> recommend using JSPs and Servlets.
> 
> Thanks,
> Michael
> 
> 
> 
> -Original Message-
> From: Andrew Dixon <[EMAIL PROTECTED]>
> Sent: Dec 13, 2004 10:31 AM
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Re: Using a J2EE Application Server
> 
> Hi.
> 
> We are basically looking for a more robust platform on which to run
> CF. We have a site with about 500,000 page view per day and every now
> and again the CF server service will die and the only way we have
> found to get it running again is to kill the CF server threads (using
> the kill command) and then start it again, trying to stop the server
> doesn't work. Some else suggested to a college that using CF on the
> J2EE platform might help make it more robust, but we have zero
> experience of the J2EE platform and we where using looking for a basic
> intro into work it is, does and whether or not it might help.
> 
> I understand the Apache is not a J2EE server, but I was wondering if
> the J2EE server replaces the web server (like Apache) or if you still
> use a web server as well.
> 
> The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
> average load on the machine never gets to high, but the CF server just
> appears to full over sometimes. We are using CFMX6.1 + Updater, which
> has improved the stability slightly. Any ideas?
> 
> Andrew
> 
> On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
> <[EMAIL PROTECTED]> wrote:
> > Hi Andrew,
> > Not sure what you're asking...Apache is not a J2EE server, however a J2EE 
> > server like Tomcat or JBoss can ride on top of Apache. Are you looking for 
> > a full blown J2EE server that does EJB or just a JSP Container? One thing a 
> > J2EE server architecture will give you is force you to separate 
> > presentation and logic, but the same can be said about Fusebox I suppose.
> >
> > Can you give more info?
> >
> > Thanks,
> > Michael
> >
> >
> >
> >
> > -Original Message-
> > From: Andrew Dixon <[EMAIL PROTECTED]>
> > Sent: Dec 13, 2004 9:56 AM
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Subject: Using a J2EE Application Server
> >
> > Hi All.
> >
> > I'm looking for a little bit of information. In what case would you
> > use CFMX on a J2EE platform? We current have a server using CFMX &
> > Apache on RedHat. What does using the J2EE platform give me and do the
> > J2EE replace Apache as the webserver or do you still need that?
> >
> > Thanks for any information anyone can provide.
> >
> > Best Regards
> >
> > Andrew.
> >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187383
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Andrew Dixon
Not really. Someone else suggested moving it to PHP, which we have
some experience with, so I think if it was a re-write it would go down
that route.

Andrew.


On Mon, 13 Dec 2004 10:42:27 -0500 (GMT-05:00), Michael Greenberg
<[EMAIL PROTECTED]> wrote:
> Is migrating your app to JSP/Servlets a possibility?
> 
> 
> 
> 
> -Original Message-
> From: Andrew Dixon <[EMAIL PROTECTED]>
> Sent: Dec 13, 2004 10:38 AM
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Re: Using a J2EE Application Server
> 
> We are on a Redhat Linux box, so the IIS Lockdown tool is not going to
> do much, but I have used on a Window box before and it causes lots of
> problems!!!
> 
> Andrew.
> 
> On Mon, 13 Dec 2004 15:30:12 -, Robertson-Ravo, Neil (RX)
> <[EMAIL PROTECTED]> wrote:
> > We too are having these issues.and we are contemplating the move to
> > J2EE...Have you ran the IIS Lockdown tool?
> >
> >
> >
> >
> > -Original Message-
> > From: Andrew Dixon [mailto:[EMAIL PROTECTED]
> > Sent: 13 December 2004 15:31
> > To: CF-Talk
> > Subject: Re: Using a J2EE Application Server
> >
> > Hi.
> >
> > We are basically looking for a more robust platform on which to run
> > CF. We have a site with about 500,000 page view per day and every now
> > and again the CF server service will die and the only way we have
> > found to get it running again is to kill the CF server threads (using
> > the kill command) and then start it again, trying to stop the server
> > doesn't work. Some else suggested to a college that using CF on the
> > J2EE platform might help make it more robust, but we have zero
> > experience of the J2EE platform and we where using looking for a basic
> > intro into work it is, does and whether or not it might help.
> >
> > I understand the Apache is not a J2EE server, but I was wondering if
> > the J2EE server replaces the web server (like Apache) or if you still
> > use a web server as well.
> >
> > The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
> > average load on the machine never gets to high, but the CF server just
> > appears to full over sometimes. We are using CFMX6.1 + Updater, which
> > has improved the stability slightly. Any ideas?
> >
> > Andrew
> >
> > On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
> > <[EMAIL PROTECTED]> wrote:
> > > Hi Andrew,
> > > Not sure what you're asking...Apache is not a J2EE server, however a J2EE
> > server like Tomcat or JBoss can ride on top of Apache. Are you looking for a
> > full blown J2EE server that does EJB or just a JSP Container? One thing a
> > J2EE server architecture will give you is force you to separate presentation
> > and logic, but the same can be said about Fusebox I suppose.
> > >
> > > Can you give more info?
> > >
> > > Thanks,
> > > Michael
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: Andrew Dixon <[EMAIL PROTECTED]>
> > > Sent: Dec 13, 2004 9:56 AM
> > > To: CF-Talk <[EMAIL PROTECTED]>
> > > Subject: Using a J2EE Application Server
> > >
> > > Hi All.
> > >
> > > I'm looking for a little bit of information. In what case would you
> > > use CFMX on a J2EE platform? We current have a server using CFMX &
> > > Apache on RedHat. What does using the J2EE platform give me and do the
> > > J2EE replace Apache as the webserver or do you still need that?
> > >
> > > Thanks for any information anyone can provide.
> > >
> > > Best Regards
> > >
> > > Andrew.
> > >
> > >
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187384
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Michael Greenberg
If you choose to rewrite in something other than CF and if you dont have a need 
for multithreading or if its a small application that might be better than Java 
:)

-Original Message-
From: Andrew Dixon <[EMAIL PROTECTED]>
Sent: Dec 13, 2004 10:49 AM
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Re: Using a J2EE Application Server

Not really. Someone else suggested moving it to PHP, which we have
some experience with, so I think if it was a re-write it would go down
that route.

Andrew.


On Mon, 13 Dec 2004 10:42:27 -0500 (GMT-05:00), Michael Greenberg
<[EMAIL PROTECTED]> wrote:
> Is migrating your app to JSP/Servlets a possibility?
> 
> 
> 
> 
> -Original Message-
> From: Andrew Dixon <[EMAIL PROTECTED]>
> Sent: Dec 13, 2004 10:38 AM
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Re: Using a J2EE Application Server
> 
> We are on a Redhat Linux box, so the IIS Lockdown tool is not going to
> do much, but I have used on a Window box before and it causes lots of
> problems!!!
> 
> Andrew.
> 
> On Mon, 13 Dec 2004 15:30:12 -, Robertson-Ravo, Neil (RX)
> <[EMAIL PROTECTED]> wrote:
> > We too are having these issues.and we are contemplating the move to
> > J2EE...Have you ran the IIS Lockdown tool?
> >
> >
> >
> >
> > -Original Message-
> > From: Andrew Dixon [mailto:[EMAIL PROTECTED]
> > Sent: 13 December 2004 15:31
> > To: CF-Talk
> > Subject: Re: Using a J2EE Application Server
> >
> > Hi.
> >
> > We are basically looking for a more robust platform on which to run
> > CF. We have a site with about 500,000 page view per day and every now
> > and again the CF server service will die and the only way we have
> > found to get it running again is to kill the CF server threads (using
> > the kill command) and then start it again, trying to stop the server
> > doesn't work. Some else suggested to a college that using CF on the
> > J2EE platform might help make it more robust, but we have zero
> > experience of the J2EE platform and we where using looking for a basic
> > intro into work it is, does and whether or not it might help.
> >
> > I understand the Apache is not a J2EE server, but I was wondering if
> > the J2EE server replaces the web server (like Apache) or if you still
> > use a web server as well.
> >
> > The server is Dual Xeon 2Ghz with 4Gb RAM and 80Gb IDE Hard Drive. The
> > average load on the machine never gets to high, but the CF server just
> > appears to full over sometimes. We are using CFMX6.1 + Updater, which
> > has improved the stability slightly. Any ideas?
> >
> > Andrew
> >
> > On Mon, 13 Dec 2004 10:17:46 -0500 (GMT-05:00), Michael Greenberg
> > <[EMAIL PROTECTED]> wrote:
> > > Hi Andrew,
> > > Not sure what you're asking...Apache is not a J2EE server, however a J2EE
> > server like Tomcat or JBoss can ride on top of Apache. Are you looking for a
> > full blown J2EE server that does EJB or just a JSP Container? One thing a
> > J2EE server architecture will give you is force you to separate presentation
> > and logic, but the same can be said about Fusebox I suppose.
> > >
> > > Can you give more info?
> > >
> > > Thanks,
> > > Michael
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: Andrew Dixon <[EMAIL PROTECTED]>
> > > Sent: Dec 13, 2004 9:56 AM
> > > To: CF-Talk <[EMAIL PROTECTED]>
> > > Subject: Using a J2EE Application Server
> > >
> > > Hi All.
> > >
> > > I'm looking for a little bit of information. In what case would you
> > > use CFMX on a J2EE platform? We current have a server using CFMX &
> > > Apache on RedHat. What does using the J2EE platform give me and do the
> > > J2EE replace Apache as the webserver or do you still need that?
> > >
> > > Thanks for any information anyone can provide.
> > >
> > > Best Regards
> > >
> > > Andrew.
> > >
> > >
> > >
> >
> >
> 
> 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187386
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Micha Schopman
Michael the Tantek hack is one of the most ugliest hacks available for
many reasons (for ex. future use of working selectors) :) People think
the standard doctype is the best decision, working with standards,
giving them the idea of being innovative and future driven.. you are
being fooled by IE. 

The best doctype currently for IE is still IE 4.0, read more about it on
www.annevankesteren.nl. The biggest mistake of the entire doctype thing
going on is people who haven't got a clue about what the doctype
actually means, or what doctypes browsers support.


Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187388
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Ben Rogers
> If you force IE 6 into quirks mode, you still have to hack the box
> model--in quirks mode you'll just be lumping IE 6 in with the hack. The
> simple method of doing this is:

Quirks mode allows developers to maintain backwards compatibility and avoid
all those really ugly hacks you included in your message. The problem with
the hacks is that they all rely on implementation bugs. If this were object
oriented programming, the phrase would be "program to the interface, not the
implementation."

> You could also use conditional comments to feed any version of IE
> selectors, properties, and values as necessary:

I agree with the use of conditional comments as override mechanism for the
reasons you mention. It's important to note the difference between this and
the other hacks you described: this is a documented feature. As such, you
can rely on it. It's also semantically clear.

> Standards mode for IE 6 is not too buggy for production. I'll agree it's
> not even close to perfect, but it is a step in the right direction and a
> far cry better than IE 5.x's poor CSS support.

My interpretation of what Micha was saying is that trying to use standards
mode (as opposed to quirks mode), brings out the bugs and odd behavior in
older browsers. This leads to more development time and ugly hacks like the
ones you mentioned. Of course, I may have misunderstood Micha. :)
 
Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057

> 
> 
> 
> Which would contain:
> 
> #myBox {
>  width: 222px;
> }
> 
> Using conditional comments allows you to keep all of your IE specific
> CSS in one stylesheet, helps to avoid using hacks in your main
> stylesheet, and improves the shelf life of the document.
> 
> Standards mode for IE 6 is not too buggy for production. I'll agree it's
> not even close to perfect, but it is a step in the right direction and a
> far cry better than IE 5.x's poor CSS support.
> 
> --
> Best regards,
> Michael Wilson
> 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187389
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion tag prefixes

2004-12-13 Thread Raymond Camden
Other people have answered, but just as a random FYI, you can also use
cfa_foo to call custom tags, but the custom tag must be named
cfa_foo.cfm, not foo.fm. This was used in Spectra days and I'm mostly
sure it still works in MX.

Don't do this though, I'm just sharing a bit of random info. :)


On Mon, 13 Dec 2004 15:36:36 +1100, Stephen Cowling
<[EMAIL PROTECTED]> wrote:
> Is it all possible to create your own tag prefix? Instead of using cf_
> to get to custom tags.
> 
> the reason I ask, is to try and reduce the amount of
> 
>
>
>
>
>
> ... etc
> That needs to be called.
> 
> I know I could cfinclude it, but I thought a more elegant way would be
> to have say,
> 
> 
> Or am I barking mad?
> 
> Steve
> 
> --
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187363
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Ben Rogers
> Prior to IE6, the boxmodel of IE was build upon the idea
> margin+padding+border were included in the width.

Are you sure? I believe it included padding and border but not margin, but I
haven't actually tested to verify this. Again, I'm basing my information off
of the following page:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html
/cssenhancements.asp

  "When the !DOCTYPE declaration does not switch on
   standards-compliant mode, as with earlier versions of
   Internet Explorer, the width property includes the
   object's content box, plus the values of the
   following properties: border-left, border-right,
   padding-left, and padding-right. Subtracting the sum
   of the values of these properties from the value of
   the width property equals the width of the parent
   object's content box. Likewise, subtracting the sum
   of the values of the border-top, border-bottom,
   padding-top, and padding-bottom properties from the
   value of the height property equals the height of
   the parent object's content box."

> The box model can be workaround by not using width/height in combination
> with padding/margin. So add an extra nesting to prevent boxmodel issues,
> or change the boxmodel rendering with the css properties created for it.

That's an interesting approach. I don't know why this hadn't occurred to me
before, especially since I used to something similar for Netscape 4.x
browsers.

> This model however can be suppressed by forcing IE into quirks. I would
> recommend it to everyone, since standards mode is to buggy for
> production.

Is standards mode really buggy in this respect or does it just not degrade
gracefully in older browsers? 

In any case, I agree that using quirks mode is the way to go for the time
being. I use the following doctype, and I run into surprisingly few
cross-browser, cross-platform or backwards compatibility issues:

  

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187364
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: variables... to prefix or not to prefix

2004-12-13 Thread Murat Demirci
We never use prefixes in our codes for simple values since CF is typeless.
We usually don't use prefixes for complex values too.

Follow the most popular coding guidelines:
http://livedocs.macromedia.com/wtg/public/coding_standards/
Murat.

> -Original Message-
> From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
> Sent: 13 December 2004 15:03
> To: CF-Talk
> Subject: variables... to prefix or not to prefix
> 
> Just out of curiosity, who prefixes their variables with a data type
> abbreviation...
>  
> integer - intVariableName
> numeric - numVariableName
> string - strVariableName
> structure - stcVariableName
> array - arrVariableName
> object - objVariableName
> query - qryVariableName
> etc...
>  
> We are ever expanding our best practices and guideline documents and
> this is an agenda point up for discussion soon... I want to 
> some in with
> some pros and cons.
> At first glance, the code becomes more descriptive but I do 
> see and have
> run into, many problems such as passing around URL params.. do you
> really want to give anymore information than necessary into 
> the type of
> data within a variable? What about if you encrypt variables?... The
> number 1 could be viewed as URL.intSomeId but once encrypted it is no
> longer an interger it is a string URL.strSomeId, this only touches the
> tip here.
>  
> Anyone have anything to offer on this topic?
>  
> Thanks.
>  
> Mike
> 
> 
> 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187390
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: (Admin) Please test

2004-12-13 Thread Michael Dinowitz
Thanks. Should be fixed now. Was a caching issue.

>I clicked the Message link (> Message:
> http://www.houseoffusion.com/lists.cfm/link=i:4:187331 below) and it
> returns:
>
> No messages found for this thread ID.
>
> The URL was translated to
> http://www.houseoffusion.com/cf_lists/messages.cfm/threadid:187331/forumid:4
>
> Netscape, Win2K
>
> Aaron
>
> - Original Message -
> From: "Michael Dinowitz" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, December 13, 2004 7:48 PM
> Subject: (Admin) Please test
>
>
>> All HoF resources are now 100% Blackstone. If you can do me a favor and
> test out various links and sections, I'd appreciate it. I think I've done
> them all, but there may be something I've missed.
>> Thanks
>>
>>
>
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187392
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion tag prefixes

2004-12-13 Thread Dave Carabetta
On Sun, 12 Dec 2004 21:33:17 -0800, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> the 'taglib' attribute to CFIMPORT is a directory.  You then reference
> the files in the directory using the prefix.  So if you do this:
> 
> 
> 
> then you can call the custom tag named "mytag.cfm" inside the
> "path/to/my/custom/tags" directory like this:
> 
> 
> 
> CFIMPORT is nothing more than an alternate way to call custom tags,
> with much greater specificity than using custom tag paths from the
> administrator.  it also lets you call JSP custom tags, but that's a
> bit of a different topic.
> 

One small point of clarification on this statement. While cfimport is
an alternate way of calling custom tags, it should be noted that
cfimport is a *compile-time* directive, and, as such, can offer
performance improvements to your application (yes, it's minimal, but
still).  The one drawback is that you can't have a variable name in
the cfimport taglib attribute because CF needs to know up front what
the value is. The cf_* and cfmodule tags do run-time lookups of the
requested tag, which allow you to store the directory path (if using
cfmodule) in an application variable and use that variable as the path
to the tag. Further, if you use cfimport, the directive must be
directly on the page that you are calling that particular tag (as
opposed to cfinclude-ing a page that makes a reference to the custom
tag).

Regards,
Dave.

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187393
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT moving to FireFox

2004-12-13 Thread Michael Wilson
Micha Schopman wrote:

> This model however can be suppressed by forcing IE into quirks. I would
> recommend it to everyone, since standards mode is to buggy for
> production.

I can't agree with the "force IE into quirks" suggestion. Working around 
the box model is just to easy to justify making IE even less standards 
compliant than it already is. I've been using CSS, rather than tables, 
for positioning and presentation for some time now and while forcing IE 
6 into quirks mode might solve some problems found in IE, it doesn't 
make the overall process any easier or less buggy.

If you force IE 6 into quirks mode, you still have to hack the box 
model--in quirks mode you'll just be lumping IE 6 in with the hack. The 
simple method of doing this is:

#myBox {
 border: 1px solid #333;
 margin: 5px;
 padding: 5px;
 width: 200px;
 \width: 222px; /* All IE width */
}

However, you can hack the box model for only IE 5.x easily enough using:

#myBox {
 border: 1px solid #333;
 margin: 5px;
 padding: 5px;
 width: 200px;  /* For browsers that don't understand escapes */
 \width: 222px; /* IE 5.x width */
 w\idth: 200px; /* IE 6 and other modern browsers' width */
}

You could also use conditional comments to feed any version of IE 
selectors, properties, and values as necessary:



Which would contain:

#myBox {
 width: 222px;
}

Using conditional comments allows you to keep all of your IE specific 
CSS in one stylesheet, helps to avoid using hacks in your main 
stylesheet, and improves the shelf life of the document.

Standards mode for IE 6 is not too buggy for production. I'll agree it's 
not even close to perfect, but it is a step in the right direction and a 
far cry better than IE 5.x's poor CSS support.

-- 
Best regards,
Michael Wilson


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187378
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
Let's say I have a website I want to cluster on 10 servers.  With CF, that's 10 
production licenses at whatever cost you can find CF at.  With .NET, it's zero 
cost, so there can be some additional cost savings.

Also, no matter what way you cut it, CF Enterprise is quite expensive.

Also, only development licenses are free.  QA, staging, and test licenses are 
not with CF, unfortunately.

>Regarding the relative costs of the "expensive" ColdFusion and the
>"free" other technologies, I have  a statement from a colleague in
>another organisation, which I'll be posting separately.  I told him
>about a site I'd just about finished in ColdFusion and he told me he
>was amazed.  That I'd done my site in about 70 hours with another
>40hours or so to finish it , and he had done a similar site in "Free"
>PHP - it had taken two of them (part time) two years to build.
>
>Let's assume for the sake of argument that all people working on these
>sites are costing $50/hour either as paid contractors or as employees
>including on-costs.I built my site, using "expensive" ColdFusion
>for $3500 plus a cold fusion server at perhaps $1200 - total $4700.
>
>They built their site using "free" PHP for (say) two people at 600
>hours each - that's $60,000!! But they got the server software for
>free.
>
>Saved a big bunch there by going with the 'free' one didn't they.
>
>.Cheers
>Mike Kear
>Windsor, NSW, Australia
>AFP Webworks
>http://afpwebworks.com
>.com,.net,.org domains from AUD$20/Year

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187397
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Marlon Moyer
Just a little hint here.  If you're trying to develop using a specific
doctype on a devnet version of CF, use  at the
top of your page.  Otherwise, the devnet meta tag skews the doctype
definition up.



> -Original Message-
> From: Michael Wilson [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 10:47 AM
> To: CF-Talk
> Subject: Re: SOT moving to FireFox
> 
> Ben Rogers wrote:
> 
> > Quirks mode allows developers to maintain backwards compatibility
> and avoid
> > all those really ugly hacks you included in your message. The problem
> with
> > the hacks is that they all rely on implementation bugs. If this were
> object
> > oriented programming, the phrase would be "program to the interface,
> not the
> > implementation."
> 
> Quirks mode also prevents developers from utilizing the standards
> advances and CSS support in IE 6. In addition, it only allows backwards
> compatibility in IE, which says nothing of more modern browsers like
> Mozilla and Firefox, which don't suffer from many of these problems. As
> I said before, regardless of which method you choose, you will still
> have to work around IE's broken box model--you can do it for just IE 5.x
> or you can do it for IE 5+, but quirks mode doesn't fix the problem; it
> compounds it.
> 
> I don't like hacking and I avoid it whenever possible; however, there
> are times when you have to weigh the distaste of the hack against the
> desire for accessibility and standards--either way I don't care, I was
> just clarifying.
> 
> > I agree with the use of conditional comments as override mechanism
> for the
> > reasons you mention. It's important to note the difference between this
> and
> > the other hacks you described: this is a documented feature. As such,
> you
> > can rely on it. It's also semantically clear.
> 
> You can rely on the hacks to a great extent. The only caveats being that
> someone decides to create a browser that doesn't fully understand
> escapes (w\idth) and supporting NN 4.x, which is easily worked around
> using the @import method.
> 
> > My interpretation of what Micha was saying is that trying to use
> standards
> > mode (as opposed to quirks mode), brings out the bugs and odd
> behavior in
> > older browsers. This leads to more development time and ugly hacks
> like the
> > ones you mentioned. Of course, I may have misunderstood Micha. :)
> 
> Using standards mode may very well highlight the bugs in older
> browsers... but that's because standards mode is obviously a better
> implementation of the specs and we are bound to see the flaws of older
> browsers more easily. The need to use an *ugly hack* to correct an older
> browser's shortcomings should not be the basis for breaking a newer
> browser so we don't notice those bugs. You call it backwards
> compatibility and I'll call it backwards thinking. Either way I have no
> problems at all developing for IE 6 in standards mode, while maintaining
> support for IE 5.x.
> 
> --
> Best regards,
> Michael Wilson
> 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187398
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-13 Thread Micha Schopman
Nope you are right .. I had to learn using quirks mode the hard way.
During the creation of hundreds of css layouts we quickly figured out IE
truly sucked when not in quirks mode.
 
The bugs, were related to relative, absolute positioning, margins,
paddings, canvas measurements, and oh much more. For the average simple
blog you won't notice a lot of the problems, but creating stuffed
dynamic UI's combined with javascript and keeping that CSS, that's is on
the edge work for IE. 

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187391
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: variables... to prefix or not to prefix

2004-12-13 Thread Jerry Barnes
I prefix my variables.  It helps with reading the code and debugging,
especially when someone who didn't write the code is doing the reading
or debugging.  I even prefix parameters for custom tags with p_
(attributes.p_blnDebug for example).  Different strokes for different
folks I guess. 

Anyway, here's another reason for prefixes:  a coworker used to have
problems naming variables with reserved words.  Using prefixes kills
this problem.

J

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 13, 2004 10:03 AM
To: CF-Talk
Subject: variables... to prefix or not to prefix

Just out of curiosity, who prefixes their variables with a data type
abbreviation...
 
integer - intVariableName
numeric - numVariableName
string - strVariableName
structure - stcVariableName
array - arrVariableName
object - objVariableName
query - qryVariableName
etc...
 
We are ever expanding our best practices and guideline documents and
this is an agenda point up for discussion soon... I want to some in with
some pros and cons.
At first glance, the code becomes more descriptive but I do see and have
run into, many problems such as passing around URL params.. do you
really want to give anymore information than necessary into the type of
data within a variable? What about if you encrypt variables?... The
number 1 could be viewed as URL.intSomeId but once encrypted it is no
longer an interger it is a string URL.strSomeId, this only touches the
tip here.
 
Anyone have anything to offer on this topic?
 
Thanks.
 
Mike




~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187402
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: variables... to prefix or not to prefix

2004-12-13 Thread Michael Dinowitz
I take it a step further and prefix all my internal var variables within a
function with $ so there's never a question of where the variable belongs.
Its internal only.

($ has been allowed as in variables and as the prefix for variables since MX
shipped)

I also use single letter prefixes for all my variables in general. 
i-int
b-boolean
q-query
etc.
 
> I prefix my variables.  It helps with reading the code and debugging,
> especially when someone who didn't write the code is doing the reading
> or debugging.  I even prefix parameters for custom tags with p_
> (attributes.p_blnDebug for example).  Different strokes for different
> folks I guess.
> 
> Anyway, here's another reason for prefixes:  a coworker used to have
> problems naming variables with reserved words.  Using prefixes kills
> this problem.
> 
> J
> 
> 
> Just out of curiosity, who prefixes their variables with a data type
> abbreviation...
> 
> integer - intVariableName
> numeric - numVariableName
> string - strVariableName
> structure - stcVariableName
> array - arrVariableName
> object - objVariableName
> query - qryVariableName
> etc...
> 
> We are ever expanding our best practices and guideline documents and
> this is an agenda point up for discussion soon... I want to some in with
> some pros and cons.
> At first glance, the code becomes more descriptive but I do see and have
> run into, many problems such as passing around URL params.. do you
> really want to give anymore information than necessary into the type of
> data within a variable? What about if you encrypt variables?... The
> number 1 could be viewed as URL.intSomeId but once encrypted it is no
> longer an interger it is a string URL.strSomeId, this only touches the
> tip here.
> 
> Anyone have anything to offer on this topic?
> 
> Thanks.
> 
> Mike
> 
> 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187406
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Spike
Kwang Suh wrote:
> One thing that depresses me about the CF community is their incredible 
> defensiveness, even from MM.
>

If you only take the opinions from people who have subscribed to a 
relatively high volume mailing list called CF-Talk you'd be very naive 
to expect anything else.

Would you expect to see a lot of support for a ".NET is better than PHP" 
type of post in the PHP mailing lists. I somehow doubt it.

Posting questions about the relative merit of .NET vs CF on this list 
will undoubtedly get you a lot of responses that are skewed towards CF, 
but you may find a few people who have some balanced opinions and 
experience to share.

Posting a message that tells everyone on the list that they are asleep 
and that they are deluded if they think CF is better than .NET is bound 
to ruffle a lot of feathers.

> When .NET came out, and people started to use and understand it better, the 
> Java community did what every CF person should be doing: they learned .NET.  
> And then they deconstructed it.  And then they asked themselves:
> 
> "What can we take from .NET to make Java better"

Really?

I'd not heard that before.

Can you point me to some of the sources where you got that information?

There have certainly been changes for the better in the Java and J2EE 
world, but I'm not convinced that they were as a direct response to .NET.

> 
> They realized that JSP was too simple, and that it didn't include enough base 
> functionality.
> 
> They realized that making custom tags in JSP was too hard.
> 
> They realized that frameworks like Struts and JSF weren't perhaps the road to 
> go down.
> 
> They realized that it was too unwieldly to configure and deploy Java servers, 
> and that it brought no real benefits the way they did it.
> 
> They realized that EJBs were too hard to design, and for no good reason.
> 
> They realized that in order to keep Java as a first class development 
> platform, they had to fix these problems, and add more features as they went 
> along.  Not just one or two "cool" features that Sun would provide on high as 
> determined by their marketing department, but real things that would matter 
> on a day to day basis from a developer's point of view.

I'd pretty much agree with the above statements, but I don't think they 
happened because of .NET. I think they happened because the customers 
and community were braying like a herd of donkeys that it needed to be 
improved.

> 
> One day, I'd like to see the CF community do that.  There's a few people out 
> there that do that, and Will's semi-rant is a vent not just at MM, but the 
> people that use CF that seem to want to defend it to the death, and the 
> verocity at chiding people who want to see CF change and improve.

What exactly is it that's too simple, hard, unweildy about CFMX that so 
desperately needs fixing?

> 
> I'm curious.  I wonder how many people on this list said, before CFMX came 
> out, and before Neo was a twinkle in anyone's eye: "CF should be written in 
> Java."  I'd say no one.  This is not a place for change.

I know a few people certainly would have said that quite a long time 
ago. When Neo first became an twinkle in someone's eye is pretty hard to 
gauge, but back in late 1998 Live Software were working on CF_Anywhere 
which was the first sign of a CFML execution engine written in Java. In 
2000 n-ary were working on TagFusion which later became New Atlanta's 
BlueDragon. Both of those were before the official Neo announcement at 
the 2001 DevCon and I know that they were discussed on this list pretty 
early in their development cycles.

http://www.houseoffusion.com/lists.cfm/link=m:4:646:2872

Besides that, I don't really see what point you're trying to make. Even 
if no-one on this list suggested that CF should be written in Java, why 
should that mean that this list is not a place for change?

By that reasoning the fact that no-one else (or at least not many) 
foresaw the popularity of the I-Pod would mean that no-one but Steve 
Jobs has the foresight for change.

Spike

> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187407
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: select next/previous *record*?

2004-12-13 Thread Dawson, Michael
Don't you need to know something else if you use Last Name as the index?
What if there are multiple John Smith's?

I haven't actually done this, but what if you pulled all records with
the last name they selected, then used array notation to pull the ID
from the record before and after the current record?

Too bad databases don't generally have a numeric, sequential record
number like ColdFusion's query object (currentRow variable). 

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 12, 2004 1:41 PM
To: CF-Talk
Subject: Re: select next/previous *record*?

> Quick question...are ya using DreamweaverMX?

Nope.  Another complication I didn't mentuion before is the user has the
ability to select which index is current, so they might be indexing on
ID, and cycling up and down thru the numbers, or one of several other
fields, such as Last Name.  I'm working thru that now. 
Don't see how it would work in the ID-based example.

--
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187409
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Limiting SQL Results

2004-12-13 Thread Marco Antonio C. Santos
SELECT
blablabla
FROM blabla
GROUP BY ID

Try...

Cheers

Marco


On Mon, 13 Dec 2004 13:59:34 -, James Smith <[EMAIL PROTECTED]> wrote:
> Ok, heres the thing.  I have a table (actually multiple tables joined but
> for simplicity here we will call it one table) that looks something like...
> 
> ID  ISBN
> --  
> 1 1
> 2 1
> 3 1
> 4 1
> 5 2
> 6 2
> 7 2
> 8 3
> 9 4
> 10 4
> 11 4
> 12 1
> 13 5
> 
> In the results I need no more than 2 of any ISBN, so for the above data I
> need the results of the query to look like...
> 
> ID  ISBN
> --  
> 1 1
> 2 1
> 5 2
> 6 2
> 8 3
> 9 4
> 10 4
> 13 5
> 
> The rest of thae data is irelevent, I don't care which two are returned.
> 
> I am using MySQL on 2k3 server.
> 
> Any help on the SQL here?
> 
> --
> Jay
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187408
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
One thing that depresses me about the CF community is their incredible 
defensiveness, even from MM.

When .NET came out, and people started to use and understand it better, the 
Java community did what every CF person should be doing: they learned .NET.  
And then they deconstructed it.  And then they asked themselves:

"What can we take from .NET to make Java better"

They realized that JSP was too simple, and that it didn't include enough base 
functionality.

They realized that making custom tags in JSP was too hard.

They realized that frameworks like Struts and JSF weren't perhaps the road to 
go down.

They realized that it was too unwieldly to configure and deploy Java servers, 
and that it brought no real benefits the way they did it.

They realized that EJBs were too hard to design, and for no good reason.

They realized that in order to keep Java as a first class development platform, 
they had to fix these problems, and add more features as they went along.  Not 
just one or two "cool" features that Sun would provide on high as determined by 
their marketing department, but real things that would matter on a day to day 
basis from a developer's point of view.

One day, I'd like to see the CF community do that.  There's a few people out 
there that do that, and Will's semi-rant is a vent not just at MM, but the 
people that use CF that seem to want to defend it to the death, and the 
verocity at chiding people who want to see CF change and improve.

I'm curious.  I wonder how many people on this list said, before CFMX came out, 
and before Neo was a twinkle in anyone's eye: "CF should be written in Java."  
I'd say no one.  This is not a place for change.

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187399
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: variables... to prefix or not to prefix

2004-12-13 Thread Jason Lemahieu
I generally do this when I'm working with arrays of structures and crap, like:

arrMonth[31] = structDay;


Way back in college, (6 months ago), we used to do it for everything - but it 
mattered a lot more when we were using very strictly typed languages.

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187410
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Spike
Kwang Suh wrote:
> Let's say I have a website I want to cluster on 10 servers.  With CF, that's 
> 10 production licenses at whatever cost you can find CF at.  With .NET, it's 
> zero cost, so there can be some additional cost savings.

I'd like to see the total cost break-down for a site that was so large 
it required 10 clustered servers.

I doubt the bottom line would move perceptibly if you switched from CF 
to a free option.

> 
> Also, no matter what way you cut it, CF Enterprise is quite expensive.
> 

If you're a child at school, a new mountain bike costing $200 is 
expensive. If you're a student at college, a new car costing $5000 is 
expensive. If you're a medium sized shipping company, a new truck 
costing $100,000 is expensive. If you're a multinational shipping 
company, a new jet costing $10,000,000 is expensive.

The numbers may not be spot on, but you get the general idea. Expensive 
is not an absolute term. It depends on the nature of what you're doing. 
A multinational shipping company is the only one I'd expect to require 
10 clustered CF servers to run their app, and that app would probably be 
saving them an amount of money that is enormous when compared to the 
$60,000 one time cost of the CF licenses.

> Also, only development licenses are free.  QA, staging, and test licenses are 
> not with CF, unfortunately.

Again, whether this is actually expensive to your company depends on the 
size of your company and what you want to use the app for.

> 
> 
>>Regarding the relative costs of the "expensive" ColdFusion and the
>>"free" other technologies, I have  a statement from a colleague in
>>another organisation, which I'll be posting separately.  I told him
>>about a site I'd just about finished in ColdFusion and he told me he
>>was amazed.  That I'd done my site in about 70 hours with another
>>40hours or so to finish it , and he had done a similar site in "Free"
>>PHP - it had taken two of them (part time) two years to build.
>>
>>Let's assume for the sake of argument that all people working on these
>>sites are costing $50/hour either as paid contractors or as employees
>>including on-costs.I built my site, using "expensive" ColdFusion
>>for $3500 plus a cold fusion server at perhaps $1200 - total $4700.
>>
>>They built their site using "free" PHP for (say) two people at 600
>>hours each - that's $60,000!! But they got the server software for
>>free.
>>
>>Saved a big bunch there by going with the 'free' one didn't they.
>>
>>.Cheers
>>Mike Kear
>>Windsor, NSW, Australia
>>AFP Webworks
>>http://afpwebworks.com
>>.com,.net,.org domains from AUD$20/Year
> 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187411
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Copy Or Transfer Selected Records From One Table To Another Table?

2004-12-13 Thread Dave Carabetta
On Mon, 13 Dec 2004 12:36:51 -0600, Nick Baker <[EMAIL PROTECTED]> wrote:
> What is the most efficient way to copy or transfer selected records from
> one table to another table with the same structure?. I.e., all records
> within a certain date range.
> 
> Select and Insert seems be a very laborious method.
> 


INSERT INTO myNewTable(
 column1,
 column2
)
SELECT column1,
 column2
FROM myOldTable
WHERE date_column >= '01/01/2004'
 AND date_column <= '02/01/2004'


(I'd use cfqueryparam for the dates, but this is for simplicity-sake.)

Regards,
Dave.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: variables... to prefix or not to prefix

2004-12-13 Thread Charlie Griefer
Hadn't thought about the reserved words issue.  Very good point!


On Mon, 13 Dec 2004 12:57:22 -0500, Jerry Barnes <[EMAIL PROTECTED]> wrote:
> I prefix my variables.  It helps with reading the code and debugging,
> especially when someone who didn't write the code is doing the reading
> or debugging.  I even prefix parameters for custom tags with p_
> (attributes.p_blnDebug for example).  Different strokes for different
> folks I guess.
> 
> Anyway, here's another reason for prefixes:  a coworker used to have
> problems naming variables with reserved words.  Using prefixes kills
> this problem.
> 
> 
> 
> J
> 
> -Original Message-
> From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 10:03 AM
> To: CF-Talk
> Subject: variables... to prefix or not to prefix
> 
> Just out of curiosity, who prefixes their variables with a data type
> abbreviation...
> 
> integer - intVariableName
> numeric - numVariableName
> string - strVariableName
> structure - stcVariableName
> array - arrVariableName
> object - objVariableName
> query - qryVariableName
> etc...
> 
> We are ever expanding our best practices and guideline documents and
> this is an agenda point up for discussion soon... I want to some in with
> some pros and cons.
> At first glance, the code becomes more descriptive but I do see and have
> run into, many problems such as passing around URL params.. do you
> really want to give anymore information than necessary into the type of
> data within a variable? What about if you encrypt variables?... The
> number 1 could be viewed as URL.intSomeId but once encrypted it is no
> longer an interger it is a string URL.strSomeId, this only touches the
> tip here.
> 
> Anyone have anything to offer on this topic?
> 
> Thanks.
> 
> Mike
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187404
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
> If you need to do something like that you can easily write it in Java 
> 
> and call the java code from a CFML template.

Ah yes, the old "use Java when CF can't do it crutch."

I though the whole point of CF was to make it easy for developers to develop.  
And everything else is hard/takes longer/is more expensive.  So why do I want 
to use something hard like Java to do something in CF?

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187418
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFDUMP var=variables shows custom functions?

2004-12-13 Thread Damien McKenna
I have an error tracker on my code that emails me a dump of just about
everything.  Today, on one site, I started including all of the
CFLib.org files for all page requests rather than as needed.  Nice idea,
except that now my email error dumps are twenty times larger than
before, all because the UDFs are listed in the 'variables' portion of
the dump and list a complete function prototype.  While this may be
useful for some, I would prefer not to be receiving 1meg emails for each
error.  Is there any way to stop CFMX listing UDFs in the 'variables'
scope?
 
-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include 
 


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187420
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
> Kwang Suh wrote:
> > Let's say I have a website I want to cluster on 10 servers.  With CF, 
> that's 10 production licenses at whatever cost you can find CF at.  
> With .NET, it's zero cost, so there can be some additional cost 
> savings.
> 
> I'd like to see the total cost break-down for a site that was so large 
> 
> it required 10 clustered servers.

Hmm, Macromedia's for one.  Not sure if has ten, but there's a quite a few 
there.  Anandtech was running quite a few as well.  There's William Sonoma.  
How about Toys'R'Us before they switched over?  Pottery Barn.

> 
> I doubt the bottom line would move perceptibly if you switched from CF 
> 
> to a free option.

Proof?

> 
> > 
> > Also, no matter what way you cut it, CF Enterprise is quite 
> expensive.
> > 
> 
> If you're a child at school, a new mountain bike costing $200 is 
> expensive. If you're a student at college, a new car costing $5000 is 
> 
> expensive. If you're a medium sized shipping company, a new truck 
> costing $100,000 is expensive. If you're a multinational shipping 
> company, a new jet costing $10,000,000 is expensive.
> 
> The numbers may not be spot on, but you get the general idea. 
> Expensive 
> is not an absolute term. It depends on the nature of what you're doing.

Yes, and for web development, CF Enterprise is expensive.  And apparently every 
country in the world buys and sells in US$.
 
> 
> A multinational shipping company is the only one I'd expect to require 
> 
> 10 clustered CF servers to run their app, and that app would probably 
> be 
> saving them an amount of money that is enormous when compared to the 
> $60,000 one time cost of the CF licenses.

"Probably"?  Proof please.  And, apparently Macromedia is a multinational 
shipping company.

> 
> > Also, only development licenses are free.  QA, staging, and test 
> licenses are not with CF, unfortunately.
> 
> Again, whether this is actually expensive to your company depends on 
> the 
> size of your company and what you want to use the app for.

Yeah, you're right.  I don't need a QA server.  Thanks for setting me straight 
on that.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187421
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Michael Greenberg
Hi Andrew,
Not sure what you're asking...Apache is not a J2EE server, however a J2EE 
server like Tomcat or JBoss can ride on top of Apache. Are you looking for a 
full blown J2EE server that does EJB or just a JSP Container? One thing a J2EE 
server architecture will give you is force you to separate presentation and 
logic, but the same can be said about Fusebox I suppose.

Can you give more info?

Thanks,
Michael



-Original Message-
From: Andrew Dixon <[EMAIL PROTECTED]>
Sent: Dec 13, 2004 9:56 AM
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Using a J2EE Application Server

Hi All.

I'm looking for a little bit of information. In what case would you
use CFMX on a J2EE platform? We current have a server using CFMX &
Apache on RedHat. What does using the J2EE platform give me and do the
J2EE replace Apache as the webserver or do you still need that?

Thanks for any information anyone can provide.

Best Regards

Andrew.



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187365
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
> Kwang Suh wrote:
> > One thing that depresses me about the CF community is their 
> incredible defensiveness, even from MM.
> >
> 
> If you only take the opinions from people who have subscribed to a 
> relatively high volume mailing list called CF-Talk you'd be very naive 
> 
> to expect anything else.
> 
> Would you expect to see a lot of support for a ".NET is better than 
> PHP" 
> type of post in the PHP mailing lists. I somehow doubt it.
> 
> Posting questions about the relative merit of .NET vs CF on this list 
> 
> will undoubtedly get you a lot of responses that are skewed towards CF, 
> 
> but you may find a few people who have some balanced opinions and 
> experience to share.
> 
> Posting a message that tells everyone on the list that they are asleep 
> 
> and that they are deluded if they think CF is better than .NET is 
> bound 
> to ruffle a lot of feathers.
> 
> > When .NET came out, and people started to use and understand it 
> better, the Java community did what every CF person should be doing: 
> they learned .NET.  And then they deconstructed it.  And then they 
> asked themselves:
> > 
> > "What can we take from .NET to make Java better"
> 
> Really?
> 
> I'd not heard that before.
> 
> Can you point me to some of the sources where you got that 
> information?

JCP.

> 
> There have certainly been changes for the better in the Java and J2EE 
> 
> world, but I'm not convinced that they were as a direct response to .
> NET.
> 
> > 
> > They realized that JSP was too simple, and that it didn't include 
> enough base functionality.
> > 
> > They realized that making custom tags in JSP was too hard.
> > 
> > They realized that frameworks like Struts and JSF weren't perhaps 
> the road to go down.
> > 
> > They realized that it was too unwieldly to configure and deploy Java 
> servers, and that it brought no real benefits the way they did it.
> > 
> > They realized that EJBs were too hard to design, and for no good 
> reason.
> > 
> > They realized that in order to keep Java as a first class 
> development platform, they had to fix these problems, and add more 
> features as they went along.  Not just one or two "cool" features that 
> Sun would provide on high as determined by their marketing department, 
> but real things that would matter on a day to day basis from a 
> developer's point of view.
> 
> I'd pretty much agree with the above statements, but I don't think 
> they 
> happened because of .NET. I think they happened because the customers 
> 
> and community were braying like a herd of donkeys that it needed to be 
> 
> improved.
> 
> > 
> > One day, I'd like to see the CF community do that.  There's a few 
> people out there that do that, and Will's semi-rant is a vent not just 
> at MM, but the people that use CF that seem to want to defend it to 
> the death, and the verocity at chiding people who want to see CF 
> change and improve.
> 
> What exactly is it that's too simple, hard, unweildy about CFMX that 
> so 
> desperately needs fixing?

Who said anything about fixing?  I'd like more functionality:

I'd like to have  work across multiple databases.  And allowed 
nested .
I'd like some other number type beside floating point.
I'd like a concept of null type.
I'd like to have CFCs have interfaces, constructors, overloaded methods, more 
obvious variable scoping.
I'd like to have at least a collection CFC type.
I'd like to have threads.

Yes, yes, yes, I've filled out the damn wish form.

> 
> > 
> > I'm curious.  I wonder how many people on this list said, before 
> CFMX came out, and before Neo was a twinkle in anyone's eye: "CF 
> should be written in Java."  I'd say no one.  This is not a place for 
> change.
> 
> I know a few people certainly would have said that quite a long time 
> ago. When Neo first became an twinkle in someone's eye is pretty hard 
> to 
> gauge, but back in late 1998 Live Software were working on CF_Anywhere 
> 
> which was the first sign of a CFML execution engine written in Java. 
> In 
> 2000 n-ary were working on TagFusion which later became New Atlanta's 
> 
> BlueDragon. Both of those were before the official Neo announcement at 
> 
> the 2001 DevCon and I know that they were discussed on this list 
> pretty 
> early in their development cycles.

Not on this list.  Thank you.

> Besides that, I don't really see what point you're trying to make. 
> Even 
> if no-one on this list suggested that CF should be written in Java, 
> why 
> should that mean that this list is not a place for change?

Oh I dunno.  Let's see what you've said:

"No one needs 10 web servers, except for multinational shipping corporations."
"The opportunity for a company to have a QA server is based not on need and 
things like good practices, but on how much money they have."
"Use Java for threading."
"Everything in CF works properly."

I'm not sure how open minded that is.

> 
> By that reasoning the fact that no-one else (or at least not many) 
> foresaw the popularit

Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Aaron Rouse
I'd like this, but I think there are a lot of people out there who do
not fully understand what a null is and is not.

-- 
Aaron Rouse
http://www.happyhacker.com/

On Mon, 13 Dec 2004 14:21:42 -0400, Kwang Suh <[EMAIL PROTECTED]> wrote:
> 
> I'd like a concept of null type

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187425
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Spike
Well, Excuse me!

Kwang Suh wrote:
>>If you need to do something like that you can easily write it in Java 
>>
>>and call the java code from a CFML template.
> 
> 
> Ah yes, the old "use Java when CF can't do it crutch."

Please don't belittle my comments with such an offhand packaged response.

I am try to respond in a reasonable and considered manner. The least you 
could do is return the courtesy.

What is it that makes you think that it is a crutch?

On the one hand you're berating CFML for it's lack of vision, and on the 
other you seem to be claiming that it's somehow cheating to use some of 
the very powerful things that CFMX makes available to you.

> 
> I though the whole point of CF was to make it easy for developers to develop. 
> And everything else is hard/takes longer/is more expensive. 

CF abstracts the complexity away from the developer. Some applications 
are more complex than others and although CF does an excellent job for 
the majority of cases, there are times when it is desirable to work at a 
lower level than CFML will allow. In those cases it is entirely 
reasonable to write that functionality in Java and call the java classes 
from a CFML template.

There are quite a few benefits to this not least of which is that CFML 
stays simple enough to be an entry level language that is easy to debug 
and maintain, while still being powerful enough to be used in some of 
the largest and most complex applications around.

I would guess that the vast majority of CFML developers will never need 
to write any java code. CFMX already provides them with all the tools 
they need to get the job done and in the cases where it doesn't, there 
are quite a few tools out there written in Java to fill the gaps and no 
shortage of developers who can write the necessary java code if you 
can't write it yourself.

 > So why do I want to use something hard like Java to do something in CF?

Because you're pushing the limits of what the application server is 
designed to do. The application server is designed to meet the needs of 
the majority of the customers. There will inevitbly be cases where that 
means that it isn't desirable or possible to implement some 
functionality in CFML itself. The pay off is that CFML stays 
approachable and simple to work with.

I for one would be horrified if Macromedia decided to expose full thread 
management in CFML. Thread programming is relatively complex and you can 
easily tie the server in knots if you aren't careful.

The point is that all the power you need is available to CF as long as 
you are prepared to accept that some things will need to be done in 
Java. Macromedia try pretty hard to make sure that those things are edge 
cases and don't impact the majority of their customers. If they didn't 
ColdFusion would have disappeared a long time ago.


> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187429
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Copy Or Transfer Selected Records From One Table To Another Table?

2004-12-13 Thread Joe Rinehart
Nick,

On most platforms you can do:

INSERT INTO 
  (column1, column2, etc...)
SELECT (column1, column2, etc...) 
  FROM  
  WHERE...etc.

-joe


On Mon, 13 Dec 2004 12:36:51 -0600, Nick Baker <[EMAIL PROTECTED]> wrote:
> What is the most efficient way to copy or transfer selected records from
> one table to another table with the same structure?. I.e., all records
> within a certain date range.
> 
> Select and Insert seems be a very laborious method.
> 
> Thanks,
> 
> Nick
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187417
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


MAX Query modification

2004-12-13 Thread Asim Manzur
I have a following query

SELECT MAX(S_Number) as currentNo
FROM Table

Which is doing what I want.

But the S_Number has a logic behind.
Let say today is December 13.
The First S_Number should be "200412130001"
where 2004 is the year and 12 is the month and 13 is the date and then
0001 is the first number (it need to be increament to "200412130002"
for the next number).

The query I have above how do I modify in order to get the same
sequence (which jumps to the 14 on tomorrow rather than 13

Can some one advise please.

--
Regards,

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187430
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Ben Rogers
> Huh? So suggesting mixing VB.NET and C# to squeeze more power from a .NET
> app that is what, a crutch? And what about writing straight Java when JSP
> can't do enough?

I hate to take the other side of this argument, but I think your example is
flawed. There's no practical reason to use C# over VB.Net because they are
both 1st class .Net languages. In other words, neither language is more
powerful than the other. From what I've seen, you could convert a VB.Net app
to C# with a search and replace.

This is in contrast to the jump from CFML to Java, which is relatively huge.
You're going from a dynamic/weakly typed, quasi-markup scripting language to
a static/strongly typed, C-style compiled language. And that's not counting
the shift from procedural programming to object oriented programming. You
simply can't expect most ColdFusion developers to make the jump from
ColdFusion to Java.

That said, I think that, for most people, the barrier to entry for VB.Net/C#
is greater than that for ColdFusion. However, once you've made that jump,
the .Net framework provides a tremendous amount of functionality.
Nevertheless, as opposed to constructs like , the
.Net framework is not necessarily Web friendly. You have to write a lot of
implementation code in ASP.Net that you don't have to write in ColdFusion.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187433
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
I like to give people some credit.  If I understand what a null is, I'm sure 
anyone else can.

>I'd like this, but I think there are a lot of people out there who do
>not fully understand what a null is and is not.
>
>-- 
>Aaron Rouse
>http://www.happyhacker.com/
>
>On Mon, 13 Dec 2004 14:21:42 -0400, Kwang Suh <[EMAIL PROTECTED]> wrote:
>> 
>> I'd like a concept of null type

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187435
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Sean Corfield
On Mon, 13 Dec 2004 14:14:40 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> Again, your assumption is that everyone's using Windows. If that's not the
> case, then you need to factor in the cost of Windows licenses as well as
> potential server management costs. In addition, you might be able to scale
> up better with a non-Windows solution (which generally limits you to scaling
> out rather than up).

Compare, for example, the cost of an 8-CPU Oracle license for web
access with the cost of CF Enterprise on a cluster of six 8-CPU
servers. The Oracle license is way more expensive. Consider the costs
of creating a fully redundant Oracle master/slave cluster to serve a
website. If you're in that sort of business arena, CF isn't expensive
at all. WebSphere, WebLogic, Oracle AS et al are all more expensive
than CF Enterprise. The integration software packages to integrate
those to ERP and CRM systems are $100k per server.

> Finally, the cost of software is typically a small fraction of overall
> application deployment and maintenance costs anyway. If you save a little
> bit per programming man-hour, you'll easily pay for whatever you license
> over a short time.

Exactly. The sorts of companies who don't blink at the cost of systems
like I just described are running projects that have $5-10m budgets
and most of it is manpower.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme

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

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187437
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Sean Corfield
On Mon, 13 Dec 2004 14:12:15 -0400, Kwang Suh <[EMAIL PROTECTED]> wrote:
> Hmm, Macromedia's for one.  Not sure if has ten, but there's a quite a few 
> there.  Anandtech was running quite a few as well.  There's William Sonoma.  
> How about Toys'R'Us before they switched over?  Pottery Barn.

I think we have about a dozen webservers (4 CPU I think) and 5 8-CPU
app servers and an 8 CPU db server. Apache / CFMX Enterprise / Oracle
on Solaris end-to-end with Cisco hardware load balancers, multi-level
firewalls etc etc etc.

> "Probably"?  Proof please.  And, apparently Macromedia is a multinational 
> shipping company.

We're close to a half-a-billion dollar a year company doing business
globally. Our website is ranked inside the top 200 most trafficked
sites in the world. We have close to fifty distinct ColdFusion
applications on macromedia.com and about 40,000+ static HTML pages as
well. Our web team - including project managers, designers,
producters, programmers, QA etc - is about seventy full-time staff. A
significant portion of that revenue comes from our website, through
our global online stores, powered by ColdFusion.

So, yeah, I guess we are analagous to a "multinational shipping company"...
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme

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

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187441
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
>>> Ah yes, the old "use Java when CF can't do it crutch." 
>
>Huh? So suggesting mixing VB.NET and C# to squeeze more power from a .NET
>app that is what, a crutch? And what about writing straight Java when JSP
>can't do enough?

By design, a .NET app is meant to use any IL conformate language.  As well, 
once a .NET class is compiled, it doesn't really matter what language it's been 
written in - calling that class is the same.

JSPs are merely an abstracted Servlet, so I don't see your point with Java.

I do think you have chosen to forget just how limited Java and COM integration 
is with CF.  It's not a panacea.  The createObject function is incredibly 
limited, and cannot be used for some forms of Java object instantiation.

I suppose as well then that there's no good reason for CFHTTP to exist.  Or 
CFFTP.  I should be using Java for those, right?

I don't think it's unreasonable to ask for a thread tag in CF.  You might even 
make some people happy with that.  Isn't that what you're trying to do?  
Fulfill client requirements?

Why is a person's request to have threading being used as an example of "best 
tool for the best job", when you're adding the  tag that spits out 
PDFs?  There's lots of Java libraries out there that do that.  They're not even 
that difficult to use.

>
>Sorry, that argument is just plain silly. No single language or tool does it
>all, nor should it. That's why you get to mix tools and languages and
>technologies.
>
>
>Correct. But depending on what you are building you may need to step beyond
>CF. That is not a limitation, it is good design. Why do you think we
>introduced the ability to extend CF (originally using C/C++) back in CF2 in
>1996?

I am perfectly aware of the reason: Because your customers asked for it.

>
>>From C, then COM, then Java, then CORBA, then more Java, then SOAP ... do
>you see a pattern? I have been saying this for years, and I'll keep saying
>it, the best CF apps are the ones not written purely in CF, and the most
>important part of CF development is knowing when not to use CF (heck, I
>wrote a column on this over 5 years ago!).

Well then, I must make awesome CF apps, because I never write pure CF apps.  
Sometimes I use a database with it!  And COM, and Java, and Web Services...

>
>Hummm, why do I suspect that those who complain most about CF not scaling
>are the ones violating this basic concept?

Well, I hope you're not talking about me, because I have defended CF's 
scalability numerous times, and not just on here.  My last bitch session about 
CF perfomance ended when CF5 came out.  I'm also a paying customer of the 
company that pays your bills, and perhaps, if you're going to insinuate 
something to me, you either say it outright, or provide proof of your 
statements.  I've gotten four companies I work at to either upgrade to the 
newest CF version at the time or to get CF in the place, so please spare me the 
rhetoric.  The last place I worked at, I got them to purchase 2 CF Enterprise 
licenses and 15 Devnet subs.

I have a few web apps deployed right now in CF, and they work hunky dory, thank 
you very much.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Can't Signin

2004-12-13 Thread Michael Dinowitz
Try it now. The issue was one of naming. I used a variable called method to
indicate what page to load into a multi-page interface. Method in CFMX (or
at least in 7) is reserved to indicate the page method. This caused the
variable to be loaded with get in each page run. I've fixed it for the sign
in and will do so for any other location I find. This will be replaced with
more up to date and tighter code as soon as I get another free second. 
Sorry for the inconvenience.


> I don't know something is wrong with the website. I can't signin.
> There is no text boxes there to put the username/password there.
> 
> Whenever  I go there it just have a link says "Back to previous section"
> 
> Is anthing wrong with houseoffusion website?
> --
> Regards,
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
>Is it safe then to assume that you don't use a QA server for .NET 
>development, or are you somehow doing that without paying for a Windows 
>license?

No, it is not.  My MSDN subscription allows me to run multiple Windows server 
for non-production purposes.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187444
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Rey Bango
> Ah yes, the old "use Java when CF can't do it crutch."
> I though the whole point of CF was to make it easy for developers to
develop.  And everything else is hard/takes longer/is more expensive.  So
why do I want to use something hard like Java to do something in CF?

Actually, I would call it leveraging the full capabilities of the
application server. If I can accomplish 99% of my tasks using CFML and 1%
using Java while saving myself a substantial amount of development time,
that's justification for me.

This last post you made was very short-sighted.

Rey Bango...

> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187424
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFDUMP var=variables shows custom functions?

2004-12-13 Thread Dawson, Michael
Copy them to the request or another scope, then delete their reference
in the variables scope.

Something like:




I'm not sure if this will work exactly as I have written it, however.

One other solution is to store all of your page variables in a struct.
Then, you can dump only that struct and ignore all other
variables-scoped variables.

M!ke

-Original Message-
From: Damien McKenna [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 13, 2004 1:10 PM
To: CF-Talk
Subject: CFDUMP var=variables shows custom functions?

I have an error tracker on my code that emails me a dump of just about
everything.  Today, on one site, I started including all of the
CFLib.org files for all page requests rather than as needed.  Nice idea,
except that now my email error dumps are twenty times larger than
before, all because the UDFs are listed in the 'variables' portion of
the dump and list a complete function prototype.  While this may be
useful for some, I would prefer not to be receiving 1meg emails for each
error.  Is there any way to stop CFMX listing UDFs in the 'variables'
scope?
 
--
Damien McKenna - Web Developer - [EMAIL PROTECTED] The
Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include

 




~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187426
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Tangorre, Michael
> From: Kwang Suh [mailto:[EMAIL PROTECTED] 
> Feel free to challenge them.

And feel free to move this conversation elsewhere... 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187446
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Copy Or Transfer Selected Records From One Table To Another Table?

2004-12-13 Thread Nick Baker
What is the most efficient way to copy or transfer selected records from 
one table to another table with the same structure?. I.e., all records 
within a certain date range.

Select and Insert seems be a very laborious method.

Thanks,

Nick


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187413
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Dawson, Michael
Maybe I'm the only one that feels this way, but I vote to take this
topic somewhere else.  Macromedia Forums is usually the best place to
have the "I hate ColdFusion" debates.

I, personally, stopped using the forums mainly because of these
religious wars.  We all know CF rocks, but it's not the be-all-end-all
of web app development.

Also, I consider this list a great resource for learning and sharing CF,
and web, techniques.  There has been nothing beneficial from this
thread. It has only served to waste my valuable time when I could be
bashing .NET on another mailing list.

Thanks
M!ke

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187427
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Adrocknaphobia
> Again, your assumption is that everyone's using Windows. If that's not the
> case, then you need to factor in the cost of Windows licenses as well as
> potential server management costs. In addition, you might be able to scale
> up better with a non-Windows solution (which generally limits you to scaling
> out rather than up).
> 
> Finally, the cost of software is typically a small fraction of overall
> application deployment and maintenance costs anyway. If you save a little
> bit per programming man-hour, you'll easily pay for whatever you license
> over a short time.

Lest not forget the costs of patch management. MS now releases patches
on a monthly schedule. In a large enterprise its a full time job to
keep up with pathches that often, so add in the salaries of a few
MCSEs, then Software Testers, then a patch management lab. Then again,
you could just ignore the patches and allow your servers to
continually crash.

-Adam

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187454
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Spike
Kwang Suh wrote:
>>Kwang Suh wrote:
>>
>>>Let's say I have a website I want to cluster on 10 servers.  With CF, 
>>
>>that's 10 production licenses at whatever cost you can find CF at.  
>>With .NET, it's zero cost, so there can be some additional cost 
>>savings.
>>
>>I'd like to see the total cost break-down for a site that was so large 
>>
>>it required 10 clustered servers.
> 
> 
> Hmm, Macromedia's for one.  Not sure if has ten, but there's a quite a few 
> there.  Anandtech was running quite a few as well.  There's William Sonoma.  
> How about Toys'R'Us before they switched over?  Pottery Barn.
> 

I said I'd like to see the total cost break-down for sites like that, 
not a list of possible candidates.

> 
>>I doubt the bottom line would move perceptibly if you switched from CF 
>>
>>to a free option.
> 
> 
> Proof?

I don't have any. That's why I prefaced my comment with "I doubt". It's 
my opinion, nothing more.

> 
> 
>>>Also, no matter what way you cut it, CF Enterprise is quite 
>>
>>expensive.
>>
>>If you're a child at school, a new mountain bike costing $200 is 
>>expensive. If you're a student at college, a new car costing $5000 is 
>>
>>expensive. If you're a medium sized shipping company, a new truck 
>>costing $100,000 is expensive. If you're a multinational shipping 
>>company, a new jet costing $10,000,000 is expensive.
>>
>>The numbers may not be spot on, but you get the general idea. 
>>Expensive 
>>is not an absolute term. It depends on the nature of what you're doing.
> 
> 
> Yes, and for web development, CF Enterprise is expensive.  

Why do you need CF Enterprise?

The price of a Windows 2003 server standard license is the same as a 
CFMX Pro license. The price of a Windows 2003 Enterprise server license 
is pretty close to the price of a CFMX Enterprise license and that still 
limits you to 25 CALs.

And apparently every country in the world buys and sells in US$.

I'm not sure what you're getting at there.

>  
> 
>>A multinational shipping company is the only one I'd expect to require 
>>
>>10 clustered CF servers to run their app, and that app would probably 
>>be 
>>saving them an amount of money that is enormous when compared to the 
>>$60,000 one time cost of the CF licenses.
> 
> 
> "Probably"?  Proof please.  And, apparently Macromedia is a multinational 
> shipping company.

Well, we could bat this one back and forth over the net all day. I don't 
have any proof that it is true and you don't appear to have any proof 
that it isn't. I certainly have enough personal experience of working 
with ColdFusion to know that 10 clustered servers is an exceptionally 
large site with a *lot* of traffic. One would hope that any company that 
has that much traffic has a good reason to be paying the costs 
associated with running and maintaining a site of that size.

The multinational shipping company is the only one from the list I gave 
that I would expect to require that number of clustered servers.

I would be surprised if $60,000 in server licenses would be a blip on 
the radar for a company Macromedia's size too.


> 
> 
>>>Also, only development licenses are free.  QA, staging, and test 
>>
>>licenses are not with CF, unfortunately.
>>
>>Again, whether this is actually expensive to your company depends on 
>>the 
>>size of your company and what you want to use the app for.
> 
> 
> Yeah, you're right.  I don't need a QA server.  Thanks for setting me 
> straight on that.

I didn't say you didn't need a QA server. I said whether it's expensive 
depends on the size of your company.

Is it safe then to assume that you don't use a QA server for .NET 
development, or are you somehow doing that without paying for a Windows 
license?

> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187438
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFFILE Upload file restrictions (was Re: fck editor 2.0 RC)

2004-12-13 Thread Matt Robertson
Aieee.  So it does.  I thought there was something more to CFFILE
ACCEPT than that but a quick RTFM plainly says otherwise.

So much for that.  Never mind.  :-)

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187455
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Dave Watts
> Who said anything about fixing?  I'd like more functionality:
> 
> I'd like to have  work across multiple 
> databases.  And allowed nested .
> I'd like some other number type beside floating point.
> I'd like a concept of null type.
> I'd like to have CFCs have interfaces, constructors, 
> overloaded methods, more obvious variable scoping.
> I'd like to have at least a collection CFC type.
> I'd like to have threads.

I think that the problem with some of these is that you risk increasing CF's
complexity to the point where you might as well just use Java or ASP.NET.
CFML is typeless because HTML forms are typeless. CFML doesn't understand
null because it doesn't exist within HTML. I think that for the rest of
these things, if you're advanced enough to want to do them you can step
outside of CFML and write Java code to do these things.

To the degree that these things could be added without sacrificing the
simplicity of CFML, I'd certainly agree with you. I'm just not sure if
that's possible, in which case I think these features would be detrimental
rather than helpful.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187440
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT moving to FireFox

2004-12-13 Thread Michael Wilson
Ben Rogers wrote:
>> Quirks mode also prevents developers from utilizing the standards
>> advances and CSS support in IE 6.

> It might be a little limiting, but backwards compatibility always is.

In this case, through the use of either hacks or conditional comments, 
it doesn't have to be as limiting. Your argument supports simplifying 
backwards compatibility, not simply supporting it. Conditional comments 
alone, provides full support for backwards compatibility in IE to the 
point that quirks mode does. Conversely, hacks are just another means to 
keep things simple without loosing the advances made in IE 6. They may 
break in the future, but that heavily depends on the hack.

>> Mozilla and Firefox, which don't suffer from many of these problems.

> Actually, they do suffer from the same problems. In fact, Mozilla's got it
> even worse since it has to support Netscape Navigator 4 behaviors in quirks
> mode. That's why Mozilla (and Firefox by extension) *do* support doctype
> switching.

Issues in NN 4.0 are easily handled without forcing a modern browser to 
perform as an outdated, less than entirely functional (broken?) 
implementation. Depending on your needs, you could simply serve NN 4 an 
unstyled document. Alternatively, you can use the @import method to hide 
CSS as necessary. In either case you are getting the most out of modern 
browsers, while still serving a usable document to older browsers. If 
you need full blown support for NN 4, then you should base all of your 
CSS and markup on that browser's capability.

> By invoking quirks mode, you have to do very little to work around box model
> issues. By "very little" I mean that, on the typical site, I have to
> override between 3 and 4 classes defined in the standard style sheet. I use
> conditional comments to do this. I certainly don't need to implement any of
> the hacks that you described.
> 
> You can see an example of this here:
> 
>   http://www.nelivery.org/

By invoking quirks mode you have to do the exact same things you would 
for IE 5.x. If you avoid the problem altogether, as you have in the 
example you provided, there's no need for a hack or any other work 
around. When you can't avoid the broken box model or choose to use more 
semantic markup within your document, IE 6 in quirks mode will break the 
box model just like IE 5 does. I don't see how this solves anything 
other than allowing you to treat all versions of IE 5+ the same in your 
stylesheets.

On a typical site I may only use a hack or a conditional 3 or 4 times... 
the true number depends on the design and how I approach it. Often times 
I can avoid it completely, but when it pops up, I simply fix it.

> I agree. However, my point is that I've never had to use any of those hacks.
> Using a combination of quirks modes and the conditional comment behavior,
> you can avoid the necessity for those hacks. This results in less code. The
> code that you end up with is also easier to read code because it's not
> obfuscated with the hacks.

You can do the exact same thing without forcing IE into quirks mode... 
That is exactly the point I was trying to make. Rather than create a 
conditional for IE 5+ you create one specifically for IE 5.x, while IE 6 
continues to use the correct width settings in your master stylesheet. 
The only benefit forcing quirks mode offers is that you can address any 
IE 5+ shortcoming in a single "all-ie" stylesheet.

> You're exploiting bugs and undocumented behaviors. In my book, this means
> that you can't rely on them. That doesn't mean you shouldn't ever use them.
> However, it does mean they should be used as a last resort. Fortunately, I
> have never had to use them.

Of course you don't ever have to use a hack. You can avoid it in a 
number of ways--in the markup, by using conditionals comments, or by 
avoiding the use of margin, padding, and border combinations.

> Quirks mode in Internet Explorer, Mozilla and Oprah is a feature. You are
> not "breaking" the browser by using this feature. It exists for this very
> reason.

Ok, then you are intentionally making the browser behave incorrectly and 
ignoring the CSS 2 spec.

>>You call it backwards
>>compatibility and I'll call it backwards thinking.
> 
> 
> Please avoid personal attacks. There's really no call for that.

That wasn't a personal attack. Had I called you a elitist asshat who 
thinks backasswards, that would have been a personal attack. I was 
attacking on your view, not you. My apologies, if you were offended. It 
wasn't my intent to pick a fight, I was just offering an alternative 
solution to quirks mode.

-- 
Best regards,
Michael Wilson


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187457
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/li

RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Dave Watts
> I'd say most people run CF on Windows, so they're paying 
> for the Windows licenses on top of CF license.

Perhaps, but if they are, do you really think they're so cost-conscious
about the price of CF server licensing if they're willing to pay for Windows
licensing without batting an eye? I like Windows as much as the next guy,
but when I provision a server with Windows, I'm paying for something that
has a free competitor, just like when I buy CF. Unless you're doing
something specific with Windows integration - using Active Directory for IIS
authentication for example - how do you justify the cost of purchasing
Windows? The same arguments here would apply to justifying the cost of
purchasing CF, in my opinion. If it makes your job easier, it's typically
worth the cost. If not, it isn't.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187458
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: select next/previous *record*?

2004-12-13 Thread Matt Robertson
Yes, I was thinking along the same lines, but I can't think of a way
to do it that would be even remotely efficient across about 10 key
fields they want to page thru display on.   I may revisit the issue
when I have some more time but these guys have signed off on foregoing
this feature for now.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187460
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Jim Davis
> Let's say I have a website I want to cluster on 10 servers.  With CF, 
> that's 10 production licenses at whatever cost you can find CF at.  
> With .NET, it's zero cost, so there can be some additional cost 
> savings.

If you're myopic enough to look at that as a valid comparison then you really 
SHOULD move to .NET.

Macromedia is NOT Microsoft.  ColdFusion cannot be free at that level.  
Microsoft sells (rather expensive) servers and supporting tools (SQL Server, 
Exchange, etc) by taking a hit on .NET.  How would MM recoup the massive costs 
of development for giving away CF?

If you think that statement "proves" some point, so be it.  But remember also 
that this argument is hardly new: the same was said (repeatedly) when ASP was 
free and CF cost money (and compared to today both sucked).

CF not only continued to seel, but thrived.  It continues to thrive.

> Also, no matter what way you cut it, CF Enterprise is quite expensive.

CF Enterprise is a god-damn, freakin' bargain.

For $5,000 (less actually, with partner discounts) I can cap a $70,000 WebSpere 
installation and saving 10 times that in development costs.

For those ten servers (let's assume IBM blades running AIX and WebSphere) the 
total cost of installation and software runs quickly into the million dollar 
range.  ColdFusion is an afterthought.

This is assuming that any entprise would actually build an application like 
that... but most won't.  If an application needed 10 clustered application 
servers you're also probably looking at least 5-10 clustered presentation 
servers.  Perhaps a few SSL accelerators.  Maybe a Local-Director or Site 
Selector out in front.

The infrastructure costs alone can top 10 million.  Want a Database?  Oracle 
and its associated infrastructure will probably add at least another 2 million. 
 Content Managment?  Expect to throw at least a million at Vignette (and it's 
associated consultants) or a competator.

Now throw in what we must assume to be a significant development, testing and 
management effort.  Double your infrastructure costs at least.

So, does CF add to this cost?  Yes!  Does it pay for itself in time savings?  
Most happy users will give a resounding yes!

The simple fact remains that it's not applicable to every project and to every 
developer.  There are also projects where the right developer with the wrong 
tool will cost you more than anything else.

But another simple fact remains: CF is still going strong.  The people using it 
are not all idiots unable to see the great glowing orb of truth over the hill.

Jim Davis

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187461
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


reReplace()

2004-12-13 Thread Tony Weeg
hi there.

i need to remove all carriage returns and white space from the
contents of a cfsavecontent.  one problem.

however, there are some *good* #Chr(13)##Chr(10)# that i want to keep.

so, what i was thinking, is to put something like #Chr(0)# at each *good* spot
then after i replace all cf+lf and white space, ill drop
#Chr(13)##Chr(10)# where i find
all #chr(0)#'s

although this doesnt seem to be too non-kludgy...  so, any idea how i
can remove all crappy whitespace and cr+lf from a cfsavecontent's
value?

all of this will end up in a csv file, which explains why i need all
the crap removed..

thanks!

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187462
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Kwang Suh
>Kwang Suh wrote:
>
>I said I'd like to see the total cost break-down for sites like that, 
>not a list of possible candidates.

You doubted that there were companies that used numbers of web servers.  I have 
provided you some.  Feel free to ask them.  Sean has already answered for you.
>I don't have any. That's why I prefaced my comment with "I doubt". It's 
>my opinion, nothing more.

Oh, ok.

>Why do you need CF Enterprise?

What my situation is really has no bearing on the market.  Suffice it to say 
there are customers, even on this list, that use and need it.

>The price of a Windows 2003 server standard license is the same as a 
>CFMX Pro license. The price of a Windows 2003 Enterprise server license 
>is pretty close to the price of a CFMX Enterprise license and that still 
>limits you to 25 CALs.

I'd say most people run CF on Windows, so they're paying for the Windows 
licenses on top of CF license. 

>
>And apparently every country in the world buys and sells in US$.
>
>I'm not sure what you're getting at there.

For some of us, US$10K US is a lot of money.

>
>
>Well, we could bat this one back and forth over the net all day. I don't 
>have any proof that it is true and you don't appear to have any proof 
>that it isn't.

No, I gave you proof for whatever statements I have made.  Feel free to 
challenge them.

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187445
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: fck editor 2.0 RC

2004-12-13 Thread Dan O'Keefe
I think soEditor is discontinuing the free version with the upcoming
release of the new version of the editor. They still support the
previously distributed free versions.

Dan


On Fri, 10 Dec 2004 09:49:27 -0800, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> I can't speak for FCK editor (does anyone else read that in a profane
> manner every time they see it?), but soEditor and HTMLArea both can
> have their image insert easily augmented to either include a browser
> for existing images uploaded to the system, or to have a full fledges
> manager for adding, editing and deleting images, as well as selection
> of one for insertion.  I usually use both, with the picker loading by
> default, and a link to the full-on manager.
> 
> cheers,
> barneyb
> 
> 
> 
> On Fri, 10 Dec 2004 10:04:48 -0500, Rick Root <[EMAIL PROTECTED]> wrote:
> > Irvin Gomez wrote:
> > >>Use TinyMCE. It's much simpler.
> > >>
> > >>http://tinymce.moxiecode.com/
> > >
> > > Looks nice, but regular (non-technical) users would have problems 
> > > inserting images.
> >
> > That was always my beef with a lot of the editors that don't include
> > such functionality it's hard to ask users to type in the URL of an
> > image on their server.  htmlArea was the same way - I ended up adding a
> > second image button to the toolbar that launched my own image browser.
> > That's why I switched to FCKeditor... it had the browse and upload built
> > into the main image dialog.
> >
> > tinymce might be nice for a message board utility or something where you
> > only want users to enter basic html, but as a full-featured editor, it
> > is definately lacking in the "ease of use" department if you ask me.
> >
> >  - Rick
> >
> 
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/blog/
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187447
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: reReplace()

2004-12-13 Thread Tony Weeg
so this reads:

reReplace(string,'#chr(10)#|#chr(13)#|#chr(32)#','','all'

replace all 10's 13's and 32's regardless of anything

is there a way to say, dont remove where you find a (couplet)

#chr(10)##chr(13)#

just where you find either that arent together?

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187465
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Jim Davis
>There are no professional CF hosting in Turkey :( So we always need to buy
>CF to host our projects which should be hosted at different geographical

I'm not sure I understand this.  If there's no CF hosting in Turkey, why not 
create some?  At the very least it would seem that you could host in another 
country for most apps.

>locations. We're using similar approach for most projects, because we
>generally solve all of the problems of the projects (providing hosting,
>maintenance, security, content contribution solutions for years). Sometimes
>our customers wants to host the site their own servers which requires a
>separate ColdFusion license. These conditions force us to shift other
>technologies, so maybe I cannot see the future of CF properly due to these
>conditions. Its popularity is different in Turkey.

Again, if you're buying servers already it seems like CF is small cost to incur 
in comparison - but that depends on the servers you're buying I suppose.

Server management costs for a year will dwarf the CF licensing cost - even if 
you go cheap figure (at least) $50 per hour of sitting in front of that server 
- that time adds up tremendously.

But if you can't afford it (and if the free edition of Blue Dragon isn't 
applicable) then you'll obviously have to look for different technology.  But 
in my experience that generally always costs more in the long run for any real 
application.

>Finally, we have some plans for next year to setup a small CF hosting
>company in Turkey :) (Any suggestions to setup a CF hosting company are
>welcome) This will help us to continue with CF.

Sounds good to me.  ;^)  Good luck!

Jim Davis

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187449
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Can't Signin

2004-12-13 Thread Michael Dinowitz
This section seems to have a bug that was exposed in the move from CF 5 to
CF 7. It's slated to be fixed ASAP but I have a small emergency at work and
I have to handle it first. It's probably just an issue of SES url vars.
 
> I don't know something is wrong with the website. I can't signin.
> There is no text boxes there to put the username/password there.
> 
> Whenever  I go there it just have a link says "Back to previous section"
> 
> Is anthing wrong with houseoffusion website?
> --
> Regards,
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187432
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Greg Morphis
Kwang, I think I know why you've had so many jobs.. 
You send all the damn day goofing off and bitching.
I'll be the first just to come out and say STFU.
You're preaching to the converted, you're wasting your time.
Now please, for the love of God, drop it and move on.


On Mon, 13 Dec 2004 15:42:41 -0400, Kwang Suh <[EMAIL PROTECTED]> wrote:
> > Please don't belittle my comments with such an offhand packaged
> > response.
> 
> Seriously, I'm not belittling you.  I've heard that phrase used so many times 
> for so many situations, it's perhaps an indication to MM that they need to 
> build in some more functionality, especially to keep up with the competition.
> 
> For instance, there was a post here about how slow string concatenation was 
> in CF.  Someone suggested using Java's StringBuilder class.  Heck, I wouldn't 
> mind if there was a way to create, say, a "superstring" in CF that would take 
> care of that for you.  What's wrong with that?
> 
> > I am try to respond in a reasonable and considered manner. The least
> > you
> > could do is return the courtesy.
> >
> > What is it that makes you think that it is a crutch?
> 
> As I have already stated in my response to Ben, createObject is not a panacea.
> 
> > On the one hand you're berating CFML for it's lack of vision, and on
> > the
> > other you seem to be claiming that it's somehow cheating to use some
> > of
> > the very powerful things that CFMX makes available to you.
> 
> Not everything in Java or COM is usable in CFMX.
> 
> > I for one would be horrified if Macromedia decided to expose full
> > thread
> > management in CFML. Thread programming is relatively complex and you
> > can
> > easily tie the server in knots if you aren't careful.
> 
> Well, so is SQL, but there it is.  There are many ways to kill yourself with 
> CF as it is, and I don't think adding thread capabilities is going to have 
> people up in arms.  I don't want a product that requires mittens on my hands 
> just in case I happen to type some code that'll blow up the server, as it 
> were.
> 
> >
> > The point is that all the power you need is available to CF as long as
> >
> > you are prepared to accept that some things will need to be done in
> > Java. Macromedia try pretty hard to make sure that those things are
> > edge
> > cases and don't impact the majority of their customers.
> 
> I don't really consider some of these things edge cases.
> 
> Poor Will.  All he wanted was a better ColdFusion.
> 
> > If they didn't ColdFusion would have disappeared a long time ago.
> 
> Why?
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187451
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfdump not formatting correctly

2004-12-13 Thread Adrian Lynch
Can I ask, what's the worst formatting you've had when it goes wrong? The
most I've seen is the colours and the label disappearing, has anyone ever
seen worse than this?

Ade

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 15:05
To: CF-Talk
Subject: Re: cfdump not formatting correctly


On 09 Dec 2004 09:55:36 -0500, Calvin Ward <[EMAIL PROTECTED]> wrote:
> I believe the problem is that none of the color settings have a # before
the color hexadecimal representation.
>
> If you really wanted to retain your doctype, you can create a custom tag
wrapper for cfdump and parse in the # sounds where appropriate

I've pretty much gotten into the habit of just commenting out the
doctype tag when i need to  dump a var.  But yeah, it's a
pain-in-the-butt sometimes.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.5.0 - Release Date: 09/12/2004


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187436
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFDUMP var=variables shows custom functions?

2004-12-13 Thread Greg Hamm
Could always change your dump function, to loop through the variables
scope and do an isCustomFunction() check on each key if it is then
remove that key form teh variables, if not leave it there. Then do teh
dump function.

 Since it only happens when you get an error, it shouldnt take too
much processesing, and you would not have to change yer code too much


On Mon, 13 Dec 2004 13:32:32 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> Copy them to the request or another scope, then delete their reference
> in the variables scope.
> 
> Something like:
> 
> 
> 
> 
> I'm not sure if this will work exactly as I have written it, however.
> 
> One other solution is to store all of your page variables in a struct.
> Then, you can dump only that struct and ignore all other
> variables-scoped variables.
> 
> M!ke
> 
> 
> 
> -Original Message-
> From: Damien McKenna [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 1:10 PM
> To: CF-Talk
> Subject: CFDUMP var=variables shows custom functions?
> 
> I have an error tracker on my code that emails me a dump of just about
> everything.  Today, on one site, I started including all of the
> CFLib.org files for all page requests rather than as needed.  Nice idea,
> except that now my email error dumps are twenty times larger than
> before, all because the UDFs are listed in the 'variables' portion of
> the dump and list a complete function prototype.  While this may be
> useful for some, I would prefer not to be receiving 1meg emails for each
> error.  Is there any way to stop CFMX listing UDFs in the 'variables'
> scope?
> 
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED] The
> Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include
> 
> 
> 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187466
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Michael Dinowitz
And at this point I'll have to ask that the conversation be moved to CF-OT
or CF-Community. Thank you.

> Kwang, I think I know why you've had so many jobs..
> You send all the damn day goofing off and bitching.
> I'll be the first just to come out and say STFU.
> You're preaching to the converted, you're wasting your time.
> Now please, for the love of God, drop it and move on.



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187452
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   3   >