Question? Why would automatic locking for Session & Application variables
be any more of a performance hit that CF searching for APPLICATION.CFM all
the way up the directory tree - for each and every page call? I don't see
it. I'd think that would be very easily done. Especially since it is so
very important!
Dave
----- Original Message -----
From: Zachary Bedell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 9:56 PM
Subject: RE: CFLOCKs.... is this really necessary?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I would also like to add that Coldfusion Server
> is the only scripting language that also makes
> the coder responsible for this that I am aware.
ASP required the same thing, tho it's not as picky about it.
> So why did Allaire not make this an automatic then
> from the CF rather than us having to make sure of it...
It's a speed issue.
<CF_Rant>
What WOULD be nice is if CFStudio could scan templates for any
unlocked reads. It would be fairly easy to do, and it could also
scan for syntax errors BEFORE sending the page to the server. Take a
look at Java's compiler. The compiler in Java makes 100% certain
that your code couldn't possible do anything like access an invalid
pointer or run off the end of an array. It does this completely at
compile time, without any impact on runtime performance. It's
certainly possible to make CFStudio do the same for CFML, and
considering Allaire shafts you $500+ for an overgrown text editor,
that seems like a reasonable feature request.
> Oh well maybe in a new release it might be
> considered....
4.5.1 DOES have an option for server-side locking validation. Like I
said, it's a performance hit. If Studio did CFML validation, it
could check for locks, for undefined variables, and any number of
other gotchas. I really don't see any excuse for Allaire not doing
such a thing.
</CF_Rant>
Ah well... Enough rant for one night...
Best regards,
Zac Bedell
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOYDoNQraVoMWBwRBEQLiSgCeMxuwY5zyRy9f8g45h74WBl8DSR8AoNPl
iYtPAZ+JnwWlDck3qRW+rtiL
=XYwc
-----END PGP SIGNATURE-----
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.