RE: Yet another OO/CFC question

2003-09-19 Thread Hal Helms
Null is actually what you're requesting with the Undefined() function.
It means exactly that. It also fulfills the type for any object, which
makes it safe to send and/or return: you won't get runtime errors. And
this isn't really just for fringe cases. Imagine the case where you have
an attribute that needs to be returned by a getter. What happens if
someone calls the getX() before setX()? You have a runtime error. If
CFCs had constructors, you could create a constructor such that one
would have to pass in X when creating the object, but as things stand,
there's no good way of eliminating the possibility of runtime errors.

Hal Helms
See halhelms.com for classes in...
Java for ColdFusion Programmers
Fusebox 4
Mach-II
OO Applications with CFCs

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:51 PM
To: CF-Talk
Subject: RE: Yet another OO/CFC question


> -Original Message-
> From: Sean A Corfield [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 9:15 PM
> To: CF-Talk
> Subject: Re: Yet another OO/CFC question
> 
> 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.

I had considered that but the physical model isn't so clean:

1) Many (in fact most) venues are simply venues: "Arlington Street
Church" is simply that.  I could bend it to be a parent/child
relationship, but it doesn't really work.

2) Some events are linked to the whole Venue, others to rooms within
that venue.  For example "Jugglers" appear throughout the Hynes
Convention Center but "Noisemaker workshop" is only in the North Hall at
Hynes Convention Center.

3) Each "Venue" correlates to a "MapID" (a numeric indicator on a map
given to participants).  Most are small, single room affairs but a few
are very large and have many locations within them - namely in at least
one case three levels deep.

It's this last one that concerns me most about your suggestion. Although
for my immediate needs two level (Venue: room) would work it limits
things to two levels.  The data model is n-deep - I want the object
model to mirror that.

Of course nearly all my big problems are "fringe" ones.  Out of 80 or so
venues only three have this problem.  ;^)

My hope is to (someday) spin this application off.  For something like a
convention it's easy to imagine more than two level.  For example a
technical conference might have a map of the hotel, a pointer to a suite
and then rooms within that suite.

The n-deep model allows us to contain the suite in the hotel and the
rooms in the suite so that upon command we can display all those
activities taking place at the suite.

I also have to model an n-deep attribute tree (categories, attributes,
lists, etc) so I'll have the same issue to face there in any case.

> 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()...

Right now I think that I'm going to kludge to a special "root" venue.
Looping routines will have to know to "stop at root" so that I can keep
the return type as "venue".

I don't know tho' - I've changed my mind three or four times in the past
two hours... maybe I need to sleep on it.  ;^)

I definitely like the idea of a "real" null.  But it seems like this
problem is specifically related to the returntype and cfargument type -
it's difficult to set them to custom classes AND make them optional.

I'm not sure if you have to take the (I presume drastic) step of
allowing "null" everywhere in CF - but perhaps allowing, for these
cases, a special "Undefined" value (a la JavaScript) might be nice.

Perhaps a function, Undefined(), that returns a value capable of being
passed in these cases but actually containing no value.  So if
"myVenue.setParent()" requires an object of type "Venue" I could legally
do:

myVenue.setParent(Undefined())

A "TypeOf()" function that returns either the Component type or the same
Undefined() value may also be nice.  As in



or 



That's of the top of my head so it may flakey (get it!  Flakes from the
top of my head!  HA!)

Jeeze it's late.

Ji

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

2003-09-19 Thread Adam Churvis
Sean,

Thanks for discussing this topic with me and with the rest of the list.  The
reason why this is so important to me is because we have something big that
we’re about to launch that makes extensive use of a fairly large custom tag
library, and we’ve looked at how to handle them from many different aspects,
including things like shared hosting environments, software maintainability,
etc.  Each technique for calling custom tags had its advantages and
disadvantages, but 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, and secondly "importing" the entire library
of custom tags at that location, which sounded like a lot of unnecessary
overhead on each page request.  If only it were named CFMAPTAGNAMESPACE
instead. ;)

What absolutely killed CFIMPORT for us was the inability to represent the
custom tag library location as a persistent variable that we could set as
needed.  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.

All this being said, would you seriously consider amending your ColdFusion
MX Coding Guidelines regarding the use of CFMODULE?  Just from this
discussion today, I don’t think the claim of "slow" really holds up anymore,
nor does the claim that it "encourages some very unstructured usage."  And
in light of what I’ve mentioned about maintainability (especially in shared
hosting environments), CFIMPORT isn’t "always preferable" to CFMODULE.
There is a lot of misleading information about CFMODULE going around,
including one I heard recently that "each call to CFMODULE generates its own
separate HTTP request."  I really want to clear up these rumors, and your
very influential guidelines document would be a great place to set the
record straight.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training
ColdFusion MX Master Class:
September 22 - 26, 2003
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137793
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: dates nightmare again!

2003-09-19 Thread Kwang Suh
If you want to make absolutely sure, do:




isDate("05/25/2003") = #lsIsDate("05/25/2003")#
isDate("25/05/2003") = #lsIsDate("25/05/2003")#


Yeah, isDate is fairly useless.  In CF4.5, there's lots of totally incorrect
dates that it thinks are perfectly valid.

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: September 19, 2003 9:33 PM
To: CF-Talk
Subject: dates nightmare again!

According to the docs:
"IsDate checks only the U.S. date format. For other date support, see
LSDateFormat. "

However, the code below returns "YES" in both cases:


isDate("05/25/2003") = #isDate("05/25/2003")#
isDate("25/05/2003") = #isDate("25/05/2003")#


The first date is correct, but again, and contrarily to the specs, CF is
guessing that "25/05/2003"
although not a valid American date, might be a valid European date after
all.

Both in CF 5 and CFMX :-(

Please MM stop that random and guessing behaviour in CF, we are trying to
write proper code,
we don't run a casino!
If we want to check a date in American format, we don't give a dam it could
eventually be a correct date
if we had intended to enter an European date.



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137792
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: dates nightmare II

2003-09-19 Thread Claude Schneegans
 You want even more stupid?

Here it is:

"isNumeric (string) Returns TRUE if string can be converted to a number; otherwise, 
FALSE. "

Then for instance isnumeric("05/25/2003") returns "NO", of course, since "05/25/2003" 
is not a number,
it is a string and it cannot be converted to a number.

Fine,... But then how come isnumericDate("05/25/2003") returns "YES" ?
How come "05/25/2003" can be a numeric date if is is not numeric???

OK. I suppose CF tried again to guess and converted "05/25/2003" to a date first?
But according to the docs, the function IsNumericDate(number) expects a number, not a 
date,
so why didn't CF try to convert the parameter to a number instead of a date?
If it had done so, it would have find that "05/25/2003" cannot be converted to a 
number,
therefore isnumeric("05/25/2003") should be "NO".

You want more?
here is more:

isnumericDate(now()) = YES
isnumeric(now()) = NO

So a date is a numeric date value, but it is not numeric ???

Now PLEASE Macromedia, could you pay your programers some kind of "date 101"
elementary course and correct all these kind of gross errors?


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137791
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: 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


dates nightmare again!

2003-09-19 Thread Claude Schneegans
According to the docs:
"IsDate checks only the U.S. date format. For other date support, see LSDateFormat. "

However, the code below returns "YES" in both cases:


isDate("05/25/2003") = #isDate("05/25/2003")#
isDate("25/05/2003") = #isDate("25/05/2003")#


The first date is correct, but again, and contrarily to the specs, CF is guessing that 
"25/05/2003"
although not a valid American date, might be a valid European date after all.

Both in CF 5 and CFMX :-(

Please MM stop that random and guessing behaviour in CF, we are trying to write proper 
code,
we don't run a casino!
If we want to check a date in American format, we don't give a dam it could eventually 
be a correct date
if we had intended to enter an European date.


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137788
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: Yet another OO/CFC question

2003-09-19 Thread Jim Davis
> -Original Message-
> From: Sean A Corfield [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 9:15 PM
> To: CF-Talk
> Subject: Re: Yet another OO/CFC question
> 
> 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.

I had considered that but the physical model isn't so clean:

1) Many (in fact most) venues are simply venues: "Arlington Street
Church" is simply that.  I could bend it to be a parent/child
relationship, but it doesn't really work.

2) Some events are linked to the whole Venue, others to rooms within
that venue.  For example "Jugglers" appear throughout the Hynes
Convention Center but "Noisemaker workshop" is only in the North Hall at
Hynes Convention Center.

3) Each "Venue" correlates to a "MapID" (a numeric indicator on a map
given to participants).  Most are small, single room affairs but a few
are very large and have many locations within them - namely in at least
one case three levels deep.

It's this last one that concerns me most about your suggestion.
Although for my immediate needs two level (Venue: room) would work it
limits things to two levels.  The data model is n-deep - I want the
object model to mirror that.

Of course nearly all my big problems are "fringe" ones.  Out of 80 or so
venues only three have this problem.  ;^)

My hope is to (someday) spin this application off.  For something like a
convention it's easy to imagine more than two level.  For example a
technical conference might have a map of the hotel, a pointer to a suite
and then rooms within that suite.

The n-deep model allows us to contain the suite in the hotel and the
rooms in the suite so that upon command we can display all those
activities taking place at the suite.

I also have to model an n-deep attribute tree (categories, attributes,
lists, etc) so I'll have the same issue to face there in any case.

> 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()...

Right now I think that I'm going to kludge to a special "root" venue.
Looping routines will have to know to "stop at root" so that I can keep
the return type as "venue".

I don't know tho' - I've changed my mind three or four times in the past
two hours... maybe I need to sleep on it.  ;^)

I definitely like the idea of a "real" null.  But it seems like this
problem is specifically related to the returntype and cfargument type -
it's difficult to set them to custom classes AND make them optional.

I'm not sure if you have to take the (I presume drastic) step of
allowing "null" everywhere in CF - but perhaps allowing, for these
cases, a special "Undefined" value (a la JavaScript) might be nice.

Perhaps a function, Undefined(), that returns a value capable of being
passed in these cases but actually containing no value.  So if
"myVenue.setParent()" requires an object of type "Venue" I could legally
do:

myVenue.setParent(Undefined())

A "TypeOf()" function that returns either the Component type or the same
Undefined() value may also be nice.  As in



or 



That's of the top of my head so it may flakey (get it!  Flakes from the
top of my head!  HA!)

Jeeze it's late.

Jim Davis


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137787
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 Adam Churvis
Sean,

Forgive me for pressing the issue, but I think it's critically important
here for people to understand what is and isn't happening in your test.  You
say "I know they don't tell you 'real world' performance but it was
interesting nonetheless," but I would think that all interest is lost unless
there is some relation to real applications.  Publishing numbers like this
can mislead a lot of people in very wrong directions.

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.

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).

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.

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.

If these points I make are not well founded then please let me know.  This
is a very important issue for a lot of people.  I'm not trying to harsh on
you at all; I just need to acid test the premises I have been going on, and
I sincerely appreciate your help with this.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training
ColdFusion MX Master Class:
September 22 - 26, 2003
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!
- Original Message - 
From: "Sean A Corfield" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 9:02 PM
Subject: Re: So... cfmodule is slow...?


> 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:137786
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: So... cfmodule is slow...?

2003-09-19 Thread Adam Churvis
Sean,

Thanks for your reply! :)

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?

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.

I'm really interested in hearing your thoughts on this.  I really respect
you and your opinions.

Thanks in advance.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training
ColdFusion MX Master Class:
September 22 - 26, 2003
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!
- Original Message - 
From: "Sean A Corfield" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 7:24 PM
Subject: Re: So... cfmodule is slow...?


> 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:137785
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: 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


OT: ? for you massimo

2003-09-19 Thread cf
do you happen to have the new_flashgen.jar & new_jflashgen.dll that are
needed for the Flash Image Preloaded  from
http://www.pixelagent.co.uk/extensions/

It doesnt install like it says it does & the authors email bounces, so I
thought u might have it.

ty
dave


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137782
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


ListFind to ArrayWhat?

2003-09-19 Thread Matt Robertson
I've got this line of code:



Where variables.fields was a list and is now a 1d array.  Fieldname is the index of 
the loop I'm in, and is the current field name.  The code gave me a numeric value 
indicating the position of the fieldname in the list.

Now I want to make variables.fields an array instead.  How can I get the same result 
with an array?  Do I have to do a loop over the array (yuck)?

--
---
 Matt Robertson, [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
---

--
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137781
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: Yet another OO/CFC question

2003-09-19 Thread Hal Helms
Jim,

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. Without that, you're going to have to find some kludge to prevent
against run-time errors if you have a returntype attribute enabled. As
for the right kludge, I don't think it much matters which one you
choose.

Hal Helms
See halhelms.com for classes in...
Java for ColdFusion Programmers
Fusebox 4
Mach-II
OO Applications with CFCs

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 4:43 PM
To: CF-Talk
Subject: Yet another OO/CFC question


This one's probably simple but my brain doesn't want to handle it.

I've got a "Venue" CFC that contains information about
performance/exhibit areas.  Some venues feature many rooms or areas. For
example Boston Common has the Frog Pond, the Brewer's Fountain, and the
Bandstand; the Boston Ballet building has 5 studios; etc

The net result is that each venue may have a single parent and may have
many children.  I'm an old hand at using "parent"/"child" processing in
SQL but am unclear how to model this in a CFC.

My first assumption was that the Venue component would have a "Parent"
property of type "Venue".  My problem occurs when a venue doesn't have a
component.  When I'm writing my "getter" I'm not sure how to handle the
returntype.

Most simple types are defaulted to the empty string - what of 

How would this normally be done?  Would you:

1) Populate the "Parent" property with a Venue object if needed, but
leave it as the empty string if not?  And then use something like "NOT
IsSimpleValue()" to determine if it's populated?

2) Populate the "Parent" property with a Venue object if needed, but
leave it UNDEFINED if not.

3) Create another property as a "gatekeeper" for this one; something
like "isChild" populated with a Boolean value?

4) Always populate the property using either a real parent or a
self-reference (in effect saying "when I'm my own dad, we're at the
top")?

5) Populate the property with an "empty venue" (one that's instantiated
but not populated)?

6) Something else entirely?

My goal, of course, is to access the object as seamlessly as possible
(having external object do a lot of "checking" on the return doesn't
seem very clean).

I guess, to make it simple, I'm asking how to best deal with optional
custom datatypes.

Thanks in advance.

Jim Davis



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137780
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: MM Security Bulletin

2003-09-19 Thread Barney Boisvert
If the line endings are different, copy and paste might screw it up.  For
instance, if you're on windows and copy and pasted, then all the chr(10)s in
the file probably got replaced with chr(13)chr(10) when you saved the file,
thus making the file invalid.

barneyb

> -Original Message-
> From: Brook Davies [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:31 PM
> To: CF-Talk
> Subject: RE: MM Security Bulletin
>
>
> Hmm, thats funny. I just got an error on our dev server and I got this on
> the webpage:
>
>
> "Allaire Cold Fusion Template Header Size: New
> Version0(ø2;#‚Á.áÏÛ.¥—1hqؤä8X°É¿Ìò©‰P^qv.ßNÊ҇ùF.Íû'ÉÊ{´d9¢.=O.¯{
> Ÿ..fÆü¨i£Šó®öû=Ò“š.ü.ù>eÐ×åR؟.s0.RJ.tãáÀp¼IÎUº.8.—*®./5<2¡ŽÐ‹dÿ¨
> ŽàÊÍqŒ.ð#».?1HC0.ºüØ$ÚúE…z.u?<Šm.[+„ÁѦÖ8íQ™Ièßo?µÞ;pKv§,¸U’Ñ.˦d-¬
> œõò»êÍ×3ýá¸+tÐÃCʤž¥¶"[EMAIL PROTECTED]
> u˜5Õ2Ö.sUáQP"¡j.“ÎXŠ.N¥‹ÛMA’Ïí.ę–maõ..À¡ä'/à?W°Ÿ„V˘?´œ^{.„Á.ÄûÉ1
> j?ºt?0¾q&Î_-U.$º.ˆ%`.N6^̽.Lrê|7lW*d¹êo¿•g“M..Ø)´¶ÿg{“ña€õÒghJ&†m
> ..cÁœ.Ó¾9ÕP?ˆßí.±à.7¿±}÷CD¹«À.í‘fçp‰è÷8
> .̧.ˆ.f.ëeÁ¬–¨Ì.LR笴.ÒuÁVgÄ.â.±?êfy–Só¥í=ò¡Ë?ª
> O“ø¸6œ`l¡ÍÕç.T.àNä»0GmôÚ9.¾ô]‘Cêç– h..›uùd
> 9OI¹6‹?=."b–JˆV….K.Á=.õÌTL]³?÷+b?«.%¬v.øƱQFŠ"ïF,75ï.cNDçÌ..„.m)jl
> G.{?Òk’.-ßäg.¢ìÝá~‚.Õà+zê.?Ɔ˜?´œ^{.„Š'¹.–>.I£­BSr..¿ƒ?ŸAÞ
> .?Oâµ·.!Ÿq".ý¦‰ÀwžîI.ž.ûÄ7ì..'o>*s.ã{l`!S‡k·µ:›
> [EMAIL PROTECTED] ¨ÉƒFôfG£¡®?d_\Ô®,t..ÚE¬2.ÑÙÕLg4„ÒŠ*ˆë
> à.•´«m“ùåRuƚþÁ.ôµ‚l­s‡õ›D{ÄèÞ.pü²Æ¡?..\s™C{(và‚ã
> ›§ýx.ª×/쩋½+xbÌJìÝú°.¹?Ã.Iuüµ&ßùÄ{¨N±'W8ÊM
> F›©.Vc£•\=»3õ˜JMh.jà°gº?þ²8›.×»áº8'¹.÷ð9b.×/¼¹°#Ÿ‹#'®.)(Š?ú.}ÿ›%y–
> .ôõ_.s2qÎ
> ñì,íæÿ“Õ
> [EMAIL PROTECTED]>.Q9Íޙ™.?]ÜRáûÕÿx§ß
> Pg»ÓMCڑëN¿è?qv.ßNÊ҇Ê%nK!¨Nª.¨.?o¶Û
> WÄçåöbyÂÓ.¬P£'¥ž’.¾“,YŠ·w«Ò{ë¨%\~åŒ.ä܂ú.˜Õ˜?Ö5­‚N/[EMAIL PROTECTED]
> úð¬¶Ç?F!š?.]. ›Ã¹.˜È‚|A×É^B_�¬ÃU:�P;±3
> ,‡®iègÐ|Ûöj.˜á$¢. « ="YRz"œ´.OŒo?®™Å‰(“ñsÅOë"
>
> I did cut and paste the file contents rather than replacing the file -
> could that have "broke" the encryption? I compared the two files and they
> look identical...
>
> Brook
>

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137779
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: MM Security Bulletin

2003-09-19 Thread Brook Davies
Sorry, I guess cutting and pasting the contents of the file over terminal 
services screwed it up. I replaced the file and it was okay...

At 04:30 PM 9/19/2003 -0700, you wrote:
>Hmm, thats funny. I just got an error on our dev server and I got this on
>the webpage:
>
>
>"Allaire Cold Fusion Template Header Size: New
>Version0(ø2;#‚Á.áÏÛ.¥—1hqؤä8X°É¿Ìò©‰P^qv.ßNÊ҇ùF.Íû'ÉÊ{´d9¢.=O.¯{Ÿ..fÆü¨i£Šó®öû=Ò“š.ü.ù>eÐ×åR؟.s0.RJ.tãáÀp¼IÎUº.8.—*®./5<2¡ŽÐ‹dÿ¨ŽàÊÍqŒ.ð#».?1HC0.ºüØ$ÚúE…z.u?<Šm.[+„ÁѦÖ8íQ™Ièßo?µÞ;pKv§,¸U’Ñ.˦d-¬
> 
>
>œõò»êÍ×3ýá¸+tÐÃCʤž¥¶"[EMAIL 
>PROTECTED]"¡j.“ÎXŠ.N¥‹ÛMA’Ïí.ę­maõ..À¡ä'/à?W°Ÿ„V˘?´œ^{.„Á.ÄûÉ1j?ºt?0¾q&Î_-U.$º.ˆ%`.N6^̽.Lrê|7lW*d¹êo¿•g“M..Ø)´¶ÿg{“ña€õÒghJ&†m..cÁœ.Ó¾9ÕP?ˆßí.±à.7¿±}÷CD¹«À.í‘fçp‰è÷8
> 
>
>.̧.ˆ.f.ëeÁ¬­¨Ì.LR笴.ÒuÁVgÄ.â.±?êfy­Só¥í=ò¡Ë?ª
>O“ø¸6œ`l¡ÍÕç.T.àNä»0GmôÚ9.¾ô]‘Cêç­ h..›uùd
>9OI¹6‹?=."b­JˆV….K.Á=.õÌTL]³?÷+b?«.%¬v.øƱQFŠ"ïF,75ï.cNDçÌ..„.m)jlG.{?Òk’.-ßäg.¢ìÝá~‚.Õà+zê.?Ɔ˜?´œ^{.„Š'¹.­>.I£­BSr..¿ƒ?ŸAÞ
> 
>
>.?Oâµ·.!Ÿq".ý¦‰ÀwžîI.ž.ûÄ7ì..'o>*s.ã{l`!S‡k·µ:›
>[EMAIL PROTECTED] ¨ÉƒFôfG£¡®?d_\Ô®,t..ÚE¬2.ÑÙÕLg4„ÒŠ*ˆë
>à.•´«m“ùåRuƚþÁ.ôµ‚l­s‡õ›D{ÄèÞ.pü²Æ¡?..\s™C{(và‚ã
>›§ýx.ª×/쩋½+xbÌJìÝú°.¹?Ã.Iuüµ&ßùÄ{¨N±'W8ÊMF›©.Vc£•\=»3õ˜JMh.jà°gº?þ²8›.×»áº8'¹.÷ð9b.×/¼¹°#Ÿ‹#'®.)(Š?ú.}ÿ›%y­.ôõ_.s2qÎ
> 
>
>ñì,íæÿ“Õ
>[EMAIL PROTECTED]>.Q9Íޙ™.?]ÜRáûÕÿx§ßPg»ÓMCڑëN¿è?qv.ßNÊ҇Ê%nK!¨Nª.¨.?o¶Û 
>
>WÄçåöbyÂÓ.¬P£'¥ž’.¾“,YŠ·w«Ò{ë¨%\~åŒ.ä܂ú.˜Õ˜?Ö5­‚N/[EMAIL 
>PROTECTED] 
>
>,‡®iègÐ|Ûöj.˜á$¢. « ="YRz"œ´.OŒo?®™Å‰(“ñsÅOë"
>
>I did cut and paste the file contents rather than replacing the file -
>could that have "broke" the encryption? I compared the two files and they
>look identical...
>
>Brook
>
>
>
>At 06:33 PM 9/19/2003 -0400, you wrote:
> > > > > The interesting thing is that if you open the detail.cfm
> > > > > template that is available for download the header of the
> > > > > encrypted template says "Allaire Cold Fusion Template"
> > > >
> > > > That's not odd at all. The encryption scheme predates
> > > > Macromedia's purchase of Allaire.
> > >
> > > Yeah, but didn't they purchase the encryption scheme aswell?
> >
> >Yes, but they can't just change it without potentially breaking it.
> >
> >Dave Watts, CTO, Fig Leaf Software
> >http://www.figleaf.com/
> >voice: (202) 797-5496
> >fax: (202) 797-5444
> >
> >
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:13
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: 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  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: MM Security Bulletin

2003-09-19 Thread Brook Davies
Hmm, thats funny. I just got an error on our dev server and I got this on 
the webpage:


"Allaire Cold Fusion Template Header Size: New 
Version0(ø2;#‚Á.áÏÛ.¥—1hqؤä8X°É¿Ìò©‰P^qv.ßNÊ҇ùF.Íû'ÉÊ{´d9¢.=O.¯{Ÿ..fÆü¨i£Šó®öû=Ò“š.ü.ù>eÐ×åR؟.s0.RJ.tãáÀp¼IÎUº.8.—*®./5<2¡ŽÐ‹dÿ¨ŽàÊÍqŒ.ð#».?1HC0.ºüØ$ÚúE…z.u?<Šm.[+„ÁѦÖ8íQ™Ièßo?µÞ;pKv§,¸U’Ñ.˦d-¬
 
œõò»êÍ×3ýá¸+tÐÃCʤž¥¶"[EMAIL 
PROTECTED]"¡j.“ÎXŠ.N¥‹ÛMA’Ïí.ę–maõ..À¡ä'/à?W°Ÿ„V˘?´œ^{.„Á.ÄûÉ1j?ºt?0¾q&Î_-U.$º.ˆ%`.N6^̽.Lrê|7lW*d¹êo¿•g“M..Ø)´¶ÿg{“ña€õÒghJ&†m..cÁœ.Ó¾9ÕP?ˆßí.±à.7¿±}÷CD¹«À.í‘fçp‰è÷8
 
.̧.ˆ.f.ëeÁ¬–¨Ì.LR笴.ÒuÁVgÄ.â.±?êfy–Só¥í=ò¡Ë?ª 
O“ø¸6œ`l¡ÍÕç.T.àNä»0GmôÚ9.¾ô]‘Cêç– h..›uùd 
9OI¹6‹?=."b–JˆV….K.Á=.õÌTL]³?÷+b?«.%¬v.øƱQFŠ"ïF,75ï.cNDçÌ..„.m)jlG.{?Òk’.-ßäg.¢ìÝá~‚.Õà+zê.?Ɔ˜?´œ^{.„Š'¹.–>.I£­BSr..¿ƒ?ŸAÞ
 
.?Oâµ·.!Ÿq".ý¦‰ÀwžîI.ž.ûÄ7ì..'o>*s.ã{l`!S‡k·µ:› 
[EMAIL PROTECTED] ¨ÉƒFôfG£¡®?d_\Ô®,t..ÚE¬2.ÑÙÕLg4„ÒŠ*ˆë 
à.•´«m“ùåRuƚþÁ.ôµ‚l­s‡õ›D{ÄèÞ.pü²Æ¡?..\s™C{(và‚ã 
›§ýx.ª×/쩋½+xbÌJìÝú°.¹?Ã.Iuüµ&ßùÄ{¨N±'W8ÊMF›©.Vc£•\=»3õ˜JMh.jà°gº?þ²8›.×»áº8'¹.÷ð9b.×/¼¹°#Ÿ‹#'®.)(Š?ú.}ÿ›%y–.ôõ_.s2qÎ
 
ñì,íæÿ“Õ 
[EMAIL PROTECTED]>.Q9Íޙ™.?]ÜRáûÕÿx§ßPg»ÓMCڑëN¿è?qv.ßNÊ҇Ê%nK!¨Nª.¨.?o¶Û 
WÄçåöbyÂÓ.¬P£'¥ž’.¾“,YŠ·w«Ò{ë¨%\~åŒ.ä܂ú.˜Õ˜?Ö5­‚N/[EMAIL 
PROTECTED] > > > The interesting thing is that if you open the detail.cfm
> > > > template that is available for download the header of the
> > > > encrypted template says "Allaire Cold Fusion Template"
> > >
> > > That's not odd at all. The encryption scheme predates
> > > Macromedia's purchase of Allaire.
> >
> > Yeah, but didn't they purchase the encryption scheme aswell?
>
>Yes, but they can't just change it without potentially breaking it.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137776
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 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:A big thanks to Sean Corfield

2003-09-19 Thread Stan Winchester
I second Matt's thank you!!!

Since the url was not attached to Matt's entry, and I had to search to find it. I'll 
post the URL here for others: 

http://www.corfield.org/coldfusion/coding_standards/ 
(I've now bookmarked it, this is a keeper!)

I have already learned several things I will be changing. I also found a lot of great 
material in the Accessibility Coding Guidelines.

Thank you,
Stan Winchester

>Just wanted to take a second to thank Sean for his CF Coding 
>Guidelines, which just got a big update.
>
>And a hearty raspberry to him as well, for reminding me that I got 
>sloppy and started back up writing cfif "is" and "is not" not too long 
>ago.  Just went thru all 1,538 instances of "is" in my cms to hunt 
>down and fix the offenders.
>
>Happy Friday Sean et al,
>
>
>
>--
>---
 
>Matt Robertson, [EMAIL PROTECTED]
 
>MSB Designs, Inc. http://mysecretbase.com
>---
>
--
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137774
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: JDBC error

2003-09-19 Thread Owens, Howard
Thanks, Dave.

I had not put the security tab on mixed mode, and doing so got rid
of theis part of the error " Not associated with a trusted SQL Server
connection."  But I still can't find the right combo of username ... I've
tried domain/cf, sqlname/cf and just "cf" by itself.  I must still be
missing something.

H.

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137773
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: JDBC error

2003-09-19 Thread Dave Watts
> I'm trying to set up a datasource in the cf administrator.
> 
> I'm on WinXP Pro with CF 6.1 and MSSQL 2000.
> 
> Here's the error:
> 
> Connection verification failed for data source: ventura
> []java.sql.SQLException: [Macromedia][SQLServer JDBC 
> Driver][SQLServer]Login failed for user 'vsw00\cf'. 
> Reason: Not associated with a trusted SQL Server connection.
> The root cause was that: java.sql.SQLException: 
> [Macromedia][SQLServer JDBC Driver][SQLServer]Login failed 
> for user 'vswsp200\cf'. Reason: Not associated with a trusted 
> SQL Server connection.
> 
> I've tried lots of things ... set up a SQL Server group, 
> created a user CF and assigned that user to that group. In 
> Enterprise manager, I gave that user every conceivable 
> permission I could find.

You'll have to use native SQL logins, rather than Windows Authentication
(which is what SQL Server uses by default. Within SQL Server's Security tab,
enable both sorts of authentication. Then, create a native SQL login and
password, make sure it has rights to the database in question, and use that
within your datasource configuration within the CF Administrator.

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137772
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


JDBC error

2003-09-19 Thread Owens, Howard
I'm trying to set up a datasource in the cf administrator.

I'm on WinXP Pro with CF 6.1 and MSSQL 2000.

Here's the error:

Connection verification failed for data source: ventura
[]java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Login
failed for user 'vsw00\cf'. Reason: Not associated with a trusted SQL Server
connection.
The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver][SQLServer]Login failed for user 'vswsp200\cf'. Reason: Not
associated with a trusted SQL Server connection.

I've tried lots of things ... set up a SQL Server group, created a user CF
and assigned that user to that group. In Enterprise manager, I gave that
user every conceivable permission I could find.

If somebody is available to get on the phone with me and talk me through
this, that might help ... send me your number privately and I'll call you
back on my dime.  E-mail: [EMAIL PROTECTED], or AIM: GoCatGo1956



~~
Howard Owens
Internet Operations Cordinator
Ventura County Star / E.W. Scripps Co.
www.venturacountystar.com
[EMAIL PROTECTED]
AIM: GoCatGo1956
~~


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137771
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: Directory ownership

2003-09-19 Thread Dave Watts
> I have a web interface that allows users to create 
> directories/files on a mounted project space. Problem is 
> that the web server user creates these directories, so 
> the directories are owned by the webserver user. I need 
> it to be owned by the user that is logged in creating the
> directories/files. Does anyone know how I can have this 
> done? Chown is no longer part of the vocabulary so that 
> is NOT an option. Obviously UNIX is the environment

Can you use su to switch to that user's security context? You wouldn't be
able to use CFFILE or CFDIRECTORY for this, but you could write a shell
script and call that using CFEXECUTE.

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137770
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: MM Security Bulletin

2003-09-19 Thread Brook Davies
That makes sense :)

Brook


At 06:33 PM 9/19/2003 -0400, you wrote:
> > > > The interesting thing is that if you open the detail.cfm
> > > > template that is available for download the header of the
> > > > encrypted template says "Allaire Cold Fusion Template"
> > >
> > > That's not odd at all. The encryption scheme predates
> > > Macromedia's purchase of Allaire.
> >
> > Yeah, but didn't they purchase the encryption scheme aswell?
>
>Yes, but they can't just change it without potentially breaking it.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137769
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: MM Security Bulletin

2003-09-19 Thread Dave Watts
> > > The interesting thing is that if you open the detail.cfm
> > > template that is available for download the header of the
> > > encrypted template says "Allaire Cold Fusion Template"
> >
> > That's not odd at all. The encryption scheme predates 
> > Macromedia's purchase of Allaire.
>
> Yeah, but didn't they purchase the encryption scheme aswell?

Yes, but they can't just change it without potentially breaking it.

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137768
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: MM Security Bulletin

2003-09-19 Thread Brook Davies
Yeah, but didn't they purchase the encryption scheme aswell?

At 05:05 PM 9/19/2003 -0400, you wrote:
> > The interesting thing is that if you open the detail.cfm
> > template that is available for download the header of the
> > encrypted template says "Allaire Cold Fusion Template"
>
>That's not odd at all. The encryption scheme predates Macromedia's purchase
>of Allaire.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137767
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:oracle newbie

2003-09-19 Thread Dave Carabetta
>ok, this is wacked, but another developer came over and told me that his 
>view in oracle worksheet is different, here you have to actually tell it to 
>commitarg! i was not aware of that, so as soon as i commited the 
>changes to the table, cf showed me the correct recordset.
>

I know you found your answer, but it sounds like your literally in your 
first few days with Oracle and your new employers (UPS, was it?) haven't 
gotten you up to speed on it. I thought I'd just give you another tip/trick 
that you may find useful:

When you log in to Oracle using tools such as Worksheet, you have started a 
"session." As long as you don't log out or get otherwise disconnected (your 
session is still open), you can also do INSERTs, UPDATEs, and DELETEs 
without the changes becoming permanent. If you're in Worksheet and just want 
to see if one of the above query types will work with a bit of code your 
building, you can simply run your script, run a SELECT or whatever to verify 
that the result is what you expected, and then type "rollback" (without the 
quotes) and your changes will be undone. This is quite a handy feature 
during development that I don't believe SQL Server has (though I may be 
mistaken).

The one caveat to watch out for is that you can't use that trick via CFML. 
Each database request you make via cfquery is technically a different 
session (the code behind  must close it), so any changes you make 
will be immediately reflected.

That tip may help, it may be useless, but, either way, have a good weekend!!

Regards,
Dave.

_
Send and receive larger attachments with Hotmail Extra Storage.   
http://join.msn.com/?PAGE=features/es

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137766
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 6.1 Server Mappings Failing (SOLVED)

2003-09-19 Thread Dave Watts
> Exactly this was being run from the server console.

And that's where you installed the JVM, right? Again, I'm guessing that your
browser didn't have a configured JVM.

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137765
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: getPageContext().forward() still busted?

2003-09-19 Thread Stacy Young
P.S. I have a CFC instance in the session scope...which is the portion
crapping out.

Stace

-Original Message-
From: Stacy Young 
Sent: September 19, 2003 4:40 PM
To: CF-Talk
Subject: getPageContext().forward() still busted?

Whenever I try this:



It appears to work fine...but on the next form submission CFMX craps out
complaining that data in session scope doesn't exist...like it's lost
the session.

Anything else required?

Stace



AVIS IMPORTANT:
--- 
Les informations contenues dans le present document et ses pieces
jointes sont strictement confidentielles et reservees a l'usage de la
(des) personne(s) a qui il est adresse. Si vous n'etes pas le
destinataire, soyez avise que toute divulgation, distribution, copie, ou
autre utilisation de ces informations est strictement prohibee. Si vous
avez recu ce document par erreur, veuillez s'il vous plait communiquer
immediatement avec l'expediteur et detruire ce document sans en faire de
copie sous quelque forme.

WARNING:
---
The information contained in this document and attachments is
confidential and intended only for the person(s) named above. If you are
not the intended recipient you are hereby notified that any disclosure,
copying, distribution, or any other use of the information is strictly
prohibited. If you have received this document by mistake, please notify
the sender immediately and destroy this document and attachments without
making any copy of any kind.


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137763
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: MM Security Bulletin

2003-09-19 Thread Dave Watts
> The interesting thing is that if you open the detail.cfm 
> template that is available for download the header of the 
> encrypted template says "Allaire Cold Fusion Template"

That's not odd at all. The encryption scheme predates Macromedia's purchase
of Allaire.

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

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137764
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: cgi.auth_password

2003-09-19 Thread Deanna Schneider
Well, it all depends on the webserver you're running. On our dev and prod
environments (which are running apache) there's no such thing as
auth_password.

On the CFMX stand-alone install, there is a CGI variable called
auth_password. But, since I don't really have a way to set it to anything, I
can't test whether or not it would actually give you the value.

To find out what cgi variables you have available, just do


Then, remember, that they will change depending on server. (In other words,
as I believe Sean or Dave said, "don't rely on them unless you are building
for a very specific environment.)

-d


- Original Message - 
From: "Nathan Mische" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 3:51 PM
Subject: RE: cgi.auth_password


> I don't think it is possible. It would be a huge security risk if it
> were...
>
> --Nathan
>
> > -Original Message-
> > From: Suyer, Ed [PRD Non-J&J] [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 19, 2003 4:29 PM
> > To: CF-Talk
> > Subject: cgi.auth_password
> >
> >
> > Is it possible to retrieve an authenticated user's password?
> > Basic authentication is on.
> >
> >
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137762
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:oracle newbie

2003-09-19 Thread Deanna Schneider
Ah, yes. I've run into that one before too. Didn't realize you were in the
process of changing data in the worksheet or I would have suggested that.

-d

- Original Message - 
From: "Stephenie Hamilton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 3:37 PM
Subject: Re:oracle newbie


> ok, this is wacked, but another developer came over and told me that his
view in oracle worksheet is different, here you have to actually tell it to
commitarg! i was not aware of that, so as soon as i commited the changes
to the table, cf showed me the correct recordset.
>
> 
> Thanks for all the suggestions! you guys are the best 
> ~~
> Steph
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137761
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: super scope

2003-09-19 Thread Deanna Schneider
I don't have a link to the kludge. It's in the book, Discovering CFC's.
Basically, it looks like you'd add this code to your "parent" (in a new()
function that you would call right after invoking...








You'd add the same argument to your child in it's new function and this
additional code (all in the new function):



To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 3:10 PM
Subject: RE: super scope


> can you provide that link, because were still 6.0 And I'm am in need of
just
> that thing, a way to Kluge the super scope.
>
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
>
> > -Original Message-
> > From: Deanna Schneider [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 19, 2003 1:07 PM
> > To: CF-Talk
> > Subject: super scope
> >
> >
> > Hi Folks,
> > I'm going through the Discovering CFC's book and I'm
> > currently reading the
> > chapter about how to kludge the "super" scope. With 6.1, this is now
> > unnecessary, apparently. Since I'm just learning about CFC's
> > (and we don't
> > have MX in production yet), I'm thinking I can skip learning
> > the kludge and
> > just learn the proper use of super. Problem is, I can't find
> > any examples of
> > how to use the super scope properly.
> >
> > Anyone have any?
> > -d
> >
> >
> >
> >
> > -
> > Deanna Schneider
> > UWEX-Cooperative Extension
> > Interactive Media Developer
> >
> >
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137760
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: cgi.auth_password

2003-09-19 Thread Nathan Mische
I don't think it is possible. It would be a huge security risk if it
were...

--Nathan

> -Original Message-
> From: Suyer, Ed [PRD Non-J&J] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 4:29 PM
> To: CF-Talk
> Subject: cgi.auth_password
> 
> 
> Is it possible to retrieve an authenticated user's password?  
> Basic authentication is on.  
> 
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137759
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


getPageContext().forward() still busted?

2003-09-19 Thread Stacy Young
Whenever I try this:



It appears to work fine...but on the next form submission CFMX craps out
complaining that data in session scope doesn't exist...like it's lost
the session.

Anything else required?

Stace



AVIS IMPORTANT:
--- 
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:
---
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above. If you are not the intended recipient you 
are hereby notified that any disclosure, copying, distribution, or any other use of 
the information is strictly prohibited. If you have received this document by mistake, 
please notify the sender immediately and destroy this document and attachments without 
making any copy of any kind.

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137758
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


Yet another OO/CFC question

2003-09-19 Thread Jim Davis
This one's probably simple but my brain doesn't want to handle it.

I've got a "Venue" CFC that contains information about
performance/exhibit areas.  Some venues feature many rooms or areas.
For example Boston Common has the Frog Pond, the Brewer's Fountain, and
the Bandstand; the Boston Ballet building has 5 studios; etc

The net result is that each venue may have a single parent and may have
many children.  I'm an old hand at using "parent"/"child" processing in
SQL but am unclear how to model this in a CFC.

My first assumption was that the Venue component would have a "Parent"
property of type "Venue".  My problem occurs when a venue doesn't have a
component.  When I'm writing my "getter" I'm not sure how to handle the
returntype.

Most simple types are defaulted to the empty string - what of 

How would this normally be done?  Would you:

1) Populate the "Parent" property with a Venue object if needed, but
leave it as the empty string if not?  And then use something like "NOT
IsSimpleValue()" to determine if it's populated?

2) Populate the "Parent" property with a Venue object if needed, but
leave it UNDEFINED if not.

3) Create another property as a "gatekeeper" for this one; something
like "isChild" populated with a Boolean value?

4) Always populate the property using either a real parent or a
self-reference (in effect saying "when I'm my own dad, we're at the
top")?

5) Populate the property with an "empty venue" (one that's instantiated
but not populated)?

6) Something else entirely?

My goal, of course, is to access the object as seamlessly as possible
(having external object do a lot of "checking" on the return doesn't
seem very clean).

I guess, to make it simple, I'm asking how to best deal with optional
custom datatypes.

Thanks in advance.

Jim Davis


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137757
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: super scope

2003-09-19 Thread Deanna Schneider
Grrr. I searched Macromedia's site. (And HOF, and HalHelms.com and forta's
site and techspedition.com). It would be my coworker that would go and find
it. Grrr.

-d



- Original Message - 
From: "Kevin Graeme" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 3:17 PM
Subject: Re: super scope


> This might help:
> http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi52.htm
>
> -Kevin
>
> - Original Message - 
> From: "Deanna Schneider" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 3:06 PM
> Subject: super scope
>
>
> > Hi Folks,
> > I'm going through the Discovering CFC's book and I'm currently reading
the
> > chapter about how to kludge the "super" scope. With 6.1, this is now
> > unnecessary, apparently. Since I'm just learning about CFC's (and we
don't
> > have MX in production yet), I'm thinking I can skip learning the kludge
> and
> > just learn the proper use of super. Problem is, I can't find any
examples
> of
> > how to use the super scope properly.
> >
> > Anyone have any?
> > -d
> >
> >
> >
> >
> > -
> > Deanna Schneider
> > UWEX-Cooperative Extension
> > Interactive Media Developer
> >
> >
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137756
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:oracle newbie

2003-09-19 Thread Stephenie Hamilton
ok, this is wacked, but another developer came over and told me that his view in 
oracle worksheet is different, here you have to actually tell it to commitarg! i 
was not aware of that, so as soon as i commited the changes to the table, cf showed me 
the correct recordset.


Thanks for all the suggestions! you guys are the best 
~~
Steph
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137755
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:oracle newbie

2003-09-19 Thread Deanna Schneider
Well, I guess it's not that then, eh?
-d

- Original Message - 
From: "Stephenie Hamilton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 3:03 PM
Subject: Re:oracle newbie


> I am using HomeSite+ (5.1)
> ~~
> Steph
>
>
>
> >Stephanie,
> >Are you using Dreamweaver or Studio? I just did a search on "oracle
> >worksheet" because I don't actually know what that is (I use SQl Plus or
SQL
> >Navigator or TOAD to connect to Oracle and monkey with queries.) and I
found
> >a thread that is similar:
>
>http://www.tek-tips.com/gpviewthread.cfm/qid/405093/pid/770/lev2/4/lev3/31
> >
> >Of course, there's no solution. But, the link to the other thread in this
> >thread seems to indicate it might be an issue with dreamweaver...?
> >
> >-d
> >
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137754
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: oracle newbie

2003-09-19 Thread Claude Schneegans
>>i had no control over the db at all.

These obviously were set by some database "administrator" ;-)
Never would a programer use such messy column names ;-)

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137753
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


cgi.auth_password

2003-09-19 Thread
Is it possible to retrieve an authenticated user's password?  Basic
authentication is on.  

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137752
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: Design Structure and cfinclude

2003-09-19 Thread Larry C. Lyons
Shannon Rhodes wrote:

 >
 > I think I need a balance between letting CF templates "do it all" for me,
 > and the tedious work of writing in each page information that is probably
 > the same 80% of the time in a given section.
 >
 > Can anyone suggest a "best practices" approach to using cfinclude for 
design
 > elements?  Should I hard code in most of the head area of documents, so I
 > can put in page-level titles, meta tags, and page-specific styles &
 > JavaScript, followed by a cfinclude containing the remainder of the head
 > with links to the master style sheet, and any design code that will not
 > change, followed by another include for section-specific design 
images?  Any
 > suggestions are appreciated!
 >
 >

Shannon,

Assuming that my previous email got bounced by the CF-talk bot for not 
recognizing my munged email address, I'm trying this one again. If not I 
apologise for the duplicate posting.


First of all I'd avoid putting the header and footers in you 
application.cfm and onrequestend.cfm pages. Those should be used for 
code specifics. Here's what I do, create a template in Dreamweaver and 
where the content is to go, have a cfoutput, something like this:
#variables.ResultsOutput#

Then on the pages with the processing and other cfcode, surround that 
code with a cfsavecontent. Then you use an cfinclude to get the template 
as in


   

http://www.totalsports.us.

hth,

larry

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137751
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: CC Processing and Recurring Billing

2003-09-19 Thread Matt Robertson
I thought you had said something like 25 bucks to set up a recurring transaction.  
Must've been skim-reading again 

Plus I'm in bunker-mentality mode after having dealt with a similar provider search a 
few weeks back and been very surprised to find pretty much everybody has hidden extra 
costs everywhere they can think of nowadays.

Cheers,


--
---
 Matt Robertson, [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
---

--
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137750
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: super scope

2003-09-19 Thread Kevin Graeme
This might help:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi52.htm

-Kevin

- Original Message - 
From: "Deanna Schneider" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 3:06 PM
Subject: super scope


> Hi Folks,
> I'm going through the Discovering CFC's book and I'm currently reading the
> chapter about how to kludge the "super" scope. With 6.1, this is now
> unnecessary, apparently. Since I'm just learning about CFC's (and we don't
> have MX in production yet), I'm thinking I can skip learning the kludge
and
> just learn the proper use of super. Problem is, I can't find any examples
of
> how to use the super scope properly.
>
> Anyone have any?
> -d
>
>
>
>
> -
> Deanna Schneider
> UWEX-Cooperative Extension
> Interactive Media Developer
>
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137749
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


A big thanks to Sean Corfield

2003-09-19 Thread Matt Robertson
Just wanted to take a second to thank Sean for his CF Coding Guidelines, which just 
got a big update.

And a hearty raspberry to him as well, for reminding me that I got sloppy and started 
back up writing cfif "is" and "is not" not too long ago.  Just went thru all 1,538 
instances of "is" in my cms to hunt down and fix the offenders.

Happy Friday Sean et al,



--
---
 Matt Robertson, [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
---

--
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137748
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


Having Problems: WAS: Reindex field: WAS order and re-oder

2003-09-19 Thread mayo
I'm trying to make an admin screen for a photographer. He want to be able to
be able to reorder photographs at will.

I'm running into problems

TABLE:photos (simplified)

ID
photoURL
photoORDER (are multiples of 10)


First step (simplified) is updating the table

OK, so far no problems. If I move photo 50 in front of phot 30 the
photoOrder changes from

10,20,30,40,50

to

10,20,29,30,40

So far no problem. Everything works out nicely

Now what I would like to do is to reorder the photoOrder so that it once
again becomes

10,20,30,40,50.




SELECT *
FROM photos
ORDER BY photoOrder










UPDATE photos
SET photoOrder =#times10#
WHERE photoOrder = #reorderPhotos.photoOrder#





The problem is that if I change

10-20-30-40-50

to

10-20-19-40-50

after running updatePhotos it becomes

10-30-30-40-50

This is driving me crazy.

Gil Midonnet






~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137746
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: super scope

2003-09-19 Thread Ian Skinner
can you provide that link, because were still 6.0 And I'm am in need of just
that thing, a way to Kluge the super scope.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA


> -Original Message-
> From: Deanna Schneider [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 1:07 PM
> To: CF-Talk
> Subject: super scope
> 
> 
> Hi Folks,
> I'm going through the Discovering CFC's book and I'm 
> currently reading the
> chapter about how to kludge the "super" scope. With 6.1, this is now
> unnecessary, apparently. Since I'm just learning about CFC's 
> (and we don't
> have MX in production yet), I'm thinking I can skip learning 
> the kludge and
> just learn the proper use of super. Problem is, I can't find 
> any examples of
> how to use the super scope properly.
> 
> Anyone have any?
> -d
> 
> 
> 
> 
> -
> Deanna Schneider
> UWEX-Cooperative Extension
> Interactive Media Developer
> 
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137747
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: CF Process monitoring

2003-09-19 Thread Brook Davies
On Win2k you can use the perfmon alerts and have them trigger any exe or 
even run a CF page using wget. This way you can monitor queued requests, 
running requests etc...

Brook

At 02:29 PM 9/19/2003 -0400, you wrote:
>What kind of tools are folks using for monitoring CFMX on J2EE processes?
>
>Thanks,
>Calvin
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137742
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 ODBC Services

2003-09-19 Thread Ben Forta
I just posted this blog entry, I think it may be what you want:

http://www.forta.com/blog/index.cfm?mode=e&entry=927

--- Ben



-Original Message-
From: Demarco, Alex [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 1:59 PM
To: CF-Talk
Subject: CFMX ODBC Services


Does anyone know how to manual uninstall and reinstall them?

We have a problem in that over a period of time the CFMX ODBC services
locks other apps out of the SOFTWARE hive(w2k). When I stop the CFMX
ODBC services the problem goes away..

- Alex


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137745
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


super scope

2003-09-19 Thread Deanna Schneider
Hi Folks,
I'm going through the Discovering CFC's book and I'm currently reading the
chapter about how to kludge the "super" scope. With 6.1, this is now
unnecessary, apparently. Since I'm just learning about CFC's (and we don't
have MX in production yet), I'm thinking I can skip learning the kludge and
just learn the proper use of super. Problem is, I can't find any examples of
how to use the super scope properly.

Anyone have any?
-d




-
Deanna Schneider
UWEX-Cooperative Extension
Interactive Media Developer

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137744
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:oracle newbie

2003-09-19 Thread Stephenie Hamilton
I am using HomeSite+ (5.1)
~~
Steph



>Stephanie,
>Are you using Dreamweaver or Studio? I just did a search on "oracle
>worksheet" because I don't actually know what that is (I use SQl Plus or SQL
>Navigator or TOAD to connect to Oracle and monkey with queries.) and I found
>a thread that is similar:
>http://www.tek-tips.com/gpviewthread.cfm/qid/405093/pid/770/lev2/4/lev3/31
>
>Of course, there's no solution. But, the link to the other thread in this
>thread seems to indicate it might be an issue with dreamweaver...?
>
>-d
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137741
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: oracle newbie

2003-09-19 Thread Douglas.Knudsen
you have debugging on?  Is the SQL correct there?  Cached query?  Is the cfm page 
cached inadvertantly by CF?  The user for the DSN is the same as in this 'oracle 
worksheet' and teh same DB actually?  I know, some cheesy easy questions, but you 
never know.  I've been known to bang my head for an hour about some SQL not working 
right only to find I had cachedwithin set in the cfquery tag.  DOH!  

I've not seen any issues with null, SQL, and the JDBC driver that ships with CFMX.

Its Friday 4:00 EST...time to give up and hit happy hour maybe?  ^_^

Doug

>-Original Message-
>From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 3:43 PM
>To: CF-Talk
>Subject: Re:oracle newbie
>
>
>I am not sure what the schema name is, they didn't tell me 
>that...any hints on how i could find it using oracle worksheet?
>
>I cannot use RDS (corporate rules...arg) so the only way I can 
>even look at the db is with oracle worksheet, which is doesn't 
>show me much compared to SQL Ent. Mgr (which is what i worked 
>with the last 3 years.)
>
>~~
>Steph
>
>
>
>>which should throw an error if this is required, should it not?  
>>Unless there are two tables, one under the schema and one without ala 
>>a synonym.
>>
>>Stephanie, out of curiosity can you use RDS to browse this 
>table?  Can 
>>you run the SQL in CFStudio's query tool?
>>
>>Doug
>>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137743
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:oracle newbie

2003-09-19 Thread Deanna Schneider
Stephanie,
Are you using Dreamweaver or Studio? I just did a search on "oracle
worksheet" because I don't actually know what that is (I use SQl Plus or SQL
Navigator or TOAD to connect to Oracle and monkey with queries.) and I found
a thread that is similar:
http://www.tek-tips.com/gpviewthread.cfm/qid/405093/pid/770/lev2/4/lev3/31

Of course, there's no solution. But, the link to the other thread in this
thread seems to indicate it might be an issue with dreamweaver...?

-d

- Original Message - 
From: "Stephenie Hamilton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 2:42 PM
Subject: Re:oracle newbie


> I am not sure what the schema name is, they didn't tell me that...any
hints on how i could find it using oracle worksheet?
>
> I cannot use RDS (corporate rules...arg) so the only way I can even look
at the db is with oracle worksheet, which is doesn't show me much compared
to SQL Ent. Mgr (which is what i worked with the last 3 years.)
>
> ~~
> Steph
>
>
>
> >which should throw an error if this is required, should it not?
> >Unless there are two tables, one under the schema and one without ala
> >a synonym.
> >
> >Stephanie, out of curiosity can you use RDS to browse this table?  Can
> >you run the SQL in CFStudio's query tool?
> >
> >Doug
> >
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137740
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: OT: CC Processing and Recurring Billing

2003-09-19 Thread Bryan Stevenson
Thanks Matt...

Yes you nailed it...except of course the varying amounts would never exceed
the full renewal price (only ever get smaller due to referral credits)so
it's nothing shady ;-)

I have actaully just found a company that will allow some of what I'm after
(although you kill the first recurring record and ad a new one with the new
amountbut they store the cc number and it can be re-used in the new
recurring record).

Did I mention a setup fee?? You sure seem to think i did Matt ;-)  but
nono setup fee

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: "Matt Robertson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:17 PM
Subject: RE: OT: CC Processing and Recurring Billing


> So you want to do billing on a recurring basis, using varying amounts as
> you see fit without the customer signing off on each?  If that's a
> correct assessment of your needs I don't think you'll find that in the
> marketplace.  Recurring billing is understood (by me, at least) to be
> the same interval and same amount for a fixed or indefinite length of
> time.  Anything else is a new invoice/new transaction each time.
>
> Interesting about the 'setup' charge they want out of you.  Sounds like
> a bogus deal.  Run from anyone who charges that.
>
> As an aside, I was amazed on a current project at how cheap Bank of
> America was; especially in light of Verisign's insistence that new
> PayFlow Pro customers also pay for the 'optional' fraud control services
> that pump up the minimum monthly fee to about US$90.  That bounced them
> right off my preferred provider list for small businesses.
>
> 
>  Matt Robertson   [EMAIL PROTECTED]
>  MSB Designs, Inc.  http://mysecretbase.com
> 
>
>
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137739
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: oracle newbie

2003-09-19 Thread Jim Campbell
Can you install a third-party tool like Aqua Data or TOAD?  That might 
be a little friendlier.

- Jim

Stephenie Hamilton wrote:

>I am not sure what the schema name is, they didn't tell me that...any hints on how i 
>could find it using oracle worksheet?
>
>I cannot use RDS (corporate rules...arg) so the only way I can even look at the db is 
>with oracle worksheet, which is doesn't show me much compared to SQL Ent. Mgr (which 
>is what i worked with the last 3 years.)
>
>~~
>Steph
>
>
>
>  
>
>>which should throw an error if this is required, should it not?  
>>Unless there are two tables, one under the schema and one without ala 
>>a synonym.
>>
>>Stephanie, out of curiosity can you use RDS to browse this table?  Can 
>>you run the SQL in CFStudio's query tool?
>>
>>Doug
>>
>>
>>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137738
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:oracle newbie

2003-09-19 Thread Stephenie Hamilton
I am not sure what the schema name is, they didn't tell me that...any hints on how i 
could find it using oracle worksheet?

I cannot use RDS (corporate rules...arg) so the only way I can even look at the db is 
with oracle worksheet, which is doesn't show me much compared to SQL Ent. Mgr (which 
is what i worked with the last 3 years.)

~~
Steph



>which should throw an error if this is required, should it not?  
>Unless there are two tables, one under the schema and one without ala 
>a synonym.
>
>Stephanie, out of curiosity can you use RDS to browse this table?  Can 
>you run the SQL in CFStudio's query tool?
>
>Doug
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137737
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


Directory ownership

2003-09-19 Thread Ray Bujarski
I have a web interface that allows users to create directories/files on
a mounted project space.  Problem is that the web server user creates
these directories, so the directories are owned by the webserver user.
I need it to be owned by the user that is logged in creating the
directories/files.  Does anyone know how I can have this done?  Chown is
no longer part of the vocabulary so that is NOT an option.  Obviously
UNIX is the environment.
Thanks,
Ray

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137736
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: oracle newbie

2003-09-19 Thread Douglas.Knudsen
which should throw an error if this is required, should it not?  Unless there are two 
tables, one under the schema and one without ala a synonym.

Stephanie, out of curiosity can you use RDS to browse this table?  Can you run the SQL 
in CFStudio's query tool?

Doug

>-Original Message-
>From: Dain Anderson [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 3:24 PM
>To: CF-Talk
>Subject: RE: oracle newbie
>
>
>You may need to prefix the table name with the correct schema:
>
>SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
>FROM MySchema.tbl_shp 
>WHERE asn_ir IS null
>
>-Dain
>
>-Original Message-
>From:  Stephenie Hamilton [mailto:[EMAIL PROTECTED]
>Sent:  Fri 9/19/2003 3:19 PM
>To:CF-Talk
>Cc:
>Subject:   oracle newbie
>ok, i am having trouble with a simple query.
>in oracle worksheet, this produces 11 records (what it should be)
>
>SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
>FROM tbl_shp 
>WHERE asn_ir IS null
>
>but the same statement in CF produces 0 records...
>this is the first time i have played with oracle, so am i just having
>a bad brain day or what?
>~~
>Stephenie
>
>
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137735
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: oracle newbie

2003-09-19 Thread Ian Skinner
Stephenie

I've never had your exact problem, but I have experience difficulty with
NULL values in Oracle from ColdFusion using the default JDBC/ODBC drivers.
I have several times created queries that would throw JDBC/ODBC errors since
I was selecting fields that contained NULL values particularly date fields
with NULL values.  I resolved this problem this week by installing the
Oracle JDBC Thin Client, and setting up a datasource to use that instead.
Resolved my misbehaving query at least.

HTH

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA


> -Original Message-
> From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 12:19 PM
> To: CF-Talk
> Subject: oracle newbie
> 
> 
> ok, i am having trouble with a simple query.
> in oracle worksheet, this produces 11 records (what it should be)
> 
> SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
> FROM tbl_shp 
> WHERE asn_ir IS null
> 
> but the same statement in CF produces 0 records...
> this is the first time i have played with oracle, so am i just having
> a bad brain day or what?
> ~~
> Stephenie
> 
> 
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137734
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:oracle newbie

2003-09-19 Thread Stephenie Hamilton
hey, i just started here, i had no control over the db at all

~~
Steph


>Those have to be the most obfuscated column names I've ever seen :) 
>
>- Jim
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137733
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: oracle newbie

2003-09-19 Thread Dain Anderson
You may need to prefix the table name with the correct schema:

SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
FROM MySchema.tbl_shp 
WHERE asn_ir IS null

-Dain

-Original Message-
From:   Stephenie Hamilton [mailto:[EMAIL PROTECTED]
Sent:   Fri 9/19/2003 3:19 PM
To: CF-Talk
Cc: 
Subject:oracle newbie
ok, i am having trouble with a simple query.
in oracle worksheet, this produces 11 records (what it should be)

SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
FROM tbl_shp 
WHERE asn_ir IS null

but the same statement in CF produces 0 records...
this is the first time i have played with oracle, so am i just having
a bad brain day or what?
~~
Stephenie



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137732
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: oracle newbie

2003-09-19 Thread Jim Campbell
Those have to be the most obfuscated column names I've ever seen :) 

- Jim

Stephenie Hamilton wrote:

>ok, i am having trouble with a simple query.
>in oracle worksheet, this produces 11 records (what it should be)
>
>SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
>FROM tbl_shp 
>WHERE asn_ir IS null
>
>but the same statement in CF produces 0 records...
>this is the first time i have played with oracle, so am i just having
>a bad brain day or what?
>~~
>Stephenie
>
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137731
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


oracle newbie

2003-09-19 Thread Stephenie Hamilton
ok, i am having trouble with a simple query.
in oracle worksheet, this produces 11 records (what it should be)

SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
FROM tbl_shp 
WHERE asn_ir IS null

but the same statement in CF produces 0 records...
this is the first time i have played with oracle, so am i just having
a bad brain day or what?
~~
Stephenie


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137730
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: OT: CC Processing and Recurring Billing

2003-09-19 Thread Matt Robertson
So you want to do billing on a recurring basis, using varying amounts as
you see fit without the customer signing off on each?  If that's a
correct assessment of your needs I don't think you'll find that in the
marketplace.  Recurring billing is understood (by me, at least) to be
the same interval and same amount for a fixed or indefinite length of
time.  Anything else is a new invoice/new transaction each time.

Interesting about the 'setup' charge they want out of you.  Sounds like
a bogus deal.  Run from anyone who charges that.

As an aside, I was amazed on a current project at how cheap Bank of
America was; especially in light of Verisign's insistence that new
PayFlow Pro customers also pay for the 'optional' fraud control services
that pump up the minimum monthly fee to about US$90.  That bounced them
right off my preferred provider list for small businesses.


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137729
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: MVC

2003-09-19 Thread Dave Hodder
Gabriel Robichaud wrote:
> Does anyone have any info or links or books to recommend for integrating MVC
> (Model View Contoller) paradigm into CF development?

I'm not aware of any books on MVC in ColdFusion; I'm sure the popularity 
of MVC will increase as CFCs become more widespread, so more information 
will be about in the future.

I think Mach-II  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.  Meanwhile macromedia.com has an article on leveraging Jakarta 
Struts (the J2EE framework), which brings a whole new realm of 
possibilities...

Regards,

Dave

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137728
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: OT: CC Processing and Recurring Billing

2003-09-19 Thread cf
the paypal one should be able to do it
i just made something using the simple paypal extentions & have them
dynamically inserting the prices depending on if the they had made prior
purchases or not. had to screw with the code a lil bit (not too much, i
dont know squat)
but its working great
http://www.weblofts.com/rr.dvd/index.cfm

i would think you could do about the same thing but use the subscription
button instead.

let me know if you have any ?'s




> Thanks Ryan, but I did say that the invoice amount will fluctuate (so
> the same bill every x amount of time will not fly).  What is the "IPN
> stuff" you mention?
>
> To be very clear here folks...
>
> I need the ability to initailly setup the recurring billing (i.e. a set
> amount every x amount of time), but be able to change the amount to be
> billed prior to the next billing.  So there needs to be some way of
> linking the recurring billing record at the cc processing company with
> the customer record in my system.
>
> Thanks
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> -
> Macromedia Associate Partner
> www.macromedia.com
> -
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
> - Original Message -
> From: "Hagan, Ryan Mr (Contractor ACI)" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 11:16 AM
> Subject: RE: OT: CC Processing and Recurring Billing
>
>
>> Paypal has a really nice (very configurable) subscription system.
>> Once
> your
>> customer pays through PayPal, you can have PayPal use their
>> subscription service to bill that customer every month, or year or
>> whatever.  At any time, the customer can see how long they've been
>> subscribed, how much they've paid you or they can stop their
>> subscription.  Couple the subscription service with the IPN stuff and
>> you can achieve quite a bit.
>>
>>
>> -Original Message-
>> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
>> Sent: Friday, September 19, 2003 2:04 PM
>> To: CF-Talk
>> Subject: Re: OT: CC Processing and Recurring Billing
>>
>>
>> Not everybody signs up at the same time...thus there are renewals
> happening
>> all the time 24/7...so no a portable data store that is plugged in to
>> do billing will not fly.
>>
>> To all others that may answer ;-)
>>
>> I'm NOT looking for secure ways to store CC numbersI DO NOT want
>> to store them...now that's safe ;-)  (but thanks Brook)
>>
>> I'm far more interested in a recurring billing option from  a cc
> processing
>> company that works the way I laid out (or close to it).
>>
>> Thanks
>>
>> Bryan Stevenson B.Comm.
>> VP & Director of E-Commerce Development
>> Electric Edge Systems Group Inc.
>> t. 250.920.8830
>> e. [EMAIL PROTECTED]
>>
>> -
>> Macromedia Associate Partner
>> www.macromedia.com
>> -
>> Vancouver Island ColdFusion Users Group
>> Founder & Director
>> www.cfug-vancouverisland.com
>> - Original Message -
>> From: "Brook Davies" <[EMAIL PROTECTED]>
>> To: "CF-Talk" <[EMAIL PROTECTED]>
>> Sent: Friday, September 19, 2003 10:29 AM
>> Subject: Re: OT: CC Processing and Recurring Billing
>>
>>
>> > Why don't you store the CC numbers using a string public/private key
>> encryption scheme (RSA?) and store the private key off-line on a
> portable
>> > USB device or something of that nature. Only use the private key
>> when
> you
>> > need to run the billing process. Isn't that secure?
>> >
>> > Brook
>> >
>> > At 10:19 AM 9/19/2003 -0700, you wrote:
>> > >Hey All,
>> > >
>> > >I've been looking into recurring billing options with some CC
> processing
>> > >companies because we do not want to go to the expense and potential
>> liability of collecting and storing cc numbers.  So far what I have
> found
>> is
>> > >not what I would have expected, so I'm checking to see what others
>> may
>> have
>> > >found.
>> > >
>> > >Here's what I've been told so far:
>> > >
>> > >1) The cc processing company stores the CC number
>> > >2) During the first payment processing for any given customer, you
>> also setup the recurring billing details (i.e. bill this CC number
>> annually
>> for
>> > >$25)
>> > >
>> > >Here's what I was hoping for:
>> > >
>> > >1) During first Tx you pass along a customer ID with the CC number
>> etc.
>> to
>> > >be stored for futuire Txs on that card.
>> > >2) When your system is ready to bill that card again (i.e. my
>> system
>> decides
>> > >when it' time to bill and how much to bill), I pass the customer
>> ID/details/amount to the CC procerssing company which they use to
> lookup
>> the
>> > >CC number and process the Tx.
>> > >
>> > >Obviously what I was hoping for gives you far

RE: CC Processing and Recurring Billing

2003-09-19 Thread Qasim Rasheed
Hello Bryan,

I think that Verisign Recurring payment might provide you a solution. If
I remember correctly for that you just have to store the PNRef number,
so that you can refer any recurring transaction. If you need any further
information about it, let me know.

Qasim

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 1:20 PM
To: CF-Talk
Subject: OT: CC Processing and Recurring Billing


Hey All,

I've been looking into recurring billing options with some CC processing
companies because we do not want to go to the expense and potential
liability of collecting and storing cc numbers.  So far what I have
found is not what I would have expected, so I'm checking to see what
others may have found.

Here's what I've been told so far:

1) The cc processing company stores the CC number
2) During the first payment processing for any given customer, you also
setup the recurring billing details (i.e. bill this CC number annually
for
$25)

Here's what I was hoping for:

1) During first Tx you pass along a customer ID with the CC number etc.
to be stored for futuire Txs on that card.
2) When your system is ready to bill that card again (i.e. my system
decides when it' time to bill and how much to bill), I pass the customer
ID/details/amount to the CC procerssing company which they use to lookup
the CC number and process the Tx.

Obviously what I was hoping for gives you far greater flexibility and
can allow the annual billing amount to fluctuate (this system gives
dicounts on renewals for referrals).  With what I've been told, I would
have to constantly sending changes to the CC processing company to
adjust renewal amountsproblem is there does not seem to be a way to
do this unless I have the cc numberwhich of course I do not want to
store.

So does anybody know of a CC processing company that works the way I'm
hoping for?  Do you have any other suggestions on how to handle this
(without storing cc numbers in my system)?

TIA

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137726
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: CC Processing and Recurring Billing

2003-09-19 Thread Bryan Stevenson
Thanks Ryan, but I did say that the invoice amount will fluctuate (so the
same bill every x amount of time will not fly).  What is the "IPN stuff" you
mention?

To be very clear here folks...

I need the ability to initailly setup the recurring billing (i.e. a set
amount every x amount of time), but be able to change the amount to be
billed prior to the next billing.  So there needs to be some way of linking
the recurring billing record at the cc processing company with the customer
record in my system.

Thanks

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: "Hagan, Ryan Mr (Contractor ACI)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:16 AM
Subject: RE: OT: CC Processing and Recurring Billing


> Paypal has a really nice (very configurable) subscription system.  Once
your
> customer pays through PayPal, you can have PayPal use their subscription
> service to bill that customer every month, or year or whatever.  At any
> time, the customer can see how long they've been subscribed, how much
> they've paid you or they can stop their subscription.  Couple the
> subscription service with the IPN stuff and you can achieve quite a bit.
>
>
> -Original Message-
> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 2:04 PM
> To: CF-Talk
> Subject: Re: OT: CC Processing and Recurring Billing
>
>
> Not everybody signs up at the same time...thus there are renewals
happening
> all the time 24/7...so no a portable data store that is plugged in to do
> billing will not fly.
>
> To all others that may answer ;-)
>
> I'm NOT looking for secure ways to store CC numbersI DO NOT want to
> store them...now that's safe ;-)  (but thanks Brook)
>
> I'm far more interested in a recurring billing option from  a cc
processing
> company that works the way I laid out (or close to it).
>
> Thanks
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> -
> Macromedia Associate Partner
> www.macromedia.com
> -
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
> - Original Message -
> From: "Brook Davies" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 10:29 AM
> Subject: Re: OT: CC Processing and Recurring Billing
>
>
> > Why don't you store the CC numbers using a string public/private key
> > encryption scheme (RSA?) and store the private key off-line on a
portable
> > USB device or something of that nature. Only use the private key when
you
> > need to run the billing process. Isn't that secure?
> >
> > Brook
> >
> > At 10:19 AM 9/19/2003 -0700, you wrote:
> > >Hey All,
> > >
> > >I've been looking into recurring billing options with some CC
processing
> > >companies because we do not want to go to the expense and potential
> > >liability of collecting and storing cc numbers.  So far what I have
found
> is
> > >not what I would have expected, so I'm checking to see what others may
> have
> > >found.
> > >
> > >Here's what I've been told so far:
> > >
> > >1) The cc processing company stores the CC number
> > >2) During the first payment processing for any given customer, you also
> > >setup the recurring billing details (i.e. bill this CC number annually
> for
> > >$25)
> > >
> > >Here's what I was hoping for:
> > >
> > >1) During first Tx you pass along a customer ID with the CC number etc.
> to
> > >be stored for futuire Txs on that card.
> > >2) When your system is ready to bill that card again (i.e. my system
> decides
> > >when it' time to bill and how much to bill), I pass the customer
> > >ID/details/amount to the CC procerssing company which they use to
lookup
> the
> > >CC number and process the Tx.
> > >
> > >Obviously what I was hoping for gives you far greater flexibility and
can
> > >allow the annual billing amount to fluctuate (this system gives
dicounts
> on
> > >renewals for referrals).  With what I've been told, I would have to
> > >constantly sending changes to the CC processing company to adjust
renewal
> > >amountsproblem is there does not seem to be a way to do this unless
I
> > >have the cc numberwhich of course I do not want to store.
> > >
> > >So does anybody know of a CC processing company that works the way I'm
> > >hoping for?  Do you have any other suggestions on how to handle this
> > >(without storing cc numbers in my system)?
> > >
> > >TIA
> > >

CF Process monitoring

2003-09-19 Thread Calvin Ward
What kind of tools are folks using for monitoring CFMX on J2EE processes?

Thanks,
Calvin
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137724
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


Server-side redirects, jsessionID and IIS

2003-09-19 Thread Nathan Mische
I'm doing a server side redirect using getPageContext().forward(). With
J2EE sessions enabled I think the redirect ends up being to something
like
http://www.myserver.com/index.cfm;jsessionID=123456789?param1=whatever.
Am I correct in this thinking? Anyway, using getPageContext().forward()
with J2EE sessions is causing IIS to return 404 - file not found. Does
anyone know how to work around this? Thanks.

--Nathan

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137723
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: CC Processing and Recurring Billing

2003-09-19 Thread Hagan, Ryan Mr (Contractor ACI)
Paypal has a really nice (very configurable) subscription system.  Once your
customer pays through PayPal, you can have PayPal use their subscription
service to bill that customer every month, or year or whatever.  At any
time, the customer can see how long they've been subscribed, how much
they've paid you or they can stop their subscription.  Couple the
subscription service with the IPN stuff and you can achieve quite a bit.


-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 2:04 PM
To: CF-Talk
Subject: Re: OT: CC Processing and Recurring Billing


Not everybody signs up at the same time...thus there are renewals happening
all the time 24/7...so no a portable data store that is plugged in to do
billing will not fly.

To all others that may answer ;-)

I'm NOT looking for secure ways to store CC numbersI DO NOT want to
store them...now that's safe ;-)  (but thanks Brook)

I'm far more interested in a recurring billing option from  a cc processing
company that works the way I laid out (or close to it).

Thanks

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 10:29 AM
Subject: Re: OT: CC Processing and Recurring Billing


> Why don't you store the CC numbers using a string public/private key
> encryption scheme (RSA?) and store the private key off-line on a portable
> USB device or something of that nature. Only use the private key when you
> need to run the billing process. Isn't that secure?
>
> Brook
>
> At 10:19 AM 9/19/2003 -0700, you wrote:
> >Hey All,
> >
> >I've been looking into recurring billing options with some CC processing
> >companies because we do not want to go to the expense and potential
> >liability of collecting and storing cc numbers.  So far what I have found
is
> >not what I would have expected, so I'm checking to see what others may
have
> >found.
> >
> >Here's what I've been told so far:
> >
> >1) The cc processing company stores the CC number
> >2) During the first payment processing for any given customer, you also
> >setup the recurring billing details (i.e. bill this CC number annually
for
> >$25)
> >
> >Here's what I was hoping for:
> >
> >1) During first Tx you pass along a customer ID with the CC number etc.
to
> >be stored for futuire Txs on that card.
> >2) When your system is ready to bill that card again (i.e. my system
decides
> >when it' time to bill and how much to bill), I pass the customer
> >ID/details/amount to the CC procerssing company which they use to lookup
the
> >CC number and process the Tx.
> >
> >Obviously what I was hoping for gives you far greater flexibility and can
> >allow the annual billing amount to fluctuate (this system gives dicounts
on
> >renewals for referrals).  With what I've been told, I would have to
> >constantly sending changes to the CC processing company to adjust renewal
> >amountsproblem is there does not seem to be a way to do this unless I
> >have the cc numberwhich of course I do not want to store.
> >
> >So does anybody know of a CC processing company that works the way I'm
> >hoping for?  Do you have any other suggestions on how to handle this
> >(without storing cc numbers in my system)?
> >
> >TIA
> >
> >Cheers
> >
> >Bryan Stevenson B.Comm.
> >VP & Director of E-Commerce Development
> >Electric Edge Systems Group Inc.
> >t. 250.920.8830
> >e. [EMAIL PROTECTED]
> >
> >-
> >Macromedia Associate Partner
> >www.macromedia.com
> >-
> >Vancouver Island ColdFusion Users Group
> >Founder & Director
> >www.cfug-vancouverisland.com
> >
> >
> 

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137722
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: DW2004 Crash

2003-09-19 Thread Massimo, Tiziana e Federica
> FYI, DWMX 2004 has a hard time with files on mapped networked drives. I
> don't think it's limited to XML files.
>
As far as I know, tech support usually answer working on mapped drives or
across LAN isn't supported... I know, it's silly but that's what they do.

Personally, I keep using it on mapped drives since DW 1 without noticing any
difference between working on a local or mapped drive


Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137721
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: FW: ListFind not working properly

2003-09-19 Thread Claude Schneegans
>>Put the pound signs outside the function:

Better even no pound sign at all since they are useless here.
The problem is with the spaces, as noticed by Jerry.

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137720
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: Correction

2003-09-19 Thread Claude Schneegans
>>
>> There, THAT'S better...

... and THIS is even better: ;-)


...

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137719
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: DW2004 Crash

2003-09-19 Thread Stacy Young
I haven't had any issues with cfm,cfc files up until now...and in fact I
believe I've edited a few xml files without issue. Just seemed to start
out of the blue. Weird.

Stace

-Original Message-
From: Marc A. Garrett [mailto:[EMAIL PROTECTED] 
Sent: September 19, 2003 1:57 PM
To: CF-Talk
Subject: Re: DW2004 Crash

FYI, DWMX 2004 has a hard time with files on mapped networked drives. I
don't think it's limited to XML files.

-- 
Marc A. Garrett
since1968.com

"Stacy Young" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
ce.com...
> I haven't had too many stability issues with DW2004 until today. Went
to
> open a XML file from a networked drive and DW exploded. Memory usage
> skyrocketed over 300mb and was climbing, had to end task.
>
> Someone mentioned a special form/url for submitting bugs for 2004.
> (emerging issues or sumthin?)
>
> Anyone from MM?
>
> Thx!
>
> Stace



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137718
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: select count

2003-09-19 Thread Deanna Schneider
Why do you have the where clause in there. You don't need it.

What you probably want is this:
SELECT COUNT(o.bookid) AS TheCount, b.booktitle
FROM orders o, books b
Where o.bookid=b.bookid
GROUP BY b.booktitle
ORDER BY COUNT(bookid) DESC

- Original Message - 
From: "Robert Orlini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:46 PM
Subject: select count


> I have a shopping cart with a orders table. Each book has a bookid and its
qty in this table.
>
> I would like to generate a list of all, the books and there corresponding
qty. If a book is listed twice, it would not display twice, but show the qty
as two. I'm trying the Select Count syntax, but am a bit stuck.
>
> This is what I have so far (I know it won't work completely):
>
> 
> SELECT COUNT(bookid) AS TheCount
> FROM orders
> Where bookid=bookid
> ORDER BY COUNT(bookid) DESC
> 
>
> Thanks.
>
> Robert Orlini
> HW Wilson
> 718-588-8400 x2656
> ô¿ô
>
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137717
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


CFMX ODBC Services

2003-09-19 Thread Demarco, Alex
Does anyone know how to manual uninstall and reinstall them?

We have a problem in that over a period of time the CFMX ODBC services locks
other apps out of the SOFTWARE hive(w2k). When I stop the CFMX ODBC services
the problem goes away..

- Alex

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137716
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: CC Processing and Recurring Billing

2003-09-19 Thread Bryan Stevenson
Not everybody signs up at the same time...thus there are renewals happening
all the time 24/7...so no a portable data store that is plugged in to do
billing will not fly.

To all others that may answer ;-)

I'm NOT looking for secure ways to store CC numbersI DO NOT want to
store them...now that's safe ;-)  (but thanks Brook)

I'm far more interested in a recurring billing option from  a cc processing
company that works the way I laid out (or close to it).

Thanks

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 10:29 AM
Subject: Re: OT: CC Processing and Recurring Billing


> Why don't you store the CC numbers using a string public/private key
> encryption scheme (RSA?) and store the private key off-line on a portable
> USB device or something of that nature. Only use the private key when you
> need to run the billing process. Isn't that secure?
>
> Brook
>
> At 10:19 AM 9/19/2003 -0700, you wrote:
> >Hey All,
> >
> >I've been looking into recurring billing options with some CC processing
> >companies because we do not want to go to the expense and potential
> >liability of collecting and storing cc numbers.  So far what I have found
is
> >not what I would have expected, so I'm checking to see what others may
have
> >found.
> >
> >Here's what I've been told so far:
> >
> >1) The cc processing company stores the CC number
> >2) During the first payment processing for any given customer, you also
> >setup the recurring billing details (i.e. bill this CC number annually
for
> >$25)
> >
> >Here's what I was hoping for:
> >
> >1) During first Tx you pass along a customer ID with the CC number etc.
to
> >be stored for futuire Txs on that card.
> >2) When your system is ready to bill that card again (i.e. my system
decides
> >when it' time to bill and how much to bill), I pass the customer
> >ID/details/amount to the CC procerssing company which they use to lookup
the
> >CC number and process the Tx.
> >
> >Obviously what I was hoping for gives you far greater flexibility and can
> >allow the annual billing amount to fluctuate (this system gives dicounts
on
> >renewals for referrals).  With what I've been told, I would have to
> >constantly sending changes to the CC processing company to adjust renewal
> >amountsproblem is there does not seem to be a way to do this unless I
> >have the cc numberwhich of course I do not want to store.
> >
> >So does anybody know of a CC processing company that works the way I'm
> >hoping for?  Do you have any other suggestions on how to handle this
> >(without storing cc numbers in my system)?
> >
> >TIA
> >
> >Cheers
> >
> >Bryan Stevenson B.Comm.
> >VP & Director of E-Commerce Development
> >Electric Edge Systems Group Inc.
> >t. 250.920.8830
> >e. [EMAIL PROTECTED]
> >
> >-
> >Macromedia Associate Partner
> >www.macromedia.com
> >-
> >Vancouver Island ColdFusion Users Group
> >Founder & Director
> >www.cfug-vancouverisland.com
> >
> >
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137715
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: DW2004 Crash

2003-09-19 Thread Marc A. Garrett
FYI, DWMX 2004 has a hard time with files on mapped networked drives. I
don't think it's limited to XML files.

-- 
Marc A. Garrett
since1968.com

"Stacy Young" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I haven't had too many stability issues with DW2004 until today. Went to
> open a XML file from a networked drive and DW exploded. Memory usage
> skyrocketed over 300mb and was climbing, had to end task.
>
> Someone mentioned a special form/url for submitting bugs for 2004.
> (emerging issues or sumthin?)
>
> Anyone from MM?
>
> Thx!
>
> Stace


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137714
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


select count

2003-09-19 Thread Robert Orlini
I have a shopping cart with a orders table. Each book has a bookid and its qty in this 
table. 

I would like to generate a list of all, the books and there corresponding qty. If a 
book is listed twice, it would not display twice, but show the qty as two. I'm trying 
the Select Count syntax, but am a bit stuck. 

This is what I have so far (I know it won't work completely):


SELECT COUNT(bookid) AS TheCount
FROM orders
Where bookid=bookid 
ORDER BY COUNT(bookid) DESC
   

Thanks.

Robert Orlini
HW Wilson
718-588-8400 x2656
ô¿ô

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137713
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


Flash, ColdFusion, and XUpdate?

2003-09-19 Thread Marc A. Garrett
Flash MX 2004 includes an XUpdateResolver component that creates XUpdate
statements based on changes made to data in the flash movie. I can't find
much on the web regarding consuming XUpdate statements with CF components.
Is anyone already doing this? I use SQL Server and MySQL, not Xindice.

Thanks in advance for any advice.
-- 
Marc A. Garrett
since1968.com


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137712
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


Session is null HELP!

2003-09-19 Thread Demarco, Alex
After we have upgraded to 6.1 this now happens:

Session is invalid null The error occurred on line 17.

Line 17 is bogus, anyone seen this issue before? Any resolution?

- Alex

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137711
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: Design Structure and cfinclude

2003-09-19 Thread Jim Davis
> FYI, another way to get Verity to read titles is by wrapping the title
> tags
> with CF comment tags:
> 
> 

I used to do that - but it doesn't seem to work any longer in MX (my
guess is that it was considered a bug and was picking up really
commented titles).

The  approach was my replacement - it seems to work in all
versions that I've tried.

Jim Davis


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137710
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


MM Security Bulletin

2003-09-19 Thread Brook Davies
http://www.macromedia.com/security

MPSB03-06 - Security Patch available for ColdFusion MX/
ColdFusion cross-site scripting vulnerability with default
error handlers

The interesting thing is that if you open the detail.cfm template that is 
available for download the header of the encrypted template says "Allaire 
Cold Fusion Template"

Brook

At 10:29 AM 9/19/2003 -0700, you wrote:
>Why don't you store the CC numbers using a string public/private key
>encryption scheme (RSA?) and store the private key off-line on a portable
>USB device or something of that nature. Only use the private key when you
>need to run the billing process. Isn't that secure?
>
>Brook
>
>At 10:19 AM 9/19/2003 -0700, you wrote:
> >Hey All,
> >
> >I've been looking into recurring billing options with some CC processing
> >companies because we do not want to go to the expense and potential
> >liability of collecting and storing cc numbers.  So far what I have found is
> >not what I would have expected, so I'm checking to see what others may have
> >found.
> >
> >Here's what I've been told so far:
> >
> >1) The cc processing company stores the CC number
> >2) During the first payment processing for any given customer, you also
> >setup the recurring billing details (i.e. bill this CC number annually for
> >$25)
> >
> >Here's what I was hoping for:
> >
> >1) During first Tx you pass along a customer ID with the CC number etc. to
> >be stored for futuire Txs on that card.
> >2) When your system is ready to bill that card again (i.e. my system decides
> >when it' time to bill and how much to bill), I pass the customer
> >ID/details/amount to the CC procerssing company which they use to lookup the
> >CC number and process the Tx.
> >
> >Obviously what I was hoping for gives you far greater flexibility and can
> >allow the annual billing amount to fluctuate (this system gives dicounts on
> >renewals for referrals).  With what I've been told, I would have to
> >constantly sending changes to the CC processing company to adjust renewal
> >amountsproblem is there does not seem to be a way to do this unless I
> >have the cc numberwhich of course I do not want to store.
> >
> >So does anybody know of a CC processing company that works the way I'm
> >hoping for?  Do you have any other suggestions on how to handle this
> >(without storing cc numbers in my system)?
> >
> >TIA
> >
> >Cheers
> >
> >Bryan Stevenson B.Comm.
> >VP & Director of E-Commerce Development
> >Electric Edge Systems Group Inc.
> >t. 250.920.8830
> >e. [EMAIL PROTECTED]
> >
> >-
> >Macromedia Associate Partner
> >www.macromedia.com
> >-
> >Vancouver Island ColdFusion Users Group
> >Founder & Director
> >www.cfug-vancouverisland.com
> >
> >
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137709
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-19 Thread Ian Skinner
Exactly this was being run from the server console.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA


> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 18, 2003 5:03 PM
> To: CF-Talk
> Subject: RE: CFMX 6.1 Server Mappings Failing (SOLVED)
> 
> 
> > The JVM was installed on the Server, not my desktop client.
> 
> When you were trying to use the CF Administrator and the file 
> browser didn't
> work, were you doing that from the server console?
> 
> In any case, just installing a JVM won't affect CFMX in the 
> least. You'd
> have to configure CFMX to use that JVM.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
> 
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137708
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:Error not returned

2003-09-19 Thread Andy Clary
Any ideas?

>CF 5.0 on a NT 4.0 machine calling stored procedure on SQL Server 2000 on
>Win2k machine.  The stored procedure is using a linked server (OLEDB) to
>access a FoxPro table (which has been working fine until today).
>
>When I run this stored procedure from Query Analyzer, I get this error:
>
>Server: Msg 7399, Level 16, State 1, Line 1
>OLE DB provider 'MSDASQL' reported an error. The provider ran out of memory.
>[OLE/DB provider returned message: [Microsoft][ODBC Visual FoxPro Driver]Not
>enough memory for file map.]
>
>
>When I run it from CF using a cfquery tag, I don't get any error messages.
>
>What is going on here?  When this error occurs, I need to be able to catch
>an error in CF so that my users (and I) are alerted.
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137707
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: CC Processing and Recurring Billing

2003-09-19 Thread Brook Davies
Why don't you store the CC numbers using a string public/private key 
encryption scheme (RSA?) and store the private key off-line on a portable 
USB device or something of that nature. Only use the private key when you 
need to run the billing process. Isn't that secure?

Brook

At 10:19 AM 9/19/2003 -0700, you wrote:
>Hey All,
>
>I've been looking into recurring billing options with some CC processing
>companies because we do not want to go to the expense and potential
>liability of collecting and storing cc numbers.  So far what I have found is
>not what I would have expected, so I'm checking to see what others may have
>found.
>
>Here's what I've been told so far:
>
>1) The cc processing company stores the CC number
>2) During the first payment processing for any given customer, you also
>setup the recurring billing details (i.e. bill this CC number annually for
>$25)
>
>Here's what I was hoping for:
>
>1) During first Tx you pass along a customer ID with the CC number etc. to
>be stored for futuire Txs on that card.
>2) When your system is ready to bill that card again (i.e. my system decides
>when it' time to bill and how much to bill), I pass the customer
>ID/details/amount to the CC procerssing company which they use to lookup the
>CC number and process the Tx.
>
>Obviously what I was hoping for gives you far greater flexibility and can
>allow the annual billing amount to fluctuate (this system gives dicounts on
>renewals for referrals).  With what I've been told, I would have to
>constantly sending changes to the CC processing company to adjust renewal
>amountsproblem is there does not seem to be a way to do this unless I
>have the cc numberwhich of course I do not want to store.
>
>So does anybody know of a CC processing company that works the way I'm
>hoping for?  Do you have any other suggestions on how to handle this
>(without storing cc numbers in my system)?
>
>TIA
>
>Cheers
>
>Bryan Stevenson B.Comm.
>VP & Director of E-Commerce Development
>Electric Edge Systems Group Inc.
>t. 250.920.8830
>e. [EMAIL PROTECTED]
>
>-
>Macromedia Associate Partner
>www.macromedia.com
>-
>Vancouver Island ColdFusion Users Group
>Founder & Director
>www.cfug-vancouverisland.com
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137706
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: Design Structure and cfinclude

2003-09-19 Thread Kevin Graeme
Ah, good point. We manually include the header and footer into each layout
and that's nice for changing it on a per-page basis.

-Kevin

- Original Message - 
From: "Craig Dudley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:10 AM
Subject: RE: Design Structure and cfinclude


> Remove the include from your application.cfm and put it at the top of
> each template, that way you can pass in all your meta tags/titles with
> simply variables.title etc, I know that means it's not quite so clean,
> but it is only a few lines of code for each template and the footer can
> still be called from OnRequestEnd.cfm.
>
> Your other option is cfhtmlhead.
>
> And as Kevin says, I would deffinatley use .css files and .js files
> where possible. You could even use a sperate .css file for each section
> if needed.
>
> -Original Message-
> From: Kevin Graeme [mailto:[EMAIL PROTECTED]
> Sent: 19 September 2003 17:09
> To: CF-Talk
> Subject: Re: Design Structure and cfinclude
>
>
> One quick suggestion: put your CSS and javascript into separate .css and
> .js files that get called into the header. That way the browser should
> cache. If you just put code in the page header itself, yeah it has to
> download it fresh each time.
>
> I'm interested to see what other responses you get though because we're
> in the same boat looking for a better method that doesn't make it too
> complicated.
>
> -Kevin
>
> - Original Message - 
> From: "Shannon Rhodes" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 10:45 AM
> Subject: Design Structure and cfinclude
>
>
> > We all know that cfinclude is perfect for design headers and footers,
> > but now that I'm actually redesigning my site to take advantage of
> > this, I'm running into some perplexing problems.  (Please don't
> > suggest FuseBox, that's way overkill for this site and I don't have
> > the time for it).
> >
> > My initial thought was: set up an Application.cfm and OnRequestEnd.cfm
>
> > in each major section, which would call a header/footer for that
> > section.  I would be able to pass a url variable to request a
> > print-friendly version instead, or to request no display at all (for
> > action only templates). Global variables would be cfparam'ed, and one
> > page title and set of meta tags would be defined per section.  Voila,
> > new pages can be content-only without even a cfinclude
> > line---everything would be called by the
> section's
> > Application.cfm.
> >
> > As I'm getting into this, I'm finding that I don't like the loss of
> > page-specific flexibility.  I'm told that dynamically generated meta
> > tags often are missed by search engines, for example, and I don't have
>
> > a way to override the standard section page title for pages that
> > really ought to
> have
> > their own title.  I'm also stuck with defining all CSS and JS in one
> > long file, even if some style definitions and JS functions are only
> > needed on
> one
> > page, because I've made the header of my document standardized.  Seems
>
> > to
> me
> > I'm adding all kinds of unnecessary download time.  Plus, my "section
> > specific Application.cfm" idea kind of forces me to model my
> > directories after my site navigation, when I'd actually prefer to
> > avoid a lot of third level directories and keep pages logically
> > grouped instead (after all, navigation sometimes changes over time
> > anyway, but who wants to move directories around).
> >
> > I think I need a balance between letting CF templates "do it all" for
> > me, and the tedious work of writing in each page information that is
> > probably the same 80% of the time in a given section.
> >
> > Can anyone suggest a "best practices" approach to using cfinclude for
> design
> > elements?  Should I hard code in most of the head area of documents,
> > so I can put in page-level titles, meta tags, and page-specific styles
>
> > & JavaScript, followed by a cfinclude containing the remainder of the
> > head with links to the master style sheet, and any design code that
> > will not change, followed by another include for section-specific
> > design images?
> Any
> > suggestions are appreciated!
> >
> >
> >
>
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137705
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: DW2004 Crash

2003-09-19 Thread Debbie Dickerson
Maybe it's the performance survey where they're collecting data? If so, that's at 
http://www.surveymonkey.com/s.asp?u=34415274143.

>From http://www.macromedia.com/support/dreamweaver/ts/documents/emerging_issues.htm

Deb


-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 12:38 PM
To: CF-Talk
Subject: DW2004 Crash


I haven't had too many stability issues with DW2004 until today. Went to
open a XML file from a networked drive and DW exploded. Memory usage
skyrocketed over 300mb and was climbing, had to end task.

Someone mentioned a special form/url for submitting bugs for 2004.
(emerging issues or sumthin?)

Anyone from MM?

Thx!

Stace 



AVIS IMPORTANT:
--- 
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:
---
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above. If you are not the intended recipient you 
are hereby notified that any disclosure, copying, distribution, or any other use of 
the information is strictly prohibited. If you have received this document by mistake, 
please notify the sender immediately and destroy this document and attachments without 
making any copy of any kind.


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137704
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


OT: CC Processing and Recurring Billing

2003-09-19 Thread Bryan Stevenson
Hey All,

I've been looking into recurring billing options with some CC processing
companies because we do not want to go to the expense and potential
liability of collecting and storing cc numbers.  So far what I have found is
not what I would have expected, so I'm checking to see what others may have
found.

Here's what I've been told so far:

1) The cc processing company stores the CC number
2) During the first payment processing for any given customer, you also
setup the recurring billing details (i.e. bill this CC number annually for
$25)

Here's what I was hoping for:

1) During first Tx you pass along a customer ID with the CC number etc. to
be stored for futuire Txs on that card.
2) When your system is ready to bill that card again (i.e. my system decides
when it' time to bill and how much to bill), I pass the customer
ID/details/amount to the CC procerssing company which they use to lookup the
CC number and process the Tx.

Obviously what I was hoping for gives you far greater flexibility and can
allow the annual billing amount to fluctuate (this system gives dicounts on
renewals for referrals).  With what I've been told, I would have to
constantly sending changes to the CC processing company to adjust renewal
amountsproblem is there does not seem to be a way to do this unless I
have the cc numberwhich of course I do not want to store.

So does anybody know of a CC processing company that works the way I'm
hoping for?  Do you have any other suggestions on how to handle this
(without storing cc numbers in my system)?

TIA

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137703
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: Design Structure and cfinclude

2003-09-19 Thread Ryan Kime
I'm with Jim. Keep application and onrequestend for code logic.

As for header, footers, nav - I do the same thing except with custom tags.
Additionally, you can code in the option to call js files, h1 headers,
xmlsearch() keywords, etc...



As for meta, mine gets picked up in this format, though it's not as
important as it used to be. You could also improve your JS options by either
adding the path|file as an attribute or having a y/n switch which would
reduce page overhead.


FYI, another way to get Verity to read titles is by wrapping the title tags
with CF comment tags:




-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:23 AM
To: CF-Talk
Subject: RE: Design Structure and cfinclude


Personally I dislike using includes this way for several reasons:

1) Eventually you will have a page that you DON'T want to have a
header/footer on and will have to add kludgy code to get around it.

2) Since the includes run in the same memory space as the main page you have
to "worry" about them when writing general page code (variable name
contention, etc.)

In general I find using a single CustomTag for this to be much more
workable.

This tag (I call mine "Wrapper") will, on start, load the header do whatever
else you want then, on end, load the footer and do whatever else you want.

In my case this tag itself calls out to Header,Footer and navigation custom
tags to display.

This wrapper tag wraps every displayable page in site.  Something like
this:

Welcome


This is the body of the page



Note that the  at the top is essential if you'll be using Verity -
Verity picks up the page title from there even tho' the "real" 
is in the Wrapper.

In my case I pass "NavSetting" as a comma delimited list describing the
hierarchical position of the page in the navigation scheme and the
"SecSetting" as a comma delimited list of security groups able to see this
page (at a gross-level) - page security is handled in Wrapper as well.
"MetaKeyWords" and "MetaDescription" both populate the finished page's HTML
meta information.

You can add any attributes you like to maintain as much page specific
flexibility as you like: CSS, navigation options (for example I have
"FullWidth" and "NoHeader" options for some sites).

Application.cfm and OnRequestEnd.cfm for me are then used primarily for
user-information and metrics information gathering (in other words
"non-interface" stuff).

I'd be happy to send you some sample code if you like.

Jim Davis

> -Original Message-
> From: Shannon Rhodes [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 11:45 AM
> To: CF-Talk
> Subject: Design Structure and cfinclude
> 
> We all know that cfinclude is perfect for design headers and footers,
but
> now that I'm actually redesigning my site to take advantage of this,
I'm
> running into some perplexing problems.  (Please don't suggest FuseBox, 
> that's way overkill for this site and I don't have the time for it).
> 
> My initial thought was: set up an Application.cfm and OnRequestEnd.cfm
in
> each major section, which would call a header/footer for that section.
I
> would be able to pass a url variable to request a print-friendly
version
> instead, or to request no display at all (for action only templates). 
> Global variables would be cfparam'ed, and one page title and set of
meta
> tags would be defined per section.  Voila, new pages can be
content-only
> without even a cfinclude line---everything would be called by the 
> section's Application.cfm.
> 
> As I'm getting into this, I'm finding that I don't like the loss of 
> page-specific flexibility.  I'm told that dynamically generated meta
tags
> often are missed by search engines, for example, and I don't have a
way to
> override the standard section page title for pages that really ought
to
> have
> their own title.  I'm also stuck with defining all CSS and JS in one
long
> file, even if some style definitions and JS functions are only needed
on
> one
> page, because I've made the header of my document standardized.  Seems
to
> me
> I'm adding all kinds of unnecessary download time.  Plus, my "section 
> specific Application.cfm" idea kind of forces me to model my
directories
> after my site navigation, when I'd actually prefer to avoid a lot of
third
> level directories and keep pages logically grouped instead (after all, 
> navigation sometimes changes over time anyway, but who wants to move 
> directories around).
> 
> I think I need a balance between letting CF templates "do it all" for
me,
> and the tedious work of writing in each page information that is
probably
> the same 80% of the time in a given section.
> 
> Can anyone suggest a "best practices" approach to using cfinclude for 
> design elements?  Should I hard code in most of the head area of 
> documents,
so I
> can put in page-level titles, meta tags, and page-specific styles & 
> JavaScript, followed by a cfinclude containing the remainder of the
head
>

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: ListFind not working properly

2003-09-19 Thread Andre Mohamed
Replace all spaces on the list first.

-Original Message-
From: Smith, Daron [PA] [mailto:[EMAIL PROTECTED] 
Sent: 19 September 2003 17:06
To: CF-Talk
Subject: FW: ListFind not working properly

I'm not sure what I'm doing wrong with this list function.  I have a
variable with a list in it, I want to take an action when the variable
is equal to the query row variable.  I can get it to work with
listcontains but that will return more values than I want.  I can also
get it to recognize the first value in the list  when I hardcode the
list rather than use a value.  It's almost like it doesn't evaluate the
variable and treat it as a list.

Here's the code,




Blah, Blah, Blah


..



The cfelse condition is always returned.  I've tried every combination
of quotes and pound signs also, to no avail.

Any help would be appreciated.

Daron Smith


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137700
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: Correction

2003-09-19 Thread Andre Mohamed
Just to be anal, you don't need any #'s or the GT 0 at end as GT 0
evaluates to true.




André

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 19 September 2003 17:32
To: CF-Talk
Subject: Correction

Don't you just love when people make suggestions on how to change code
and their suggestion is hosed? 

Like the one I just publihsed. I dropped a pound sign:



There, THAT'S better...

>Put the pound signs outside the function:
>
>
>
>
>
>>I'm not sure what I'm doing wrong with this list function.  I have a 
>>variable with a list in it, I want to take an action when the variable

>>is equal to the query row variable.  I can get it to work with 
>>listcontains but that will return more values than I want.  I can also

>>get it to recognize the first value in the list  when I hardcode the 
>>list rather than use a value.  It's almost like it doesn't evaluate 
>>the variable and treat it as a list.
>>
>>Here's the code,
>>
>>
>>
>>
>>Blah, Blah, Blah
>>
>>
>..
>>
>>
>>
>>
>>The cfelse condition is always returned.  I've tried every combination

>>of quotes and pound signs also, to no avail.
>>
>>Any help would be appreciated.
>>
>>Daron Smith

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137699
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: [ OT] Special security Alert!

2003-09-19 Thread Doug White
There are also three variants that appear to be a message telling you that an
email could not be delivered to 

This has an Iframe code that will also infect your machine.  The virus scanners
do not catch this one.

==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and all databases.
ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772
Suggested corporate Anti-virus policy: http://www.dshield.org/antivirus.pdf
==
If you are not satisfied with my service, my job isn't done!

- Original Message - 
From: "Mark A. Kruger - CFG" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 10:32 AM
Subject: RE: [ OT] Special security Alert!


| Amen to that - you give folks too much credit.  A message that says its from
| MS is going to look like sacred text to some folks - especially if they
| click on the links and it takes them to the security section.
|
| -Original Message-
| From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
| Sent: Friday, September 19, 2003 9:55 AM
| To: CF-Talk
| Subject: Re: [ OT] Special security Alert!
|
|
| On Friday 19 Sep 2003 15:39 pm, you said:
| > Hardly a "theat", as most people will be saavy enough to realise its a
| > spoof.
|
| You and me might.
| Bob down in the mail room might not.
|
| --
| Tom Chiverton (sorry 'bout sig.)
| Advanced ColdFusion Programmer
|
| Tel: +44(0)1749 834997
| email: [EMAIL PROTECTED]
| BlueFinger Limited
| Underwood Business Park
| Wookey Hole Road, WELLS. BA5 1AF
| Tel: +44 (0)1749 834900
| Fax: +44 (0)1749 834901
| web: www.bluefinger.com
| Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
| Quay, BRISTOL. BS1 6EG.
| *** This E-mail contains confidential information for the addressee
| only. If you are not the intended recipient, please notify us
| immediately. You should not use, disclose, distribute or copy this
| communication if received in error. No binding contract will result from
| this e-mail until such time as a written document is signed on behalf of
| the company. BlueFinger Limited cannot accept responsibility for the
| completeness or accuracy of this message as it has been transmitted over
| public networks.***
|
|
| 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137698
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: DW2004 Crash

2003-09-19 Thread Stacy Young
Reproduced!

a) Browse mapped drive
b) opened an xml file (build.xml) - maybe 200 lines?
c) mousewheel scroll down fast
d) horizontal scroll to the end
e) as soon as u click to get cursor position - BOOM!

WinXP Pro
P3 900MHz
512 RAM

Stace

-Original Message-
From: Jim Campbell [mailto:[EMAIL PROTECTED] 
Sent: September 19, 2003 12:48 PM
To: CF-Talk
Subject: Re: DW2004 Crash

That's interesting - I noticed the same behavior with DWMX 6.1  I tried 
opening a CFM file from the Source Safe integration and Dreamweaver got 
to about 300 megs of RAM usage before it got the 3-finger salute.  I 
think it may have been due to all the automatic bindings/component 
updates that DW was trying to do, perhaps?

- Jim




AVIS IMPORTANT:
--- 
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:
---
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above. If you are not the intended recipient you 
are hereby notified that any disclosure, copying, distribution, or any other use of 
the information is strictly prohibited. If you have received this document by mistake, 
please notify the sender immediately and destroy this document and attachments without 
making any copy of any kind.

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137697
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: DW2004 Crash

2003-09-19 Thread Jim Campbell
That's interesting - I noticed the same behavior with DWMX 6.1  I tried 
opening a CFM file from the Source Safe integration and Dreamweaver got 
to about 300 megs of RAM usage before it got the 3-finger salute.  I 
think it may have been due to all the automatic bindings/component 
updates that DW was trying to do, perhaps?

- Jim

Stacy Young wrote:

>I haven't had too many stability issues with DW2004 until today. Went to
>open a XML file from a networked drive and DW exploded. Memory usage
>skyrocketed over 300mb and was climbing, had to end task.
>
>Someone mentioned a special form/url for submitting bugs for 2004.
>(emerging issues or sumthin?)
>
>Anyone from MM?
>
>Thx!
>
>Stace 
>
>
>
>AVIS IMPORTANT:
>--- 
>Les informations contenues dans le present document et ses pieces jointes sont 
>strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
>est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
>distribution, copie, ou autre utilisation de ces informations est strictement 
>prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
>communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
>copie sous quelque forme..
>
>WARNING:
>---
>The information contained in this document and attachments is confidential and 
>intended only for the person(s) named above. If you are not the intended recipient 
>you are hereby notified that any disclosure, copying, distribution, or any other use 
>of the information is strictly prohibited. If you have received this document by 
>mistake, please notify the sender immediately and destroy this document and 
>attachments without making any copy of any kind.
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137696
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:Design Structure and cfinclude

2003-09-19 Thread lee
This is something that everyone does differently, and - to a great extent - most are 
valid ways of doing it. In other words, there IS NO "RIGHT" WAY to do this.

That said, here are some of my preferences and suggestions:

1) Yes, as others have said, by all means put the CSS and JavaScript into .css and .js 
files, for many good reason (caching, single file, reduce page code clutter)

2) Unless there is a compelling reason to do so (and I've seen few in well-designed 
apps), have only one application.cfm file. Simple is better.

3) My preference is to use the following (greatly simplified) method of building pages:



(Here, either pull in an include base on URL param or whatever, or hard coded)




The header and footers contain all the open/close HTML/BODY etc tags; the header also 
pulls in the CSS and JS scripts.

Note that the header can be a large file with a lot of logic - for example, if the 
user is in the admin section of a site, it will pull in "admin.css" instead of the 
site's regular css file, "regular.css" and so on. 

It can also pull in other CFM includes (such as menus and submenus) based upon where 
the user is.

--

Again, this is a HIGHLY over-simplified version of what you can do, but it might help 
give you some ideas of a way to go.
>We all know that cfinclude is perfect for design headers and footers, but
>now that I'm actually redesigning my site to take advantage of this, I'm
>running into some perplexing problems.  (Please don't suggest FuseBox,
>that's way overkill for this site and I don't have the time for it).
>
>My initial thought was: set up an Application.cfm and OnRequestEnd.cfm in
>each major section, which would call a header/footer for that section.  I
>would be able to pass a url variable to request a print-friendly version
>instead, or to request no display at all (for action only templates).
>Global variables would be cfparam'ed, and one page title and set of meta
>tags would be defined per section.  Voila, new pages can be content-only
>without even a cfinclude line---everything would be called by the section's
>Application.cfm.
>
>As I'm getting into this, I'm finding that I don't like the loss of
>page-specific flexibility.  I'm told that dynamically generated meta tags
>often are missed by search engines, for example, and I don't have a way to
>override the standard section page title for pages that really ought to have
>their own title.  I'm also stuck with defining all CSS and JS in one long
>file, even if some style definitions and JS functions are only needed on one
>page, because I've made the header of my document standardized.  Seems to me
>I'm adding all kinds of unnecessary download time.  Plus, my "section
>specific Application.cfm" idea kind of forces me to model my directories
>after my site navigation, when I'd actually prefer to avoid a lot of third
>level directories and keep pages logically grouped instead (after all,
>navigation sometimes changes over time anyway, but who wants to move
>directories around).
>
>I think I need a balance between letting CF templates "do it all" for me,
>and the tedious work of writing in each page information that is probably
>the same 80% of the time in a given section.
>
>Can anyone suggest a "best practices" approach to using cfinclude for design
>elements?  Should I hard code in most of the head area of documents, so I
>can put in page-level titles, meta tags, and page-specific styles &
>JavaScript, followed by a cfinclude containing the remainder of the head
>with links to the master style sheet, and any design code that will not
>change, followed by another include for section-specific design images?  Any
>suggestions are appreciated!
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137695
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


  1   2   >