Re: HTML format > list

2003-09-23 Thread Sean A Corfield
On Tuesday, Sep 23, 2003, at 08:34 US/Pacific, Mosh Teitelbaum wrote: 
> How do I get rid of all the blank lines?  [blink] [blink] 
 
That's where code should be but the system is not escaping the < and  
> delimiters so code is just turning into blank lines. 
 
Sean A Corfield -- http://www.corfield.org/blog/ 
 
"If you're not annoying somebody, you're not really alive." 
-- Margaret Atwood 

~|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: HTML format > list

2003-09-23 Thread Sean A Corfield
On Tuesday, Sep 23, 2003, at 07:24 US/Pacific, Robertson-Ravo, Neil  
(RX) wrote: 
> uurgh is it me, or is it harder to read? 
 
All code is being blanked out - that makes several of the recent  
questions totally impossible to read! 
 
Sean A Corfield -- http://www.corfield.org/blog/ 
 
"If you're not annoying somebody, you're not really alive." 
-- Margaret Atwood 

~|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: HTML format > list

2003-09-23 Thread Sean A Corfield
On Tuesday, Sep 23, 2003, at 09:20 US/Pacific, Tony Weeg wrote:
> read all message in plain text...therefore when you reply, PLAIN 
> TEXT!! :)

And where's the HoF option to force messages in plain text?!?!?! I 
tried the [User Settings] link but there's no information about forcing 
plain text emails that I can see.

Even worse, when I reply to a message it now refuses to wrap lines at 
all in my email client so I can't even just respond without *manually* 
the damn message to plain text!

This makes the list pretty much unusable for me (as I predicted it 
would).

I'm signing off until messages go back to plain text.

Michael, email me privately when you've fixed this.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138143
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Jrun4 and CFMX

2003-09-22 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 12:48 US/Pacific, Bryan F. Hogan wrote:
> Save from EJB, etc, what does JSP the language have over CFMX if it 
> does
> have something over CFMX? If they both can do the same job, why would 
> one
> choose JRun over CFMX? Speaking of those that do choose JRun over CFMX.

I think it's more of a basic Java vs ColdFusion technology choice. It's 
more like choosing ASP or PHP over ColdFusion. Once you've decided 
you're going to use Java / J2EE then you pick an application server and 
that puts you in the JBoss, JRun, Sun ONE, IBM WebSphere, BEA WebLogic 
etc marketplace.

What makes people choose JSP over CFML as their technology? All sorts 
of factors really. I, personally, don't like JSP - I think it's ugly 
and low-level. I think the same about ASP and PHP in fact. I prefer 
CFML as a language (and CFMX 6.1 as an implementation). But a lot of 
people don't know enough about CFML to consider it a viable alternative 
to JSP and / or they believe the FUD - Fear, Uncertainty & Doubt - 
spread by CF's detractors...

Your question was posed as "why choose product A over product B?" but I 
think the underlying technology question is more interesting...

Sean A Corfield -- http://www.corfield.org/blog/

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


~|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: Breaking a String apart by replacing every other delimeter...

2003-09-22 Thread Sean A Corfield
On Monday, Sep 22, 2003, at 12:02 US/Pacific, Les Mizzell wrote:
> Sean A Corfield wrote:
>> REreplace(PDWBD.DynamicQuestions & '|','([^\|]*)\|([^\|]*)\|','\1:
>> \2','ALL')
> That's some sick looking stuff, but it works like a charm.

For once I tested my code before posting :)

> Jezz, I need to stare at that awhile a figure exactly what it's 
> doing

[^\|]* matches 0 or more characters that don't include |

([^\|]*)| matches a sequence of 0 or more non-| characters followed by |

([^\|]*)|([^\|]*)| matches stuff like Target Present|Yes|

\1 refers to the 1st sub-pattern, \2 to the 2nd.

It adds '|' to the end of your string because you only have inline 
separators, not a closing separator.

Hope that helps!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137985
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: Breaking a String apart by replacing every other delimeter...

2003-09-22 Thread Sean A Corfield
On Monday, Sep 22, 2003, at 11:34 US/Pacific, Les Mizzell wrote:
> How can I break this string apart:
>
> Target Present|Yes|Unit Replaced|Yes|Unit Replaced|No|Comment|Wet
>
> So I get:
>
> Target Present: Yes
> Unit Replaced: No
> Comment: Wet

REreplace(PDWBD.DynamicQuestions & '|','([^\|]*)\|([^\|]*)\|','\1: 
\2','ALL')

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137980
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: So... cfmodule is slow...?

2003-09-22 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 23:09 US/Pacific, Adam Churvis wrote:
> the two main things that got me about CFIMPORT was that
> you couldn’t use a variable to target the custom tag library location 
> since
> it’s a compile-time directive

Correct. You can use a mapping however and that can be controlled from 
the CF Admin - that's as 'dynamic' as it gets.

> secondly "importing" the entire library
> of custom tags at that location, which sounded like a lot of 
> unnecessary
> overhead on each page request.

Which you now know is not true! :)

> Without that, our software wouldn’t be easy to deploy in a shared
> environment where the mapping name you hard-coded into all those 
> CFIMPORT
> calls during development wasn’t available when it came time to deploy 
> on a
> box that had a hundred other sites on it-- and one of them got your 
> mapping
> name first.

Choose a mapping that uniquely identifies your software. If the 
software's that big and important, I doubt you'd want to deploy it on a 
box shared with "a hundred other sites", surely?

> All this being said, would you seriously consider amending your 
> ColdFusion
> MX Coding Guidelines regarding the use of CFMODULE?

 is banned in our environment. I have, however, adjusted the 
wording to read:

"Don't use cfmodule

It's slower than a CFC method invocation, it's slower and uglier than 
using a custom tag with a prefix, it's even slightly slower than a 
regular custom tag invocation. Better options exist: use a CFC 
(preferred), use cfimport and invoke a custom tag (always preferable to 
invoking a custom tag via cfmodule) or even simply including a file."

This will be in the 3.0.1 version that I'll put out shortly (allowing 
for more public input).

> Just from this
> discussion today, I don’t think the claim of "slow" really holds up 
> anymore,

I disagree. In terms of straight line speed it is clearer slower than 
the cfimport/prefix invocation.

> nor does the claim that it "encourages some very unstructured usage."

Even tho' I've dropped that comment from the coding guidelines, I stand 
by it.  was introduced into the language to provide a 
workaround for the name clashes caused by the search order for custom 
tags. It was a patch, nothing more, because custom tags themselves are 
not a very structured way to program (but, back in the day, there was 
nothing better). CFCs provide much more structure so, except in places 
where a custom tag is more idiomatic - which the coding guidelines do 
allow for - custom tags in general are frowned upon here (by my team).

> in light of what I’ve mentioned about maintainability (especially in 
> shared
> hosting environments), CFIMPORT isn’t "always preferable" to CFMODULE.

As I said, these coding guidelines are written from the perspective of 
the team that built macromedia.com and, for us,  *is* always 
preferable to .

> I really want to clear up these rumors, and your
> very influential guidelines document would be a great place to set the
> record straight.

Well, that document will continue to say "Don't use cfmodule" because I 
believe it is far from best practice with CFMX 6.1. Best practice 
changes over time.  might have been best practice in earlier 
versions of CF but now they are better ways to handle complex libraries 
of code.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137936
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: So... cfmodule is slow...?

2003-09-19 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 18:42 US/Pacific, Adam Churvis wrote:
> I'd like to get your opinion on something else, if I may.  If a system 
> makes
> extensive use of a good-sized library of custom tags throughout an
> application (virtually on every page), and the logic and display tasks
> handled by them are truly best implemented as custom tags (many of 
> which
> internally call components that interface with the persistence layer),
> wouldn't using CFIMPORT on every page (which redundantly re-imports the
> entire library of custom tags with each page request) be considered a
> second-best approach in favor of discrete calls via CFMODULE 
> template="" to
> just those custom tags needed on each page?

See my other email -  is a compiler directive that creates no 
runtime overhead. The great benefit of  is that it allows you 
to create 'namespaces' for custom tags so that you can use a nice, 
clean syntax for calling custom tags but without any ambiguity about 
where the tags actually live.

> I can see using CFIMPORT for the occasional call to a custom tag in a
> relatively small library (or subdirectory of a library) of custom 
> tags, but
> it seems to me that when you have a lot of them and use them just about
> everywhere that CFMODULE template="" is the best approach, both from an
> architectural and a performance point of view.

Actually, no.  is cleaner since you end up with regular tag 
syntax:


stuff here


Instead of:


stuff here
 

Note how you'd need a comment on the closing cfmodule tag (if "stuff 
here" was long enough that you couldn't see both start and end tags on 
a single page) whereas the  format let's you close the custom 
tag with it's name!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137790
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: So... cfmodule is slow...?

2003-09-19 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 19:46 US/Pacific, Adam Churvis wrote:
> First, CFIMPORT is running only once, but the x:tag is being called 
> 100,000
> times.  In the real world, CFIMPORT would be called on every page 
> using a
> custom tag.

Correct. But  is a *compiler* directive and doesn't really do 
anything other than instruct the compiler how to process 
.

> Second, you're not using an entire library of custom tags, so CFIMPORT 
> isn't
> doing anything near what it would in a real application, where it has 
> to
> import an entire directory of custom tags every time it is called on a 
> page
> request (not just once before a loop within a single page).

See above -  doesn't *do* anything other than tell the 
compiler what to do with the  calls.

I re-ran the test with an empty loop and a loop running just  
(both 100,000 times):

empty loop: 470
cf_tag: 12413
cfmodule: 13180
cfimport: 526
x:tag: 10653

Hopefully this shows that  isn't doing anything worthwhile at 
runtime? I expect the (small) difference is due to the whitespace 
generated by the additional blank line in the  loop...

> Third, you're calling all syntaxes on the same page.  I would think 
> this
> would skew the numbers substantially, even though you're separately 
> timing
> each.

How would it skew the numbers? Have you split the test file into three 
separate files to see if it actually does change the timings? (It 
might, I've no idea - but I'd be surprised if it did)

> Fourth, your CF_tag example has the tag in the same directory as the 
> calling
> template, so you're not getting any hit from having to search for the 
> tag,
> which typically happens in real applications.

Well, it *is* searching but it's finding it immediately. Given how CFMX 
caches the location of each and every custom tag it invokes, I'd be 
surprised if the actual location of the custom tag made a huge 
difference.

> I just need to acid test the premises I have been going on, and
> I sincerely appreciate your help with this.

I'd strongly suggest you conduct tests of your own to satisfy your 
curiosity. Seriously! I can knock up any number of simple, inline tests 
but I can't cover all the cases that you're interested in so you are 
better placed to construct tests that relevant to your usage.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137789
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Yet another OO/CFC question

2003-09-19 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 16:56 US/Pacific, Hal Helms wrote:
> The problem you're running into is why we so urgently need for CF to
> have the concept of "null" - a symbol that fulfills the contract for 
> any
> class.

Actually I think Jim's problem is one of modeling: he has "Venue" but 
really that is modeling two things... a physical location (e.g., 
"Boston Common") and the actual performance rooms within it (e.g., 
"Frog Pond", "Brewer's Fountain" etc). If you separate out these two 
concepts as Venue and PerformanceRoom then a Venue always has at least 
one PerformanceRoom. Both entities have their own useful properties: a 
Venue has various facilities, a PerformanceRoom has seating / standing 
capacities etc.

Yes, there are some cases where a genuine null would be a big help (and 
I've requested it too) but by examining the multiplicity in OO 
relationships you can usually workaround it in a fairly clean way. The 
hardest thing to work around is "0 or 1" for which you pretty much have 
to use isDefined() or structKeyExists()...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137784
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: So... cfmodule is slow...?

2003-09-19 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 16:24 US/Pacific, Sean A Corfield wrote:
> "slow" in comparison to, say, CFC method invocation.

So I went back and did some linear timings... yeah, I know they don't 
tell you 'real world' performance but it was interesting nonetheless:

I ran these three tests in a long loop:

#1:  (with tag.cfm in same directory)

#2: 

#3: 


 was the fastest - by quite a margin; next was ; slowest 
was . There wasn't a huge difference between  and 
 tho'. Here's a sample result for 100,000 iterations:

cf_tag: 12148
cfmodule: 13497
x:tag: 9465

tag.cfm contains just:


The test file looks like this:







cf_tag: #b-a#





cfmodule: #b-a#






x:tag: #b-a#


Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137783
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: MVC

2003-09-19 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 12:16 US/Pacific, Dave Hodder wrote:
> I think Mach-II <http://www.mach-ii.com/> is becoming the de facto MVC
> framework for ColdFusion.  There isn't a whole lot of documentation on
> the Mach-II site, but there are three example applications which are
> useful.

And then there's my Mach II site too:
http://www.corfield.org/machii/

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137778
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: So... cfmodule is slow...?

2003-09-19 Thread Sean A Corfield
On Friday, Sep 19, 2003, at 09:21 US/Pacific, Adam Churvis wrote:
> My point of contention was whether or not Sean thought that CFMODULE 
> on CFMX
> 6.1 using template="" syntax was "slow" because we use custom tags 
> quite a
> bit here.

"slow" in comparison to, say, CFC method invocation.

You must remember that these coding guidelines are written from the 
perspective of my team's software experience which, in general, leans 
toward CFCs instead of custom tags and, where we use custom tags, we 
like to tightly control their use - hence the recommendations for 
cfimport to identify the path to the tags and to create unique 
'namespaces' to invoke the custom tags.

And, as Jim says, this is more of an architectural decision than a 
performance based one.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137775
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Expandpath() is returning the wrong path.

2003-09-19 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 12:23 US/Pacific, Ian Skinner wrote:
> Is not #expandpath("/")# supposed to return the absolute directory of 
> the
> webroot that the template is in?

It will return the ColdFusion document root, not the IIS document root. 
For many people, those are the same but for many others, those are not. 
ColdFusion doesn't know about the IIS document root, only its own.

For example, our (Apache) web server document root is:
/data/www/sites/www.macromedia.com/docs/
But out ColdFusion document root is:
/data/www/appserver/cfmx/wwwroot/
And, in most cases for us, these are on different servers.

> I have used constructs such as this many times since CF4.5 days.

And if your CF and IIS document roots both point to the same directory 
then expandPath("/") will give you the IIS document root (because 
that's the same as the CF document root).

> it returned the absolute path of the
> CF stand-alone web server webroot ("c:/cfusionMX") by default I 
> believe.  A
> directory that the template was not in, or any templates for that 
> matter.

So CF must still have had some configuration to say that "/" was mapped 
to that directory.

> I also remember, finding a technote the discussed this, and modifying 
> an XML
> file to correct the behavior.  Basically something about the default 
> order
> of searches when multiple web roots exits, or something along those 
> lines.

Yup, sounds likely.

> I thought disabling the stand-alone server would solve this problem, 
> but it
> has not.

Correct, because the mapping still exists to c:\cfusionmx\ and that was 
taking precedence over the mapping you needed. Sounds like you fixed it 
by adding a new virtual-mapping? That probably changed the search order 
for multiple web roots...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137701
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: Expandpath() is returning the wrong path.

2003-09-18 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 11:40 US/Pacific, Ian Skinner wrote:
> I have an expandpath("/") and it is returning the path of the 
> ColdFusion
> standalone web server web-root (c:/cfusionmx/wwwroot) rather then the
> correct web root of the IIS website (d:/websites/bloodsource).

But expandPath() only knows about the ColdFusion root - it can't 
possibly know about the web server root.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137568
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: CFMX 6.1 Server Mappings Failing (SOLVED)

2003-09-18 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 11:42 US/Pacific, Dave Carabetta wrote:
> Directory browse applets on work in the MX Admin if you have RDS 
> enabled.

Yes, RDS is required for the browser applets in CFMX Admin (but, 
regardless, the browse applets do not function on Mac OS X even with 
RDS enabled).

> Perhaps mappings are also associated the the enabling/disabling of RDS?

No, mappings work fine on all of our servers - and we have RDS disabled 
on every machine.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137566
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: CFMX 6.1 Server Mappings Failing (SOLVED)

2003-09-18 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 10:53 US/Pacific, Calvin Ward wrote:
> The tail end of your email is one I'd like to see discussed.
> - Original Message -
> From: "Ian Skinner" <[EMAIL PROTECTED]>
>> My question is WHY?  Apparently server mappings need a JVM?  Is this
>> documented somewhere?  What exactly is the relationship between CFMX, 
>> JVM
>> and Jrun (or other J2EE server)?  Just one of those things I would 
>> like to
>> understand!

But CFMX *requires* a JVM in order to run at all and when you install 
CFMX, it installs a JVM for you (CFMX 6.1 installs Sun's JRE 1.4.2 for 
example). It sounds like some bizarre configuration problem on your 
server - server mappings should not require any additional setup, they 
should just work.

As for the directory browse applets in the CF Admin, that's a separate 
issue - for example, they don't work on Mac OS X (I don't remember why 
but it is mentioned in the Release Notes and/or the Known Issues list) 
but mappings still work just fine on OS X.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137551
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: advice

2003-09-17 Thread Sean A Corfield
On Wednesday, Sep 17, 2003, at 09:16 US/Pacific, Kris Pilles wrote:
> So the beef in europe is not as good in US huh?

The beef in Europe is prepared differently so it tastes rather 
different. When my wife lived in France, she used to got to a Kosher 
butcher because that was the closest she could get to US-style beef...

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137336
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Can I Throw within ???

2003-09-17 Thread Sean A Corfield
On Wednesday, Sep 17, 2003, at 08:20 US/Pacific, Adam Wayne Lehman 
wrote:
> Thanks Tom. There is actually a 'break' command in cfscript, I was just
> using it as an example to illustrate operators and commands that go 
> hand
> in hand.

There are a lot of folks who think that using 'break' in a loop is 
unstructured and bad practice... i.e., they should not go 'hand in 
hand'...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137334
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: CFC-based GPL web HTML editor

2003-09-16 Thread Sean A Corfield
I was going to stay out of this but...

On Tuesday, Sep 16, 2003, at 15:05 US/Pacific, Claude Schneegans wrote:
>>> That would mean that everyone who uses Windows using IE 5.5+,
> No, because you also have all those using IE on Macs ;-)

Actually, no. Mac IE stopped at 5.2.3 - it did not reach 5.5. And many, 
many Mac users have long since abandoned IE for a more feature-rich 
browser such as Safari, Mozilla, Opera...

Visitors to my blog (86% Win, 13% Mac, 1% Linux):
64% IE 6.x
 6% IE 5.x __ 70% IE 5.x+
 1% Konqueror 3.x
29% Netscape 5.x

Vistors to my site in general (85% Win, 3% Mac, 12% Other/Linux):
72% IE 6.x
 8% IE 5.x __ 80% IE 5.x+
 1% Konqueror 3.x
 1% Konqueror 2.x
 1% Netscape 6.x
12% Netscape 5.x
 1% Netscape 4.x
 4% Netscape 3.x

As you can see, not even all Windows users are running IE - only about 
15% of my audience is non-Windows, yet 20-30% of my audience is non-IE.

Note: certain 'fringe' browsers are detected as Netscape / Konqueror 
when they aren't.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Red Sky download

2003-09-16 Thread Sean A Corfield
On Tuesday, Sep 16, 2003, at 02:22 US/Pacific, John McCosker wrote:
> where can I download Red Sky (MX 6.1),

http://www.macromedia.com/cfusion/tdrc/index.cfm?product=coldfusion

> the Macromedia website tells me, existing customers can download for 
> free,
> but I can't seem to find the link.

The single trial / developer installer offers the option to upgrade 
your existing installation.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: CFMX scope searching ?

2003-09-15 Thread Sean A Corfield
On Monday, Sep 15, 2003, at 15:28 US/Pacific, Tyler Silcox wrote:
> Both examples throw an error. Is this how CF5 was?

LiveDocs:

http://livedocs.macromedia.com/coldfusion/5.0/CFML_Reference/ 
Expressions3.htm

"When a variable does not have a scope prefix, ColdFusion searches for  
it in the following sequence:

Local variables created using cfset and cfquery
CGI
File
URL
Form
Cookie
Client"

You can compare this with CFMX 6.1:

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/variab38.htm

"If you use a variable name without a scope prefix, ColdFusion checks  
the scopes in the following order to find the variable:

Arguments
Variables (local scope)
CGI
Cffile
URL
Form
Cookie
Client"

So the behavior is basically the same. No "request" scope.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: CFMX scope searching ?

2003-09-15 Thread Sean A Corfield
On Monday, Sep 15, 2003, at 13:12 US/Pacific, Ryan Stille wrote:
> I remember hearing somewhere that CFMX searched scopes differently, 
> like maybe it wouldn't search scopes at all anymore, you always had to 
> use Form.name instead of just using 'name' and letting it find it in 
> the Form scope (I know it's best pratice to scope anyway).
>
> Is there any truth to this or am I just making it up?  Anyone have a 
> URL that states this?  I searched but couldn't find anything.

You're hallucinating. CFMX should behave just like CF5 in respect to 
scope lookup (except, possibly, in some weird corner cases).

However, it is certainly better practice to always use scope qualifiers 
when referring to variables...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: cfc vs cfinclude

2003-09-15 Thread Sean A Corfield
On Monday, Sep 15, 2003, at 13:09 US/Pacific, dwayne wrote:
>>> from a performance perspective, I'm wondering which is most 
>>> efficient.
>> option 2
> So what if I stored the object in the application scope.  Would this 
> make using a component structure more efficient than using cfinclude?

It wouldn't make enough of a performance difference to worry about 
either way.

(Why are people so focused on micro-performance issues instead of the 
bigger picture stuff?)

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: (Admin) List upgrades

2003-09-15 Thread Sean A Corfield
On Monday, Sep 15, 2003, at 13:02 US/Pacific, John Wilker wrote:
> I don't know about you but That seems like an aweful lot of work just 
> to
> emphasize a word, not to mention wasting a line.

Mosh's example is a little over the top. *bold* and _italic_ are 
actually the 'standard' forms of emphasis in Usenet, dating back more 
than a decade (now, that makes me feel old!). I've encountered several 
email clients that use this sort of annotation to embolden and 
italicize text - in fact, open up MS Word and you'll see it converts 
*bold* and _italic_ automatically for you!

Jochem's point is that  and  are better ways to add 
emphasis in HTML (rather than  and ).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: (Admin) List upgrades

2003-09-15 Thread Sean A Corfield
On Monday, Sep 15, 2003, at 10:41 US/Pacific, Michael Dinowitz wrote:
> but also have the footer be clean and nice looking. This would mean 
> that the links would come out as links

Most(*) mail clients auto-hyperlink things that look like 
http://blah.blah.blah - you don't need HTML for that.

* By which I mean the most-used mail clients, i.e., most of the folks 
reading this list get this feature 'for free'.

> My only fear in doing so would be that it would alienate some of our 
> subscribers.

It would sure alienate me unless I could set a preference to turn it 
off again! :)

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: (Admin) List upgrades

2003-09-14 Thread Sean A Corfield
On Sunday, Sep 14, 2003, at 20:39 US/Pacific, Michael Dinowitz wrote:
> 1. What is the best RSS reader? I'm writing an RSS feed for all of the 
> lists and
> I'd like to know what people are using and what they feel is the best. 
> The RSS
> feed will be expanded to FA as well.

Windows: Feed Demon; Mac: NetNewsWire.

I'd be interested in an FA feed but not a cf-talk feed. cf-talk is too 
high traffic for RSS in my opinion.

> 2. I'm going to add in a link on each post to send the user directly 
> to the post
> in the archive. Should this link be before the message (a header) or 
> after (a
> footer)?

Footer - more likely to be visible in mail programs I'd expect.

> 3. As an extension to the previous question, does anyone actually look 
> at the
> message footers?

Er... sometimes...

> 4. As an extension of the previous question, does anyone click on any 
> of the ads
> that are on HoF/FA? (such as the new MM ad)

Nope.

> 5. Would people like the option to get their mail in HTML format?

No. I like ascii email. I've seen some real abominations in terms of 
fonts and background images that I prefer my mailing lists to stay pure 
ascii!

> 6. Other than a wikki (which I'll look into after the RSS feed), are 
> there any
> features you'd like for the lists?

What would be more useful than #2 above would be an In-Reply-To: header 
with a link to the message in the archives to which the current message 
was a reply. Is that possible?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Possible to change doc root for cfmx in a Cluster?

2003-09-14 Thread Sean A Corfield
On Friday, Sep 12, 2003, at 07:51 US/Pacific, Stacy Young wrote:
> http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=937

Yeah, Brandon recently pinged me about it so he could repro (with 
corrections) my original blog post on the subject! :)

Let me know if you have any problems - this is how macromedia.com is 
setup.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: No so good news

2003-09-14 Thread Sean A Corfield
This is off-topic (and extremely hypothetical until Microsoft and the 
W3C actually announce something official!) - can you please move it to 
cf-community!!

On Sunday, Sep 14, 2003, at 10:02 US/Pacific, Kevin Graeme wrote:

> Another bit of possible prior art that I keep wondering about is 
> Apple's
> Hypercard and XCMDs.
>
> Hypercard is one of the foundation examples of hypertext. XCMD stands 
> for
> "eXternal CoMmanD". It was a way to incorporate any external media or
> datasource into the hypertext document. That included QuickTime video 
> as
> well as network databases. I recall a project that was built tying 
> Oracle
> into Hypercard feeding the page content and allowing people to do 
> queries.
> Hmm.
>
> Also, Gopher even had some of this. It was a distributed hypertext 
> medium
> that could launch media clips as well.
>
> -Kevin
>
> - Original Message -
> From: "Ken Wilson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, September 13, 2003 7:00 AM
> Subject: RE: No so good news
>
>
>> Prior art found perhaps?
>>
>> http://www.ozzie.net/blog/stories/2003/09/12/savingTheBrowser.html
>>
>>
>>
>> -Original Message-
>> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, September 13, 2003 7:51 AM
>> To: CF-Talk
>> Subject: Re: No so good news
>>
>>
>> Jim Davis wrote:
>>
>>> No problem.  It's just that some people are taking this as an "MS
>>> finally gets theirs" situation when the ramifications are
>>> (unfortunately) really much larger than that.
>>>
>>> I'm waiting for the definition of "browser" to come up - any 
>>> hyper-text
>>> system (CD ROM encyclopedias, help systems, computer assisted 
>>> training,
>>> etc) may be affected by this.
>>
>> Any hypertext system capable of network operation is affected by
>> it. The text of the patent is quite clear (and entertaining).
>>
>>
>>> I fully expect it to be thrown out in a higher court
>>
>> I don't. The only conceivable reason for it being thrown out is
>> prior art. I fully expect Microsoft to be capable of finding
>> that, so I presume it doesn't exist.
>>
>> What might happen is that a court orders Eolas to license the
>> technology under non-discriminating conditions. But they should
>> be willing to do so anyway, they don't compete with browser
>> makers so selling/licensing the patent is the only way to make
>> money from it.
>>
>> Jochem

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: MX6.1 obscure caching issue.

2003-09-14 Thread Sean A Corfield
On Sunday, Sep 14, 2003, at 05:08 US/Pacific, Peter Tilbrook wrote:
> MX 6.0 had a setting in one of the configuration XML files to disable 
> the
> caching of the generated java class files so that CF would generate 
> each
> page request afresh.

The setting you refer to caused CF to save .java *source* files, not 
class files. That setting is irrelevant for CFMX 6.1. CFMX 6.0 *always* 
generated .class files. CFMX 6.1 has a CF Admin setting that controls 
whether or not to save .class files (its normal compile process is CFML 
-> bytecode in-memory; the optional setting causes the bytecode to be 
written to disk so it can be read in after the next server restart to 
avoid recompilation).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: MX 2004 download mirror

2003-09-14 Thread Sean A Corfield
On Sunday, Sep 14, 2003, at 04:45 US/Pacific, Peter Tilbrook wrote:
> Now that Firmware is no more (http://www.firmware.com.au) what is MM's
> position on supporting their products in Australia and when can we 
> download
> trials from a local mirror site?

The trial downloads are served from a clustered download network (CDN) 
that operates globally. The CDN should pick the closest node to your 
network location to provide the best download experience.

If you believe that the download experience for Australia is not 
acceptable, let me know and I'll take the issue up with our 
infrastructure team.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Any way to get Homesite+ 5.5 without Dreamweaver?

2003-09-14 Thread Sean A Corfield
On Sunday, Sep 14, 2003, at 12:14 US/Pacific, Rafael Bleiweiss wrote:
> OMG in all these threads did I miss having been told about it 
> stand-alone?

HomeSite has always been available separately as a standalone product.

HomeSite+ (the replacement for ColdFusion Studio 5) has always been 
bundled with Dreamweaver MX.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Any way to get Homesite+ 5.5 without Dreamweaver?

2003-09-14 Thread Sean A Corfield
On Sunday, Sep 14, 2003, at 01:33 US/Pacific, Rafael Bleiweiss wrote:
> Sean, I agree - realized my error in view after I'd posted this.  My 
> true
> feeling it have HS be a full stand-alone thing again, at it's own fee, 
> not
> bundled on any CD with anything else... I'd pay for regular upgrades.  
> then
> again, I could work around this now, I know... just my view.

Interesting. I've blogged something to that effect and would like folks 
to comment on it to get a sense of where people really stand on the 
unbundling issue...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: How Many CFMX Instances?

2003-09-13 Thread Sean A Corfield
On Friday, Sep 12, 2003, at 05:39 US/Pacific, Demarco, Alex wrote:
> I'm curious Sean, can you tell me what type of box you are running? 
> What JVM
> version are you using?

We wrote most of that up here:

http://www.macromedia.com/special/progress_report/beta1/page4.html

We're currently using Sun's 1.4.2 JVM.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Tag Gallery (was: Any way to get Homesite+ 5.5 without Dreamweaver?

2003-09-13 Thread Sean A Corfield
On Friday, Sep 12, 2003, at 09:49 US/Pacific, jon hall wrote:
> If they aren't going to change the tag gallery, they should document
> and expose the web services that power it. Then we could put up our
> best efforts. Bet we could put those MM guys to shame!

The web services are (deliberately) inappropriate for general 
consumption. They are designed to power the current Flash UI. Creating 
an appropriate public web service interface for the Exchange is a (low 
priority) project on my team's list. I can't say whether it will ever 
get to the top of the list but it is at least on the list...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Any way to get Homesite+ 5.5 without Dreamweaver?

2003-09-13 Thread Sean A Corfield
On Friday, Sep 12, 2003, at 09:06 US/Pacific, Rafael Bleiweiss wrote:
> SO - Why not bundle HomeSite with CF instead?  Bet they never 
> considered it!

Since the CF download is free for development and if you buy an actual 
license that determines which version you end with, I don't see how you 
could bundle HomeSite+ unless you gave it away and if it's not 
generating revenue, where would the money come from to develop it any 
further?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: How Many CFMX Instances?

2003-09-11 Thread Sean A Corfield
On Thursday, Sep 11, 2003, at 17:56 US/Pacific, Ben Forta wrote:
> Not sure that I agree with the "not to have more instances that you 
> have
> CPUs" statement. I think that an "it depends" is the right answer.

Hence my caveat: "You'd need to experiment, performance-wise..." :)

> I have one dual CPU box that runs 6 low to medium volume sites, and I 
> have each in a separate instance, and it runs perfectly.

Yep, I'd hope so. Do you know if you get better performance with that 
setup vs a single instance for those six sites? (Not that it's relevant 
if you're getting acceptable performance with your current config).

> There is overhead per instance, memory an CPU cycles too. The correct
> number of instances is going to be based more on what you consider to 
> be
> appropriate performance for your applications than anything else.

Yep. Lots of performance experimentation needed to fine tune things.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Basic CFC method design question.

2003-09-11 Thread Sean A Corfield
On Thursday, Sep 11, 2003, at 14:36 US/Pacific, Ian Skinner wrote:
> Generally which is better, a single method with branching logic based 
> on a
> parameter, or separate methods? Or is there no really difference and 
> depends
> on the personal choice and the situation.

It depends. In the example you give where your logic is of the form:


{dosomeinitialprocessing}

{donormalprocessing}

There's nothing inherently bad in that being in a single method 
although I might be inclined to have both {do...processing} pieces in 
separate (private) methods that are called from the main method.

Of course, you haven't shown us how you are using the CFC and that 
might change my recommendation...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Cracking the RDS protocol?

2003-09-11 Thread Sean A Corfield
On Wednesday, Sep 10, 2003, at 05:42 US/Pacific, Deanna Schneider wrote:
> "live" (in our case development) server, where we rely on the
> cgi.remote_user variable to determine who someone is. Do you use LDAP 
> to

Unless you are writing code for a very specific environment where you 
can guarantee cgi.remote_user will work, I'd be very wary of relying on 
any CGI variables...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Strange problem

2003-09-11 Thread Sean A Corfield
Sounds like your client (desktop) machine can hit port 80 on that  
system but your CF server (which is a different machine?) cannot?

On Thursday, Sep 11, 2003, at 12:53 US/Pacific, Kris Pilles wrote:

> Its weird because I can resolve the URL in the vrowser but it seems  
> like
> Coldfusion can not... Any ideas how to fix on the firewall side?
>
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 3:46 PM
> To: CF-Talk
> Subject: RE: Strange problem
>
>
> What happens if you switch to CFHTTP and just dump out the results?
>
> === 
> =
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>
> Email: [EMAIL PROTECTED]
> Blog : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>> -Original Message-
>> From: Kris Pilles [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, September 11, 2003 1:44 PM
>> To: CF-Talk
>> Subject: RE: Strange problem
>>
>>
>> Still erroriing out, has been doing so since yesturday...
>>
>> -Original Message-
>> From: Raymond Camden [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, September 11, 2003 3:42 PM
>> To: CF-Talk
>> Subject: RE: Strange problem
>>
>>
>> Could it have been a temporary network problem? Can you try again?
>>
>> ==
>> ==
>> ===
>> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
>> (www.mindseye.com)
>> Member of Team Macromedia
>> (http://www.macromedia.com/go/teammacromedia)
>>
>> Email:
>> [EMAIL PROTECTED]
>> Blog : www.camdenfamily.com/morpheus/blog
>> Yahoo IM : morpheus
>>
>> "My ally is the Force, and a powerful ally it is." - Yoda
>>
>>> -Original Message-
>>> From: Kris Pilles [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, September 11, 2003 1:10 PM
>>> To: CF-Talk
>>> Subject: RE: Strange problem
>>>
>>>
>>> I did also notice that it was not putting an entry in the
>> webservices
>>> in the admin..
>>>
>>> -Original Message-
>>> From: Raymond Camden [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, September 11, 2003 3:01 PM
>>> To: CF-Talk
>>> Subject: RE: Strange problem
>>>
>>>
>>> If you go to that machine, open a browser and enter the
>> URL, does it
>>> work?
>>>

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: How Many CFMX Instances?

2003-09-11 Thread Sean A Corfield
On Thursday, Sep 11, 2003, at 10:13 US/Pacific, Demarco, Alex wrote:
> What is a good rule of thumb as to how many jrun/CFMX instances you 
> need?
>
> We have one instance that handles all our web sites, should I break it 
> down
> and split the sites amongst several instances?

It depends on a number of factors. If you want robustness (so one 
website doesn't trample on another) then yes, multiple instances will 
help - and give you a separate CF Admin for each instance. But you also 
need to consider the number of CPUs and the amount of RAM on your 
server (assuming you're talking about everything on one server). You'd 
need to experiment, performance-wise, but I'd say not to have more 
instances that you have CPUs for example.

We have two instances (each with a 2-3Gb JVM heap) on each of our 8 
CPU, 8Gb RAM servers but then we're running a very high traffic site 
(up to 20,000 concurrent sessions during peak traffic).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: What's the matter here? RSS feed error

2003-09-10 Thread Sean A Corfield
On Wednesday, Sep 10, 2003, at 11:11 US/Pacific, Mike Kear wrote:
> AH!!!  So it could be a  CFMX6.0 bug!  We're upgrading to 6.1 in the 
> next
> couple of weeks, so I might just put that page in the "under 
> construction"
> bin till then and see if the problem goes away all by itself.

 received a lot of TLC in CFMX 6.1 - hopefully it will have 
solved your problems!

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: Requesting help - CFMX6.1 & development questions

2003-09-10 Thread Sean A Corfield
On Tuesday, Sep 9, 2003, at 22:29 US/Pacific, Rajiv Bhatia wrote:
> 1. In order to use clustering feature of CFMX6.1 EE on SUN, is it a  
> must to
> have SUN clustering?

CFMX relies on the clustering capability of the underlying application  
server so, in your case, yes (at least, that's my understanding).

> 2. With CFMX6.1 Clustering, do I get automatic failover + load  
> balancing?
> Have you implemented it and do you know if it is reliable?

If your underlying application server supports it, yes. I have set up  
CFMX on JRun and used JRun's clustering and fail over. Aside from the  
caveat that CFC instances cannot be serialized and therefore cannot be  
replicated in session scope, yes, it works well on JRun.

I suggest you read some of the articles on macromedia.com including:

http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/ 
multiple.html
http://www.macromedia.com/support/coldfusion/j2ee/phase2-s1ws6- 
deploy.html

> I would appreciate if you can send me some diagrams if you have that  
> may
> help in getting a better understanding of CF/Sybase architecture or  
> point me
> to a location/source where I can find one.

macromedia.com has a lot of useful information that covers the  
architecture of CFMX for J2EE - here is a good place to start:

http://www.macromedia.com/software/coldfusion/j2ee/index.html

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Farcry and CFMX6.1

2003-09-10 Thread Sean A Corfield
On Wednesday, Sep 10, 2003, at 07:20 US/Pacific, Tyler Clendenin wrote:
> Yeah I have that same problem, I do not know what the issue is

It depends on the database drivers. Some allow multiple SQL statements, 
some do not. I don't know if any Oracle drivers support this (but I 
believe SQL Server drivers tend to).

> -Original Message-
> From: Deanna Schneider [mailto:[EMAIL PROTECTED]
> I don't know if it's something you can configure or not, but we're 
> running
> 5.0 and you can't do more than one sql statement in a cfquery block 
> against
> Oracle.

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!))

2003-09-10 Thread Sean A Corfield
On Wednesday, Sep 10, 2003, at 14:07 US/Pacific, Dave Watts wrote:
> In earlier versions of CF (and in CFMX for all I know), all of
> these are acceptable ways to perform a "greater than or equal to" test:
>
> 

This is "greater than" - I think you mean:



> 
>  (I doubt this last one is still
> supported, actually.)

CFMX 6.1 still seems to support this... frighteningly reminiscent of 
COBOL! :)

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: CFHTTP with CFMX

2003-09-10 Thread Sean A Corfield
Yahoo! may well require you to pretend to be a valid browser so you may  
need the useragent= attribute (I was screen-scraping stuff from Yahoo!  
a while back and had to pretend I was IE...)

On Wednesday, Sep 10, 2003, at 08:40 US/Pacific, Bosky, Dave wrote:

> I'm simply trying to grab a stock page from yahoo but it never returns
> anything.
> If I paste the url into my browser I get back the expected results.
>
> Is there something I'm missing in my code?
>
>  URL="http://quote.yahoo.com/download/ 
> quotes.csv?Symbols=MACR+MSFT&format=sl1
> d1t1c1ohgv&ext=.csv"
> NAME="Quotes"
> COLUMNS="Symbol,Last_Traded_Price,Last_Traded_Date,Last_Traded_Time,Cha 
> nge,O
> pening_Price,Days_High,Days_Low,Volume"
> DELIMITER=","
> TEXTQUALIFIER="">
> 
>
>
> Thanks,
> Dave

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Cracking the RDS protocol?

2003-09-09 Thread Sean A Corfield
On Tuesday, Sep 9, 2003, at 19:26 US/Pacific, Dave Watts wrote:
> No, it's also used to edit files. Its big advantage is that it easily 
> allows
> remote access, when you haven't set up any other alternative for remote
> access, without worrying about firewall configuration or software
> installation. I don't know whether a lot of people use it when they 
> have LAN
> access to their web server's filesystem.

But isn't the general recommendation to disable RDS on production 
servers?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


About Mac OS X (was: about blue dragon.

2003-09-09 Thread Sean A Corfield
On Tuesday, Sep 9, 2003, at 16:22 US/Pacific, Dan O'Keefe wrote:
>> PowerBooks are awesome development machines!
> What advantages do you think they have over WIN based. What about
> homesite and the other MX product line?

Barney +1.

I never got used to HomeSite on Windows so I don't miss it on Mac. I 
use DWMX (actually I'm running DWMX 2004 and loving it!).

I have CT2 / DWMX2004 / FHMX / FL2004Pro / FWMX2004 all installed and 
they all work well. I also have both JRun 4 and Tomcat installed as app 
servers with (various versions of) CFMX running on both. I also have a 
developer edition of Oracle 9iR2 (free for Mac) and Apache. So I have a 
replica of our production environment on my laptop which is very useful.

For me, having a full-blown Unix system on my laptop is one of the key 
benefits: I can download and build pretty much any Open Source project, 
I can develop locally any aspect of the systems I need to deploy to 
production.

Unix, but with the comfort of all the usual desktop GUI apps.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: CFMX 6.1 and OSX

2003-09-09 Thread Sean A Corfield
On Tuesday, Sep 9, 2003, at 12:09 US/Pacific, David Fafard wrote:
> Another thing that works great for connecting Macs to windows
> is running Terminal Services and using the free Microsoft 'remote 
> dekstop'
> termial client.

Or the X11 'rdesktop' client (if you prefer not to run MS software on 
your Mac for whatever reason).

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: .NET integration without COM

2003-09-08 Thread Sean A Corfield
On Monday, Sep 8, 2003, at 10:13 US/Pacific, Kevin Graeme wrote:
> While it might not create new demand for CF, I think it would make 
> more CF
> houses interested in the Linux version. We're switching to the Linux 
> version
> soon, so I've been trying to keep an eye on what things we might not 
> be able
> to do.

Hmm, interesting point. Thanx. Do you have much invested in COM 
integration that you might want to migrate to Linux? If so, how do you 
envisage doing so? And how do you envisage the .NET integration helping 
you on Linux?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: .NET integration without COM

2003-09-08 Thread Sean A Corfield
On Monday, Sep 8, 2003, at 06:40 US/Pacific, Thomas Chiverton wrote:
> On Monday 08 Sep 2003 14:27 pm, Matt Liotta wrote:
>> We did the write the DLL in C++, so you can call .NET assemblies
>> directly. However, the DLL is native to Windows, thus an SO will need
>> to be written for *nix to support Mono.
> I'd like to suggest you do so - this will greatly broaden the use of 
> CF, as
> it'll then be able to support 'native' Linux .Net apps...

I'd be very surprised if .NET-on-Linux created demand for CF. Can you 
explain your logic?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: was Re: about blue dragon. bow: upgrading to mx

2003-09-07 Thread Sean A Corfield
On Sunday, Sep 7, 2003, at 10:09 US/Pacific, Al Musella, DPM wrote:
>  Reading you message gave me the idea of installing cfmx using a
> different port.  Then test each website on the new version using that 
> port,
> and if it is good, move it to port 80.  This would let me test each 
> one at
> my leisure.

That sounds like a good plan.

>Is it possible to do that?

Yes.

> Anyone have step by step instructions?

Jeffry Houser and Charlie Arehart have an article coming in the next 
CFDJ about this I believe. Several other folks have done it too. I 
upgraded a CF5 server to CFMX6.1 the same way a while back - I don't 
remember exactly how I did it (it seemed easy at the time, based on the 
steps the installer offers) but the key is to tell the installer not to 
set up IIS for you (and use the internal JWS instead). That way you can 
use the same docroot and migrate all the CF5 settings etc.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Coldfusion server fail when reboot?

2003-09-07 Thread Sean A Corfield
Sounds like your neo-query.xml file has been corrupted. Shutdown CF, 
copy neo-query.bak over neo-query.xml and restart CF. You'll find the 
files in WEB-INF/cfusion/lib.

On Sunday, Sep 7, 2003, at 08:59 US/Pacific, John Ho wrote:

> Thank you all for your help.
>   I think problem from DataSource. Whenever it gets data from data 
> base it give this error:
>   The DataSource service is not available.
> This exception is usually caused by service startup failure. Please 
> check your server configuration.
>   And I go to Coldfusion Administration to check for the Datasource. 
> When I click on DataSource Button It gives this error
> Error Occurred While Processing Request
> Element SQLEXECUTIVE is undefined in REQUEST.
> I know this DataSource exist but could not see it
>
> Do you know anything about this?. I see SQL server running but how 
> come Coldfusion connect connect to it.
>
> Thanks for any help

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: about blue dragon.

2003-09-06 Thread Sean A Corfield
On Saturday, Sep 6, 2003, at 17:42 US/Pacific, Matt Liotta wrote:
> Actually, I am running CFMX, CFMX 6.1, and BlueDragon; not CF 5.

Ah, yes, I misread your email (where you said, also correctly, "you can 
even
run CF 5, CFMX, and BlueDragon all at the same time").

> I am using a 17" PowerBook with 1024MB RAM.

PowerBooks are awesome development machines!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: about blue dragon.

2003-09-06 Thread Sean A Corfield
On Saturday, Sep 6, 2003, at 16:23 US/Pacific, Mahmut Basaran wrote:
> what kind of notebook is it ?

I don't think it matters much - it's easy enough to run multiple 
installs of these products on pretty much any laptop. Given that Matt 
is running CF5, I'll guess it's Windows or perhaps Linux. I have a Mac 
laptop and run multiple different versions of CFMX side-by-side with 
multiple copies of Blue Dragon as well (I have BD running on JRun as 
well as Tomcat; I also run half a dozen CFMX installs on Tomcat and a 
couple on JRun). I also run Oracle 9i locally and Apache - on an 800MHz 
  PowerBook G4 with 512Mb RAM (although I'd recommend 1Gb RAM).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Coldfusion server fail when reboot?

2003-09-06 Thread Sean A Corfield
Maybe this tech note will help:

http://www.macromedia.com/support/coldfusion/ts/documents/ 
cfmx61_startup_timing.htm

On Saturday, Sep 6, 2003, at 09:14 US/Pacific, John Ho wrote:

> hi all
>I have problem with restart coldfusion server. When
> I reboot computer, not restart coldfusion server. So I
> have to manual restart coldfusion server from manager
> tool. But sometimes it works sometimes I have to do so
> many times(reboot and restart coldfusion server). I
> run Win2k
>Do you know how to fix it?
> Any idea will help
> Thanks

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: OT: Friday question.... any difference?

2003-09-05 Thread Sean A Corfield
Block 2 works better if you are also declaring theName as a local 
variable in a cffunction:






Otherwise I'd probably use block 1.

On Friday, Sep 5, 2003, at 03:39 US/Pacific, <[EMAIL PROTECTED]> 
wrote:

> I was mulling this over last night
>
> Should there be any preference between the following two examples of
> code?
>
>
> 
> 
>   
> 
>   
> 
>
>
> 
> 
> 
>   
> 
>
>
> I prefer code block 2 as it is one less line, but are there any
> technical merits between the two
>
> Does it matter? Should I get out more?  It can be grim up north you 
> know
> :-)
>
> DC

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Another CFC question.

2003-09-05 Thread Sean A Corfield
On Friday, Sep 5, 2003, at 09:36 US/Pacific, Ian Skinner wrote:
> If I am understanding and using this correctly, a variable in a cfc 
> that is
> declared into the "Variables" scope will be visible to all other 
> methods on
> the CFC, but not to callers outside of the cfc.

Correct. And 'variables' scope exists for the lifetime of the CFC 
instance (which I think is what you really mean by 'visible to all 
other methods').

> A variable in a cfc that is
> declared into the "This" scope is also visible to all other methods, 
> but
> also visible and changeable from the calling code.

Correct, and 'this' scope also exists for the lifetime of the CFC 
instance.

> If one adds code such as
> below, things can get confusing.
>
> 
> #testObj.C#

Yes, it adds a new item to 'this' scope.

> Is this expected and correct behavior?

Yes. Although some folks question whether it is desirable :)

It's how ColdFusion works with all scopes - if you can see the scope 
(in this case 'this' scope exposed through the CFC instance name 
'testObj'), then you can add new keys to that scope.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: Macromedians - Whitespace in CFMAIL?

2003-09-05 Thread Sean A Corfield
On Thursday, Sep 4, 2003, at 08:24 US/Pacific, Joshua Miller wrote:
> How does Macromedia handle this for their outgoing mail? Or do you use
> something other than CFMAIL?

For complex historical reasons we currently use a legacy Perl system 
that processes custom template files and is driven by a database - this 
interfaces with many non-CF systems. We'll probably move to a 
-based solution in due course (as part of our general program 
to replace a myriad legacy technologies with CF!).

As Ray say, why not just manage the whitespace yourself (which is the 
best way to get fine-grained control over it)?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: request vs application scope

2003-09-05 Thread Sean A Corfield
On Thursday, Sep 4, 2003, at 10:56 US/Pacific, Mauricio Giraldo wrote:
>>> In general, when using CFCs I would recommend creating the variables
>> inside the CFCs as instance variables upon invocation rather than 
>> "look
>> out" of the CFC to external data.
> The idea is to have users generate their own config file without 
> "touching" the CFCs. How would you recommend this to be done?

Use an 'init()' method on the CFC. The user would then call that after 
creating the CFC and pass in the necessary values.

(Perhaps if you show us some code, this will be easier?)

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: state a reserved word in cf?

2003-09-04 Thread Sean A Corfield
On Thursday, Sep 4, 2003, at 12:16 US/Pacific, Tony Weeg wrote:
> using variables.state outputs it fine.
> using just state doesn't work...here is the code.
> the data had city, state in 1 field with a / at the end
> so I had to clean that up...anyway, running that
> with state doesn't work, but variables.state works.

You have a conflict between your query column names and your variable 
names!

That's why using scope-qualified variable names is better practice!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: CFC Caching in session/application scope

2003-09-03 Thread Sean A Corfield
On Wednesday, Sep 3, 2003, at 07:13 US/Pacific, Thomas Chiverton wrote:
>> Sure, you can get complex, but if you are only in the development 
>> stage,
>> I'd go for something a bit simpler, unless you plan on changing the 
>> CFC
>> on the live box, which woul dnot be recommended.
> I figure sooner or later I'll need to hot-fix something without 
> downtime.

Create a 'bootstrap' page that is not publicly accessible (this is what 
we do on macromedia.com). The 'bootstrap' page refreshes one or more 
cached objects and is protected by only being accessible through the 
JWS port (Apache is configured to rewrite any external accesses to a 
404). That's also how we protect our CF Admin and various other URLs.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: __Re:_cfcomponent_cffunction_access="private"_--_what_the_!!??

2003-09-03 Thread Sean A Corfield
On Tuesday, Sep 2, 2003, at 21:44 US/Pacific, Matthew Walker wrote:
>> variables.f() arguments.f - no conflict there...
> Although this is new to 6.1 isn't it?

Yes. Anyone using CFMX 6.0 should upgrade to take advantage of all the 
enhancements, bug fixes and performance increase.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: ___Re:_cfcomponent_cffunction_access="private"_--_what_the_!!??

2003-09-03 Thread Sean A Corfield
On Tuesday, Sep 2, 2003, at 21:36 US/Pacific, Matt Liotta wrote:
> If you call the test method, you will see that it executes fine, which
> indicates that public methods are accessible from both the "this" scope
> and the "variables" scope.

Yes, as you would expect.

> In the above example, method "a" is assigned to the this.b. However,
> b() is not accessible from the unnamed scope, but it is executable from
> the "this" scope even though it is declared private.

Correct. The access determines which scope the function goes in 
initially. If you create an external alias to a private function, you 
can call it externally.

As I keep saying, CFMX's access specifiers (and, indeed, 'this') do not 
behave like Java. Once you understand how CFMX is implemented, the 
behavior makes perfect sense.

- 'variables' scope contains all functions (public and private) and 
'this' and any non-public data you store in it.

- 'this' scope contains just the public functions and any public data 
you store in it.

After component creation, you can move things around and therefore 
change the behavior.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: ___Re:_cfcomponent_cffunction_access="private"_--_what_the_!!??

2003-09-02 Thread Sean A Corfield
On Tuesday, Sep 2, 2003, at 20:33 US/Pacific, S. Isaac Dealey wrote:
> You can call a function through the variables scope and it
> be a private call? ... oh well... I need to work with it
> some more... still... if variables scope is a private call,
> this scope should also be private...

variables is an 'internal' object, this is an 'external' object - 
that's why this.f() requires f be public but variables.f() does not.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Object Design Mythologies

2003-09-02 Thread Sean A Corfield
On Tuesday, Sep 2, 2003, at 14:40 US/Pacific, Ian Skinner wrote:
> How do I design/model/flow chart my CFC's/Objects/Functionality?

The best way is really UML - which allows you to visually model your 
classes and their interactions.

> What replaces the old fashioned Flow Chart of a procedurally focused
> project?

Collaboration diagrams and sequence diagrams (again, UML).

> Also, I'm having trouble finding any good, introductory, how to 
> information.

Hal's "Discovering CFCs" book might be a good place to start (in 
addition the other recommendations mentioned in this thread).

> I get lots of information on why object orientated approach is so 
> good, but
> little to none on how to actually do the design.

Here's a quick summary of what I do:

1. Write a coherent narrative for each of the usage scenarios in your 
application.
2. Look for the nouns in those narratives - those are good candidates 
for the classes (CFCs).
3. Look for the verbs - what the nouns 'do' or have 'done to them' - 
those are good candidates for methods on the classes.
4. Now go through your narratives and see if the classes and methods 
you have can 'act out' your usage scenarios.

Hope that helps?

You should also really identify the various types of users for your 
application and how they relate to each other - they are 'actors' in 
UML-speak. This will help you identify public interfaces to the system 
and/or additional classes to model.

The other rule of thumb that will help is to remember that inheritance 
in the real world is actually fairly rare - inheritance means 'is-a' - 
whereas composition is very common - composition means 'has-a'. For 
example:

Car is-a Vehicle
Car has-a Engine
Engine has-a Valve
Car has-a Wheel
...

Also remember that you only really need to model *important* things as 
CFCs. If something in your narrative isn't really important in and of 
itself, it probably doesn't need a CFC (it may well be an attribute of 
another CFC - an instance data variable perhaps).

And finally... bear in mind that learning OO is not like picking up the 
syntax of a new language: it's an iterative process that can take years 
to master. Everyone's first OO project tends to suck so be prepared to 
rewrite and refactor and rewrite and refactor some more...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: __Re:_cfcomponent_cffunction_access="private"_--_what_the_!!??

2003-09-02 Thread Sean A Corfield
On Tuesday, Sep 2, 2003, at 15:51 US/Pacific, S. Isaac Dealey wrote:
> It's unfortunate tho... because it prevents there being any
> way to insulate methods against namespace conflicts between
> method arguments and function names when private access is
> specified... If you have an argument and a method with the
> same name, there's no way to access the method without using
> this.methodname() -- but you can't do that if methodname is
> a private method -- so... you have to chose between the

variables.f() arguments.f - no conflict there...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: cfproperty default attribute is buggy

2003-09-02 Thread Sean A Corfield
On Saturday, Aug 30, 2003, at 18:50 US/Pacific, S. Isaac Dealey wrote:
> Well afaik cfproperty models (to some extent) the way
> properties are declared in other OO languages like Java --

Nope, not really. Unless you are writing a Web Service and using 
cfproperty for additional validation of returned component instances, 
cfproperty does nothing beyond creating metadata. It has no relation to 
instance data and the default= attribute does not have an impact 
whatsoever on the values of that instance data.

My advice: don't use cfproperty.

> it'd be nice to get the
> expected functionality from the tag

The problem is that your expectations are incorrect.






That's perfectly valid CFML - by design.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: _Re:_cfcomponent_cffunction_access="private"_--_what_the_!!??

2003-09-02 Thread Sean A Corfield
On Saturday, Aug 30, 2003, at 22:16 US/Pacific, S. Isaac Dealey wrote:
> 
>   
> 

Invoking 'f()' via 'this' scope causes it to be treated as an 'outside' 
call (so you can't call private methods). You should use 
'variables.f()' (in CFMX6.1) or just 'f()' (in CFMX6.0).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: machII(too much)

2003-09-02 Thread Sean A Corfield
On Tuesday, Sep 2, 2003, at 06:44 US/Pacific, Adrian Lynch wrote:
> "But then it dawned on me that maybe the debug output was causing the 
> higher
> times."
>
> Does anyone know the name of this effect. Where you change the 
> environment
> you are measuring? I'm sure is has a name.

Lee Pritchard asked the same question:

http://www.physlink.com/Education/AskExperts/ae179.cfm

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Flash Professional vs. Royale

2003-09-02 Thread Sean A Corfield
On Saturday, Aug 30, 2003, at 07:43 US/Pacific, Sparrow-Hood, Walter 
wrote:
> Anybody care to comment or have any information the new developer 
> related
> functionality in Flash Professional vs. what's been promised/hinted re:
> Royale.  Has Rolyale morphed into FlashPro?

Royale and Macromedia Flash MX 2004 Professional are very different 
products.

Macromedia Flash MX 2004 Professional adds a lot of developer-related 
features above and beyond the 'standard' edition (Macromedia Flash MX 
2004, which itself contains many enhancements over today's Macromedia 
Flash MX). There's plenty of information on the macromedia.com website 
about Flash MX 2004 and Flash MX 2004 Professional:
http://www.macromedia.com/software/flash/

Royale is still in development and you can sign up for notification of 
more information here:
http://www.macromedia.com/go/preview (if memory serves!)

Both Macromedia Flash MX 2004 and Macromedia Flash MX 2004 Professional 
are visual authoring environments. Royale on the other hand is server 
technology that lets programmers create SWF files using XML.

> My real concern/question is do I spend the money and time to learn
> FlashPro if something with even more capability for RIA is coming along
> before the end of the year?

I see Macromedia Flash MX 2004 Professional, Royale and ColdFusion MX 
all being complimentary tools / technologies that will work well 
together.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: JRun Admin in Prod ?

2003-08-29 Thread Sean A Corfield
On Thursday, Aug 28, 2003, at 17:22 US/Pacific, Stacy Young wrote:
> Anyone here keep there JRun Admin instance running in production
> environment? I'm assuming it only needs to be started when access to
> JRun admin is required right? Or is it required for any of the
> clustering features? (aside from just configuring them)

I would advise not running JRun Admin in production - except when 
needed for maintenance of J2EE data sources (shared with Java code) or 
clustering or similar (and using firewall rules to ensure port 8000 
isn't accessible externally anyway).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Debugging ColdFusion (was: DWMX 2004 - Whats new for us?

2003-08-29 Thread Sean A Corfield
On Thursday, Aug 28, 2003, at 15:08 US/Pacific, [EMAIL PROTECTED] wrote:
> Well, it was available in CF4-5.  And those versions of CF were 
> written in C/C++.

But those versions were effectively interpreters, not compilers and the 
debugging mechanism was built into the interpreter. And it sounds like 
people complained that it never really worked very well?

With CFMX, you could - in theory - use regular Java debuggers but you 
would not have the mapping from the CFML source code available as it 
stands today. Adding debugging machinery is quite a complex 
undertaking...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: DWMX 2004 - Whats new for us?

2003-08-29 Thread Sean A Corfield
On Thursday, Aug 28, 2003, at 15:15 US/Pacific, Massimo, Tiziana e 
Federica wrote:
>> Hmm, but DWMX includes help/reference material for CF,
> DWMX's reference panel is a joke :-)
> It seems designed for a PDA, it's hard to read and you can't copy/past 
> from
> it.

Hmm, I'd never noticed the cut'n'paste issue until just now. Guess I 
rely much more on the LiveDocs version and the local HTML version (the 
latter is particularly nice in CFMX 6.1!).

>> It doesn't explicitly mention it here but the CF-specific toolbar in
>> DWMX 2004 is, in my opinion, a big improvement over the one in DWMX.
> Funny, I think it's a step back since it requires an additional click 
> to get
> many buttons. I actually already hacked it to make it works again like 
> in DW
> MX, with 3 separated tabs.

That was what I didn't like in DWMX (6.x) because you had to keep 
clicking between tabs to get to things! To each their own I guess :)

Assigning keyboard shortcuts gets a lot easier in DWMX 2004 too, in my 
opinion.

> The good thing is that finally DW 2004 introduced
> the ability to customize the Insert Bar from a GUI, so, in the end, 
> this
> allow people freedom of choice (in the past hacking the xml menu files 
> was
> required)

Yes, I've started to use this and find it very convenient.

>> In particular, some of the
>> enhancements to XML support make writing Fusebox 4 / Mach II
>> configuration files a breeze!
> Since you are playing with Mach II, get a copy of the DTD for the
> configuration files, then import it in the Tag Library Editor and see 
> by
> yourself. Those are the kind of things that I love in DW and boost my
> productivity.

I haven't tried importing the DTD into the TLE but even the way DWMX 
2004 sniffs the tags in an XML file when you open it and then offers 
auto-completion drop-downs makes editing the XML files much easier. 
I'll have to try out that import trick... Thanx!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: DWMX 2004 - Whats new for us?

2003-08-28 Thread Sean A Corfield
On Wednesday, Aug 27, 2003, at 11:20 US/Pacific, Calvin Ward wrote:
> Wouldn't you like to be able to open a page within the IDE, go through  
> your
> application, have debug output in another panel of your IDE for that  
> page
> and it's include files, be able to set break points, and trace variable
> values to reduce  debugging needs, and come across an error,  
> click
> on the error within your IDE, have it open the offending .cfm page in  
> your
> IDE, and highlight the error.

Yup, this sort of debugging can be a wonderful tool - even tho' it  
usually makes the code under investigation run painfully slowly.

> Wouldn't that be powerful? And doesn't that sound familiar (except  
> that it
> works so clunkily and problematically in CFS...)?

Does it work with CFMX at all? I don't use CFS so I don't know but from  
what I read here, I don't believe it does - and would probably require  
substantial changes to CFMX's compiler to support the sort of  
single-step / step-in / step-out / breakpoint / watch point stuff that  
some languages boast. Part of the problem when writing debugging tools  
for high-level languages like CFML is how to map the source code to /  
from the executable code in a debugger and how to provide the 'hooks'  
necessary for a debugger to peek inside a running program - you  
normally end up with 'compile-for-debug' vs 'compile-for-production'  
switches. I'd love to see it in CF at some point but I'm not holding my  
breath!

> CFS is far superior with it's
> help/reference system alone (language specific), not to mention the  
> color
> coding (language specific), and the toolbar (language specific), and so
> forth.

Hmm, but DWMX includes help/reference material for CF, color coding for  
CF (and customizable) and a CF-specific toolbar... And DWMX 2004  
provides enhanced CFMX support:

http://www.macromedia.com/software/dreamweaver/productinfo/features/ 
static_tour/coldfusion/

It doesn't explicitly mention it here but the CF-specific toolbar in  
DWMX 2004 is, in my opinion, a big improvement over the one in DWMX.

> What we need is a ColdFusion centric IDE, that also strongly supports  
> the
> rest of the stuff we'll be reasonably expected to work within (xml,  
> html,
> css, javascript).

And (you know where I'm going with this...) DWMX has great support for  
XML, HTML, CSS and JavaScript - and all of those are improved in MX  
2004 (see the information on the website). In particular, some of the  
enhancements to XML support make writing Fusebox 4 / Mach II  
configuration files a breeze!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Caching CFCs... again

2003-08-28 Thread Sean A Corfield
On Wednesday, Aug 27, 2003, at 14:14 US/Pacific, Brad Roberts wrote:
> My CFC is over 1200 lines of code.  I can't put it into server or
> application scope because if the CFC is executed by simultaneous 
> requests, a
> second call to the CFC might overwrite data in the first call.  How 
> might
> cflock come into play?

So, you're saying that the CFC has instance data (in 'this' scope or 
'variables' scope (CFMX6.1) or the unnamed scope) that varies for each 
user?

> The only thing I think I'm left with is the session scope, but it 
> seems like
> I'd get better performance by just not caching it.

You'd probably do better by refactoring your design - break the CFC 
into two pieces:
- a smaller, simpler CFC that has the instance data - which you store 
in session scope
- the bulk of the logic written as a stateless service CFC - which you 
store in application scope

The latter is created once (at startup) and manipulates instances of 
the former, one per user (well, one per session).

Look up a design pattern called Session Facade for more hints and tips.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: DWMX 2004 - Whats new for us?

2003-08-27 Thread Sean A Corfield
On Wednesday, Aug 27, 2003, at 03:03 US/Pacific, dwayne wrote:
> About 9 – 11 months ago I spent about 10 minutes of my time responding 
> to a macromedia’s ColdFusion survey and I have yet to see the results.

I would think that Red Sky (CFMX 6.1) was the result, for the most 
part...

> Would you all agree, that us ColdFusion developers deserve some love 
> too!!

Considering Allaire (and ColdFusion) might have withered away without 
Macromedia's investment in the technology, I'd say that CFers got quite 
a bit of love...

> Sure ColdFusion MX sports a bunch of new features that are fantastic 
> and the as for old advanced features – they’re tighter than ever.  I'm 
> loving cffunction, I'm all over cfc's, and ColdFusion's ability to 
> integrate with FLASH is the best thing since the last "best thing".

Excellent! Glad you're happy with that at least (especially since quite 
a few CFers beat on Macromedia over the 'promotion' of Flash to CFers 
and the whole OO issues around CFCs).

> However, despite all of these wonderful improvements in the server 
> application, I'm still not convinced that they have committed to 
> providing us with a solid  "Development Environment" that supports the 
> work habits of the sophisticated ColdFusion Developer.

I think part of the problem here is that your chosen IDE becomes your 
second-nature way of working and it's really hard to change. Several 
high-profile CFers have made the jump to Dreamweaver and are very happy 
- and some aren't. Dreamweaver is certainly a very different tool to 
HomeSite / CF Studio. However, CF Studio used to cost $499 and now you 
can get it (as HomeSite+) for just $399 by buying Dreamweaver. And 
there's a 5.5 version in the works so it's not like Macromedia's 
abandoned anyone here:

http://www.macromedia.com/software/homesite/

Me personally, I tried CF Studio back in 2001 and just couldn't get 
along with it at all. I figured that since Macromedia bought Allaire 
and we'd be using ColdFusion, I ought to use the dedicated IDE. I 
really tried. But I kept going back to Dreamweaver for so many things. 
And it wasn't really anything specific that I could put my finger on 
and say "You know, if CFS just did 'X' (or didn't do 'Y' every time I 
try 'Z') then I'd be happy..." No, it was just a general usability 
issue for me - CF Studio just didn't suit me.

So I switched back to Dreamweaver (well, UltraDev 4, actually). Then 
Dreamweaver MX came out and swallowed (the higher-priced) UltraDev and 
I was still a happy camper! The CFC and Web Service browsers are very 
useful (I showed how to use the latter to quickly build CF applications 
that consume Web Services in a BACFUG presentation a while back).

Then I switched to a Mac. Dreamweaver MX (6.0) was not as good on the 
Mac as on Windows so I struggled for a while and switched to jEdit. It 
wasn't ideal for me... I found it clunky and ugly and the CF support 
wasn't great but it was faster and more stable than DWMX 6.0 on the 
Mac. Then the 6.1 updater came out and totally solidified the Mac 
version: it was much faster and rock solid. So I switched, gratefully, 
back to DWMX as my primary CF IDE.

I can't talk about Dreamweaver MX 2004 much (for obvious reasons!) but 
I'm using a recent (internal) build and I'm very happy with it. 
Site-less editing has probably been the biggest help in my workflow as 
well as the new Start Page with its list of recently edited files and 
various common operations.

> Dreamweaver still seems to be an overkill designers solutions.

Hmm, I think depends on your perspective. I'm certainly not a designer 
- I'm a hardcore developer - but Dreamweaver fits my workflow just 
fine. I don't use all of its features but I use enough to make it 
worthwhile (e.g., I live and die in "sites" even tho' I find the new 
site-less editing mode very useful).

> and as for Contribute, it must have been the boses, daughter's 
> boyfriend cousin's idea.

I'm a huge advocate of Contribute for quick updates to static sites 
(and there's a lot of those). I use Contribute all the time to maintain 
project intranet sites as well as parts of my personal website. My wife 
uses Contribute to manage her website (which I set up in Dreamweaver) - 
my wife is fairly typical of the sort of users Contribute is aimed at. 
You might also be interested to know that sections of macromedia.com 
are managed using Contribute - end-user content contribution for HTML 
sites is its forte.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Mach II was RE: RE: cfc vs php rule of thumb

2003-08-26 Thread Sean A Corfield
On Monday, Aug 25, 2003, at 12:40 US/Pacific, Mauricio Giraldo wrote:

>> http://www.mach-ii.com/
>
> I've been clicking around the mach-ii site over the past days but 
> haven't understood it completely (yet). Downloading PDFs right now. 
> Are the UML diagrams made with gModeler? I suggest a question for the 
> Mach-II FAQ:
>
> What is Mach-II?

Do my Mach II pages help?
http://www.corfield.org/index.php?fuseaction=machii.why
http://www.corfield.org/index.php?fuseaction=machii.concepts

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Who's migrating to CFMX 6.1 J2EE?

2003-08-21 Thread Sean A Corfield
On Thursday, Aug 21, 2003, at 08:03 US/Pacific, Earl, George wrote:
> Show of hands - who's making the jump from CFMX 6.0 Enterprise 
> standalone
> (server configuration) to CFMX 6.1 Enterprise J2EE? How is it going?

macromedia.com went from CFMX 6.0 Server in development to CFMX 6.0 
J2EE in development and then went live (with CFMX 6.0 J2EE Updater 3) 
and has since upgraded to CFMX 6.1 J2EE.

We also upgraded our Intranet from CF 5.0 to CFMX 6.1 J2EE.

Both have gone pretty well (especially considering the scale of the 
code base involved).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: CF Studio/HomeSite+

2003-08-21 Thread Sean A Corfield
On Thursday, Aug 21, 2003, at 07:21 US/Pacific, Jeffry Houser wrote:
>   I believe that Homesite is still available.

Yes, Homesite 5 (with a free updater) is available:
http://www.macromedia.com/software/homesite/

>   But, to get Homesite + you'll have to buy Dreamweaver.  I think it is
> more cost effective to buy Studio MX.

ColdFusion Studio 5 used to cost $499. Dreamweaver MX which includes  
Homesite+ costs $399.

Depending on what Macromedia software you currently own, Macromedia  
Studio MX can be a very attractive upgrade:
http://www.macromedia.com/software/studio/productinfo/upgrade/ 
store_plus.html

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: CFC Issues....

2003-08-21 Thread Sean A Corfield
On Thursday, Aug 21, 2003, at 01:43 US/Pacific, Oliver Tupman wrote:
> You can even
> call a parent method that you've overridden, though its undocumented 
> and
> therefore may not work in future versions (and a bit 
> processing-intensive).

Note: in CFMX 6.1 there is a supported, documented way to do this:

super.parentMethod();

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: UDF in CFC's - was: CFC Issues....

2003-08-21 Thread Sean A Corfield
On Wednesday, Aug 20, 2003, at 17:53 US/Pacific, Paul Spitzer wrote:
>>  
>>  function boring() { return now(); }
>>  
> wow!.. I didn't know you could do that.

Why would anyone want to?

You can't set the access type, you can't specify the return type, you 
can't specify any argument types.

You can still use  for the *body* of all your functions 
(after the  tags for your 'var' scope local variables!).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: CFC Issues....

2003-08-20 Thread Sean A Corfield
Show us yer code Weeg!! :)

On Wednesday, Aug 20, 2003, at 10:30 US/Pacific, Tony Weeg wrote:

> what could this possibly mean?
>
> the code works perfect outside of the cfc, but now it doesn't inside  
> the
> cfc?
>
> Unable to complete CFML to Java translation.
> Error information unsupported statement: class
> coldfusion.compiler.ASTfunctionDefinition
>
> The error occurred in C:\Inetpub\wwwroot\cf~permissionsConsume.cfm:  
> line
> 15
>
> 13 :14 : name="featureBit"
> 15 : value="#featureBit#">
> 16 :  
> 17 : 
>
>
>
> --- 
> -
> 
>
> Please try the following:
> Check the ColdFusion documentation to verify that you are using the
> correct syntax.
> Search the Knowledge Base to find a solution to your problem.
>
>
> Browser   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
> 1.1.4322)
> Remote Address   10.10.11.186
> Referrer
> Date/Time   20-Aug-03 01:29 PM
>
> Stack Trace (click to expand)
>
>
> tony weeg
> uncertified advanced cold fusion developer
> tony at navtrak dot net
> www.navtrak.net
> office 410.548.2337
> fax 410.860.2337

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Mach II. Is it faster than Fusebox 3?

2003-08-19 Thread Sean A Corfield
On Tuesday, Aug 19, 2003, at 12:06 US/Pacific, Haggerty, Mike wrote:
> With all due respect, I think the distinctive differences between FB 
> and
> Mach II do not prevent one from making a judgment as to which framework
> is 'faster' for a given project.

Well, the code would have to be completely different so I agree with 
Mike Brunt that a comparable is likely impossible (since no one is 
likely to have converted a FB3 app to Mach II and timed both).

> Also, individual
> projects will likely meet with individual results based on the
> capabilities of the development team.

Amen to that!

> I am currently porting an application to Mach II and noticing some
> exceptional speed increases on a project that primarily displays large
> amounts of cached data. My thoughts are that using the views in Mach II
> could be somewhat more efficent than the layouts approach used in FB.

It would perhaps be instructive to find a reasonably sized FB3 app and 
then port it to FB4 and also convert it to Mach II and test all three. 
But that's asking a big commitment of time and effort from folks!

Another factor that I think is more important is TCO based on the 
maintenance overhead of applications written in FB3, FB4 and Mach II. 
One of the prime drivers for Mach II is to address the maintenance cost 
overhead through the use of OO to improve reusability and increase 
flexibility (through loose coupling, encapsulation etc).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Apache, standalone server and ColdFusion Administrator

2003-08-19 Thread Sean A Corfield
On Tuesday, Aug 19, 2003, at 09:42 US/Pacific, Aidan Whitehall wrote:
> Sorry mod_rewrite is new to me -- are you using mod_rewrite to 
> serve
> up an error page when someone tries to access the Administrator via a
> VirtualHost?

Yes.

mod_rewrite is very powerful and well worth learning about if you're 
using Apache.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Apache, standalone server and ColdFusion Administrator

2003-08-19 Thread Sean A Corfield
On Tuesday, Aug 19, 2003, at 04:45 US/Pacific, Aidan Whitehall wrote:
> If you go to
> http://someVirtualHost:80/cfide/administrator/index.cfm
> you also get the ColdFusion Administrator, but with all the images
> missing.

Yes, the mod_jrun connector intercepts *all* .cfm / .cfc (and .jsp) 
requests across the entire server. On our setup we use mod_rewrite to 
rewrite the URLs for the CF Administrator to an error page (we rewrite 
a lot of URLs in fact!). I'm not sure whether mod_rewrite runs ahead of 
mod_jrun but you could try that (we don't run mod_jrun because we use 
hardware load balancing between the web servers and the app servers so 
we simply proxy traffic from Apache to Big-IP and hence to CFMX - you 
can read more about our setup in Brandon Purcell's article on 
macromedia.com... I don't have the URL handy, sorry).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: cflock - what does it do? Exactly?

2003-08-19 Thread Sean A Corfield
On Tuesday, Aug 19, 2003, at 05:13 US/Pacific, Alan Ford wrote:
> Early this morning I upgraded the live server to 6.1, and 6.1
> reacts very differently to 6.0. The performance curves are different, 
> when
> it goes wrong it goes wrong differently, so I'm reassessing what 
> problem I
> have and how it manifests in 6.1. 6.1 is a lot better than 6.0 but it 
> has
> locked up twice already and I've had to restart cfmx (threads at max, 
> queued
> threads at max, flat lined, dead in the water. Thread dump had most 
> things
> waiting for an Abstractcache lock.).

Interesting. I'm glad that the upgrade has gotten you to a better 
situation. Can you send me a complete thread dump offlist and I'll talk 
to the product team about what it might be? (That will be easier now 
you're on the latest version!)

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: OT: Dreamweaver and include files

2003-08-18 Thread Sean A Corfield
On Monday, Aug 18, 2003, at 15:40 US/Pacific, Gyrus wrote:
> Can Dreamweaver deal with PHP code in this way? Say every page on the 
> site
> includes a header and footer at the top and bottom, would Dreamweaver 
> be
> able to understand this and allow editing?

Yes, it does. You have to ensure that the include is the only thing in 
your PHP directive tho':



That will not work but the following will work:




And you also have to enable:
Preferences > Invisible Elements > Server-Side Includes:
Show Contents Of Included File

> If it can do it, which version?

I just tested it in DWMX. I don't know whether DW4 supported that.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Fusebox conference news and Mach II update

2003-08-18 Thread Sean A Corfield
On Monday, Aug 18, 2003, at 14:08 US/Pacific, Michael Smith wrote:
> I have some conference news. Below are more details on "Mach-II 
> Monday".
> Secondly we have two important guests at the conference - Sean 
> Corfield of
> Macromedia and Stan Cox of Cox Designs. I think the fact that 
> Macromedia
> is sending staff to the conference underlines the importance of this
> release of Fusebox. And I am hoping that Stan will help lighten up the
> proceedings!

It's true, I'll be attending the Fusebox conference with one of my 
colleagues, mostly for the Mach II material, although I am interested 
in learning more about Fusebox 4.

My team will be using Mach II for some new projects that are just 
getting started, as well as converting some existing CF and JSP 
applications to use Mach II (in CF).

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: MX Caching when it shouldn't be

2003-08-18 Thread Sean A Corfield
On Monday, Aug 18, 2003, at 09:52 US/Pacific, Scott Ashman wrote:
> We did figure out the problem though .. Apparently the auto-updater can
> cause problems with compiled CFMs.  If you clear out 
> WEB-INF/cfclasses, mx
> recompiles everything.  We did this and it worked fine.

Ah, yes, I can see how that would also cause problems. Doh! I should 
have thought of that... Glad you're up and running now!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: Possible RedSky/CFC Bug...

2003-08-18 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 22:40 US/Pacific, Stacy Young wrote:
> LOL, my god I'm a dork. Sorry, one of my test case templates was in 
> fact
> a cfc.  ;-)

Well, that's what the output indicated - hence my surprise / confusion 
:)

Glad we got to the bottom of that!

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: cflock - what does it do? Exactly?

2003-08-18 Thread Sean A Corfield
On Monday, Aug 18, 2003, at 07:13 US/Pacific, Alan Ford wrote:
> What it does affect are other threads running
> concurrently, so it's a nonsense to deal with the documentatuion as if 
> the
> only thread that exists is this one.

You're still misunderstanding: the documentation specifically 
acknowledges multiple threads but my point is that if you have:


...


then all requests that run this particular piece of code will be 
single-threaded through the cflock tag. And that's exactly what the 
documentation says.

> a) two instances of the same thread - cflock works as described

You're mixing your words now. Threads are unique so you can't have two 
instances of the "same" thread. You can have two separate, distinct 
threads that are both running the same CF page - it's the *code* that 
is the same, not the threads.

> A great deal. You (and others) are certainly enhancing my 
> understanding of
> the nitty gritty of locking.

OK, good - I'm always happy if we're helping each other learn.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: cflock - what does it do? Exactly?

2003-08-18 Thread Sean A Corfield
On Monday, Aug 18, 2003, at 09:32 US/Pacific, Adam Churvis wrote:
> Think of a SCOPE lock as being kind of like a NAME lock uses the name 
> of the
> scope as its value, so that lots and lots of code uses the same
> synchronization "key," then imagine how much more locking contention 
> you are
> likely to have under load.

Note that the following has changed meaning between CFMX and CFMX 6.1:


...


In CFMX (6.0) this would behave as you say, i.e., as if it were a named 
lock, and so it would single-thread for every user.

In CFMX 6.1, this only locks per-session so only multiple requests from 
a single user would be single-threaded.

(I'm not sure how this behaved in CF5 and earlier but the 6.0 behavior 
was considered a bug)

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: Possible RedSky/CFC Bug...

2003-08-17 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 20:45 US/Pacific, Stacy Young wrote:
> Can someone confirm that I'm not crazy and/or missing something obvious
> that would cause this weird response from 6.1.

This code is in a CFM page?

> 
>
>  toDate=now() )>
> 

This indicates you tried to hit TEST_ActivityAuthDAO.cfc, not a .cfm  
page:

> D:\dev\ino3\model\com\sfcommerce\reports\activity\TEST_ActivityAuthDAO. 
> c
> fc


If your code is in a .cfc page, it will call the CFC Explorer.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: CFMX 6.1 serving up old index file

2003-08-17 Thread Sean A Corfield
Cool! Glad you're up and running again!

On Sunday, Aug 17, 2003, at 16:06 US/Pacific, Ian Skinner wrote:
> Ok, following these instructions seemed to have resolved the issue.
> http://www.macromedia.com/support/coldfusion/adv_development/ 
> config_builtin_
> webserver/config_builtin_webserver04.html

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: CFMX 6.1 serving up old index file

2003-08-17 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 15:33 US/Pacific, Ian Skinner wrote:
> Ok, Sean has diagnosed it, but now how do I correct it?

You can change the document root for CFMX to point to 
c:\inetpub\wwwroot instead.

That might well be as simple as removing the mapping for / if it exists 
(in the CF Admin).

Which exact version of CFMX are you using? 6.0, 6.1 Server, 6.1 J2EE?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Sean's blog (was: cflock - what does it do? Exactly?

2003-08-17 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 14:31 US/Pacific, Johan Steenkamp wrote:
> Sean - actually I the cflock posting preceeding the Jan 6 is also 
> relevant.
> I could not find it however. Is the search on your site working? Did 
> not
> return anything for cflock or locking.

I had a bit of a catastrophe in mid-July which totally broke the blog. 
Search only works for entries July onwards and the same goes for 
comments. Eventually (in my 'copious' free time) I will republish 
monthly archives so search will gradually cover more of the site...

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: cflock - what does it do? Exactly?

2003-08-17 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 13:02 US/Pacific, Alan Ford wrote:
> 'single-thread access to the CFML constructs...' - what does that 
> mean? 'The
> tag body can be executed by one request at a time' - not true; it 
> depends on
> the name given or the scope given.

No it doesn't because the documentation is talking about a *specific* 
fragment of code which *by definition* must have the same name/scope 
value. The documentation is accurate but I think many people are simply 
confused about locking in general.

If you have this code:





Then there are two things you can say:
1. That particular cfset tag can only be accessed by one request at a 
time. There's no other way to execute that line of code without being 
granted the exclusive lock. Therefore, access *is* single-threaded for 
*this* piece of code.
2. If you have ... 
anywhere else in your code, the contents of that tag are *also* forced 
single-threaded with the code above.

Note that if you have a plain, unlocked cfset on session.foo elsewhere 
in your code, it is not forced single-threaded because it is not 
locked. Also, if you have, elsewhere in your code:





Clearly both of these code fragments can be executed 'at the same time' 
as each other even tho' they both single-thread access to their 
specific code fragment, i.e., all requests attempting to execute this 
second fragment will be single-threaded and all requests attempting to 
execute the first fragment will be single-threaded but both sets of 
single-threaded requests can continue to execute side-by-side.

Make sense?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: cflock - what does it do? Exactly?

2003-08-17 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 12:33 US/Pacific, Alan Ford wrote:
> But what if the site is not framed? Yes, the same code could be run 
> twice if
> a user pressed F5, but should we worry about that as a matter of 
> course?

Answer: "it depends".

If repeated execution of the same code just reinitializes a session 
variable to the same value, then the only downside is performance.

If repeated execution of the same code causes a counter to be 
incremented or some other measurable state change, then yes maybe it's 
important.

> In short, what's the agreed best practice about locking session 
> variables
> for a non-framed site?

If you need to avoid race conditions, lock your variable updates. If 
you're using Flash Remoting, you're likely to have multiple concurrent 
requests coming in (because a user can often click multiple widgets 
while you're still processing an earlier request) so locking to prevent 
race conditions is more important.

> And what are the risks (in cfmx and upwards) if you
> don't? Do you just run the risk of variable corruption, or (as in 
> previous
> versions of CF) do you run the risk of server instability?

"Corruption" is a strong word. You may not see any corruption at all. 
You may - or may not - get unexpected but valid values in session 
variables if you have multiple requests all executing the same code at 
the same time.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Re: CFMX 6.1 serving up old index file

2003-08-17 Thread Sean A Corfield
On Sunday, Aug 17, 2003, at 12:10 US/Pacific, Ian Skinner wrote:
> Yup, just did it again, added a piece of text to the 
> localhost/index.cfm
> file and then stopped and started all ColdFusion services.  Nothing 
> changed.

Interesting. Sounds like CFMX is finding an old document root ahead of 
where you actually have this file. That can cause strange behavior 
where CF tries to resolve /index.cfm against various document roots and 
context roots and it will execute the first one it finds. It correctly 
displays /areas.cfm because that doesn't exist in the 'other' document 
root.

> since I've done a 4.5 project.  I then ran the MX IIS connector so 
> that it
> would be in charge if the c://inetpub/wwwroot (http://localhost/) 
> directory
> instead of just C:\CFusionMX\wwwroot (http://localhost:8500).  That's 
> when I
> created the test page that won't die.

Right, that pretty much confirms my suspicion. Which directory has 
/areas.cfm and the new /index.cfm and which one has the old /index.cfm 
page?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


  1   2   3   4   5   6   7   8   9   10   >