OT : CF-Talk Social Circles

2004-01-14 Thread Benoit Hediard
Hi everyone,

I don't know if it has already been posted, but today, I found this funny
little app : Social Circles, a mailing list social visualization tool
(powered by ColdFusion and Flash).

You want to know your chatter level and social visibility on CF-Talk?
Here it is :
http://www.marumushi.com/apps/socialcircles/socialcircles.cfm?list=cf-talk
(note : you'll need a powerful machine to display the CF-Talk social
network...)

If you want an example on a less active list (CFaussie) :
http://www.marumushi.com/apps/socialcircles/socialcircles.cfm?list=cfaussie

More info on the app :
http://marumushi.com/apps/socialcircles/

Have fun!

Benoit Hediard
www.benorama.com
www.affinitiz.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SessionTracker and session expiration

2003-11-23 Thread Benoit Hediard
This is the one!

Thanks Chris.

Benoit Hediard
www.benorama.com
www.affinitiz.com
-Message d'origine-
De : chris kief [mailto:[EMAIL PROTECTED]
Envoy : samedi 22 novembre 2003 18:51
 : CF-Talk
Objet : RE: SessionTracker and session expiration

Sam Neff talks about the reflection technique here:

http://www.rewindlife.com/archives/69.cfm

chris

 _

From: Benoit Hediard [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 2:01 AM
To: CF-Talk
Subject: SessionTracker and session expiration

Hi everyone,

Looking for an article on CFMX SessionTracker.

We have put in place a session tracker to count the number of sessions on
our application.

cfset tracker = createObject(java,coldfusion.runtime.SessionTracker)
cfset sessions = tracker.getSessionCollection(MyApp)
cfset sessionsNb = structCount(sessions)

This is working fine.
But we have recently replace the last line by :

cfset sessionsNb = 0
cfloop collection=#sessions# item=ID
cfif structKeyExists(sessions[ID],member)
cfset sessionsNb = sessionsNb + 1
/cfif
/cfloop

An advice, don't do this kind of manipulation on a regular basis (for
example with a scheduled task), because it creates a huge memory leak :
sessions will never expire!
It is probably because you touch the session content, so it changes the
timestamp of all the sessions...

I'm pretty sure I've read an article concerning this issue on a CF blog
somewhere.
If I remember well, the author was showing how to use java reflection to
workaround it.
Can't find it in the archives of CF blogs or even in google.

Anyone remember this?

Benoit Hediard
www.benorama.com
www.affinitiz.com

 _


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




SessionTracker and session expiration

2003-11-22 Thread Benoit Hediard
Hi everyone,

Looking for an article on CFMX SessionTracker.

We have put in place a session tracker to count the number of sessions on
our application.

cfset tracker = createObject(java,coldfusion.runtime.SessionTracker)
cfset sessions = tracker.getSessionCollection(MyApp)
cfset sessionsNb = structCount(sessions)

This is working fine.
But we have recently replace the last line by :

cfset sessionsNb = 0
cfloop collection=#sessions# item=ID
	cfif structKeyExists(sessions[ID],member)
		cfset sessionsNb = sessionsNb + 1
	/cfif
/cfloop

An advice, don't do this kind of manipulation on a regular basis (for
example with a scheduled task), because it creates a huge memory leak :
sessions will never expire!
It is probably because you touch the session content, so it changes the
timestamp of all the sessions...

I'm pretty sure I've read an article concerning this issue on a CF blog
somewhere.
If I remember well, the author was showing how to use java reflection to
workaround it.
Can't find it in the archives of CF blogs or even in google.

Anyone remember this?

Benoit Hediard
www.benorama.com
www.affinitiz.com

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




Re: Session is invalid on CFMX

2003-11-03 Thread Benoit Hediard
Has anyone found a solution to this?It's logged as bug 53143 with 
Macromedia, but we're seeing this hundreds of times a day.Any 
workarounds?


Looks like we got a fix:
http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=10threadid
=669435#2598160
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion MX Application Server (6.1) problem

2003-10-30 Thread Benoit Hediard
I think we have also solved our problem.

In order to analyze the problem, we've used /bin/cfstart.bat.
It was starting but gave an error about missing MSVCP60.dll library.
MSVCP60.dll is part of Microsoft Visual C++ 6.0 runtime, which is mandatory
for CFMX6.1 installation on Windows (system requirements :
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/intro5.htm).

We've installed it to see if it solves the problem (which occurs only during
service restart...).

If Microsoft Visual C++ 6.0 runtime is mandatory, why the installation
procedure does not check if it is installed before starting the installation
(as it does for MDAC 2.6 SP2)?

Benoit Hediard
www.benorama.com
-Message d'origine-
De : chad [mailto:[EMAIL PROTECTED]
Envoy : jeudi 30 octobre 2003 15:32
 : CF-Talk
Objet : Re: ColdFusion MX Application Server (6.1) problem

After we tried everything to fix the problem unsucessfully, we uninstalled
and then reinstalled the CF MX. It finally works!

Make sure you do the following:
1. Make a clean uninstallation and delete every file within the CFusionMX
folder after you restart your server to complete the uninstallation.
2. Before you reinstall the CFusionMX 6.1 server, delete or rename your
data source name which has the reserved word (service or comp).

Thank everyone who responded to our message!!!
 - Original Message -
 From: Benoit Hediard
 To: CF-Talk
 Sent: Wednesday, October 29, 2003 12:22 PM
 Subject: RE: ColdFusion MX Application Server (6.1) problem

 We have exactly the same problem on our production server, but not on
our
 dev server and staging server...
 Configurations are identical... (Windows 2000, Apache2, SQL Server on
the
 separate server)
 We need to restart the server to restart ColdFusion... (hopefully, we do
it
 very rarely)
 Nothing in the logs.

 We have also tested the two know issues (datasource names and start
 timeout), but the problem is still there.

 This week, we are going to install a new production server, so we'll see
if
 we also encounter this issue.

 If you find the solution, please let us know.

 Benoit Hediard
 www.benorama.com

-Message d'origine-
De : chad [mailto:[EMAIL PROTECTED]
Envoy : mercredi 29 octobre 2003 17:12
 : CF-Talk
Objet : ColdFusion MX Application Server (6.1) problem

Problem:
The ColdFusion MX Application Server (6.1) service (which co-exists
with
 CF5 on our local Windows 2000 server) is not able to successfully
restart. I
 got the following error message when I tried to restart it:
Windows could not start the ColdFusion MX Application Server on Local
 Computer. For more information, review the System Event Log. If this is
a
 non-Microsoft service, contact the service vendor, and refer to
 service-specific error code 2.

Possible Reasons:
According to ColdFusion TechNote

(http://www.macromedia.com/support/coldfusion/ts/documents/dsn_reserved_word
 s.htm), ColdFusion MX Application Server service will not restart if
certain
 reserved words (service,
comp) is used as a data source name in the ColdFusion Administrator:

What we have done:
1. We searched both jrun-resources.xml file and neo-query.xml file
located
 in CFusionMX folder. We did find a data source name with comp in it and
we
 replaced it with a non-reserved word.

2. We also followed another ColdFusion TechNote

(http://www.macromedia.com/support/coldfusion/ts/documents/cfmx61_startup_ti
 ming.htm) and changed the timeout value to 900 (the number of seconds
 allowable before the ColdFusion service startup will timeout.)

Question now:
After I have done everything I mentioned above I still couldn't
restart
 the ColdFusionMX Server service and got the same error as I did before.
What
 should I do next? Are there any other reserved words for ColdFusionMX
 Administrator besides service and comp? Can we use company as the
data
 source name?

Please help!


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




RE: ColdFusion MX Application Server (6.1) problem

2003-10-29 Thread Benoit Hediard
We have exactly the same problem on our production server, but not on our
dev server and staging server...
Configurations are identical... (Windows 2000, Apache2, SQL Server on the
separate server)
We need to restart the server to restart ColdFusion... (hopefully, we do it
very rarely)
Nothing in the logs.

We have also tested the two know issues (datasource names and start
timeout), but the problem is still there.

This week, we are going to install a new production server, so we'll see if
we also encounter this issue.

If you find the solution, please let us know.

Benoit Hediard
www.benorama.com

-Message d'origine-
De : chad [mailto:[EMAIL PROTECTED]
Envoy : mercredi 29 octobre 2003 17:12
 : CF-Talk
Objet : ColdFusion MX Application Server (6.1) problem

Problem:
The ColdFusion MX Application Server (6.1) service (which co-exists with
CF5 on our local Windows 2000 server) is not able to successfully restart. I
got the following error message when I tried to restart it:
Windows could not start the ColdFusion MX Application Server on Local
Computer. For more information, review the System Event Log. If this is a
non-Microsoft service, contact the service vendor, and refer to
service-specific error code 2.

Possible Reasons:
According to ColdFusion TechNote
(http://www.macromedia.com/support/coldfusion/ts/documents/dsn_reserved_word
s.htm), ColdFusion MX Application Server service will not restart if certain
reserved words (service,
comp) is used as a data source name in the ColdFusion Administrator:

What we have done:
1. We searched both jrun-resources.xml file and neo-query.xml file located
in CFusionMX folder. We did find a data source name with comp in it and we
replaced it with a non-reserved word.

2. We also followed another ColdFusion TechNote

(http://www.macromedia.com/support/coldfusion/ts/documents/cfmx61_startup_ti
ming.htm) and changed the timeout value to 900 (the number of seconds
allowable before the ColdFusion service startup will timeout.)

Question now:
After I have done everything I mentioned above I still couldn't restart
the ColdFusionMX Server service and got the same error as I did before. What
should I do next? Are there any other reserved words for ColdFusionMX
Administrator besides service and comp? Can we use company as the data
source name?

Please help!


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




RE: OT: Looking for radio station sites

2003-10-01 Thread Benoit Hediard
The radio I listen every day (fantastic playlist organised in 6 channels,
my favorite one is Beat Blender) :
http://www.somafm.com

Two other great internet radio :
http://www.betalounge.com
http://www.groovetech.com (down or dead?)

As for building your own radio :
http://www.live365.com
(example : my own radio is http://www.benorama.com/music)

Have fun!

Benoit Hediard
www.benorama.com

-Message d'origine-
De : cfhelp [mailto:[EMAIL PROTECTED]
Envoy : mercredi 1 octobre 2003 15:38
 : CF-Talk
Objet : RE: OT: Looking for radio station sites


http://www.bbc.co.uk/6music/index.shtml?logo
http://www.bbc.co.uk/6music/index.shtml?logo



Rick



 _

From: Deanna Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 8:27 AM
To: CF-Talk



Well, our community radio station's site is pretty blah:
http://www.wort-fm.org/ http://www.wort-fm.org/

But, the public radio station site isn't bad, and it's a cf site:
http://www.wpr.org/ http://www.wpr.org/


- Original Message -
From: Mike Kear [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 8:08 AM
Subject: RE: OT: Looking for radio station sites


 Thanks Jeremy.



 It's actually a fully-fledged FM station but a community volunteer
 organisation.We're not going to be streaming at all - that's far too
 expensive.It costs thousands for the bandwidth to stream broadcast
quality
 content for 24/7.The station has been going for nearly 21 years now,
and
 for the 21stbirthday we're going to rebuild the site.



 I've been maintaining it for a while now, and it's all static and pretty
 boring really. I had to make a change to the nav bar the other day and
 because it's all static, it took me a couple of hours to make and test
all
 the changes.NO!That has to stop.



 SO . dynamic site.Use coldfusion to build the site from a database.
Now.
 What to put in the site?What would be better to have than we have now?
 That's the point I'm at.







 Cheers,

 Michael Kear

 Windsor, NSW, Australia

 AFP Webworks.









 -Original Message-
 From: Jeremy Brodie [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, 1 October 2003 10:56 PM
 To: CF-Talk
 Subject: Re:OT: Looking for radio station sites



 Mike,

 I'm a fan a Launch.com, especally the sections where one can customize
their
 own stations. I think they do a great job, through their influencers
section
 of bringing community based radio to the forefront.

 The hard part of course for delivering Internet radio is gathering the
 content, encoding the content and streaming the content in a way that
ads
 are played at the right time/place (not the technology of picking the
actual
 songs).

 This part is extremely tricky to automate, espcally if you're using
Windows
 Media Server to stream.

 Jeremy Brodie
 Intelix
 an Edgewater Technology Solutions Company

 web: http://www.edgewater.com http://www.edgewater.com
 phone:(703) 815-2500
 nasdaq symbol: EDGE








 _

[Todays

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




RE: Using a CFC as the action of a form.

2003-09-23 Thread Benoit Hediard
Using CFC as Controller for the action of a form works very well with CFMX,
especially for MVC implementation.

You just have to do a redirect to the next view/display layer at the end of
the method (for example with a cflocation).

More info here :
http://www.benorama.com/coldfusion/patterns/part2.htm


Benoit Hediard
www.benorama.com


-Message d'origine-
De : Ian Skinner [mailto:[EMAIL PROTECTED]
Envoyé : mardi 23 septembre 2003 20:40
À : CF-Talk
Objet : Using a CFC as the action of a form.


I am trying to figure out the logical flow of processing when using a CFC as
the action of a form?  Where does the application end up?  What scope does
any data returned at the end of the called function with cfreturn ... end
up in?  Basically how does this work and how does one use this
functionality?

The below example works in that the correct function of the method is
called, the correct parameters are passed and the query returns the correct
data.  But now what?  What I would like is that the query is returned from
this function so that I can deal with it in the display layer of my
application.  But, I can't figure out how to get out of the function?

Any suggestions or links to reference material would be most appreciative.

Thank You.

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

An Example:

Simple search form in Search.cfm
form action=search.cfc method=post
Mobile ID: input type=text name=MOBLID
First Name: input type=text name=FName
Last Name: input type=text name=LName
input type=hidden name=Method value=Mobile
input type=submit name=submit value=Search
/form

Simple but fairly large Search query in the Mobile Method of Search.cfc
cffunction name=Mobile
access=remote
returntype=query
hint=Search for mobile drive contact.

cfargument name=MOBLID
type=string
required=false
default=
hint=ID of mobile drive
cfargument name=LName
type=string
required=false
default=
hint=Last name of contact for mobile
drive.
cfargument name=FName
type=string
required=false
default=
hint=First name of contact for mobile
drive.
cfdump var=#arguments#
cfquery name=MobContact datasource=STPR
... SQL here ...
/cfquery
cfdump var=#MobContact#
cfreturn MobContact
/cffunction

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

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


RE: CFPROPERTY WAS Using a CFC as the action of a form.

2003-09-23 Thread Benoit Hediard
From the doc : Defines components as complex types that are used for web
services authoring. The attributes of this tag are exposed as component
metadata and are subject to inheritance rules. 

If you don't use web services, it is only used for component metadata (CFC
auto documentation).
If you don't use CFC auto documentation, you don't have to use the tag
cfproperty.

Benoit Hediard
www.benorama.com



-Message d'origine-
De : Ian Skinner [mailto:[EMAIL PROTECTED]
Envoyé : mardi 23 septembre 2003 21:55
À : CF-Talk
Objet : CFPROPERTY WAS Using a CFC as the action of a form.


Looking through the link
{http://www.benorama.com/coldfusion/patterns/part2.htm}, I learned of a new
tag. CFPROPERTY  A quick lookup in the documentation gave me a vague
idea of what this tag does, but not really enough to understand it.  What
are the differences between cfproperty... and cfargument...?  When is
one better to use then the other?

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

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

2003-09-02 Thread Benoit Hediard
Paessler has some nice tools : pretty cheap, great functionalities and very
easy to use.

Webserver Stress Tool :
http://www.paessler.com/webstress

You can download a trial version.


Benoit Hediard
www.benorama.com

PS : IP Check Server monitor is also great (http://www.paessler.com/ipcheck)


-Message d'origine-
De : Ian Skinner [mailto:[EMAIL PROTECTED]
Envoyé : mardi 2 septembre 2003 17:57
À : CF-Talk
Objet : Load Testing Tools


Can anybody recommend a relatively simple and hopefully inexpensive load
testing tool that could be used to check a new CF built site.  Preferably
something that we can try before buying.

Thanks.

--
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


~|
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


static SSI (?) and dynamic SSI (cfinclude) with CF

2003-08-22 Thread Benoit Hediard
Hi everyone,

We were using a file-based caching system doing SSI (server side include)
based on cfinclude (to cache sections of pages).

The problem with cfinclude : it performs a dynamic SSI, not a static SSI.
Even if you include an html page, it will be still parsed and considered as
a ColdFusion template.
The results : with trusted cache turned on, it will never serve new
includes... (even if you delete the html cache file).

In order to solve this problem, we are now using cffile action=read and
cfoutput to include the content of the html cache file.

My questions are :

1. Is there a more efficient way to perform a static SSI with CF?

2. Don't you think that a new attribute to cfinclude could be added :
cfinclude template=... mode=dynamic (default, dynamic SSI for CF
pages, included content is parsed and executed)
or cfinclude template=... mode=static (static SSI, content is not
parsed, just included)


Benoit Hediard




~|
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: static SSI (?) and dynamic SSI (cfinclude) with CF

2003-08-22 Thread Benoit Hediard
Indeed, it might work.
Unfortunately, we're using CFMX 6.1 Standard (ex. Pro), so we don't have
access to JSP features/taglib.

Benoit

-Message d'origine-
De : Matt Liotta [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 22 août 2003 16:08
À : CF-Talk
Objet : Re: static SSI (?) and dynamic SSI (cfinclude) with CF


Have you tried including the HTML file using JSP:include?

-Matt

On Friday, August 22, 2003, at 09:54 AM, Benoit Hediard wrote:

 Hi everyone,

 We were using a file-based caching system doing SSI (server side
 include)
 based on cfinclude (to cache sections of pages).

 The problem with cfinclude : it performs a dynamic SSI, not a static
 SSI.
 Even if you include an html page, it will be still parsed and
 considered as
 a ColdFusion template.
 The results : with trusted cache turned on, it will never serve new
 includes... (even if you delete the html cache file).

 In order to solve this problem, we are now using cffile
 action=read and
 cfoutput to include the content of the html cache file.

 My questions are :

 1. Is there a more efficient way to perform a static SSI with CF?

 2. Don't you think that a new attribute to cfinclude could be added :
 cfinclude template=... mode=dynamic (default, dynamic SSI for CF
 pages, included content is parsed and executed)
 or cfinclude template=... mode=static (static SSI, content is not
 parsed, just included)


 Benoit Hediard






~|
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: static SSI (?) and dynamic SSI (cfinclude) with CF

2003-08-22 Thread Benoit Hediard
This morning, I thought I've tested getPageContext().include(path here)
and it didn't work.
I've re-tested it and now it works (probably not very well awake this
morning...).

jsp:include allows you to include eihter a static or dynamic file (it
handles automatically both types of files), so it solves the problem.

Thanks Matt.

Benoit

-Message d'origine-
De : Matt Liotta [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 22 août 2003 16:24
À : CF-Talk
Objet : Re: static SSI (?) and dynamic SSI (cfinclude) with CF


You don't need to use the tag itself, just do
getPageContent().include(path here).

-Matt

On Friday, August 22, 2003, at 10:14 AM, Benoit Hediard wrote:

 Indeed, it might work.
 Unfortunately, we're using CFMX 6.1 Standard (ex. Pro), so we don't
 have
 access to JSP features/taglib.

 Benoit

 -Message d'origine-
 De : Matt Liotta [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 22 août 2003 16:08
 À : CF-Talk
 Objet : Re: static SSI (?) and dynamic SSI (cfinclude) with CF


 Have you tried including the HTML file using JSP:include?

 -Matt

 On Friday, August 22, 2003, at 09:54 AM, Benoit Hediard wrote:

 Hi everyone,

 We were using a file-based caching system doing SSI (server side
 include)
 based on cfinclude (to cache sections of pages).

 The problem with cfinclude : it performs a dynamic SSI, not a static
 SSI.
 Even if you include an html page, it will be still parsed and
 considered as
 a ColdFusion template.
 The results : with trusted cache turned on, it will never serve new
 includes... (even if you delete the html cache file).

 In order to solve this problem, we are now using cffile
 action=read and
 cfoutput to include the content of the html cache file.

 My questions are :

 1. Is there a more efficient way to perform a static SSI with CF?

 2. Don't you think that a new attribute to cfinclude could be added
 :
 cfinclude template=... mode=dynamic (default, dynamic SSI for CF
 pages, included content is parsed and executed)
 or cfinclude template=... mode=static (static SSI, content is
 not
 parsed, just included)


 Benoit Hediard








~|
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: Benorama.com

2003-08-22 Thread Benoit Hediard
Hi,

www.benorama.com is back online now.

Have fun!

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Fetter, Brad [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 22 août 2003 17:04
À : CF-Talk
Objet : RE: Benorama.com


Hi Benoit,

I would interested in best practices word doc. Thanks for a great website.

Thanks,
Brad Fetter
[EMAIL PROTECTED]
FLIR Systems Inc.


-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 7:00 AM
To: CF-Talk
Subject: RE: Benorama.com


Hi,

I'll put benorama.com online by the end of the month...
We just launch our new MX app so I don't have the time to work on benorama.

Till then, if you want, I can send you the .doc version of the articles
(CFMX best practices).
FYI, you still have access to the presentation I did on MVC at CF-Europe :
http://www.cf-europe.org/preso/bhediard/168409/index.html


Thanks!

Benoit Hediard
www.benorama.com (dead link...;) )

PS : for people in charge of cf-europe website, there is a big CF error on
the home page.

-Message d'origine-
De : Jim Campbell [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 août 2003 15:46
À : CF-Talk
Objet : Re: Benorama.com


Google cache?

- Jim

Brad Roberts wrote:

Anyone know if the site will be up soon?  Is there another way to get to
the
site?

-Brad






~|
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


CFMX won't restart

2003-08-14 Thread Benoit Hediard
Hi everyone,

Running CFMX6.1 on production.
Pretty cool, except for one thing : each time we stop CFMX Service, there is
no way to restart it except with a complete reboot of the server.
We got the famous The ColdFusion MX Application Server service terminated
with service-specific error 2. in the windows event log.

I found the following technotes :
http://www.macromedia.com/support/coldfusion/ts/documents/cfmx61_startup_tim
ing.htm
But it only concerns restart problem on reboot on slow machine (which is not
our problem, the server restart completely in less than 2 minutes, with CFMX
on).
The problem only occurs when we stop and try to re-start the service.
We also add the problem during the install of CFMX6.1 upgrade (and after a
reboot is was fine).

Our config :
- Win2000 SP4
- CFMX 6.1 Standard
- Apache 2.0.47
We run the ColdFusion Service under a specific user account coldfusion
(any specific rights required?).
We have the exact same config on our staging server and it works well.

Can't find anything in the logs.
The problem is that I can't play much with parameters, trial and errors
because this is our main production app server...

What is the difference between a CFMX service start after reboot and a CFMX
service re-start?
What could be the reason of this behaviour?
Probably an error in the config of the server.

Thanks.


Benoit Hediard

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: cfmx 6.1 service timeout

2003-08-14 Thread Benoit Hediard
Here it is  :
http://www.macromedia.com/support/coldfusion/ts/documents/cfmx61_startup_tim
ing.htm

Benoit Hediard

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 août 2003 19:19
À : CF-Talk
Objet : cfmx 6.1  service timeout


This may be a little off-topic, but somewhat relates.  I've installed the MX
6.1 as a service on a windows test box.  But the box is not a real
powerhouse system,  512ram and a p3 450.  Now when attempting a manual start
of MX, the MX times out before it can start.  Does anyone know how to change
the startup times allowed by the services control panel on a windows 2000
box.  I've looked everywhere to give the service another 30 seconds or so
and can't find the setting to change the amount of time alloted.

Thanks,
Randy


---
Randy Bickham
Web Software Developer
J.R. Simplot Company




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Benorama.com

2003-08-12 Thread Benoit Hediard
Hi,

I'll put benorama.com online by the end of the month...
We just launch our new MX app so I don't have the time to work on benorama.

Till then, if you want, I can send you the .doc version of the articles
(CFMX best practices).
FYI, you still have access to the presentation I did on MVC at CF-Europe :
http://www.cf-europe.org/preso/bhediard/168409/index.html


Thanks!

Benoit Hediard
www.benorama.com (dead link...;) )

PS : for people in charge of cf-europe website, there is a big CF error on
the home page.

-Message d'origine-
De : Jim Campbell [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 août 2003 15:46
À : CF-Talk
Objet : Re: Benorama.com


Google cache?

- Jim

Brad Roberts wrote:

Anyone know if the site will be up soon?  Is there another way to get to
the
site?

-Brad




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX + Remoting Assistance Needed

2003-08-04 Thread Benoit Hediard
One basic check is to put a cflog in your CFC in order to verify if Flash
Remoting calls are performed on the server and if the CFC is correctly
executed.
If there is nothing generated by cflog, then :
- there is something wrong on the swf side,
- or the CFC generates an error (you might check if there is any flash.log
in CFusionMX/logs)

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Graham Pearson [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 4 août 2003 15:45
 À : CF-Talk
 Objet : Re: CFMX + Remoting Assistance Needed


 In my code I pass CGI.Server_Name to the .swf file for the gate url. This
 works on both local consoles just not from a remote location.



 At 08:20 AM 8/4/2003, you wrote:
 You have to change the flash gateway url for each machine.
 
 So if you developed on http://www.first machine.com the moved the site to
 http://www.secondmachine.com you will need to change the gate url.
 
 HTH
 Clint
 - Original Message -
 From: Graham Pearson [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, August 04, 2003 8:01 AM
 Subject: CFMX + Remoting Assistance Needed
 
 
   I am working on an application which I have working on my development
   machine which uses CFMX (in Standalone Mode) and Visnetic
 Website Pro. I
 am
   able on the local machine view all of the Flash Remoting Stuff and the
 site
   is running smooth. Now I have a Semi-Production Server which
 is the same
 as
   my development machine that I have been using to test my code
 before it
   goes live and the code works from the local console on this machine as
   well. My Problem is when I view the site from a remote
 location the Flash
   Remoting Stuff does not work. All of the .swf's are on the
 same machine in
   the same directory as the .cfm pages.
  
  
   Is their a way to debug remotely why the Flash stuff does not
 work on a
   remote computer browsing the site and why it works from sitting at the
 console?
  
  
  
   Do you use the Macromedia MX Suite of Products? A new book has just
   been published called Macromedia MX: Building Rich Internet
 Applications
  
   Link:
  
 http://www.amazon.com/exec/obidos/ASIN/0321158814/onsite/102-7426
355-5264145
 
===
  Graham Pearson, System Administrator / Certified Webmaster / Published
  Northern Indiana Educational Services Center
  Voice: (574) 254-0444 Ext 108 / (800) 326-5642 Fax: (574) 254-0148
  Http://www.niesc.k12.in.us  http://support.niesc.k12.in.us   Email:
  [EMAIL PROTECTED]
 
===
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX + Remoting Assistance Needed

2003-08-04 Thread Benoit Hediard
It really looks like a problem in the gateway definiton in your swf file, it
only calls the local machine gateway, are you sure you define the correct
gateway URL?

From your dev machine, create a new .fla and try to make a simple call to
your CFC on the production server, with the NetConnection Debugger
activated.

If it works, then there is really something wrong in your swf in the gateway
definition.
Try to hard-code the production gateway URL in your swf just to see...

You could also try to perform a direct HTTP call to your CFC to see if it is
available for remoting from a remote machine.
Something like :
http://www.youdomain.com/pathtothecfc/theFacadeCFC.cfc?method=somemethodsom
eparameter=somevalue


Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Graham Pearson [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 4 août 2003 18:14
 À : CF-Talk
 Objet : RE: CFMX + Remoting Assistance Needed


 Doing some more testing on this resulted in:

 If I make an addition to c:\winnt\system32\drivers\etc\host file and
 resolve the domain to 127.0.0.1 the flash remoting application will work
 from the console but would not work from a remote machine. I
 added various
 cflog tags and with the domain resolving to 127.0.0.1 it writes
 all of the
 cflog entries with the respected information. Now if I remove the
 entry in
 the hosts file all of the cflog tags which have been put in the index.cfm
 page will be written to the log but all of the cflog tags in the
 .cfc file
 which I am calling do not get written to the log.


 Any additional Information (First time doing a RIA and treading
 water big time)

 At 08:59 AM 8/4/2003, you wrote:
 One basic check is to put a cflog in your CFC in order to
 verify if Flash
 Remoting calls are performed on the server and if the CFC is correctly
 executed.
 If there is nothing generated by cflog, then :
 - there is something wrong on the swf side,
 - or the CFC generates an error (you might check if there is any
 flash.log
 in CFusionMX/logs)
 
 Benoit Hediard
 www.benorama.com
 
   -Message d'origine-
   De : Graham Pearson [mailto:[EMAIL PROTECTED]
   Envoyé : lundi 4 août 2003 15:45
   À : CF-Talk
   Objet : Re: CFMX + Remoting Assistance Needed
  
  
   In my code I pass CGI.Server_Name to the .swf file for the
 gate url. This
   works on both local consoles just not from a remote location.
  
  
  
   At 08:20 AM 8/4/2003, you wrote:
   You have to change the flash gateway url for each machine.
   
   So if you developed on http://www.first machine.com the
 moved the site to
   http://www.secondmachine.com you will need to change the gate url.
   
   HTH
   Clint
   - Original Message -
   From: Graham Pearson [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Monday, August 04, 2003 8:01 AM
   Subject: CFMX + Remoting Assistance Needed
   
   
 I am working on an application which I have working on my
 development
 machine which uses CFMX (in Standalone Mode) and Visnetic
   Website Pro. I
   am
 able on the local machine view all of the Flash Remoting
 Stuff and the
   site
 is running smooth. Now I have a Semi-Production Server which
   is the same
   as
 my development machine that I have been using to test my code
   before it
 goes live and the code works from the local console on
 this machine as
 well. My Problem is when I view the site from a remote
   location the Flash
 Remoting Stuff does not work. All of the .swf's are on the
   same machine in
 the same directory as the .cfm pages.


 Is their a way to debug remotely why the Flash stuff does not
   work on a
 remote computer browsing the site and why it works from
 sitting at the
   console?



 Do you use the Macromedia MX Suite of Products? A new
 book has just
 been published called Macromedia MX: Building Rich Internet
   Applications

 Link:

   http://www.amazon.com/exec/obidos/ASIN/0321158814/onsite/102-7426
 355-5264145
   
 
 =
 ==
Graham Pearson, System Administrator / Certified Webmaster
 / Published
Northern Indiana Educational Services Center
Voice: (574) 254-0444 Ext 108 / (800) 326-5642 Fax: (574) 254-0148
Http://www.niesc.k12.in.us  http://support.niesc.k12.in.us   Email:
[EMAIL PROTECTED]
   
 
 =
 ==
   
   
  
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Session is invalid on CFMX

2003-07-28 Thread Benoit Hediard
You're right Jim.
You have to setClientCookies to no in cfapplication, and then you don't
get any CFID/CFTOKEN cookies anymore.

I've also explicitly added the session timeout in cfapplication to see if
it solves my problem/bug.

I'll keep you informed!

Thanks.

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Jim Davis [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 28 juillet 2003 03:48
 À : CF-Talk
 Objet : RE: Session is invalid on CFMX


  -Original Message-
  From: Sean A Corfield [mailto:[EMAIL PROTECTED]
  Sent: Sunday, July 27, 2003 9:31 PM
  To: CF-Talk
  Subject: Re: Session is invalid on CFMX
 
  On Sunday, Jul 27, 2003, at 16:51 US/Pacific, Jim Davis wrote:
   From what I can tell it doesn't create them if J2EE session
   management is
   enabled.  However they still ARE created for CF Client Management
   (Client
   Scope).  That may be where the confusion is.
  
   Basically if you enable J2EE sessions and disable clientmanagement the
   cookies don't look like they're being set.
 
  Ah, thanx for that clarification Jim. That makes a lot of sense really.
  Although I have client variables turned off in the admin but still see
  the cookies. I guess I need to explicitly disable client management in
  my cfapplication tag?

 I'm really not sure... I know I had specific problems due to this
 (CFTOKEN/CFID not existing when J2EE sessions were enabled) and
 that's when
 I sorted it all out.

 However that was the original MX release.  If things are different now
 perhaps it's an Updater change?

 Jim Davis


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Session is invalid on CFMX

2003-07-28 Thread Benoit Hediard
... Problem not solved, even with :
- only JSESSIONID cookie (there isn't any CFID/CFTOKEN cookies),
- sessiontimeout defined in cfapplication tag,
- clientmanagement disabled.

I just got the Session is invalid error message on our production server
(under beta testing...).
It doesn't want to pass the cfapplication tag on anothersub.domain.com
(which was working few minutes ago) and it works fine under www.domain.com.

I really start to think that this is a bug.

We are probably going to force the user to close its browser with javascript
when we trap this error... (pretty violent workaround, isn't it?).

Benoit Hediard
#affinitiz.com


 -Message d'origine-
 De : Benoit Hediard [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 28 juillet 2003 09:08
 À : CF-Talk
 Objet : RE: Session is invalid on CFMX


 You're right Jim.
 You have to setClientCookies to no in cfapplication, and then
 you don't
 get any CFID/CFTOKEN cookies anymore.

 I've also explicitly added the session timeout in cfapplication
 to see if
 it solves my problem/bug.

 I'll keep you informed!

 Thanks.

 Benoit Hediard
 www.benorama.com

  -Message d'origine-
  De : Jim Davis [mailto:[EMAIL PROTECTED]
  Envoyé : lundi 28 juillet 2003 03:48
  À : CF-Talk
  Objet : RE: Session is invalid on CFMX
 
 
   -Original Message-
   From: Sean A Corfield [mailto:[EMAIL PROTECTED]
   Sent: Sunday, July 27, 2003 9:31 PM
   To: CF-Talk
   Subject: Re: Session is invalid on CFMX
  
   On Sunday, Jul 27, 2003, at 16:51 US/Pacific, Jim Davis wrote:
From what I can tell it doesn't create them if J2EE session
management is
enabled.  However they still ARE created for CF Client Management
(Client
Scope).  That may be where the confusion is.
   
Basically if you enable J2EE sessions and disable
 clientmanagement the
cookies don't look like they're being set.
  
   Ah, thanx for that clarification Jim. That makes a lot of
 sense really.
   Although I have client variables turned off in the admin but still see
   the cookies. I guess I need to explicitly disable client management in
   my cfapplication tag?
 
  I'm really not sure... I know I had specific problems due to this
  (CFTOKEN/CFID not existing when J2EE sessions were enabled) and
  that's when
  I sorted it all out.
 
  However that was the original MX release.  If things are different now
  perhaps it's an Updater change?
 
  Jim Davis
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Session is invalid on CFMX

2003-07-27 Thread Benoit Hediard
Hi everyone,

Has anyone received the message Session is invalid on his CFMX app?

We have a DNS configuration a little bit specific :
10.10.10.10 www.ourdomain.com
10.10.10.10 *.ourdomain.com (which mean any subdomains are redirected to
10.10.10.10)

Application.cfm starts with :
cfapplication
name=ourApp
sessionmanagement=yes
setdomaincookies=no (changing this to yes does not solve the
problem)

The application runs fine and the session are available to all requests
under www.ourdomain.com or another subdomain.ourdomain.com.
But after some period of inactivity in the same browser, we surf again on
www.ourdomain.com , it's OK (the session is still there) but when we go to
subdomain.ourdomain.com, we got the Session is invalid message.
The error is threw during the cfapplication tag.

The only solution is to close the browser in order to get a new SessionID.

When I got the problem, I looked at the cookie values :
- CFIDCFTOKEN have the same values under www.ourdomain and
subdomain.ourdomain.com pages,
- JSESSIONID have different values under www.ourdomain and
subdomain.ourdomain.com page.

So JESSIONID is out of sync... (probably the reason why I get the Session
is invalid error message).

Anyone has the same problem?
Is it a bug?

We are running CFMX updater 3 on Win2000 with Apache2 with J2EE session.
(same problem on RedSky...)

I'm going to disable the J2EE session variables to see if it solves the
problem.


Benoit Hediard
www.benorama.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Session is invalid on CFMX

2003-07-27 Thread Benoit Hediard
Thanks Sean.

We do not refer to CFID/CFTOKEN on our application, we only use JSESSIONID,
especially to maintain the session between CFMX/FlashCom.

But are you sure that it does not write CFID/CFTOKEN even if you use J2EE
sessions?
I just closed all my browsers, deleted all my cookies, re-opened a new
browser and on my first CF request, it creates again the persistent
CFID/CFTOKEN cookie. It shouldn't?

Why when I go to http://www.ourdomain.com/test.cfm and
http://subdomain.ourdomain.com/test.cfm :
- I got the same value for JSESSIONID for both request.
- then I stop surfing, I come back 30 minutes later, then I got a new
JSESSIONID for subdomain.ourdomain.com (but I still have the old JSESSIONID
for www.ourdomain.com)?

The session timeout is set to 60 minutes so it looks like a bug to me, no?
Am I the only one to have this Session is invalid message?
(I did not find it anywhere else on forum or bugs db)


Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Sean A Corfield [mailto:[EMAIL PROTECTED]
 Envoyé : dimanche 27 juillet 2003 20:41
 À : CF-Talk
 Objet : Re: Session is invalid on CFMX


 On Sunday, Jul 27, 2003, at 09:04 US/Pacific, Benoit Hediard wrote:
  When I got the problem, I looked at the cookie values :
  - CFIDCFTOKEN have the same values under www.ourdomain and
  subdomain.ourdomain.com pages,
  - JSESSIONID have different values under www.ourdomain and
  subdomain.ourdomain.com page.
 ...
  I'm going to disable the J2EE session variables to see if it solves the
  problem.

 Ah, it sounds like your code is assuming CFID/CFTOKEN? If you have J2EE
 Session Variables enabled, I believe that you must not refer to
 CFID/CFTOKEN anywhere in your code. Once J2EE Session Variables are
 enabled, CFMX will use jsessionid *instead* of CFID/CFTOKEN. If your
 code accesses the CFID/CFTOKEN values, they'll be whatever persistent
 values were last stored on your client computer - and would not be
 valid. jsessionid, by contrast, is an in-memory cookie and does not
 persist to disk.

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

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

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Session is invalid on CFMX

2003-07-27 Thread Benoit Hediard
 You've changed the default timeout in the CF Admin (from 20 minutes up
 to 60 minutes), I assume? Are both domains using the same CF install or
 do they have separate CF Admins? (i.e., is it a CFMX for J2EE setup?)

Yes, settings have been set on CF Admin (from 20 minutes up to 60 minutes).
It is CFMX Pro Standalone (so one CF Admin).

I'm going to try to define the session timeout in the cfapplication tag,
it might solve the problem.


Benoit Hediard

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: benorama.com down ?

2003-07-25 Thread Benoit Hediard
Sorry for that guys...
Indeed benorama.com is down since monday and should come back next week.

We are currently in the middle of the launch our new MX app and we have
moved our servers...

More info soon!

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Gobo Borz [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 25 juillet 2003 20:30
 À : CF-Talk
 Objet : benorama.com down ?


 in the meantime, check these out..
 
 http://www.corfield.org/coldfusion/coding_standards.html
 

 Great Link, thanks!  I didn't state all the reasons I wished to
 access Benorama.com.  I believe BlogMx also lives there, and I'd
 like to try it.

 -Gobo
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Cons to Fusebox

2003-07-17 Thread Benoit Hediard
it is REALLY nice to be able to edit a few lines in your circuit
definitions and be done with it, instead of having to change links all over
the place.

I agree with most of your points.
But if you decide to change your fuseaction names and circuits structure,
don't you have to change links all over the place, plus the fusebox
configuration files?
(fuseaction names and circuits are also harcoded all over the place,
instead of file names and directories)

It solves the problem by adding another one and add complexity/overhead to
your app.
Always the same dilemma : when to stop to add levels/layers of abstration...
:)

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Brian Kotek [mailto:[EMAIL PROTECTED]
 Envoyé : jeudi 17 juillet 2003 19:48
 À : CF-Talk
 Objet : Cons to Fusebox


 First, I just want to be sure you understand what the fuseaction
 actually is.  It's in the format circuit.targetfuseaction,
 where the circuit part is the alias of a Fusebox circuit, and
 the targetfuseaction part is the actual action within that
 circuit that you want to execute. I just wanted to make sure that
 was clear.  So...

 Abstraction is one huge benefit of circuits.  When I do
 index.cfm?fuseaction=store.productdetails, I don't know, or
 care, WHERE the store circuit is.  This applies to both the
 logical and physical structure of the site.  Using circuit
 aliases masks these dependencies because the core file handles
 translation of the alias to a directory path to be called.  So as
 a team developer creating a link to that section of the site, I
 don't need to know anything about the application's directory
 structure or where that part of the site is located.

 On the other hand, using
 /root/store/products/productdetails.cfm in a link requires you
 to know EVERYTHING about the physical structure of the site for
 EVERY link.  And if for some reason I refactor the site, and part
 of the change is to alter the physical location of my products
 directory, or break it up into more than one directory?  Better
 open up a lot of files or break out the extended search and
 replace, because every link that points there is going to have to
 be changed.

 Circuits also allow for very easy dynamic links.  If I have a
 component that creates a form, and I want to reuse that form in
 multiple places in the system but I want it to post to different
 things, this is really easy with circuits.  You do: form
 action=index.cfm?fuseaction=#xfa.formAction#.  Then at runtime,
 you can set xfa.formAction to be anything you need it to be.
 Bam...like magic the form can now post to any fuseaction you need
 it to...and you never need to touch the code itself, only set the
 xfa variable.

 Pretty much, your question goes right to the heart of why Fusebox
 uses circuits in the first place.  The answer is that when
 related code is grouped together, that code is easier to maintain
 and change.  Placing code into directories can do this as well,
 in fact Fusebox circuits are aliases for directories.  But with
 circuits, you get that layer of abstraction between the alias of
 the circuit and it's actual path. I can tell you from real world
 experience that when you have to make significant changes to the
 structure of your application, it is REALLY nice to be able to
 edit a few lines in your circuit definitions and be done with it,
 instead of having to change links all over the place.

 Hope that helps,

 Brian

 Mosh Teitelbaum wrote:
 I've been pondering the benefits and downsides of this approach
 for a while
 now.  Since you bring it up, I was wondering what everyone else thought
 about all requests having to come in through an application
 spine?  That is,
 what benefits exist and/or are perceived to exist from structuring all of
 your HREFs like index.cfm?fuseaction=foo.bar or
 index.cfm?displayPage=5
 instead of /foo/bar.cfm and page5.cfm respectively?
 
 Anyone?
 
 --
 Mosh Teitelbaum
 evoch, LLC
 Tel: (301) 942-5378
 Fax: (301) 933-3651
 Email: [EMAIL PROTECTED]
 WWW: http://www.evoch.com/
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF Flash (crazy idea?)

2003-07-03 Thread Benoit Hediard
It shoud be possible to do that with FlashMX/FlashRemotingMX/ColdFusionMX.
You have all the required features in FlashMX : dragdrop, pixel
coordinates, remoting to generate the HTML form with ColdFusionMX...
But you'll need a really good ActionScript developer to do the Flash UI...

It might be better to wait for Royale,
http://www.macromedia.com/special/royale/ (even if it seems to be designed
for the contrary : to easily generate Flash forms from XML files, and not
HTML forms from Flash UI...).

I agree with Bryan, why not using a flash Form instead of an HTML form?

Benoit Hediard
www.benorama.com


 -Message d'origine-
 De : Robertson-Ravo, Neil (RX)
 [mailto:[EMAIL PROTECTED]
 Envoyé : jeudi 3 juillet 2003 17:04
 À : CF-Talk
 Objet : RE: CF  Flash (crazy idea?)


 Dude, I have thought of the same and if you or anycan come up with an idea
 solution...please post it.

 -Original Message-
 From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
 Sent: 03 July 2003 15:59
 To: CF-Talk
 Subject: CF  Flash (crazy idea?)


 Hi everyone.

 I have an idea and need to know if it is within the capabilities of Flash
 and CF. What I would like to do is provide an interface for users to come
 to, where they can create forms and position the form elements and element
 labels wherever they wish (within a maximum area). How I envision this
 working would be to provide within the interface an area that contained a
 list of possible form elements to choose from (text input, text
 area, radio,
 check). When a user dragged one of these into the form area they could
 give it a label and fill in the attributes of that element as well as
 position the element and its label wherever they wanted (within the bounds
 of course). Now for the crazy part...

 Would it be possible to take that Flash movie that the user
 interacted with
 to create the initial form and process it into an HTML form where
 the layout
 was almost identical if not exactly identical to how it was
 created via the
 Flash interface (from a positioning and layout standpoint)? I was thinking
 maybe there are some functions in flash to get element coordinates, etc...

 The idea would be that this form could be used within an HTML email or
 website to gather user feedback. The second part would be to
 build some kind
 of container on the backend whereas those results/responses could
 be stored.

 Obviously this is a complex idea, one in which is beyond the scope of my
 abilities at this time.

 Anyone have thoughts, ideas, technologies to look at, etc... ?

 Mike

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFChart: Set Axis Markers?

2003-06-24 Thread Benoit Hediard
I'm also interested in an answer to this problem.
The possible values for the labelFormat parameter are number, currency,
percent, date.
When using number you got this float numbers problem...

Is it a limitation of CFCHART? (pretty annoying, for example when you
display the number of visitors of a site...)

Benoit

 -Message d'origine-
 De : Suyer, Ed [PRD Non-JJ] [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 24 juin 2003 17:42
 À : CF-Talk
 Objet : CFChart: Set Axis Markers?


 Hi folks,

 I currently have a cfchart that displays something like this:

 Line Graph (in ASCII)

 650   |
 577.8 |
 505.6 |   X
 433   |  /
 361.1 |X/
 288.9 |/  \/
 216.7 |  X   \/
 144.4 | / X
 72.2  |   X
 0 |
   ---
   J   A   S   N   D
   U   U   E   O   E
   L   G   P   V   C


 How do I get the markers on the y-axis (650, 577.8, ..., 72.2, 0) to read:
 700, 600, 500, 400, 300, 200, 100, 0?

 I'm not currently passing anything to cfchart or cfchartseries that
 generates these numbers.  My guess is that CF takes an average
 internally to
 calculate these markers.  Any help is much appreciated!

 TIA

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF MX Q of Q error....

2003-06-18 Thread Benoit Hediard
I had a similar error last week.

When using date comparison with QoQ with MX, you need to use cfqueryparam
value=#someDate# cfsqltype=CF_SQL_DATE.


Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Buddy [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 18 juin 2003 02:08
 À : CF-Talk
 Objet : CF MX Q of Q error


 I just upgraded a box to cfmx and now I am debugging the code.
 I am getting this error on code that worked well in cf5:

 Error Executing Database Query.

 Query Of Queries runtime error.
 Unsupported type comparison.

 227 :cfquery name=SelectASites1 dbtype=QUERY
 228 : Select RAW as TRaw from SelectWMDATA WHERE TDATE
 '#DateFormat(LOOPSTARTDATE,/mm/dd)# 00:00:00' and TDATE
 '#DateFormat(LOOPENDDATE,/mm/dd)# 23:59:59'
 229 :/cfquery


 The field RAW that is being selected is a DATETIME field from a
 SQL SERVER.

 Any insight into why I am having a problem?
 Do I need to cast my date as something else even though I am doing a date
 format?

 I'm so confused. thanks for any help in advance.
 -Buddy


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: image processing

2003-06-16 Thread Benoit Hediard
If you have CFMX, you might also try out :
http://www.benorama.com/coldfusion/components/imaging.htm

It is based on the open source ImageJ java API, 100% java and therefore CFMX
native.
There are setColor(), setFont() and drawString() methods that should fit
your needs.


Benoit Hediard
www.benorama.com


 -Message d'origine-
 De : Mike Townend [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 16 juin 2003 17:23
 À : CF-Talk
 Objet : RE: image processing


 Have a look at CFX_IMAGE, (http://www.kolumbus.fi/jukka.manner/)

 We started to use it for dynamic menus, but we had a font issue.  But we
 will be implementing it in a picture gallery to 'watermark'
 images to deter
 people nicking them

 HTH

 Mikey



 -Original Message-
 From: Jeff Beer [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 16, 2003 16:12
 To: CF-Talk
 Subject: OT: image processing


 Sorry for the off topic post but y'all know just about everything
 under the
 sun and I'm scared I'll have to do this work by hand:

 I need to take a single image (jpg or gif - doesn't matter) and
 overlay text
 onto it - 650 or more times.  The data for the text will come from a SQL
 server DB (or any DB, text file, spreadsheet - I don't care).

 It's a one time process per image - not a dynamic update, and I'll need to
 save a copy of each image for later distribution.

 So, feed in a blank image (has graphics, no text overlay), spit out 650
 copies with different text copy, using any reasonable datasource.
  It needs
 to allow specific text formatting (nothing more than font face,
 size, color)
 with absolute positioning.

 I don't really want to have to type in and position the differing text 650
 times!!


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: SOT Flash vs Java Applet to display streaming data

2003-06-16 Thread Benoit Hediard
If you want to see what can be done with Flash for stocks/trading, you
should have a look to this app :
http://marketrac.nyse.com/mt/

I think it is Flash5 based... pretty impressive...
It should be even faster if it was done with FlashMX.

The example always shown by MM is the E*Trade stock quote widget.
https://us.etrade.com/e/t/invest?traxui=F_HV (flashlet on the right)

There is a small sample applications in DRK1 called Stock Services Library
that allow you to easily retrieve and display historical stock information
within Macromedia Flash MX :
http://www.macromedia.com/software/drk/productinfo/product_overview/volume1/
additional_resources.html#1
http://www.macromedia.com/software/drk/productinfo/product_overview/volume1/
flash_remote_article.html

I haven't seen the java applet from scotttrader.com but a Flash-based app
should definitely offer a much better end results (portability, UI,
experience...).

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 16 juin 2003 18:12
 À : CF-Talk
 Objet : SOT Flash vs Java Applet to display streaming data


 Not exactly CF, but there are lots of Flash users out there.

 Scotttrader at www.scotttrader.com provides a free java applet that
 allows you to monitor stock positions in real time. ( a more robust
 version of the java applet is available if you set up a Scottrade
 account).

 You can enter multiple lists of up to 10 stocks and it will display
 real time activity from some sort of streaming feed.  A stock ticker
 and other goodies are also available, but the real-time display of
 multiple stock positions is the most useful (and most impressive,
 challenging, etc).  As each activity is posted to the spreadsheet-like
 form, the background color of each affected cell changes to reflect the
 plus or minus direction of the activity -- green = plus, red = minus,
 yellow = high or low for the day.  Each cell changes color when the
 activity warrants.  It is quite useful to see the colors and numbers
 ripple through the spreadsheet, every second, or so.

 In general it is fast and quite nice, but suffers from some of the
 common Java applet problems:

 -- works with only certain browser versions
 -- displays differently (incorrectly) in different browser versions
 -- does not play nicely with other browser windows.

 I was wondering if some of the Flash experts out there could answer
 some general questions:

 -- Could this be done with Flash?
 -- Would a Flash implementation perform as well, worse, better than the
 Java applet?

 If there is no performance penalty, a Flash implementation would appear
 to be a better solution.

 Just to throw something else into the pot, the robust version has an
 interactive tutorial that works just OK in Java, but would be a natural
 for Flash.

 Thoughts

 Dick

 P.S. MACR was up .25 to $20.80 at last look!

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: SOT Flash vs Java Applet to display streaming data

2003-06-16 Thread Benoit Hediard
Hi Dick,

I've tried to get the applet, but the NYSE, AMEX and OPRA form agreement is
only for US people (only US in the select...) and I prefer not to create a
fake account.

The problem is that I have no idea how they get the data from the java
applet..
Is it through a socket connection (real-time)? From which server?
Or is it through a scheduled http call (to a web services?), for example
every 10s. (nearly real-time)?
It is pretty important to know from where you'll get those real-time data.

You can do real time data with FlashMX by using the following ActionScript
object:
- XMLSocket(), you'll need a socket server (http://www.moock.org/unity/),
XML text format messages,
- NetConnection(), you'll need FlashCom server, AMF binary format messages
(much better for the client and the bandwith).

But to create a nearly real-time app is much easier to develop...
You can easily go from static to nearly real-time.

No need for a socket server, a simple application server is required (CFMX
for example), the flash client could get data from the server through URL
variables, XML data (web services) or flash remoting (prefered method
especially if you have CFMX).
In ActionScript on the client, you'll just have to create a function/method
that get the data from the app server and then create a setInterval() to
call this method every x secondes.

Anyway, I'm afraid to be too OT for CF-Talk on this thread...

You might try to post the question on a flash mailing list such as
http://chattyfig.figleaf.com/

Good luck!

Benoit Hediard
www.benorama.com


 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 16 juin 2003 19:12
 À : CF-Talk
 Objet : Re: SOT Flash vs Java Applet to display streaming data


 On Monday, June 16, 2003, at 09:49 AM, Benoit Hediard wrote:

  If you want to see what can be done with Flash for stocks/trading, you
  should have a look to this app :
  http://marketrac.nyse.com/mt/
 

 Interesting... won't work on any of my Mac browsers (IE, Safari,
 Mozilla)

  I think it is Flash5 based... pretty impressive...
  It should be even faster if it was done with FlashMX.
 
  The example always shown by MM is the E*Trade stock quote widget.
  https://us.etrade.com/e/t/invest?traxui=F_HV (flashlet on the right)
 

 This appears to be static -- the java applet at scottrader is dynamic
 with streaming data.

  There is a small sample applications in DRK1 called Stock Services
  Library
  that allow you to easily retrieve and display historical stock
  information
  within Macromedia Flash MX :
  http://www.macromedia.com/software/drk/productinfo/product_overview/
  volume1/
  additional_resources.html#1
  http://www.macromedia.com/software/drk/productinfo/product_overview/
  volume1/
  flash_remote_article.html
 

 These, too, appear to be static -- using historical data

  I haven't seen the java applet from scotttrader.com but a Flash-based
  app
  should definitely offer a much better end results (portability, UI,
  experience...).
 

 If you have the time, Benoit, take a few moments and register for the
 java applet at:

 https://www.scottrader.com/Agreements/Register.asp

 I'd like to hear what you think after seeing the applet.

 No pain  they will not spam or high-pressure you.

 The key is the use and display of dynamic real-time data.

 TIA

 Dick


  Benoit Hediard
  www.benorama.com
 
  -Message d'origine-
  De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Envoyé : lundi 16 juin 2003 18:12
  À : CF-Talk
  Objet : SOT Flash vs Java Applet to display streaming data
 
 
  Not exactly CF, but there are lots of Flash users out there.
 
  Scotttrader at www.scotttrader.com provides a free java applet that
  allows you to monitor stock positions in real time. ( a more robust
  version of the java applet is available if you set up a Scottrade
  account).
 
  You can enter multiple lists of up to 10 stocks and it will display
  real time activity from some sort of streaming feed.  A stock ticker
  and other goodies are also available, but the real-time display of
  multiple stock positions is the most useful (and most impressive,
  challenging, etc).  As each activity is posted to the spreadsheet-like
  form, the background color of each affected cell changes to reflect
  the
  plus or minus direction of the activity -- green = plus, red = minus,
  yellow = high or low for the day.  Each cell changes color when the
  activity warrants.  It is quite useful to see the colors and numbers
  ripple through the spreadsheet, every second, or so.
 
  In general it is fast and quite nice, but suffers from some of the
  common Java applet problems:
 
  -- works with only certain browser versions
  -- displays differently (incorrectly) in different browser versions
  -- does not play nicely with other browser windows.
 
  I was wondering if some of the Flash experts out there could answer
  some general questions:
 
  -- Could this be done with Flash

RE: Get rid of CFMX's silly X-Mailer ??

2003-04-05 Thread Benoit Hediard
The mailerID attributes of cfmail doesn't work?

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : fluffy bananachunks [mailto:[EMAIL PROTECTED]
 Envoyé : samedi 5 avril 2003 18:28
 À : CF-Talk
 Objet : Get rid of CFMX's silly X-Mailer ??


 How nice of CFM to create what seems to be an unchange-able X-Mailer
 header for me.  *sigh*  Is there ANY (preferably NON-commercial) way to
 change it?

 CFMX, updater 3 / Linux

 I've tried an old version of ActivMail 1.2 (which ever so kindly uses
 IT'S OWN X-Mailer instead...), and I've tried AspMail, which doesn't
 error, but doesn't seem to do anything either, so I guess it's about
 that time to go see if I can read some docs ;P

 Heck, I even tried [cffile/read, replace, cffile/write]'ing to each
 email in the Spool directory, but I think it was acting too quick and
 getting the directory list before the file was ever actually written...
   This would only be a hack anyway, because I don't want every email
 that leaves the server via CF to have the new X-Mailer.

 If it comes down to it, then I guess I'll have to figure out some
 command line way of emailing where I can attach images and change the
 X-Mailer via cfexecute, but I'd prefer to keep it 'in code' if I can.

 I've created an Email2Blog site for the T-Mobile Sidekick, and want the
 option of being able to forward certain entries on to another SK blog
 site.  Whereas I allow/deny based on server list, he allows/denies based
 on the X-Mailer.  When I cfparam a 'new' X-Mailer, it just adds it to
 the silly CF one.  Not sure exactly what 2 X-Mailers do or don't do in
 an email header, but his site's not liking the combo...

 Anyone?

 TIA
 Geo


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF based blogging software

2003-04-01 Thread Benoit Hediard

Hi everyone,



BlogMX on benorama.com is just a very basic example application, and is

definitely not a complete blogging system (and as you rightly said, it is

overly complicated for what it does, because it is just a sample application

showing a methodology aimed to build more complex applications).

Moreover it was written in august 2002... so it does not represent the

latest best practices for CFMX.

I plan to write an updated version, with updated best practices next month.



For your information, that's funny, because there is currently an initiative

launched on CFCDev mailing list to build a blogging system by following

different methodologies/frameworks in order to be able to compare them.

The discussion has just started few days ago, so it is really just the

begining and you might have to wait several month before to see any results.



Untill then, you might also check Raymond Camden blog CFC :

http://www.camdenfamily.com/morpheus/blog/blog.zip

(which looks more like a real blogging system)



Benoit Hediard

www.benorama.com



 -Message d'origine-

 De : Jochem van Dieten [mailto:[EMAIL PROTECTED]

 Envoyé : mardi 1 avril 2003 10:40

 À : CF-Talk

 Objet : Re: CF based blogging software







 Michael Dinowitz wrote:



  Has there been any movement on this front? I found Fuseblog but

 can't see any



 



  way to download it. I'd rather use a CF based blogging system

 than not and if I



 



  wait to write my own it'll take almost forever.







 BlogMX, http://www.benorama.com/







 Jochem







 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm


Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89
70.4



RE: Form Building software

2003-03-28 Thread Benoit Hediard
If I were you, I would wait until the DRK3 comes out (April).
I don't know if it will answer your needs, but it should provide some
interesting CFMX tools, especially :
- Advanced Data Manipulation Components,
- Data Aggregation and Management Tools.

DRK3 content overview :
http://www.macromedia.com/software/drk/productinfo/product_overview/volume3/


Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Thane Sherrington [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 28 mars 2003 13:20
 À : CF-Talk
 Objet : Form Building software


 Is there any good software out there that will allow me to build simple
 forms for CF (I'm in the process of designing my own, but if there's
 something done, why reinvent the wheel?)  I'm tired of creating
 the largely
 repetitive code for database entry forms and the connected
 add/update/delete scripts.

 T

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



OT: Macromedia Central and FlashCom 1.5

2003-03-27 Thread Benoit Hediard
Some interesting announcements at Flashforward :

- Macromedia Central, a new way to distribute/sell FlashMX applications,
http://www.macromedia.com/software/central/
http://www.macromedia.com/devnet/central/

- Macromedia FlashCom MX 1.5
http://www.macromedia.com/software/flashcom/


Benoit Hediard
www.benorama.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Context root issues - an informal poll

2003-03-19 Thread Benoit Hediard
Hi Christian,

We currently use CFMX for J2EE with Jrun on developer machines and
standalone CFMX on dev/prod server.

As we only have one big app per server, there is no need for a context root,
so we use the / context root on a cfmx Jrun Server instance (set as a
Windows Service in order to get exactly the same behaviour as a Standalone
CFMX installation).
No issue till now, works great.

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Dave Carabetta [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 19 mars 2003 23:06
 À : CF-Talk
 Objet : Re: Context root issues - an informal poll


 I'm wondering how many of you use CFMX with JRun (or another J2EE
 server) and use a context root other than /.  In other words, how
 many of you have to use /cfusion or /cfmx to access your ColdFusion
 pages?  I'm wondering because this type of configuration can affect the
 way sample applications are distributed.

 Christian, I use CFMX with JRun, and I don't use / for the
 context root. I
 have my servers instances set up as cfmxXX, where XX represents a number
 (i.e., cfmx1, cfmx2, etc.), with each having a context root of
 cfusion so
 that setting up clustering is easier. I actually picked up the idea from
 Sean's blog on clustering CFMX on JRun.

 I can swear I remember reading somewhere that using / for a
 context root
 can cause problems (or wasn't a good practive or something),
 which is why I
 went with the way Sean did it (that, and I figured that if a high-volume
 site like MM's works fine with that set up, I may as well use it
 as a best
 practice).

 Do you know of any issues with using / as the context root?

 Anyway, hope the above answers your question. I use cfusion for
 all of my
 context roots.

 Regards,
 Dave.


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Remoting...

2003-03-17 Thread Benoit Hediard
You can only push data on demand with Flash Remoting.
You cannot control when you'll get the response from a remoting call...
(you'll get the response as soon as the request is finished on the server).
It is a request/response mechanism.

If you need to be able to push data from a server to a Flash client in REAL
TIME, you'll need to open a socket connection on your flash client (with
XMLSocket() object).
On the server side, you'll need a socket server to handle those connections
(for example Unity from www.moock.org).
But, you'll have to handle the interaction between the socket server and
your CFCs.
For example, you could write some java class that will call your CFCs and
return XML formatted data to your Flash client.
So, it is possible, but it requires quite a lot of coding...

In fact, the easiest way to do it is to use Flash Communication Server MX
and it's remote Shared Objects (more info :
http://www.macromedia.com/devnet/mx/flashcom/articles/whiteboard_3.html).
On the server side, you would write the Flash Remoting ActionScript that
will call your CFCs and populate a remote Shared Object. All the interaction
with your CFCs are on the server side, between FlashCom and ColdFusion.
As soon as the remote shared objects is modified on FlashCom server, all the
Flash clients connected to this shared object will be automatically notified
(onSync event).

FlashCom hides all the complexity of the socket connection and notification
mechanism.
It's really great!

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Frank Mamone [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 17 mars 2003 15:26
 À : CF-Talk
 Objet : Re: Remoting...


 I see what your trying to do do, but somewhere, something has to
 poll to see
 if an update has happenned. How does the CFC know if there was an
 update? Do
 you mean a DB update?

 BTW, it's a great question. Looking forward to other's responses.

 -Frank

 - Original Message -
 From: Tim Blair [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, March 17, 2003 9:05 AM
 Subject: Remoting...


  Evening all,
 
  When you make a call to createGatewayConnection() from within the Action
  Script, what happens?  What I mean is, does Flash make a call to the CFC
  purely to check if it exists and then discards anything, or does it hold
  a reference to the new instance?
 
  What we'd like to do is PUSH data to the flash component, rather than
  PULL it from the server...  We could set up a timer on the component to
  re-cal la function in a CFC every x seconds, but what we'd rather do is
  (somehow) have the CFC inform flash that an update has happened.
 
  As far as I can work out, it's not possible.  Am I right in this
  thinking?
 
  Alternatively, is there a way around it?  Say having flash call the CFC
  straight away (once) and the CFC will wait until an update has occurred,
  then return the new data to Flash, whereupon Flash will update and call
  the CFC again, which will wait etc etc etc...
 
  How about creating an instance of a java class on the CFC call and
  storing that in a global scope somewhere, which does nothing but wait()
  until an update has occurred, whereupon CF will call a method on that
  java object to break out of the wait statement, so the initial CFC call
  will then complete etc...
 
  Would that work?  I sure there must be an easier way...
 
  Pah, what a thing to be doing on a Monday.
 
  Cheers,
 
  Tim.
 
 
  ---
  OUR NEW SITE IS NOW LIVE
  Visit our new website at http://www.rawnet.com/ and
  race around the beautiful Bracknell streets at http://xmas.rawnet.com/
  ---
  Tim Blair
  Web Application Engineer, Rawnet Limited
  Direct Phone : +44 (0) 1344 393 441
  Switchboard : +44 (0) 1344 393 040
  ---
  This message may contain information which is legally privileged and/or
  confidential.  If you are not the intended recipient, you are hereby
  notified that any unauthorised disclosure, copying, distribution or use
  of this information is strictly prohibited. Such notification
  notwithstanding, any comments, opinions, information or conclusions
  expressed in this message are those of the originator, not of rawnet
  limited, unless otherwise explicitly and independently indicated by an
  authorised representative of rawnet limited.
  ---
 
 
 
 
 
  --
  ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED] For
  human help, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http

RE: Remoting...

2003-03-17 Thread Benoit Hediard
 Alternatively, is there a way around it?  Say having flash call the CFC
 straight away (once) and the CFC will wait until an update has occurred,
 then return the new data to Flash, whereupon Flash will update and call
 the CFC again, which will wait etc etc etc...

 How about creating an instance of a java class on the CFC call and
 storing that in a global scope somewhere, which does nothing but wait()
 until an update has occurred, whereupon CF will call a method on that
 java object to break out of the wait statement, so the initial CFC call
 will then complete etc...

By the way, this method is definitely not recommanded because you'll get
timeout problems.
Moreover, each clients waiting for a request will eat one thread on your
ColdFusion server.
If several Flash clients connect at the same time, they will quickly eat
all your threads and your ColdFusion server will be dead...

In my opinion, the only answers to your problem are :
- periodic calls from the client through Flash Remoting to see if an update
has occured,
Very easy to do, nearly real time (every 10 sec. for example), but it
generates a lot of calls/traffic on the server... definitely not recommanded
for large site with hundred of simultaneous clients.
- socket connection
More complex (requires a socket server), but real time and it reduces
dramatically calls/traffic on ColdFusion Server.


Benoit Hediard
www.benorama.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFC's - Where to put them?

2003-03-15 Thread Benoit Hediard
Indeed, it seems a nice way to organise your CFMX code.
We do something similar (no files under Jrun4/CFMX installation).

Here is our structure (that we use with CFMX Pro/Ent or CFMX for J2EE) :
d:/applications  ColdFusion pages accessible through HTTP
d:/applications/www.myappA.com - an application A (only layout CFM pages and
SWF app), document root of an Apache Virtual host
d:/applications/www.myappB.com - an application B (only layout CFM pages and
SWF app), document root of an Apache Virtual host

d:/applications/CF-INF/  ColdFusion components, lib...
d:/applications/CF-INF/ - XML config files for all the applications
d:/applications/CF-INF/cfcomponents - CFC root (business/data components)
shared across all the applications on the server
d:/applications/CF-INF/cfpagelets - Pagelets root (view components) shared
across all the applications on the server
d:/applications/CF-INF/cflibs - UDF Lib root shared across all the
applications on the server
d:/applications/CF-INF/cftags - CF custom tags shared across all the
applications on the server
d:/applications/CF-INF/lib - Java libraries root
d:/applications/CF-INF/fla - Flash source root

d:/files  Static files
d:/files/www.myappA.com/i18n - properties files for internationalization of
application A
d:/files/www.myappA.com/cache - cache root
d:/files/www.myappA.com/mappingA - an example of Apache mapping for static
files (for example /images)
(in our case, all the static files are on a dedicated files server running
only Apache, files.myappA.com)

d:/database  database files root

Then we add the following mappings in jrun.xml :
virtual-mapping
resource-path/CF-INF/resource-path
system-pathd:/applications/CF-INF//system-path
/virtual-mapping
virtual-mapping
resource-path/com/resource-path
system-pathd:/applications/CF-INF/cfcomponents/com/system-path
/virtual-mapping

We use package naming convention for all our CFC and pagelets (no possible
name conflicts between the different applications).
Like this you can call any CFC by cfinvoke com.mycompany.myCFC,
com.myappA.anotherCFC, any Lib by cfimport /CF-INF/lib/mylib.cfm ...

Benoit Hediard
www.benorama.com


PS : for the application name, we use the following convention :
- www.myappA.local : application running on the local machine (usually
developer's one),
- www.myappA.dev : application running on the development server (code
reference with source control),
(- www.myappA.test : application running on the test/staging server if you
have one)
- www.myapp.com : application running on the production server(s).


 -Message d'origine-
 De : Sean A Corfield [mailto:[EMAIL PROTECTED]
 Envoyé : samedi 15 mars 2003 09:28
 À : CF-Talk
 Objet : Re: CFC's - Where to put them?


 On Saturday, Mar 15, 2003, at 00:12 US/Pacific, Dave Carabetta wrote:
  As for messing with WEB-INF - I would definitely not recommend that!
  Can you briefly elaborate why?

 I'd consider it a 'system directory' and subject to change without
 notice... :)

  Here's what we do (for CFMX for J2EE on JRun 4):
 
  /data
  /www
  /appserver
  /cfmx
  /config
  ...mapped in CF Admin...
  /extensions
  /components
  ...in Custom Tag Paths...
  ...tree of CFCs...
  /customtags
  ...in Custom Tag Paths...
  /includes
  ...mapped in CF Admin...
  /wwwroot
  ...cfm files...
  /jrun
  ...JRun 4 installation...
  /servers
  /cfmx1
  ...server instance...
  /cfmx2
  ...server instance...
  /lib
  ...shared (Java) libraries...
  /httpd
  /apache
  ...Apache 1.3.x for gif/html etc...
  /apache2
  ...Apache 2.0.44 for dispatching request...
  /sites
  /www.macromedia.com
  /docs
  ...HTML/GIF assets...
 
  Can I be a pain in the a** and ask you to clarify the above directory
  structure? I'm a little confused as to where some of these directories
  are
  in relation to each other.

 Oh, didn't the tabs show the indentation?

 /data/www/appserver/cfmx/ - all the CF source code
 /data/www/appserver/cfmx/config/ - XML / cfm configuration files
 /data/www/appserver/cfmx/extensions/components/ - CFC tree
 /data/www/appserver/cfmx/extensions/customtags/ - custom tags
 /data/www/appserver/cfmx/extensions/includes/ - mapped directory of
 includes
 /data/www/appserver/cfmx/wwwroot/ - cfm docroot
 /data/www/appserver/jrun/ - JRun 4 installation
 /data/www/appserver/jrun/servers/cfmx1/ - a CFMX for J2EE server
 instance
 /data/www/appserver/jrun/servers/cfmx2/ - a CFMX for J2EE server
 instance
 /data/www/appserver/jrun/servers/lib/ - Java libraries and config files
 used by our CF apps
 /data/www/httpd/apache/ - Apache 1.3.x installation
 /data/www/httpd/apache2/ - Apache 2.0.44 installation
 /data/www/sites/www.macromedia.com/docs/ - HTML docroot

  Why do you
  feel that the separation you've come up with is the ideal setup?

 Because we have many servers with many different software install
 configurations, we have a standardized directory structure for
 installing pretty much anything. It works for us.

 Having the CF stuff outside JRun

RE: CFC's - Where to put them?

2003-03-15 Thread Benoit Hediard
Sorry, some typing errors at the end of the previous message :
... any Lib by cfinclude /CF-INF/cflibs/someLib.cfm, any custom tags by
cfimport /CF-INF/cftags/ui ...

Benoit Hediard

 -Message d'origine-
 De : Benoit Hediard [mailto:[EMAIL PROTECTED]
 Envoyé : samedi 15 mars 2003 11:33
 À : CF-Talk
 Objet : RE: CFC's - Where to put them?


 Indeed, it seems a nice way to organise your CFMX code.
 We do something similar (no files under Jrun4/CFMX installation).

 Here is our structure (that we use with CFMX Pro/Ent or CFMX for J2EE) :
 d:/applications  ColdFusion pages accessible through HTTP
 d:/applications/www.myappA.com - an application A (only layout
 CFM pages and
 SWF app), document root of an Apache Virtual host
 d:/applications/www.myappB.com - an application B (only layout
 CFM pages and
 SWF app), document root of an Apache Virtual host

 d:/applications/CF-INF/  ColdFusion components, lib...
 d:/applications/CF-INF/ - XML config files for all the applications
 d:/applications/CF-INF/cfcomponents - CFC root (business/data components)
 shared across all the applications on the server
 d:/applications/CF-INF/cfpagelets - Pagelets root (view components) shared
 across all the applications on the server
 d:/applications/CF-INF/cflibs - UDF Lib root shared across all the
 applications on the server
 d:/applications/CF-INF/cftags - CF custom tags shared across all the
 applications on the server
 d:/applications/CF-INF/lib - Java libraries root
 d:/applications/CF-INF/fla - Flash source root

 d:/files  Static files
 d:/files/www.myappA.com/i18n - properties files for
 internationalization of
 application A
 d:/files/www.myappA.com/cache - cache root
 d:/files/www.myappA.com/mappingA - an example of Apache mapping for static
 files (for example /images)
 (in our case, all the static files are on a dedicated files server running
 only Apache, files.myappA.com)

 d:/database  database files root

 Then we add the following mappings in jrun.xml :
 virtual-mapping
 resource-path/CF-INF/resource-path
 system-pathd:/applications/CF-INF//system-path
 /virtual-mapping
 virtual-mapping
 resource-path/com/resource-path
 system-pathd:/applications/CF-INF/cfcomponents/com/system-path
 /virtual-mapping

 We use package naming convention for all our CFC and pagelets (no possible
 name conflicts between the different applications).
 Like this you can call any CFC by cfinvoke com.mycompany.myCFC,
 com.myappA.anotherCFC, any Lib by cfimport /CF-INF/lib/mylib.cfm ...

 Benoit Hediard
 www.benorama.com


 PS : for the application name, we use the following convention :
 - www.myappA.local : application running on the local machine (usually
 developer's one),
 - www.myappA.dev : application running on the development server (code
 reference with source control),
 (- www.myappA.test : application running on the test/staging server if you
 have one)
 - www.myapp.com : application running on the production server(s).


  -Message d'origine-
  De : Sean A Corfield [mailto:[EMAIL PROTECTED]
  Envoyé : samedi 15 mars 2003 09:28
  À : CF-Talk
  Objet : Re: CFC's - Where to put them?
 
 
  On Saturday, Mar 15, 2003, at 00:12 US/Pacific, Dave Carabetta wrote:
   As for messing with WEB-INF - I would definitely not recommend that!
   Can you briefly elaborate why?
 
  I'd consider it a 'system directory' and subject to change without
  notice... :)
 
   Here's what we do (for CFMX for J2EE on JRun 4):
  
   /data
   /www
   /appserver
   /cfmx
   /config
   ...mapped in CF Admin...
   /extensions
   /components
   ...in Custom Tag Paths...
   ...tree of CFCs...
   /customtags
   ...in Custom Tag Paths...
   /includes
   ...mapped in CF Admin...
   /wwwroot
   ...cfm files...
   /jrun
   ...JRun 4 installation...
   /servers
   /cfmx1
   ...server instance...
   /cfmx2
   ...server instance...
   /lib
   ...shared (Java) libraries...
   /httpd
   /apache
   ...Apache 1.3.x for gif/html etc...
   /apache2
   ...Apache 2.0.44 for dispatching request...
   /sites
   /www.macromedia.com
   /docs
   ...HTML/GIF assets...
  
   Can I be a pain in the a** and ask you to clarify the above directory
   structure? I'm a little confused as to where some of these directories
   are
   in relation to each other.
 
  Oh, didn't the tabs show the indentation?
 
  /data/www/appserver/cfmx/ - all the CF source code
  /data/www/appserver/cfmx/config/ - XML / cfm configuration files
  /data/www/appserver/cfmx/extensions/components/ - CFC tree
  /data/www/appserver/cfmx/extensions/customtags/ - custom tags
  /data/www/appserver/cfmx/extensions/includes/ - mapped directory of
  includes
  /data/www/appserver/cfmx/wwwroot/ - cfm docroot
  /data/www/appserver/jrun/ - JRun 4 installation
  /data/www/appserver/jrun/servers/cfmx1/ - a CFMX for J2EE server
  instance
  /data/www/appserver/jrun/servers/cfmx2/ - a CFMX for J2EE server
  instance
  /data/www/appserver/jrun/servers/lib/ - Java libraries and config files
  used

RE: CFC's - Where to put them?

2003-03-14 Thread Benoit Hediard
Indeed...
Sorry, if the site is not up-to-date.

From now on, what I do is that I create a CF-INF directory instead of
WEB-INF.

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Thomas Chiverton [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 14 mars 2003 11:14
 À : CF-Talk
 Objet : Re: CFC's - Where to put them?


 On Wednesday 12 Mar 2003 18:37 pm, Gyrus wrote:
  http://www.benorama.com/coldfusion/patterns/part8.htm

 PS : I hope that macromedia won't use those folders in future release of
 CFMX...

 Not a good sign... Do MM recomend fidderling with WEB-INF ?

 --
 Tom C
 Land of the free, home of the brave... you have to be brave to
 live there and
 enjoy the freedoms
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Don't edit xml config files with DWMX

2003-03-14 Thread Benoit Hediard
FYI, I don't know if it is a known issue, but as I encountered this problem
right now, I prefer to share it : do not edit jrun.xml file with Dreamweaver
MX (and probably other config xml file) .

It will mess up your file by removing ending / at some portion of the files
resulting in a non-XML compliant file.
Result : a crashed installation (services won't start anymore) until you
correct the damaged file manually with Notepad...

Benoit Hediard
www.benorama.com

PS : I had this problem with jrun.xml file on Jrun4 and CFMX for J2EE (on a
new Jrun server) and DWMX 6.1 on Win.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Apache 2.0.44 and CFMX Server HELP!!

2003-03-13 Thread Benoit Hediard
Indeed, there is no test.cfm page in htdocs.
It is up to you to create a simple one to test your ColdFusion installation
with Apache.

As for installing Apache before or after CFMX, I don't think that it is
important.

What does appear in the command prompt when you run the .bat file?
(if there is any problem it should be indicated)

Benoit Hediard

 -Message d'origine-
 De : Juan Nava [mailto:[EMAIL PROTECTED]
 Envoyé : jeudi 13 mars 2003 23:00
 À : CF-Talk
 Objet : RE: Apache 2.0.44 and CFMX Server HELP!!


 Benoit,
   Wouldn't I need to install Apache first and then
 CFMX for this to work.  Following these steps, the
 .bat file doesnt put anything in the httpd file and
 there is no test.cfm file in htdocs.  Any
 suggestoins??
 Juan
 --- Benoit Hediard [EMAIL PROTECTED] wrote:
  Hi Juan,
 
  I just installed CFMX + Apache 2.0.44 on Windows
  2000 Server yesterday.
  It worked fine.
  (I've also installed Jrun4 SP1a + CFMX for J2EE +
  Apache 2.0.44 on WinXP
  Home, it also worked fine)
 
  Steps :
  - install CFMX with the default integrated web
  server,
  - check your CFMX installation (access CF
  Administrator),
  - run the updater 2,
  - install Apache 2,
  - check you Apache installation (access the default
  index.html page),
  - edit
  c:\CFusionMX\bin\connectors\Apache_connector.bat and
  change
  ..\program files\apache group\apache\.. to
  ..\program files\apache
  group\apache2\..
  - run the Apache_connector.bat file,
  - check your CFMX installation with a test.cfm page
  in Apache htdocs.
 
  It should work...
 
  If you need to remove any connectors (IIS or
  Apache), you can run
  Remove_ALL_connectors.bat.
 
  Good luck.
 
  Benoit Hediard
  www.benorama.com
 
  PS : FYI, the .bat file should add the following
  lines in your httpd.conf
 
  # JRun Settings
  LoadModule jrun_module
  C:/CFusionMX/runtime/lib/wsconfig/1/mod_jrun20.so
  IfModule mod_jrun20.c
  JRunConfig Verbose false
  JRunConfig Apialloc false
  JRunConfig Ssl false
  JRunConfig Ignoresuffixmap true
  JRunConfig Serverstore
 
 C:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store
  JRunConfig Bootstrap 127.0.0.1:51010
  #JRunConfig Errorurl optionally redirect to
  this URL on errors
  AddHandler jrun-handler .cfm .cfc .cfml .jsp
  .jws
  /IfModule
 
   -Message d'origine-
   De : Juan Nava [mailto:[EMAIL PROTECTED]
   Envoyé : mercredi 12 mars 2003 22:19
   À : CF-Talk
   Objet : RE: Apache 2.0.44 and CFMX Server HELP!!
  
  
   Ok.  I reinstalled everything.  Apache ran fine.
  I
   installed CFMX and the updater, and configured
  Apache
   for CFMX.  Apache still wont start.  Same problem
  with
   module compatibility.
   :(
  
   --- Lincoln Milner [EMAIL PROTECTED]
  wrote:
   
  
 
 http://www.macromedia.com/software/coldfusion/special/updater/faq/
   
-Original Message-
From: Juan Nava [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 3:25 PM
To: CF-Talk
Subject: RE: Apache 2.0.44 and CFMX Server
  HELP!!
   
   
Do you have a link for that?  I havent been able
  to
find it.
   
--- Lincoln Milner [EMAIL PROTECTED]
  wrote:
 Do you have Updater 2 installed?  You need
  that to
 work with the newer versions (i.e., after
  2.0.40)
of
 Apache...

 -lincoln

 -Original Message-
 From: Juan Nava [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 12, 2003 3:11 PM
 To: CF-Talk
 Subject: Apache 2.0.44 and CFMX Server HELP!!


 Hello all.  Has anyone successfully installed
  CFMX
 on
 Apache 2.0.44??  Apache wont start after
configuring
 it for CFMX.  It says the mod_jrun20 file is
  not
 compatible with this version of Apache.  Any
 suggestions???  Thank you very much in
  advance.
 --Juan


  __
 Do you Yahoo!?
 Yahoo! Web Hosting - establish your business
online
 http://webhosting.yahoo.com


   
   
   
  
  
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Apache 2.0.44 and CFMX Server HELP!!

2003-03-12 Thread Benoit Hediard
Hi Juan,

I just installed CFMX + Apache 2.0.44 on Windows 2000 Server yesterday.
It worked fine.
(I've also installed Jrun4 SP1a + CFMX for J2EE + Apache 2.0.44 on WinXP
Home, it also worked fine)

Steps :
- install CFMX with the default integrated web server,
- check your CFMX installation (access CF Administrator),
- run the updater 2,
- install Apache 2,
- check you Apache installation (access the default index.html page),
- edit c:\CFusionMX\bin\connectors\Apache_connector.bat and change
..\program files\apache group\apache\.. to ..\program files\apache
group\apache2\..
- run the Apache_connector.bat file,
- check your CFMX installation with a test.cfm page in Apache htdocs.

It should work...

If you need to remove any connectors (IIS or Apache), you can run
Remove_ALL_connectors.bat.

Good luck.

Benoit Hediard
www.benorama.com

PS : FYI, the .bat file should add the following lines in your httpd.conf

# JRun Settings
LoadModule jrun_module C:/CFusionMX/runtime/lib/wsconfig/1/mod_jrun20.so
IfModule mod_jrun20.c
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap true
JRunConfig Serverstore
C:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl optionally redirect to this URL on errors
AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws
/IfModule

 -Message d'origine-
 De : Juan Nava [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 12 mars 2003 22:19
 À : CF-Talk
 Objet : RE: Apache 2.0.44 and CFMX Server HELP!!


 Ok.  I reinstalled everything.  Apache ran fine.  I
 installed CFMX and the updater, and configured Apache
 for CFMX.  Apache still wont start.  Same problem with
 module compatibility.
 :(

 --- Lincoln Milner [EMAIL PROTECTED] wrote:
 
 http://www.macromedia.com/software/coldfusion/special/updater/faq/
 
  -Original Message-
  From: Juan Nava [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 12, 2003 3:25 PM
  To: CF-Talk
  Subject: RE: Apache 2.0.44 and CFMX Server HELP!!
 
 
  Do you have a link for that?  I havent been able to
  find it.
 
  --- Lincoln Milner [EMAIL PROTECTED] wrote:
   Do you have Updater 2 installed?  You need that to
   work with the newer versions (i.e., after 2.0.40)
  of
   Apache...
  
   -lincoln
  
   -Original Message-
   From: Juan Nava [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, March 12, 2003 3:11 PM
   To: CF-Talk
   Subject: Apache 2.0.44 and CFMX Server HELP!!
  
  
   Hello all.  Has anyone successfully installed CFMX
   on
   Apache 2.0.44??  Apache wont start after
  configuring
   it for CFMX.  It says the mod_jrun20 file is not
   compatible with this version of Apache.  Any
   suggestions???  Thank you very much in advance.
   --Juan
  
   __
   Do you Yahoo!?
   Yahoo! Web Hosting - establish your business
  online
   http://webhosting.yahoo.com
  
  
 
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Pros Cons of RIAs

2003-03-07 Thread Benoit Hediard
If you need some Pros and concrete RIAs examples, this article is very good
:
http://www.macromedia.com/devnet/logged_in/thale_rias.html

Have a look at all the examples and try to build them with plain HTML... for
most of them, it is nearly impossible.

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 7 mars 2003 20:15
 À : CF-Talk
 Objet : Pros  Cons of RIAs


 So, in all the responses I've gotten, I've seen RIAs are not for you
 then RIAs really don't make for good e-commerce. So my question is:
 When is an RIA justified? When is there a benefit to create an RIA over
 an HTML application? In the responses I've gotten, there has only been
 one Pro, the optimization of bandwidth. I think the other is quite
 obvious, although left unsaid, aesthetics.

 So far I my list of cons is:
 - More expensive to develop
 - Requires more developers
 - No application consistency
 - Requires a plug-in
 - Initial Load Times Increased Dramatically
 - Requirements for internet connection and computer speeds increased
 - We rely on a sole company to continue and support the technology (MM)
 rather than a consensus (WC3) *No one can buy the wc3 and discontinue
 HTML

 My list of pros:
 - After initial load bandwidth can be used more efficiently
 - Aesthetics

 Do we have any case studies comparing RIAs to HTML applications? I've
 heard the pitch numerous times from MM in the last year. I've been
 hearing it for about 4 year (Generator).

 Seriously I'm not trying to trash MM or RIAs...  I'm just trying to
 develop a set of rules so I know when it _is_ justified to develop and
 RIA.

 Let's please keep this out of the realms of business politics of MM and
 how they treat developers and have a discussion solely on RIAs.

 Adam Wayne Lehman
 Web Systems Developer
 Johns Hopkins Bloomberg School of Public Health
 Distance Education Division


 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 07, 2003 11:34 AM
 To: CF-Talk
 Subject: RE: The New Macromedia Website

   However, to put things bluntly, HTML sucks. It sucks really
   bad. It's the worst thing to happen to application interfaces
   in the short history of computing, next to the QWERTY keyboard.
   The success of HTML interfaces has been in spite of this
   awful step backwards in interface design, not because of it.
 
  HTML doesn't suck. It's a beautifully simple means of presenting
  textual information. And with CSS, the potential is there for
  it to be presented just as elegantly as any print-based layout.
  However, HTML wasn't designed to function as an application
  user interface. Which then gets to everything else you said.

 Yes, I just assumed that people would understand that I was criticizing
 HTML
 as an interface for applications. It's fine for content.

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


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: New MM.com

2003-03-05 Thread Benoit Hediard
Congratulations to Sean and all the team.
The new site is great.

I like very much the new design and the way the site and the information are
organized.

One little simple detail that I enjoy, it remembers your latest selection in
the home page.
For example, if you have choosen Products  ColdFusion MX and Solutions 
Developers, the next time you come, the home page will have them already
selected (I suppose this is based on new Shared Objects capabilities).
Very simple but efficient personalization...

Ok, it is a little bit slow on my PIII 500... but I'm sure it will get
better.

As for the back/forward buttons in Flash, it seems to be pretty well handled
by the 4 RIAs (home, exchange, membership and download).

For the moment, it seems to be stable... I haven't seen any error pages...
ColdFusionMX+FlashMX unleashed upon the masses!

Bravo!

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Jochem van Dieten [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 5 mars 2003 14:02
 À : CF-Talk
 Objet : Re: New MM.com


 Paul Hastings wrote:
  i come from a rather bandwidth poor part of the world  was prepared for
  p*ss-poor performance. i was surprised at how well bandwidth
 was used, even
  the slower portions didn't seem that slow.

 Overall, I find the site rather slow when using the Flash version. I
 don't know if there is some traffic shaping that allows only a limited
 number of connections/limited speed or if Flash gets all the components
 sequentially or something, but there are very few sites that take 4
 seconds to load (yes, I am spoiled). CPU and the connection never max
 out on my end.
 As a result, I switched to the HTML version.

 Jochem

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: New Macromedia.com launched!

2003-03-05 Thread Benoit Hediard
Come on guys... it is a Beta version.
Is there only never happy people on this list?

 Marcromedia needs to stop it with all their flash everywhere...
 it's bad design, slow and confusing in many regards...

I disagree about the bad design and confusing things arguments (...
agree about the slow one).
The organisation of the site seems to be much clear than the previous one.

The home page is not intended to ColdFusion Developers... but any kind of
audience, that's why it requires a flashy brand/corporate lookfeel.
If you don't like it, just go directly to
http://www.macromedia.com/devnet/mx/coldfusion/, you don't have to go
through it.
(there was already a big marketing flash movie in the previous home page)

 They keep changing the groupings of things as well ... quite a
 pain this morning to find the Exchanges... had to use the site map

Not very hard...
Select Product  ColdFusion MX on the home page, and then you'll get a
direct access to the exchange.
(and it will remember this setting)

 That corner loading/initiaing thing is annoying and doesn't make
 me feel the site is any more responsive...

 Hopefully they revise this...

 Oh and the Exchange by default shows some goofy collection of
 files initially... you have to go to a right side of screen block
 to select show newest...  a change from how it historically has worked...

Once you have selected Newest, it will also remember this settings for
your next visit (no changes to your historical habits).

Come on guys, move forward...


Benoit Hediard
www.benorama.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: New Macromedia.com launched!

2003-03-05 Thread Benoit Hediard
 If it's a beta version, why is it public then?

Sometimes when you are trying to experiment new things, you don't have any
choices than to experiment live.

Look at Google News (http://news.google.com/), it has been launch to the
public several months ago (nearly a year) and it is still Google News
Beta.

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Scott Wilhelm [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 5 mars 2003 17:21
 À : CF-Talk
 Objet : RE: New Macromedia.com launched!


 If it's a beta version, why is it public then?

 I mean, I wouldn't think that it's a good practice to put your beta's
 directly out to the public.

 Just my 2 cents.

 Scott

 -Original Message-
 From: Benoit Hediard [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 11:00 AM
 To: CF-Talk
 Subject: RE: New Macromedia.com launched!


 Come on guys... it is a Beta version.
 Is there only never happy people on this list?

  Marcromedia needs to stop it with all their flash everywhere...
  it's bad design, slow and confusing in many regards...

 I disagree about the bad design and confusing things arguments (...
 agree about the slow one).
 The organisation of the site seems to be much clear than the previous
 one.

 The home page is not intended to ColdFusion Developers... but any kind
 of
 audience, that's why it requires a flashy brand/corporate lookfeel.
 If you don't like it, just go directly to
 http://www.macromedia.com/devnet/mx/coldfusion/, you don't have to go
 through it.
 (there was already a big marketing flash movie in the previous home
 page)

  They keep changing the groupings of things as well ... quite a
  pain this morning to find the Exchanges... had to use the site map

 Not very hard...
 Select Product  ColdFusion MX on the home page, and then you'll get a
 direct access to the exchange.
 (and it will remember this setting)

  That corner loading/initiaing thing is annoying and doesn't make
  me feel the site is any more responsive...
 
  Hopefully they revise this...
 
  Oh and the Exchange by default shows some goofy collection of
  files initially... you have to go to a right side of screen block
  to select show newest...  a change from how it historically has
 worked...

 Once you have selected Newest, it will also remember this settings for
 your next visit (no changes to your historical habits).

 Come on guys, move forward...


 Benoit Hediard
 www.benorama.com


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: RE: New Macromedia.com launched!

2003-03-05 Thread Benoit Hediard
Hi Mike,

 Furthermore, it fails some of the most basic requirements (i.e.
 document validity).

I don't think that XHTML compliance is so important, as soon as the site
provides XML-compliant feeds of its content.

 Second, Flash, in of itself, may not be bad design or confusing,
 but it certainly is not good design to bury flashless design
 under accessibility. Where's the user control? Where is the
 alternative design? Moreover, it's not good design to force the
 download of a new plugin.  Frankly, it didn't work when I said no.

 Moreover, while the organization is better, it's still not good.
 If the complaint is there's a lot there, check out IBM.com.

Sorry, but in my opinion, IBM.com is a very bad example in terms of
navigation and user interface.
(I know, it is a huge site and the task is very complex...)

Have you ever tried to find content in it?

Few days ago, I was looking at their PLM section, and depending on where I
was clicking, the left navigation menu was not the same (depending on which
server I was)...

 Finally, have you tried to get to the gallery without Flash or
 Javascript? Good luck.

No, I haven't tried.
Very few people disable Javascript (perhaps some web developers... ;) ).
As for Flash, MM is trying to push their RIAs concept, so this is normal.

 Frankly, There's no excuse.

Nobody is perfect...

We will see what MM can do during the following months to improve all of
this, especially the speed.


Benoit Hediard
www.benorama.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: New Macromedia.com launched!

2003-03-05 Thread Benoit Hediard
Please, stop the debate about Opera and its 10% Opera marketshare.

I don't know where did you get those 10%.
In most browser statistics, Opera is below 1%.

Example :
WebSideStory's figures were compiled independently based on a random daily
sample of 20 million visitors to thousands of Web sites that use its HitBox
visitor analysis service. According to data from Monday, 3.4 percent of the
visitors were using a Netscape browser, 96 percent using IE and less than
one percent were using the Opera browser from Opera Software ASA. From day
to day the sample shows some fluctuation, but over the past several weeks
Netscape usage hasn't been higher than 4 percent, Johnston said.

Benoit Hediard
www.benorama.com


 -Message d'origine-
 De : Scott Wilhelm [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 5 mars 2003 18:21
 À : CF-Talk
 Objet : RE: New Macromedia.com launched!


 That's about the dumbest thing I've heard in the conversations today.

 If 10% of the market uses Opera, it's an established browser...Why
 shouldn't a site test for it?  Especially a company such as Macromedia.

 They screwed up big time.  They designed a site that looks good, tries
 to do some fancy stuff, but falls short on the big picture, and now
 needs to work on damage control.

 Scott

 -Original Message-
 From: Bruce Sorge [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 12:02 PM
 To: CF-Talk
 Subject: Re: New Macromedia.com launched!


 You know that MM is not the only site that does not work well with
 Opera.
 Wells Fargo Bank's On-Line banking does not work well either. There are
 a
 few others that do not work with Opera, so MM is not the only one out
 there
 that is not checking for that browser. Why not apply yourself to the QA
 department if Opera compatibility is such an issue?
 Personally I do not have any problems loading the new site in IE. I am
 viewing it on a Dell Inspiron, 1.5 GHZ Pentium 4 processor with a half a
 gig
 of RAM, and it is running just fine. Maybe Opera needs to get on board
 and
 make their browser work with other companies sites?


 - Original Message -
 From: Bill Wheatley [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 10:43 AM
 Subject: Re: New Macromedia.com launched!


  That is the biggest load of BS i've heard all day. Its a website!
  Test the crap before you upload it, if you dont have a QA deptment get
 one.
  If you do have one fire the people because they obviously don't know
 what
  they are doing.
  You can't release a site that doesn't even let you see the front page
 with
 a
  browser like Opera.
 
  I run it on IE and its slow as anything. Its like macromedia never
 stops
 to
  think before it releases things lol.
 
  Hopefully they fix the opera thing quickly. I mean its only a browser
 with
  10%, and growing, of the market.
 
 
 
 
  - Original Message -
  From: Christian Cantrell [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, March 05, 2003 11:12 AM
  Subject: Re: New Macromedia.com launched!
 
 
  The new macromedia.com is certainly a next generation site, and
  unfortunately, there are going to be issues like the ones you mention
  below.  I hope people can take the time to let us know when they find
  things like this by going to the following URL:
 
  http://www.macromedia.com/macromedia/mm_feedback.html
 
  I remember when I first used OS X (also a complete re-write and next
  generation project) it was VERY rough at first, and had issue ranging
  from performance to compatibility.  Over time, however, it has really
  been refined into an excellent and extremely advanced OS.  To some
  extent, these types of issues are the price you pay when you take big
  steps forward.  Someone has to be pushing the envelope, though, and
 I'm
  glad it's Macromedia.
 
  Christian
 
  On Wednesday, March 5, 2003, at 10:50 AM, Jillian Carroll wrote:
 
   I'm surprised MM would launch this site given:
  
   - Jakob Neilson (and other usability professionals) are going to
   be watching
   - They are trying to 'sell sell sell' the idea that Flash has
   matured and is now faster, friendlier, etc.
  
   For my own interest, I checked out the site in several browsers:
  
   - NS 6.2.3 and 7.1 (seems to work nearly as I imagine is intended)
   - NS 4.79 (very little of the site can be seen)
   - NS 4.78 (much like 4.79, very little can be seen, and the links
   that are visible, aren't functional)
  
   - Mozilla 1.1 (depricates nicely w/o Flash in this browser)
  
   - IE 6 (the links in the main 'top' bar don't work properly)
  
   It's unfortunate.
  
   --
   Jillian
  
   -Original Message-
   From: Robertson-Ravo, Neil (RX)
   [mailto:[EMAIL PROTECTED]
   Sent: March 5, 2003 9:21 AM
   To: CF-Talk
   Subject: RE: New Macromedia.com launched!
  
  
   I can't say I am too happy with the new site (it was nice to
   look at first off and in all honesty: It seems a gimmick),
   but I cant see

RE: Overriding Default Flash Gateway in Object tag

2003-03-04 Thread Benoit Hediard
You could use FlashVars param to pass a variable with the gateway name :
object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354

codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b##version=6,0,0,0
width=540
height=400
id=FlashApp
param name=movie value=myApp.swf
param name=FlashVars value=gateway=#theGateway#var2=#avalue2#
...
/object

Another (better) way is to have an xml config file at the same level as your
swf file, that you can load during the movie start.

Benoit Hediard
www.benorama.com


 -Message d'origine-
 De : Stacy Young [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 4 mars 2003 16:19
 À : CF-Talk
 Objet : Overriding Default Flash Gateway in Object tag


 For the lif of me I can find the reference to where I saw this...isn't
 there a specific variable u can set in the OBJECT tag of a flash movie
 to pass in the flash gateway? (makes it easier to test across multiple
 environments)

 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.

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: OT - Fusebox for Flash?

2003-02-28 Thread Benoit Hediard
Indeed, the 2 first recommandations to start to write clean Flash code are
:
- stop thinking procedural programming  think OO programming and package
all you class in external .as files,
You might check www.gmodeler.com for UML ActionScript class modeling.
- stop thinking timeline-based programming  think event-based programming
with broacaster/listener mechanism.
There is an undocumented ASBroadcaster class, but the best is to rewrite it
(you can find a Broadcaster.as class in the Petmarket sample application).
A broadcaster would act as the controller if you use a Model View Controller
approach.

Don't forget :
- the Flash Components to encapsulate and build reusable client components,
(you might check the new Branden Hall's Outlet component in order to build
external shared components libraries :
http://www.waxpraxis.org/downloads/outlet.zip)
- the drawing APIs to dynamically build your interface.

At the end, you'll spend most of your time coding ActionScript.
That's why a lot of people are using an external ActionScript editor.
It might be DreamweaverMX or SciTE|Flash (excellent!
http://www.bomberstudios.com/sciteflash/)

Benoit Hediard
www.benorama.com


 -Message d'origine-
 De : Sean A Corfield [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 28 février 2003 06:08
 À : CF-Talk
 Objet : Re: OT - Fusebox for Flash?


 On Thursday, Feb 27, 2003, at 09:55 US/Pacific, dwayne wrote:
  With Flash on the other hand the Directory Structure is no longer the
  starting point for organizing the code.

 It can be. Flash development seems to be shifting toward having almost
 the 'code' in real ActionScript files - on the file system and
 organized into components and libraries that you then assemble into
 movies. Most of the work our Flash application development team is
 doing uses single frame movies (so the whole timeline nonsense can be
 effectively ignored) than include one or more .as files. Everything of
 importance lives in human-readable source code, under version control.

  If you are worth your weight in code, I'm sure you can agree that all
  well developed applications require order and organization.

 Agreed.

  With out the directory we are left to depend on Timelines and
  Libraries.

 You can pretty much ignore those and work just in ActionScript,
 organizing your files and classes in directory structures as needed.

  The whole timeline concept seems like HTML pages that cascade and
  disappear and reappear, that underlay and overlay, and It's just
  confusing to me.

 I agree that timeline-based programming is a major paradigm shift for
 many developers. Fortunately it can be pretty much ignored :)

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

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

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: OT - Fusebox for Flash?

2003-02-27 Thread Benoit Hediard
Good question...
Many people are struggling with that right now...

I don't think that there isn't any structured development methodology for
FlashMX.
Building a Flash Widgets with MX is great and pretty straightforward (like
all the demos of RIA and Flash Remoting...).
But building real and elegant complex Flash Applications seems to be for
the moment very difficult or requires extremely deep knowledges of FlashMX.

The few resources on the subject are very low level recommandations (OOP,
MVC...) and do not provide any suggestions for the big picture.

Look at the PetMarket...
It is the only complex RIA available right now from MM.
There is some articles on how they've build it.
But still, it is very hard to get into it.

I spent sometimes few month ago to try to build my own framework/methodology
for FlashMX, using OOP, MVC, Flash Components + Remoting and
broacasters/listeners concepts, but it was just a basic prototype and I am
still not very happy with the result (too complex, too much lines of
code...).
I'll try to re-work on it when I'll have some time in few month and might
present some of its concepts at CF-Europe in may (in London).

Some people managed to do it like Grant Skinner and its gModeler
(www.gmodeler.com) : one of the most amazing Flash Application I've ever
seen!
gModeler is built on top of FlashOS2
(http://www.gskinner.com/site1/default.asp) :
FlashOS2 is the successor to FlashOS by Grant Skinner. It is a collection
of assets that are encapsulate, reusable, and have documented APIs. FlashOS2
allows for very rapid online application development, as it manages common
elements like menus, menu bars, windows, dialogs, tooltips, file management,
settings loading, asset loading, content display, screen management and
more.

To have a structured development methodology for FlashMX is very crucial for
the future of RIA and Macromedia should really try to bring an answer to
this demand (and I suppose that MM is very aware of this problem).
CF Developers would like to be able to build applications more advanced than
simple Flash Widgets.

So? Does anyone have heard about structured development methodologies for
FlashMX+ColdFusionMX?

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : dwayne [mailto:[EMAIL PROTECTED]
 Envoyé : jeudi 27 février 2003 10:43
 À : CF-Talk
 Objet : OT - Fusebox for Flash?


 Is this possible?  I've been looking for a structured development
 methodology for rich-applications using Flash.  To me, Fusebox
 offers a solid framework for organizing and maintaing code. Is
 there such a framework for Flash?

 I've been tinkering with Flash-Remoting and ColdFusion Components
 for the past 6 months now but I just can't get with the all over
 the place coding.


 Dwayne Cole, MS in MIS, MBA
 Florida AM University
 Certified Advanced ColdFusion Developer



 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: OT - Fusebox for Flash?

2003-02-27 Thread Benoit Hediard
Hi Dave,

 I think it's important to separate methodology from framework. There
 certainly are methodologies for building Flash applications.
 However, there
 are no well-established frameworks. Lots of Flash developers are building
 Model-View-Controller or Model-View-Presenter apps in Flash, but
 there's no
 equivalent of Struts for Flash, to my knowledge.

Indeed, this is what we're complaining about, there isn't any
well-established framework to build applications in FlashMX till now.
I am not sure that there is any well-established methodologies either
(MVC/MVP are only design patterns), especially with Remoting involved.

 You might find this book useful:
 http://www.wheelmaker.org/

http://www.amazon.com/exec/obidos/ASIN/0735711836/ref=ase_wheelmaker-20/104-
8992403-7141547

Yep, this is an excellent book, one of the best in this area, highly
recommended.

Don't get me wrong, I love Flash.
I was only responding to the fact that many CF Developers encouter problems
when they try to build RIAs.
They don't know from where to start, even if they have understood Flash
Remoting, Flash Components and OOP ActionScript principles.
Except Petmarket, there is no clear guidelines/blueprints/best practices on
how to architect the client side of a real RIA (and not a simple Flash
Widget).

It has always been the strength and weakness of Flash : the freedom it
offers you...


Benoit Hediard
www.benorama.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: calling cfc's

2003-02-22 Thread Benoit Hediard
You could use a JRun virtual mapping :
- edit c:/CFusionMX/wwwroot/WEB-INF/jrun-web.xml,
- add the com virtual mapping :
  virtual-mapping
resource-path/com/resource-path
system-pathE:/cfcomponents/com/system-path
  /virtual-mapping

(if your CFC naming convention is com.mycompany.myCFC)

Like this you can call your CFCs where ever you're :
cfinvoke
component=com.mycompany.myCFC
...

If you want to change the CFCs location, just edit jrun-web.xml.

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Marlon Moyer [mailto:[EMAIL PROTECTED]
 Envoyé : vendredi 21 février 2003 19:58
 À : CF-Talk
 Objet : calling cfc's


 How do you call a cfc if you're not 100% sure what the site directory is
 going to be.  Is there anyway to call a cfc relatively.


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Standalone CFMX/FlashMX app

2003-02-14 Thread Benoit Hediard
Hi Bryan,

For your information, if you just want a standalone FlashMX app with
database connectivity, you might check MDM Flash Studio Pro
(http://www.multidmedia.com/software/flashstudio/).

They allow you to generate a Projector with added capabilities such as
MySQL and Access Database Support.

Connect Directly to any MySQL or Access Database without the need of any
serverside scripts or local IIS!
Connect directly to a database to read and write to your database!
SQL Statement support - unrivaled functionality!

I never used it but it looks pretty interesting.

Good luck!

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Bryan Stevenson [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 14 février 2003 18:17
 À : CF-Talk
 Objet : Standalone CFMX/FlashMX app


 Hey All,

 Well I'm embarking on an app that is intended to run off a local database
 with the functionality to sync with a central connected database when the
 app is connected to the Net.

 So I'm wondering if:

 1) Anyone has any experience in this arena they'd like to share
 2) Would a DNSless connection to the local DB be the way to go,
 or are there
 other methods/suggestions
 3) Any issues I should be aware of when running a Flash MX through the
 standalone player?
 4) I guess the big grey area is CF running standalone???

 Lets assume Access (just for proof of conceptwill probably end up as
 SQLAnywhere)

 Thanks to all that pitch in their 2 cents ;-)

 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

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: CFFORM vs FORM

2003-02-11 Thread Benoit Hediard
I don't think that the question should be CFForm is good or bad?.
It should be Does it answer to your needs?.

If you don't need more validation capabilites, you should go for CFForm
automatic JS validation.
If you find them too limited, then go for manual JS validation.

My 0.02€...

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Dave Lyons [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi 11 février 2003 19:34
 À : CF-Talk
 Objet : Re: CFFORM vs FORM


 very true
 just hard to argue with Ben
 personally I haven't bothered learning the cfform tags but after
 I read that
 I am compelled to try it out.
 not agreeing or disagreeing with anyone just thought I would mention it.
 but then again don't listen to be (see below, loll)


 dave
 !--- doesn't know jack about cfm ---

 - Original Message -
 From: charlie griefer [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, February 11, 2003 1:29 PM
 Subject: Re: CFFORM vs FORM


  Dave Lyons writes:
 
   I distinctly remember reading in Ben Forta book cfwack, that
 this issue
 was
   brought up and he cleared said that it was a very good tag to use.
  
   if need be I will flip through and try to find the wording if
 necessary
 
  If that is in fact Ben's opinion, he's entitled to it (just as we all
 are).
 
  He may have recommended it because it can arguably 'speed up'
  development...but I think the costs (not learning) are too high
 a price to
  pay for that small convenience.
 
  $0.02.
 
  Charlie
 
 
  
   - Original Message -
   From: Charlie Griefer [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, February 11, 2003 10:46 AM
   Subject: Re: CFFORM vs FORM
  
  
   - Original Message -
   From: Tony Weeg [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, February 11, 2003 6:42 AM
   Subject: RE: CFFORM vs FORM
  
  
well, that makes sense for someone proficient in js :)
for those of us who arent, it really is a blessing.
   
NOTICE TO ALL WHO ARE NOT HIGHLY PROFICIENT IN JS
CFMX AND CFFORM TAGS ARE OK 
  
   I could not disagree with this statement more.
  
   For the record, I've not yet played with MX...but my
 comments speak to
 the
   usage of cfform in general.
  
   1) You are a professional Web Developer (or some such title that
 implies
   the
   same).  If you're not proficient in js, learn it or risk
 falling behind
   the
   curve.
  
   2) cfform can only do so much.  Can you compare two field
 values to see
 if
   they're equal?  Can you say, 'if this field has a value then
 this field
   cannot'?  Can you do anything past the basic validation?  By learning
 JS,
   you give yourself that ability.  By relying on cfform, you are very
   limited
   in what you can do.
  
   3) If you truly think having CF do the work for you (in
 generating its
 own
   JS) is 'a blessing'...you are very wrong.  It's a curse because it
 coaxes
   you in to a false sense of security while others around you
 are moving
   forward with javascript and learning numerous other things
 that can be
   accomplished with js.  you will always be limited to
 checking to see if
 a
   field is empty.  or if it's numeric.  h.  blessing.
  
   Not trying to come down on you.  But since you stood on the
 soapbox and
   yelled to the world that it's 'OK' to be in this field (Web
 Development)
   and
   not be profieient in JS...well, that's your opinion and
 you're entitled
 to
   it.  My opinion is that if you don't know XHTML, XML,
 JavaScript, CSS,
 and
   at least one server side scripting language (CF, ASP, JSP, etc)...and
 are
   content to know less...then you're in for a rude awakening.
  
   Just my $0.02.
  
   Charlie
  
  
  
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Screening files before CFFile upload

2003-01-29 Thread Benoit Hediard
Hi,

You can also add some Javascript client side validation :
http://www.massimocorner.com/beta/js_upload.htm

Benoit Hediard
www.benorama.com

 -Message d'origine-
 De : Bryan F. Hogan [mailto:[EMAIL PROTECTED]]
 Envoyé : mercredi 29 janvier 2003 19:39
 À : CF-Talk
 Objet : RE: Screening files before CFFile upload


 http://markme.com/cantrell/weblog/index.cfm?m=1d=28y=2003

 
 Bryan F. Hogan
 Director of Internet Development
 Macromedia Certified ColdFusion MX Developer
 Digital Bay Media, Inc.
 1-877-72DIGITAL
 

 -Original Message-
 From: E. Keith Dodd [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 29, 2003 1:28 PM
 To: CF-Talk
 Subject: Screening files before CFFile upload


 Am wondering whether I can check for size, appropriate extension, etc. on
 files before they are uploaded using CFFile. Presently, I am uploading the
 files (with limited use of attribute accept), then using the CFFile output
 structure to delete any that don't fit my criteria.

 I am using MX and the standard html form for initial input with the
 enctype=multipart/form-data and the input type=file.


 Searching the CFTalk archives, I found some referrals to being
 able to check
 the extension of the file on the action page BEFORE using CFFile.
 One reference suggests using:
 cfif not listfindnocase(gif,jpg,jpeg,listlast(form.myfilefield,.))
 to pick up any inappropriate extensions.
 (http://www.mail-archive.com/cf-talk@houseoffusion.com/msg124531.html)

 I find that I cannot do anything like that because the form field value is
 not the initial value in the field before submitting; it is one
 with a .tmp
 extension, as in:
 C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp\n
 eotemp\114
 84.tmp
 (I assume the process creates a temporary stored file.)
 I get this result both locally on development MX (Using IE) and
 on remote MX
 server--tested with both IE and Netscape.

 Am I missing something? Based on my results, I can NOT *examine* the file
 prior to cffile's upload?

 Thanks
 E. Keith Dodd
 Wings of Eagles Services
 www.wingserv.com


 -
 [This E-mail scanned for viruses by declude AntiVirus Software]


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Design Pattern Question

2003-01-13 Thread Benoit Hediard
Hi everyone,

Thanks for all the positive feedbacks on benorama.com ColdFusion content.

The articles I've put online are a set of Best practices and general design 
techniques that I daily used for advanced CFMX application development (in our 
company, a collaborative plate-form).

They are certainly not perfect (it is not 100% MVC on the controller part) but they 
work very well.

The idea is that you can take whatever you like and adapt them to your needs.


I should add some more details on my use of CFCs, but I haven't updated the site since 
august 2002...
For the moment, here it is on CF-Talk.

I usually create :
- Entity CFCs that correspond to physical persistent entity (usually a single row in 
one or several database tables).
they inherits from a base Entity.cfc with init and getProperties methods,
they usually have at least load, create, store and remove methods,
Ex. : 
cfscript
newsEntityInstance = createObject(component,com.mycompany.news.NewsEntity);
newsEntityInstance.load(1011);
newsEntityInstance.title = I have changed the title;
// or newsEntityInstance.setTitle(I have changed the title); // if you 
create setter/getter functions for each properties
newsEntityInstance.store();
/cfscript
   
- Utility CFCs that encapsulate generic business logic and are not persistent and 
stateless.
Ex. :
cfscript
newsUtility = createObject(component,com.mycompany.news.NewsUtility);
lastNewsRecordSet = newsUtility.getLastNews();
/cfscript

- Session CFCs that act as a facade to handle the client session (statefull).
Ex. :
!--- use the com.mycompany.member.MemberSession CFC put in session scope ---
cfif session.currentMember.hasTheRightToDoThat()
...
/cfif

This is how I use CFCs for a 100% ColdFusion-based application, but if you have good 
J2EE skills in your team and if it is required, you might replace those CFCs by EJBs 
(with all their pros and cons...).


Last month, I also spent some time to try to establish methodologies/best practices 
for complex Flash MX application development : how to nicely apply MVC to Flash MX and 
Flash remoting.

Right now, I used facade CFCs on the server side and ActionScript proxy class on the 
client side, encapsulated in Flash components. 

Each Flash components correspond more or less to a CF pagelet.
But Flash components are not only a View with some Model calls to get content, 
they integrate the full MVC pattern and use at least four ActionScript class (per 
component) :
- a View class that dynamically display the content and set the layout,
- a Model class to hold the data of the component,
- a Controller class (the Broadcaster class based on the events listener/broadcaster 
mechanism),
- a Service class to call the server components through one or several facade CFCs 
(the only CFCs with a remote access),
- the main component class that contains and uses all those classes.

But I am still not completely happy with that (pretty complex to develop and to 
maintain). 
I am going to re-work on it when I'll have sometimes during the following months.
As soon as I have got something more clear and elegant, I'll put in online in the 
Flash section of benorama.com.

Any feedbacks or suggestions on all those stuffs (ColdFusion or Flash) are welcome!


Benoit Hediard
www.benorama.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Resizing images under Linux

2002-11-06 Thread Benoit Hediard
Hi,

Indeed, ImageJ is another imaging Java library, it is easier to use than
JAI.
It supports GIF and it is the world's fastest pure Java image processing
program. It can filter a 2048x2048 image in 0.5 seconds. That's over 8
million pixels per second!.

If you look at Todd's ones and my examples
(http://www.benorama.com/coldfusion/libraries/imaging.htm), you'll see that
it is very easy to use from CF.

I don't know about the quality of the generated thumbnails compared to JAI
ones...

Benoit Hediard
www.benorama.com

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:todd;web-rat.com]
Envoyé : mardi 5 novembre 2002 23:23
À : CF-Talk
Objet : RE: Resizing images under Linux


My research with the ImageJ library:
http://www.web-rat.com/mt2/mt-search.cgi?IncludeBlogs=2search=image+j

Ben Hediard pointed imageJ out to me ages ago -
http://rsb.info.nih.gov/ij/index.html

~Todd

On Tue, 5 Nov 2002, Kevin Graeme wrote:

 I read that article before, and it looks to me that the huge downside of
JAI
 is the lack of GIF support.

 it can write BMP, JPG, TIF, PNG, but if you must write GIF files, then
you’
 ll have to find another implementation (note that the PNG file format is
an
 acceptable substitute for GIF file format).

 I would love it if PNG were an acceptable substitute, but it's
 implementation in browsers seems worse than CSS.

 -Kevin

  -Original Message-
  From: Sean A Corfield [mailto:sean;corfield.org]
  Sent: Tuesday, November 05, 2002 1:47 PM
  To: CF-Talk
  Subject: Re: Resizing images under Linux
 
 
  Check out JAI - the Java image library. Matt Liotta wrote an article on
  this for the DesDev Center recently... *searches*
 
  http://www.macromedia.com/desdev/mx/coldfusion/articles/jai_images.html
 
  That Java code should be callable from CF5.
 
  On Tuesday, Nov 5, 2002, at 11:30 US/Pacific, Rick Root wrote:
 
   Nope, requires windows... and as I said I'm using Linux.
  
   I'm researching the GD library which would allow me to write a perl
   script and call that via CFEXECUTE... but I'd much rather find an
   existing solution :)
  
 - Rick
  
   Ryan Farrell wrote:
   We are working with something called AutoImager.  Our particular
   solution
   requires that we resize images and create thumbnails in a nightly
   batch, but
   the program may be able to meet your requirements.  Check it out at
   http://www.mystikmedia.com/autoimager.asp.
 
  I can smell your brains!
  -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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: Blogging

2002-11-06 Thread Benoit Hediard
Indeed, I did one with CFMX... but it is more a demo application (proof of
concept) than a full featured application : it is extremely basic.
But I suppose you could use it or take some ideas as a basis for a real blog
application.

Here it is :
http://www.benorama.com/coldfusion/patterns/part10.htm


Benoit Hediard
www.benorama.com


-Message d'origine-
De : Robertson-Ravo, Neil (REC)
[mailto:Neil.Robertson-Ravo;csd.reedexpo.com]
Envoyé : mercredi 6 novembre 2002 17:26
À : CF-Talk
Objet : RE: Blogging


there is a CFMX one. cant remember who did it?

-Original Message-
From: Jillian Carroll [mailto:jillian;koskie.com]
Sent: 06 November 2002 15:48
To: CF-Talk
Subject: Blogging


Does anybody know of any blogging software written in CF?

--
Jillian


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Protecting NON-CF Files with CF

2002-10-29 Thread Benoit Hediard
Hi,

The problem with cfcontent is that it uses one CF thread per download...
So if you have several users downloading large files from you server at the
same time, your server will be quickly down (all the CF threads will be
taken one by one by the downloads).

Most of big download sites use another technique, it seems that they check
the authentication through a dynamic page and return a download info page,
the download is then fired by a javascript on the client side (so the
download is handled by the web server, not the application server). But I
still wonder how they handle the security access from the javascript call...

Benoit Hediard
www.benorama.com


-Message d'origine-
De : JLH All Turbo [mailto:jacob;allturbo.com]
Envoyé : mardi 29 octobre 2002 16:06
À : CF-Talk
Objet : Re: Protecting NON-CF Files with CF


I was trying that with cfcontent and it's just destroying the server.
coolfusion.com had a solution for me, they had an iauth tag that would take
a yes or no from cf and pass a generic l/p to windows if yes and would just
shut down if no.

but it stopped working.

so i'm looking for other solutions.

j
- Original Message -
From: Jeffry Houser [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 10:00 AM
Subject: Re: Protecting NON-CF Files with CF


   Look into cfcontent.
   In short, basically, hide the files in a non-web accessible directory
and
 then use cfcontent in a CF page to deliver the file to the user.

 At 09:53 AM 10/29/2002 -0500, you wrote:
 We have to protect an entire directory and it's subdirectories with CF.
 We'd like to use CF to process our logins.. but can't have people
directly
 linking to JPGs and MPGs etc under neath.. since CF can't really protect
 these individual files unless called through a CFM page, we've run into a
 problem.
 
 How can we accomplish this?  We DO own a copy of AuthentiX and
unfortunately
 CFContent is not a viable solution.  This site will have upwards of
12,000
 simultaneous users and CFContent has too much overheard.
 
 Thank you!
 
 JLH
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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: Slightly OT - Powered by MX logo's ?

2002-10-24 Thread Benoit Hediard
Here it is :
http://www.macromedia.com/macromedia/style_guide/buttons/


Benoit Hediard
www.benorama.com

-Message d'origine-
De : Mike Brunt [mailto:mbrunt;webapper.com]
Envoyé : jeudi 24 octobre 2002 02:49
À : CF-Talk
Objet : Slightly OT - Powered by MX logo's ?


Can someone point me to where I can get Powered by ColdFusion MX logo's?

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Can't start CFMX Admin - No Default Web Site

2002-10-24 Thread Benoit Hediard
IIS Connector script : c:\CFusionMX\bin\connectors\IIS_connector.bat
It should work fine after that.

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Paul Wilson [mailto:Paul;Dataflow-it.com]
Envoyé : jeudi 24 octobre 2002 13:21
À : CF-Talk
Objet : RE: Can't start CFMX Admin - No Default Web Site


No i havn't - What does that do and where can I find it. I didn't do
anything like that when i installed it??

-Original Message-
From: Jochem van Dieten [mailto:jochemd;oli.tudelft.nl]
Sent: 24 October 2002 11:56
To: CF-Talk
Subject: Re: Can't start CFMX Admin - No Default Web Site


Paul Wilson wrote:

 I have tried to add the default web site again and point the directory
 to c:\inetpub\wwwroot but i still get page cannot be displayed

Did you run the connector script after re-creating the default website?

Jochem



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CFMX Developer Edition wish was Re: Pro v Enterprise?

2002-10-18 Thread Benoit Hediard
Sorry Greg, but I think you're wrong on most of your points.
I agree with Dave Watts and Hal Helms comments.

With commercial application servers, it is a common practice to pay for
development server licenses.
Most of commercial application servers don't even have the equivalent of the
free CF Developer Edition (for example, Websphere AS is only free during 6
months (trial), then you have to buy a licence, whatever you do with it :
dev, staging, production...).

If you cannot understand this practice, then perhaps should you go for open
source technologies.

From now on, please stop this thread on CF-TALK, the topic is related to
CF-PARTNERS.

Thanks.

Benoit Hediard
www.benorama.com


-Message d'origine-
De : Greg Bullough [mailto:gwb;outofchaos.com]
Envoyé : vendredi 18 octobre 2002 13:42
À : CF-Talk
Objet : RE: CFMX Developer Edition wish was Re: Pro v Enterprise?


At 09:19 PM 10/17/02 -0400, Vernon Viehe wrote:
I don't see where we're raising the cost of entry, we actually dropped the
price of Pro alot.

You're raising the cost of entry by differentiating the Enterprise and Pro
editions
along the lines of a basic programming construct (specifically, JSP tags)
for the
first time in the history of the product.

The difference between $1000 and $5000 is the increase.

The developer's edition is not intended to serve all development needs in
all circumstances,

Why call it 'developer's edition' then?

Why not call it 'random collection of function that we hope some people may
find useful?'

it's intended to serve a single developer in their daily work. For
occasional proof of concept demos, there are creative alternatives such as
installing the trial/dev on a fresh system
  and demo'ing within 30 days, or putting the demo up at a CF hosting
service.

Oh great. I'll just put the demo system up on my laptop and demo it within
30 days,
and EITHER THROW AWAY THE LAPTOP OR REINSTALL THE WHOLE OS
NEXT MONTH WHEN I NEED TO DO THE SAME THING. That makes sense.

This is why I get infuriated with the software vendor types (of which I was
once
one) who get paid regardless. They seem to forget that the time I may spend
screwing around trying to get around the shortcomings in their thinking is
time
I probably DON'T get paid for billable work.

For ongoing development needs, purchasing a licensed development server
currently is part of setting up shop, like purchasing the development
server hardware. I haven't seen any calls for free development hardware,
but if those companies start to give away free development hardware, we'd
be able to get this request through easily. =)

Let's not be flippant, shall we?

Production costs for copies of hardware vs. software are two different
things.

What you're saying is that Macromedia is not willing to make any investment
in its developers (and don't point to the Partner Program...right now that
is
more of another profit center than an investment).

Fine, Vernon. I get your message:

'If you want support from the vendor, then go elsewhere.'

Loud and clear. Your hubris is showing.

See ya.

Greg


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Printing the colours from DreamweaverMX

2002-10-16 Thread Benoit Hediard

I think that this is a known bug in DWMX.
You can't print code in colour.

Benoit Hediard
#affinitiz.com

-Message d'origine-
De : James Smith [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 16 octobre 2002 15:38
À : CF-Talk
Objet : Printing the colours from DreamweaverMX


Does anyone know if there is anyway to get DreamweaverMX to print the code
in colour (as it displays) or are we stuck with black and white?

--
James Smith
[EMAIL PROTECTED]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: How Good is the Job Market for ColdFusion?

2002-10-16 Thread Benoit Hediard

My .2 euro cents (based on the market I know).

Even if it is the best RAD tool on the market, I think it's going to be hard
for CFMX to fight against the current .NET (asp.net) and J2EE (jsp) trends
on the french enterprise market.

In France, the CF hype was during the big Internet era (2/3 years ago).
It was mainly used by people building web applications at that time : web
agencies.
This era is over (most of enterprise applications are developped in
house).
Now that web technologies (application servers) are becoming the heart of
enterprise IT infrastructures, IT decision makers have to choose or have
choosen in between the two current main tech trends : .NET or J2EE (usually
depending on their company background).

Those technology choices are now taken at the corporate level (not the
departemental level anymore).
Most of french IT managers and decision makers don't know much about CF
(much more popular in US than in Europe, I think).

Moreover, CFMX is a brand new product and is not used (yet) by large web
sites... So for them, it is not a proven solution on the market, even for
the front end of J2EE applications. They don't want to take any risks.
I know that it is a pity (I am big fan of CFMX), but it's like that.

I am very curious to see what will happen next for CFMX here, especially
with IBM sales forces.

In my opinion, the success of CFMX will also depends on the adoption of the
Rich Internet Application concept.
CFMX is (from far) the best server side to build Rich Internet App.

Everybody predict the success of this concept, Forester call it the
X-Internet (eXecutable by 2003 + eXtended by 2005 ;).

The problem right now : there isn't any real big Rich Internet App on the
market, and till then, no decision makers will take any risks to bet on it.
So what MM needs is real life examples : something like amazon has
integrated Rich Internet Applications with CFMX+FlashMX on their site and
their sales have been improved by 20%! Then corporate decision makers will
run to MM to get licenses!!!
Decision makers needs facts (not demos) :
- technology facts (scalibility real examples)
- and business facts (ROI real examples).

It will certainly happen, I don't worry about the future of CFMX + FlashMX.
In this area, it is going to be a killer technology, but it will take some
time...
Market adoption of new technologies is VERY slow right now (look at .NET!).

So be patient and prepare your MX skills...
(message : learn Flash MX)

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Dick Applebaum [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 16 octobre 2002 21:53
À : CF-Talk
Objet : Re: How Good is the Job Market for ColdFusion?


There are also uses for CF that are more properly called Utility  or
Application Support programs.

Examples of this are:

1) Using CF to write a general-purpose SQL client that can be used by
developers and by end-users for ad hoc database manipulation -- you can
put a secure, non-destructive, easy-to-use SQL tool in the hands of end
users.

2) Data analysis - as part of the development process it is often
necessary to analyze a client's existing  offline database to determine
the needs and optimum design of the online database,

3) Using CF to try different database/application design alternatives.

4) Once a database design has been determined, using CF to create and
populate the online database from the client's offline database --
validating, restructuring and normalizing the data as part of the
conversion process.

5) Using CF to prototype a client's application without expending a lot
of resources.

All of these share the characteristic of infrequent, or incidental use
-- and aren't really considered production applications.

Because of its powerful database (and data) manipulation capability and
the ease with which you can create programs, CF is a superior tool for
the above.


Dick



On Wednesday, October 16, 2002, at 12:14 PM, Mark A. Kruger - CFG wrote:

 Ok - so there a lot of .cfm sites and pages out there - more than .JSP
 ...
 or am I missing something. I wouldn't use a google search as a
 definitive
 test (for anything).  CF is a widely adopted technology inside the
 intranet
 and extranet as well.  In fact, the most amazing uses of CF have
 always been
 on the intranet - not the public web.

 -Original Message-
 From: Mike Brunt [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 16, 2002 1:06 PM
 To: CF-Talk
 Subject: RE: How Good is the Job Market for ColdFusion?


 Trey, I just did a very simple search on Google looked for .cfm got
 25.5
 million results, .asp 89.2 million, .php 106 million, .jsp 13.6
 million.

 Kind Regards - Mike Brunt, CTO
 Webapper
 http://www.webapper.com
 Downey CA Office
 562.243.6255
 AIM - webappermb




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar

RE: French Accents in CF

2002-10-15 Thread Benoit Hediard

First of all, you have to make sure that you have put

cfscript
setEncoding(form, utf-8);
setEncoding(url, utf-8);
/cfscript
cfcontent type=text/html; charset=utf-8

in your application.cfm.

Then, check if you have installed the CFMX updater, it solves the bug
related to encoding with forms post with enctype=multipart/form-data.


Benoit Hediard
www.benorama.com



-Message d'origine-
De : Brook [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 15 octobre 2002 20:19
À : CF-Talk
Objet : French Accents in CF


Hi,

I'm having some trouble with french accents. I submit a form which has a
french accent in one of the fields Hervé, on the next page outputting the
form.fieldname displays Hervé. But the debugging output shows the
correct value in the form field. What does one need to do to support french
characters? Any help is greatly appreciated, thanks!

Brook Davies




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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: Full Text Indexs

2002-10-14 Thread Benoit Hediard

The noise word file used is the one corresponding to the language you
specified during the full-text index creation.
In the full-text indexing Wizard Select Table Columns step, you define a
Language for Word Breaker.
For example, we are using French (France) in our application, and it works
fine.

I recommand you not to empty the noise words files, you'll loose some great
capabilities of full-text search.
For example, if someone search for a letter/number or a common word ('the',
'or'...), those words should be ignored, otherwise you'll get plenty of
noise in your results.
Even if it is minimal, the noise words file should never be empty.

Perhaps, should you try to delete all the full-text indexes and re-create
them from scratch?

Benoit Hediard
www.benorama.com


-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 14 octobre 2002 17:18
À : CF-Talk
Objet : RE: Full Text Indexs


this doesn't appear to be the case here.  After eight still throws an
error as after is reserved.  eight however is ok.  I have checked the
noise.eng file and it is empty.  Is there any weay of telling which noise
file is being used? - I assume it's the English one

-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 18:08
To: CF-Talk
Subject: RE: Full Text Indexs


It should only throw an error if all the search words are defined in the
noise words file.

For example :
The will throw an error,
The foo will return results based on foo search.

In our application, we have customized the noise word file and put each full
text SQL search in cftry blocks.
If an error is thrown we create an empty recordset.

For example :
cftry
cfquery name=qSearch datasource=#application.stConfig.DSN#
select  ID_NEWS as ID,
TITLE_NEWS as Title,
CREATEDBYID_NEWS as CreatedByID,
CREATEDBY_NEWS as CreatedByLogin,
CREATIONDATE_NEWS as CreationDate
fromITEM_NEWS
and (contains(TITLE_NEWS,'#arguments.Text#')
or
contains(DESCRIPTION_NEWS,'#arguments.Text#'))
/cfquery

cfcatch type=Database
cfset qSearch =
queryNew(ID,Title,CreatedByID,CreatedByLogin,CreationDate)
/cfcatch
/cftry

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 18:41
À : CF-Talk
Objet : RE: Full Text Indexs


Hi

We tried this but it didn't seem to work.  We only changed the english one.
When we search on these key words it still throws an ODBC error.  Any ideas?

Andy

-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 13:23
To: CF-Talk
Subject: RE: Full Text Indexs


If you are using SQL Server 2000, all the noise words are defined in a
text files, one per language, you can easily modify them (add/remove words)
:
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.eng for
english indexing
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.fra for french
indexing
.

Once modified, you'll have to rebuild your full-text indexes.

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 14:00
À : CF-Talk
Objet : Full Text Indexs


Bit OT but thought I'd test the SQL gurus on here - I have built some full
text indexes and am trying to get it to ignore the ignored words if that
makes sense.  For exaple if I type after eight into a search box it gives
an error as after is a reserved word.  How to I get SQL to ignore these
words when performing my fulltext query?

Alternatively does anyone know where I can find a full list of these ignored
words?

Andy






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Duplicate UserNames / Passwords logging into a site

2002-10-14 Thread Benoit Hediard

I don't think that there is clean way to accomplish this.
Because there is no good way to know when the user log off (for example if
the user closes the browser window, instead of clicking on the Deconnect
button...).

If you implement a system based on application scope (to register all the
online people), you might lock an account.

Let's say you close your browser (or that it hangs), the user will not be
removed from the application structure registering all the Session IDs.
Come back 1 hour later, you'll get a new session ID from CF : the system
will say, sorry this user is still online and you won't be able to log in...

With FlashCom, it would be possible, because you get 2-way communication
protocol, but you'll need a FlashMX client.

Benoit Hediard
www.benorama.com



-Message d'origine-
De : Mark Leder [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 14 octobre 2002 19:30
À : CF-Talk
Objet : Duplicate UserNames / Passwords logging into a site


Hi All,
I need some ideas on the best approach to the following:

I have a subscription based site, where everyone has their own user name
and password (I keep duplicates from being entered in the database).
However, the problem is with sharing of usernames and passwords.  Say
for example I log in as UID = mark and PWD = 12345, while I'm in
using the site, someone else can use this same user name and password to
log in and use the site illegally.

The ideal situation would be if I were logged in, then a second person
tries to use my UID and PWD, the second person is denied access, and the
first person is booted out and given a warning screen that they account
may be deactivated because of abuse.

I use session management on this site, but have not implemented cookies.

What would be a good way to accomplish this?

Thanks,
Mark


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Full Text Indexs

2002-10-11 Thread Benoit Hediard

It should only throw an error if all the search words are defined in the
noise words file.

For example :
The will throw an error,
The foo will return results based on foo search.

In our application, we have customized the noise word file and put each full
text SQL search in cftry blocks.
If an error is thrown we create an empty recordset.

For example :
cftry
cfquery name=qSearch datasource=#application.stConfig.DSN#
select  ID_NEWS as ID,
TITLE_NEWS as Title,
CREATEDBYID_NEWS as CreatedByID,
CREATEDBY_NEWS as CreatedByLogin,
CREATIONDATE_NEWS as CreationDate
fromITEM_NEWS
and (contains(TITLE_NEWS,'#arguments.Text#')
or  contains(DESCRIPTION_NEWS,'#arguments.Text#'))
/cfquery

cfcatch type=Database
cfset qSearch =
queryNew(ID,Title,CreatedByID,CreatedByLogin,CreationDate)
/cfcatch
/cftry

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 18:41
À : CF-Talk
Objet : RE: Full Text Indexs


Hi

We tried this but it didn't seem to work.  We only changed the english one.
When we search on these key words it still throws an ODBC error.  Any ideas?

Andy

-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 13:23
To: CF-Talk
Subject: RE: Full Text Indexs


If you are using SQL Server 2000, all the noise words are defined in a
text files, one per language, you can easily modify them (add/remove words)
:
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.eng for
english indexing
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.fra for french
indexing
.

Once modified, you'll have to rebuild your full-text indexes.

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 14:00
À : CF-Talk
Objet : Full Text Indexs


Bit OT but thought I'd test the SQL gurus on here - I have built some full
text indexes and am trying to get it to ignore the ignored words if that
makes sense.  For exaple if I type after eight into a search box it gives
an error as after is a reserved word.  How to I get SQL to ignore these
words when performing my fulltext query?

Alternatively does anyone know where I can find a full list of these ignored
words?

Andy




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: File/IMG info

2002-10-11 Thread Benoit Hediard

If you use CFMX, you can use java imaging libraries, it will be cleaner than
a CFX :
- JAI, (example at
http://www.evolt.org/article/Image_Manipulation_with_CFMX_and_JAI/18/33907/)
,
- ImageJ (example at
http://www.benorama.com/coldfusion/libraries/imaging.htm).

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Scott Weikert [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 18:43
À : CF-Talk
Objet : Re: File/IMG info


CFX_ImgSize, can get it from the DevEx.

At 12:36 PM 10/11/2002 -0400, you wrote:
I need to get the size and dimensions of an image file from a directory
(not at the time of upload).

Thought I could do it through a cffile read but I don't see any
variables available for that action.

Anyone have any ideas?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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: The Myth of Bugs (Was Huge Ungainly thread of Doom)

2002-10-09 Thread Benoit Hediard

Well said Jesse.
The funny thing is that most of the people complaining during those threads
have problems with JDBC, which is not directly related to MM/CFMX (but more
to third party JDBC drivers or M$ implementation)...
SQL Server 7 is getting very old right now (and it's a M$ product), so I
would not be surprised if it has some problems with JDBC.

CFMX is a GREAT product and works extremely well (for a V1.0!).
Of course, there is some minor pure CF issues but all of them have easy
workarounds.

I will NEVER go back to CF5.
CFCs and Flash Remoting have an incredible potential and offer so many great
new possibilities.
People also have to think about what they can do now... (which was
impossible with CF5-)

Benoit Hediard
www.benorama.com


-Message d'origine-
De : Jesse Noller [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 9 octobre 2002 14:48
À : CF-Talk
Objet : The Myth of Bugs (Was Huge Ungainly thread of Doom)


All-

Funny, I should stop sleeping. I wanted to take a moment to address
something that is bothering me a great deal.

Out of the huge thread yesterday, there came a lot of realizations that
Macromedia is currently examining internally, misconceptions if you will
about the way MM communicates things.

Make no mistake, these issues are being discussed, as Sean and Vernon have
both mentioned. However, one of the things that bothered me the most was the
fact several people basically said:

OH NOES! CFMX is poop! I won't buy/run it until all of these horrible bugs
are fixed.

This is what I refer too as the Myth of Bugs. I think something many
people are forgetting is the scenario of a mailing list, or the forums. This
is the scenario that discourses the fact that mainly the only people who
will post to forums, and mailing lists in a typical day are those who have
issues.

Now, if I read cf-talk on $RAND day, I could safely assume that CFMX was
crippled, a lame-duck to the market. Does this assumption make it true?

No.

It bothers me to hear people say that they will not even try CFMX out
because there are so many show stopping issues. I would beg the argument
that this is far, very far, from the truth.

Those of you dropping CFMX or completely ignoring it because of the
debates/issues raised on CF-Talk and the Forums would be better served if
you actually downloaded and ran your application yourself, instead of taking
the word of the mailing lists and forums.

CFMX, as has been stated before, was the *most* tested version of
ColdFusion *ever* put on market, I can't make this clear enough.

I would imagine that some of the show stopper issues that are being
raised have either been addresses, will be address, or are simply
environmental. I would also state that the only people who raise the CFMX
is Poop flag are those who have hit a bug, or other issue, which is show
stopping to *them*. Remember, hundreds of people download CFMX daily (we
have the numbers that show this) and run it without issue.

*of COURSE* those people who run into any type of problem are immediately
going to identify that problem as a show stopper and post to the mailing
lists and the forums screaming as loud as they can to hopefully either find
a solution or get Macromedia to help them for free.

I can only stress that those of you reading these lists and the forums take
everything you see with a grain of salt. Not everyone is running into these
issues, everyone is not throwing CFMX out the window. We have *many*
customers running CFMX in production, under load, daily, fine.

If you install CFMX, and you run it, and you find an issue, I cannot stress
enough that you contact support *immediately* to get that issue addressed
ASAP.

I will not admit that the ColdFusion team (myself included) shipped Poop.
I will not admit to having wasted nearly two years of my life, I know this
is *not* the case. I personally believe that the firestorms shown on this
list, and the forums, are not the rule, but rather the exception to the
rule.

Please, try it out *for yourselves* before passing judgment.


Sorry for ranting, it bothers me. A lot.


Jesse Noller
[EMAIL PROTECTED]
Macromedia Server Development

No concept man forms is valid unless he
integrates it without contradiction into the
sum of his knowledge.
- Ayn Rand

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CF vs ASP

2002-10-09 Thread Benoit Hediard

I definitely agree that it is important to know Java and J2EE nowadays.
But, you can't compare learning java and CFML, they are two completely
different things.

Java and especially J2EE is incredibly complex and requires weeks/month of
training to start getting to know parts of it.
JSP (just a small part of J2EE) requires good knowledges of Java and is
still at a prehistoric stage in terms of functionality and development
compared to the richness of CFML and ASP.NET (event if it is getting better
with JSTL and the future implementation of JSP).

CFML is still unbeatable in terms of productivity and ease of use.

It is pity to say I didn't upgrade to CFMX and I will never do it.
How can you judge something if you haven't tried it?
In fact, CFMX can be a very good choice for the presentation layer of a big
J2EE app.

Tried to build a small app with JSP and basic JavaBeans then do the same
with CFML and CFCs... you'll we see the difference in terms of
productivity... (and then add a rich client with Flash Remoting!)

Benoit Hediard
www.benorama.com

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 9 octobre 2002 15:03
À : CF-Talk
Objet : RE: CF vs ASP


I think you would be better off learning JSP(java server pages) and some
j2ee.
Why?
Because what CFMX does is translate CFML pages into some servlets
(correct me if I am wrong) so why learning CF(providing you don't
know it already) when you can learn Java(JSP and stuff).
As I see it CF is far from beating Java(that's why they choose to
use java in their very own CF)

Well, I have quite some experience with CF(more than 3 years) and I didn't
upgrade to CFMX and I will never do it.

Why not ASP?
Well because if you do that you are stuck with windows.
If that is not a problem go for it :)

Marius Burz


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: RE: RE: Cumulative Patch for SQL Server (Q316333) Crtical for 200 0

2002-10-04 Thread Benoit Hediard

Please do not start another Win Vs Linux war... ;)

Both of them have pro and cons.
Use the one you prefer...

Thanks.

Benoit Hediard
#affinitiz.com

-Message d'origine-
De : Rob Rohan [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 4 octobre 2002 18:19
À : CF-Talk
Objet : OT: RE: RE: Cumulative Patch for SQL Server (Q316333) Crtical
for 200 0


I agree features, functionality, stability and performance should come
first. Again, if you have used both you will know which is better - and
cheaper to boot.



-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 9:05 AM
To: CF-Talk
Subject: RE: RE: Cumulative Patch for SQL Server (Q316333) Crtical for
200 0


XP upgrade = $160.00
Red Hat 8.0 = Free

That is such a poor argument, cost should not come into it; features,
functionality, stability and performance should come first - but then I
suppose you will argue that red is blue to make your case against the great
Jedi Gates.


-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 16:59
To: CF-Talk
Subject: OT: RE: Cumulative Patch for SQL Server (Q316333) Crtical for
2000


 No, probably not. On the other hand, I wouldn't feel too comfortable
flying
 the build-your-own-airplane kit from that Linus guy, either.

Build-your-own-airplane? That's an odd analogy. Have access to the engine
and all the working parts of the airplane I think is better analogy.

 Nor would I want to fly Sun or Oracle, but that's OK, since I wouldn't be
able to afford
 the ticket.

Sun and Oracle make rather solid products. I would feel much more
comfortable flying in a Sun airplane then a Microsoft airplane. Plus, since
Microsoft makes operating systems, keyboards, mice, game stations, office
software, and games - they are more likely to enter the airplane arena.

Who could afford the ticket? Try being a common developer (CTO). :)

 I'd hardly argue that Microsoft products are perfect, or even
best-of-breed
 in most cases. However, they often provide a happy medium of comparative
 value.

XP upgrade = $160.00
Red Hat 8.0 = Free

Yeah, I can totally see the return on investment.

 I suspect that most people on this list have little choice about what
products their
 companies or clients use.

No doubt there. If that were the case, we probably would be in such
financial trouble.



It was just a joke anyway.


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 6:19 AM
To: CF-Talk
Subject: RE: Cumulative Patch for SQL Server (Q316333) Crtical for 2000


 If Microsoft made an airplane would you fly in it?

No, probably not. On the other hand, I wouldn't feel too comfortable flying
the build-your-own-airplane kit from that Linus guy, either. Nor would I
want to fly Sun or Oracle, but that's OK, since I wouldn't be able to afford
the ticket. Sad to say, I'd probably end up flying the damn Mac - at least
the furnishings are nice.

To flip this on its head, I probably wouldn't use a GM or Ford computer or
OS, either - it would require huge amounts of gasoline, I'm sure, and would
have the best technology of 1987. My point here is that your comment, while
it may be glib and entertaining, is a facile and useless comparison.

 Then why run your business on it?

I'd hardly argue that Microsoft products are perfect, or even best-of-breed
in most cases. However, they often provide a happy medium of comparative
value. In any case, though, I suspect that most people on this list have
little choice about what products their companies or clients use.

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





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Trio application

2002-10-04 Thread Benoit Hediard

So you have not seen the secondary pages (the Service Manager)?
This is the best part (90% of the demo).

If you see a blank application, it is because the demo only works with one
ticket (I think).
Check this one : 4KEH833 (Open).
You'll be amazed if you haven't seen it before...

Quick walkthrough :
1. Check the video
2. On the car drawing, select the Hybrid Engine System  Electric Motor 
Tech Notes
3. View the technote 1281 (it says change the Replace the Hydrogen Sensor
and inspect the Condensor fan for cracks, replace as necessary).
4. Select the part tab  Hybrid Engine  Connector and Hydrogen Sensor and
add them to the work order
5. Select the scheduling tab and choose an available period to perform the
reparation.
You can now notify your nice customer...

Have fun!

Benoit Hediard
www.benorama.com


-Message d'origine-
De : Rick Faircloth [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 4 octobre 2002 18:48
À : CF-Talk
Objet : RE: Trio application


That looks good, Mark.
I'm going to be checking out that sample app to see if I can make
any headway with Flash MX.

Someone was remarking recently that it would be good if one of the
apps they were testing didn't expire in 30 days, which they felt wasn't
enough
time to learn to use an app and evaluate it.  If feel the same way about
Flash MX.
I don't have 30 days straight to devote to attempting to learn and use it,
especially
the ActionScript aspect.  It would be much better if the apps just
watermarked
the project files and movies produced, but allowed unlimited practice.

Now my 30 days have expired and I haven't even begun to spend enough time on
it to determine if I can make it work appropriately for my apps and whether
or not
to make a radical shift in how I build apps from html-based to Flash-based.

MM, if you're listening, how about a non-expiring, watermarking trial
version of Flash MX.
It's a new paradigm you're asking us to learn and evaluate in a short 30
days!
Some of us have to keep working on paying project while that going on,
leaving precious
little time within 30 days to use the program!

Thanks for putting that up Mark.

Were the secondary pages, especially those linked from the Service Manager
movie,
supposed to show anything else, or just be blank?  The page background was
there on the
secondary pages, but no info...

Rick


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 10:46 AM
To: CF-Talk
Subject: Trio application


Someone was wondering about the trio application as an example of flash
remoting (can't remember
who).  I've hosted it temporarily at:

http://68.15.235.127/flash/servicemanager/ if anywone wants a look. It's
pretty nifty. I especially
like the add part feature that checks inventory.

-mk

Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
www.necfug.com
no more brochures!






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: opinions about XSL

2002-10-01 Thread Benoit Hediard

The big thing about XSL :
+ clear separation from content (XML) and presentation logic (XSL),
+ based on XML
+ designed for XML transformation
+ standard and cross-platform
= big hype
(XSL benefits a lot from the XML hype)

I am not a big fan of XSL.
The language is ugly and difficult as the article says.

Right now :
- XSL transformation on the client side is very difficult to implement
because you are dependent of the XSL engine available on the client (which
might be a very old one with extremely limited capabilities),
- XSL transformation on the server side is probably not the best choice, I
prefer to use scripting languages such as CFML to manipulate XML and define
the presentation logic. It is 100 times more efficient, quicker to develop
and to debug than a pure XSL approach.

So, XSL works, but there is often better alternatives to transform XML data
or define presentation logic.
The technology isn't mature enough (and specifications are changing quite
often...).

However, it might be a good option if you need true cross-platform XML
transformation / presentation logic and if the application is heavily based
on XML (an XSL stylesheet could be used in Java, .NET, PHP... on the server
side and/or the client side).


My 2 cents.


Benoit Hediard
www.benorama.com



-Message d'origine-
De : Zac Spitzer [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 1 octobre 2002 15:47
À : CF-Talk
Objet : opinions about XSL


is found this article talking about why xsl is bad

http://www.xml.com/pub/a/1999/05/xsl/xslconsidered_1.html

any comments? I haven't personally looked into xsl, the syntax always
looked like RTF :-) through babelfish

and it looks like doing client side work on the server ( ie browser
stuff ) i know from my old man who does java that it's quicker to go
xml-dom-xml than xsl

what's peoples experience?

z


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: So many problems with CFC scopes...

2002-09-30 Thread Benoit Hediard

Sorry, I come back to the original thread problem : CFC scopes.
Here are some more details one CFCs scopes and UDFs.

When you excecute a CFMODULE, the only scopes still available in the
CFMODULE script are 'attributes' + request/url/form, so you have to
re-include UDF Lib.
Which means that UDF Lib scope (from the calling script) is not available in
a script executed by CFMODULE.

When you execute a CFC (or a custom tags), it should be the same.
The only scopes still available in the CFC script are 'arguments' +
request/url/form, but there is a problem : UDF Lib scope from the calling
script is still available in the CFC (???).
This is not logical.
CFC should not be able to access UDF Lib scope from the calling script, it
should behave like the CFMODULE.
UDF have by default the no prefix scope, so I thought they would behave
like no prefix variables.
(and if I want a UDF function during all my request, then I put it in the
request scope)

So for me, this is a bug (a non-consistent behaviour).
Don't you think?

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Raymond Camden [mailto:[EMAIL PROTECTED]]
Envoyé : dimanche 29 septembre 2002 21:06
À : CF-Talk
Objet : RE: So many problems with CFC scopes...



 For what reason? I've jumped in mid-thread here, but I'm
 really keen to get
 some good nitty-gritty low-down on the pros/cons/appropriate
 contexts for
 custom tags/UDFs/CFCs.

 I've had access to CF5 for a while, but most of my clients
 have been stuck
 on CF4.5 hosts, so I've not really got into the habit of
 UDFs. Now MX and
 CFCs are here, I feel I should dive into the whole lot
 knowing the practical
 differences and arguments for each method.

 You mentioned typing the extra reference for CFCs (i.e.
 myCFC.isEmail(...)
 as opposed to isEmail() for a UDF). Beyond that - which is
 obviously down to
 the kind of personal preference that's not worth debating -
 why would a CFC
 set of methods as opposed to a UDF library be not bad per
 se, just maybe
 not appropriate? What's the not appropriate bit, in
 performance/architecture terms, not personal
 preference/coding style terms?


Dave mentioned a collection of UDFs called Math that would serve as a
library. On a _completely_
personal level (ie, not performance, security, etc), I tend to think the
methods of a CFC should be
more tightly coupled - ie, have more of a reason then being together
than just being mathematical.

As a purely personal preference - that is why I wouldn't think it's
appropriate. Yes, I know it's a very
wishy-washy response - but as I said, it's a personal feeling. Also,
with CFCs being such a new beast,
what makes sense now and what makes sense 3 years from now will most
likely be somewhat different.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda



__
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Benoit Hediard

I agree with you Raymond.
But it is true that is more personal preference/coding style terms than
performance/architecture terms.

This are my personal rules :
CUSTOM TAGS (ColdFusion Taglibs)
- custom tags encapsulates presentation logic they always output content
(usually HTML),
- custom tags usually do not call the model or controller layer,
- custom tags are only used by the presentation layer (page or pagelet
scripts).
 They are used for presentation logic encapsulation.

USER DEFINED FUNCTIONS (UDF)
- user defined functions encapsulate generic logic and rarely output content
(except for string formatting purposes),
- user defined functions do not call the model or controller layer,
- user defined functions are used in any layer (view, controller or model).
 They are used generic logic/function encapsulation.

COLDFUSION COMPONENTS (CFC)
- components encapsulate business/data access application logic and never
output content,
- components are called by the view layer only to read data,
- components are called by the controller layer to create/update/delete
data.
 They are used for business logic encapsulation.

.. I've put some examples here
http://www.benorama.com/coldfusion/patterns/part3.htm

Benoit Hediard
www.benorama.com


-Message d'origine-
De : Raymond Camden [mailto:[EMAIL PROTECTED]]
Envoyé : dimanche 29 septembre 2002 21:06
À : CF-Talk
Objet : RE: So many problems with CFC scopes...



 For what reason? I've jumped in mid-thread here, but I'm
 really keen to get
 some good nitty-gritty low-down on the pros/cons/appropriate
 contexts for
 custom tags/UDFs/CFCs.

 I've had access to CF5 for a while, but most of my clients
 have been stuck
 on CF4.5 hosts, so I've not really got into the habit of
 UDFs. Now MX and
 CFCs are here, I feel I should dive into the whole lot
 knowing the practical
 differences and arguments for each method.

 You mentioned typing the extra reference for CFCs (i.e.
 myCFC.isEmail(...)
 as opposed to isEmail() for a UDF). Beyond that - which is
 obviously down to
 the kind of personal preference that's not worth debating -
 why would a CFC
 set of methods as opposed to a UDF library be not bad per
 se, just maybe
 not appropriate? What's the not appropriate bit, in
 performance/architecture terms, not personal
 preference/coding style terms?


Dave mentioned a collection of UDFs called Math that would serve as a
library. On a _completely_
personal level (ie, not performance, security, etc), I tend to think the
methods of a CFC should be
more tightly coupled - ie, have more of a reason then being together
than just being mathematical.

As a purely personal preference - that is why I wouldn't think it's
appropriate. Yes, I know it's a very
wishy-washy response - but as I said, it's a personal feeling. Also,
with CFCs being such a new beast,
what makes sense now and what makes sense 3 years from now will most
likely be somewhat different.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Benoit Hediard

I can hazard good guesses, but what do you mean by view, controller and
 model layers?

Ooops... sorry.
It refers to the MVC pattern : Model View Controller.
- View : the presentation layer (there is usually a HTML-based view layer
generated by CFML pages),
- Controller : the application flow control, it receives request from the
View layer, executes application logic, calls the model layer and returns
the response to the View layer,
(in web app, it usually handles data posted by forms and then redirect to a
page)
- Model : the application business logic and data access layer (done with
CFCs in ColdfusionMX).

As for cfczone.org Vs udflib.org, it is true that they are going to overlapp
in some area.
All the 'udflib' functions might be encapsulated into CFCs and put on
'cfczone'...
And this is probably what is going to happen.

In our case, all our CFCs are linked to our application (and therefore to
our business logic) and could not be put or could not come from 'cfczone'.
All our UDFs are not linked to our application and are coming from 'udflib'.

But, in some cases CFCs might be more appropriate than UDF to encapsulate
generic logic : when you need to have an object-oriented logic.
Indeed, the advantage of CFCs over UDFs is their ability to have (or
simulate) an 'object-oriented/object-based' behaviour.
For example, CFC are great to be used as wrapper of existing java classes
(it keeps the object behaviour of the java class and hide its complexity).
With CFC, you can manipulate objects that are persistent during the
request :
- create an object,
- call object.method1(),
- call object.method2()...
The object keep his state/properties in between each calls.
With UDF, you can't really have this kind of approach.


So, for generic logic encapsulation, I would use :
- UDF / udflib.org for procedural logic (functions),
- CFC / cfczone.org for object-oriented logic.

But, again, this is in my opinion, so I prefer to stop here otherwise it is
going to be another never-ending thread... ;)
This is really a matter of personal preference/coding style.


Benoit Hediard
www.benorama.com

-Message d'origine-
De : Gyrus [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 30 septembre 2002 14:03
À : CF-Talk
Objet : Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)


Benoit, thanks for the summary of your rules-of-thumb for CF modularisation.
I'll check out your site later. For now, could you clear up some terminology
for this no-CS-background designer-turned-coder? ;-)

I can hazard good guesses, but what do you mean by view, controller and
model layers?

Also, I know the idea of business rules from relational DB design - am I
right in saying you're using business logic here in a similar sense, to
apply to the CF application? That is, it refers to procedures and functions
mostly specific to the current application?

If this is so, am I right in saying that, given your personal rules,
cflib.org for sharing UDFs is useful, but cfczone.org for sharing CFC's is
less useful? I know it's fine to use CFC's for generic functions and
cfczone.org will probably become as useful as cflib.org, I'm just trying to
gauge the meaning of your rules with this analogy. If you use CFCs for
business logic encapsulation, they may not be very portable - unless I'm
taking the term business logic in a too narrow sense.

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available



- Original Message -
From: Benoit Hediard [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, September 30, 2002 9:26 AM
Subject: UDF Vs CFC (was RE: So many problems with CFC scopes...)


 I agree with you Raymond.
 But it is true that is more personal preference/coding style terms than
 performance/architecture terms.

 This are my personal rules :
 CUSTOM TAGS (ColdFusion Taglibs)
 - custom tags encapsulates presentation logic they always output content
 (usually HTML),
 - custom tags usually do not call the model or controller layer,
 - custom tags are only used by the presentation layer (page or pagelet
 scripts).
  They are used for presentation logic encapsulation.

 USER DEFINED FUNCTIONS (UDF)
 - user defined functions encapsulate generic logic and rarely output
content
 (except for string formatting purposes),
 - user defined functions do not call the model or controller layer,
 - user defined functions are used in any layer (view, controller or
model).
  They are used generic logic/function encapsulation.

 COLDFUSION COMPONENTS (CFC)
 - components encapsulate business/data access application logic and never
 output content,
 - components are called by the view layer only to read data,
 - components are called by the controller layer to create/update/delete
 data.
  They are used for business logic encapsulation.

 .. I've put some examples here
 http://www.benorama.com/coldfusion/patterns/part3.htm

 Benoit Hediard

RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Benoit Hediard

 Don't you mean www.cflib.org?
Yes, sorry (why did i say www.udflib.org...? I don't know, at least it is
more clear for the explanation ;).

 Question: (dunno if anyone has the answer to this) Do CFC's share methods
in
 memory, or does each new component created have its own instances of all
the
 functions defined in the cfc which take up their own space in memory?

This is an excellent question.
I also wonder about this.

The thing I know is that once a CFC instance is loaded in a persistent scope
(session or application), if you modify the CFC definition, it is not taken
into account by the old CFC instance.
You have to reload a new instance to get the new definition.

Benoit Hediard

-Message d'origine-
De : S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 30 septembre 2002 18:23
À : CF-Talk
Objet : RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)


 But, in some cases CFCs might be more appropriate than UDF to encapsulate
 generic logic : when you need to have an object-oriented logic.
 Indeed, the advantage of CFCs over UDFs is their ability to have (or
 simulate) an 'object-oriented/object-based' behaviour.
 For example, CFC are great to be used as wrapper of existing java
 classes
 (it keeps the object behaviour of the java class and hide its complexity).
 With CFC, you can manipulate objects that are persistent during the
 request :
 - create an object,
 - call object.method1(),
 - call object.method2()...
 The object keep his state/properties in between each calls.
 With UDF, you can't really have this kind of approach.

Actually you can if you structure the UDF's correctly, however, I would
expect CFC's in most cases to be a better solution... But as a for instance,
you could define a library of UDF's for an application which take in ID's
which the UDF's use to identify and manipulate objects which are persistent
in request or other scopes or which take in structures from those persistent
scopes. The syntax is different, but the end result is similar.

request.myobject.dump();

dump(request.myobject);

request.myobject.setShippingAddress(123 3rd St,Dallas,TX,55538);

setShippingAddress(reqeust.myobject,123 3rd St,Dallas,TX,55538);

Even before CF 5 and UDF's, some people managed to create object-oriented
features in ColdFusion using includes and cfmodules with things like
cfObjects and smartobjects and Tapestry was on its way there, though the
best of it didn't happen until CF5.

However, the syntax provided by CFC's or other object-oriented languages
does encourage thinking about the encapsulated functions or methods as a
part of the object, which is helpful, and I suspect they have other
advantages in addition.

 So, for generic logic encapsulation, I would use :
 - UDF / udflib.org for procedural logic (functions),
 - CFC / cfczone.org for object-oriented logic.

 But, again, this is in my opinion, so I prefer to stop here otherwise it
 is going to be another never-ending thread... ;)
 This is really a matter of personal preference/coding style.

Don't you mean www.cflib.org?


Question: (dunno if anyone has the answer to this) Do CFC's share methods in
memory, or does each new component created have its own instances of all the
functions defined in the cfc which take up their own space in memory? The
one way saves memory, the other way theoretically might allow you to modify
a method of one component on the fly without altering the definition of the
CFC.


S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Ben's J2EE Book

2002-09-28 Thread Benoit Hediard

While we are talking about AS and FlashMX books, for people that already
know the basics of Flash5 and want to only discover new FlashMX
capabilities, FlashMX Upgrade Essentials by Sham Bhangal is the one you're
looking for.
http://www.amazon.com/exec/obidos/ASIN/1903450764

It is a very good one, 99% of other FlashMX books start from the begining
and re-explain EVERYTHING : how to draw a line, what is a movieclip...
This one only focus on the new features of FlashMX.

Benoit Hediard


-Message d'origine-
De : Ben Forta [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 23:46
À : CF-Talk
Objet : RE: Ben's J2EE Book


There are lots of basic AS books out there (and lots of not so basic
ones too).

I have Macromedia Flash MX ActionScripting: Advanced Training from the
Source here and it is quite good. My only objection to it is that all
the AS is oriented around UI and it assumes that you know basic Flash UI
creation (which for many CFers is not the case). Still, if you need a
jump start on AS basics it's a good choice:
http://www.amazon.com/exec/obidos/ISBN=0201770229/benfortascoldfusA/

For more advanced ActionScript you'll want Phillip Kerman's
ActionScripting in Flash MX. I have yet to go through this edition
thoroughly, but I also have the previous edition and use that one
extensively. It's a very good book:
http://www.amazon.com/exec/obidos/ISBN=0735712956/benfortascoldfusA/

--- Ben




-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 5:23 PM
To: CF-Talk
Subject: RE: Ben's J2EE Book


For us AS beginners, the problem is that
we *must* learn the most basic aspects of AS
to function.  Advanced scripters may not want to
wade through the basics, but they can still get to where
they need to be.

Skip the basics, and start with the advanced stuff, and the beginners
are left out in cold...

If you don't want to write multiple books to satisfy everyone, then it's
lowest common denominator time...

Rick


-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 4:13 PM
To: CF-Talk
Subject: RE: Ben's J2EE Book


Ok, I am keeping a list ...

 More ActionScript
 Less ActionScript
 More complex ActionScript
 Less complex ActionScript
 More CFML
 Less CFML
 Simpler remoting
 More complex remoting

Great, we'll get right to work on it. :-)




-Original Message-
From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 3:28 PM
To: CF-Talk
Subject: Re: Ben's J2EE Book


 On Friday, Sep 27, 2002, at 11:36 US/Pacific, Matt Liotta wrote:
  They were all raffled away last at BACFUG; you should have attended.

  BTW, the reviews I've heard so far on the Flash integration book
  from CFers is that it is too beginner to be useful.

 I've actually heard the opposite - that the ActionScript presented is
 too complex (and not thoroughly explained) for beginners!

I've heard both, coming from two totally different guys, a fellow
Actionscript geek said the ActionScript was good, but not too fancy or
advanced, a CF guy said he burned his mind trying to follow the
ActionScript stuff :-)))

Massimo





__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: So many problems with CFC scopes...

2002-09-28 Thread Benoit Hediard

Unfortunately, to put the not IsDefined() right inside the UDF library
template doesn't work in CFMX either.
The test has to be done before the cfinclude of the UDF lib.
So there isnt't any nice workaround except to wrap each cfinclude of a UDF
lib around a not IsDefined().

As for the suggestion to convert all the UDF lib into CFC, I am not sure it
might be appropriate all the time.
The UDF lib allows you to add new CF language functions, so it is very good
for readibility.

For example, I personaly prefer to use

cfinclude template=StringLib.cfm
..
cfif isEmail(Email)
..

instead of

cfobject type=component name=StringLib
component=com.mycompany.lib.StringLib
..
cfif StringLib.isEmail(Email)
..

I agree that it could be done with CFC but I prefer to keep CFC to
encapsulate business logic linked to the application and use UDF to define
generic language functions (cross-applications).
That's just a matter of choice, but I may change my mind...


Benoit Hediard
www.benorama.com


-Message d'origine-
De : Samuel Neff [mailto:[EMAIL PROTECTED]]
Envoyé : samedi 28 septembre 2002 05:26
À : CF-Talk
Objet : RE: So many problems with CFC scopes...


Mark,

That actually won't work--at least it didn't in CF5, I haven't tested in
in CFMX.

The issue is that CF pre-processes the UDF declarations.  Putting a UDF
inside an if(){} statement won't prevent the UDF from being declared
twice and an error erupting.

You have to use a cfif testcfinclude udflib/cfif construct to
avoid the error.

However, I would strongly argue that in CFMX you really should no longer
be using cfinclude'd UDF libraries.  The libraries should be converted
to CFCs.  If you're worried about performance, don't be.  This should be
just as fast as using a CFINCLUDEd UDF lib--Ben Forta recently reported
at a CFUG that internal tests showed calls to a CFC to be faster than a
CFINCLUDE template--but even if using a CFC is slightly slower, the
benefits greatly outweigh the drawbacks (greater code
encapsulation/reuse/documentation vs. very slight loss in performance).

HTH,

Sam


Date: Fri, 27 Sep 2002 15:24:00 -0400
From: Gaulin, Mark [EMAIL PROTECTED]
Subject: RE: So many problems with CFC scopes...
Message-ID:
[EMAIL PROTECTED]

Why not put the not IsDefined() test right inside any udf library that
can
potentially be included more than one time?  (Just put the body of the
udf
inside the CFIF block.)

This is like the old #ifndef _MYFILE_H_, #define _MYFILE_H_ style
that
is used all the time in C and C++ programming.
Mark



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: So many problems with CFC scopes...

2002-09-27 Thread Benoit Hediard

I think I forgot some other problems with CFCs linked to UDF lib functions.
It took me sometime to understand why I was not able to include UDF lib in
some cases.

- CFC methods defined in an included file cannot really include UDF lib.
Indeed, CF refuses to include twice the same UDF lib in one single script,
which could be the case with two CFC included methods definition that use
the same UDF lib.
WORKAROUND : include the UDF lib at the top of the CFC before the
CFFunction method tags (even if only few methods of the CFC use it). But I
don't know if this is very nice for the CFC, especially if the UDF lib is
based on cffunction tag which the same than the one used to define CFC
methods...

- UDF lib cannot be included in a CFC if the UDF lib is already included in
the script calling the CFC. This is a problem : if you want to use the CFC
in another script, you have to think to include the UDF lib before to invoke
the CFC...
WORKAROUND : use the cfif isDefined(oneOfTheFunctionName)cfinclude
template=myUDFlib.cfm/cfif in the CFC to test if the UDF lib has
already be included.

All this is not very clean...
I wonder if it could be possible that CF accept to include several times the
same UDF lib : if it is the same file, it should not complain about it.
It would solve all those problems.

Any other CFC problems + workaround comes to your mind?


Benoit Hediard
http://www.benorama.com



-Message d'origine-
De : Benoit Hediard [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 26 septembre 2002 20:32
À : CF-Talk
Objet : So many problems with CFC scopes...


Hi,

I was wondering if anyone know when MM is going to fix all the issues
related to CFC scopes.
I was hoping for the CFMX updater, but it hasn't solve anything on those
issues.

It makes CFC development very weird, you need to use many workarounds,
especially when includes are used for methods definition.

Issues :
- CFCs used in persistent scope (session, application...) loose the page
context and cannot access other persistent scopes variables.
WORKAROUND :
http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=8threadid=
386634

- The variable. scope is not private.
WORKAROUND : use the un-named scope
(http://cfguru.daemon.com.au/archives/67.html)

- methods defined in an included file loose the argument scope,
WORKAROUND : put the 'argument' scope in 'request' or 'this' scope to pass
it to the included method

- methods defined in an included file cannot call private or package
methods of the same CFC,
WORKAROUND : use only public or remote access security... :(

Any other problems related to CFC scopes to your mind or better workarounds?


Benoit Hediard
http://www.benorama.com


__
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: So many problems with CFC scopes...

2002-09-27 Thread Benoit Hediard

 I'm going to look the other issues up in the bugbase in the next few
 days and see what's there but I'll address these issues here...

Thanks Sean, you're the best.

 WORKAROUND : use the cfif isDefined(oneOfTheFunctionName)cfinclude
 template=myUDFlib.cfm/cfif in the CFC to test if the UDF lib has
 already be included.

Yes, that is what we do here. It also encourages you to have one
function per include file...

If we have to implement manually cfif isDefined(function) each time we
want to include a UDF lib, I was wondering why this is not automatically
done by CF. If the function is already defined and the new definition is
identical to the first one, CF might ignore the second definition instead of
throwing an error.
It would save us a lot of work and possible errors (if someone forget the
cfif isDefined()).

I agree that CF should throw an error if the method definition is different
(defined in another template lib than the previous one), but not if the
method definition is identical (defined in the same template lib than the
previous one).
Is it impossible to implement?

With complex CFCs, I personally find that it is much cleaner and easier to
only define
the necessary UDF lib inside each included CFC method files
instead of
all the necessary UDF lib at the top of the CFC (especially if you use one
function per include file with cfif isDefined() around each).

 What if the file changes during the processing of the request?

Would it give problems?
If the template is changed during the processing of the request, the new
function definition would be ignored (defined in the same template than the
previous one), isn't it?


I agree that the cfif isDefined() is OK, but I am just curious to know
if the UDF lib include behaviour could be improved.


Benoit Hediard

-Message d'origine-
De : Sean A Corfield [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 19:39
À : CF-Talk
Objet : Re: So many problems with CFC scopes...


I'm going to look the other issues up in the bugbase in the next few
days and see what's there but I'll address these issues here...

On Friday, Sep 27, 2002, at 02:36 US/Pacific, Benoit Hediard wrote:
 - CFC methods defined in an included file cannot really include UDF
 lib.
 Indeed, CF refuses to include twice the same UDF lib in one single
 script,
 which could be the case with two CFC included methods definition that
 use
 the same UDF lib.

Because you cannot have more than one definition of a function - which
is what happens when you include the UDF multiple times. You can't do
this in most other languages (define the same function twice) so I
don't know why you'd expect it to work in CF.

 - UDF lib cannot be included in a CFC if the UDF lib is already
 included in
 the script calling the CFC.

This is essentially the same problem as above.

 WORKAROUND : use the cfif isDefined(oneOfTheFunctionName)cfinclude
 template=myUDFlib.cfm/cfif in the CFC to test if the UDF lib has
 already be included.

Yes, that is what we do here. It also encourages you to have one
function per include file...

 I wonder if it could be possible that CF accept to include several
 times the
 same UDF lib : if it is the same file, it should not complain about it.

What if the file changes during the processing of the request?

I have always wished that my computer would be as easy to use as my
telephone.
  My wish has come true - I no longer know how to use my telephone.
-- Bjarne Stroustrup


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Ben's J2EE Book

2002-09-27 Thread Benoit Hediard

Indeed the 4 applications described in the FlashMX Integration book are
pretty simple :
- MP3 JukeBox,
- expense reporting,
- mail client,
- chat (FlashCom based).

The CFMX/Flash Remoting side is very simple and the FlashMX is not that
advanced (they don't use much of OO programming, mainly simple functions).
So it is a nice book to start with, especially for CFers starting with
FlashMX or Flashers starting with CFMX, BUT you definitely need to already
have good notions of Flash and ActionScript.
You can't start to learn Flash with this book.

Do not expect either a book that explain how to build complex and high-end
Rich Internet Applications.
For that I was hoping to get more design patterns/best practices linked to
CFCs and OO ActionScript programming/integration.
I am sure it will arrive soon (at least, this is what I am currently working
on... ;) ).

This are only first impressions, I haven't dig into the latest applications
very deeply...
Still a good book, perfect for the appropriate audience.


Benoit Hediard
http://www.benorama.com

-Message d'origine-
De : Matt Liotta [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 20:36
À : CF-Talk
Objet : RE: Ben's J2EE Book


They were all raffled away last at BACFUG; you should have attended.
BTW, the reviews I've heard so far on the Flash integration book from
CFers is that it is too beginner to be useful.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 11:18 AM
 To: CF-Talk
 Subject: RE: Ben's J2EE Book

 I'm still waiting for Amazon to ship my order of Reality CF MX: Flash
 Integration, CFMX Web App Construction Kit, and Advanced CFMX App
 Development (a B.F. triple!)... it's been over a month and not a peep
out
 of
 them.  Frustrating!

 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 1:56 PM
 To: CF-Talk
 Subject: RE: Ben's J2EE Book


 FYI, that book should ship from the printer any day now, so stores
 should have it next week.

 The Intranets and Content Management title has shipped from the
 printer, and stores are getting copies now.

 --- Ben




 -Original Message-
 From: Stacy Young [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 1:51 PM
 To: CF-Talk
 Subject: Ben's J2EE Book


 Just orderd it! w00t!
 Has anyone else spotted any J2EE related stuff for CF'ers?


 Stacy Young
 System Integration Specialist, Architecture
 Need Payment Processing? Goto the source!
 Surefire Commerce
 http://www.sfcommerce.com http://www.sfcommerce.com
 (p) 514-380-2700 ext: 3234
 (f) 514-380-2760



 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.






__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: So many problems with CFC scopes...

2002-09-27 Thread Benoit Hediard

Indeed, this is also another solution, probably the best one right now!

Benoit Hediard

-Message d'origine-
De : Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 21:24
À : CF-Talk
Objet : RE: So many problems with CFC scopes...


Why not put the not IsDefined() test right inside any udf library that can
potentially be included more than one time?  (Just put the body of the udf
inside the CFIF block.)

This is like the old #ifndef _MYFILE_H_, #define _MYFILE_H_ style that
is used all the time in C and C++ programming.
Mark

-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 2:43 PM
To: CF-Talk
Subject: RE: So many problems with CFC scopes...


 I'm going to look the other issues up in the bugbase in the next few
 days and see what's there but I'll address these issues here...

Thanks Sean, you're the best.

 WORKAROUND : use the cfif isDefined(oneOfTheFunctionName)cfinclude
 template=myUDFlib.cfm/cfif in the CFC to test if the UDF lib has
 already be included.

Yes, that is what we do here. It also encourages you to have one
function per include file...

If we have to implement manually cfif isDefined(function) each time we
want to include a UDF lib, I was wondering why this is not automatically
done by CF. If the function is already defined and the new definition is
identical to the first one, CF might ignore the second definition instead of
throwing an error.
It would save us a lot of work and possible errors (if someone forget the
cfif isDefined()).

I agree that CF should throw an error if the method definition is different
(defined in another template lib than the previous one), but not if the
method definition is identical (defined in the same template lib than the
previous one).
Is it impossible to implement?

With complex CFCs, I personally find that it is much cleaner and easier to
only define
the necessary UDF lib inside each included CFC method files
instead of
all the necessary UDF lib at the top of the CFC (especially if you use one
function per include file with cfif isDefined() around each).

 What if the file changes during the processing of the request?

Would it give problems?
If the template is changed during the processing of the request, the new
function definition would be ignored (defined in the same template than the
previous one), isn't it?


I agree that the cfif isDefined() is OK, but I am just curious to know
if the UDF lib include behaviour could be improved.


Benoit Hediard

-Message d'origine-
De : Sean A Corfield [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 19:39
À : CF-Talk
Objet : Re: So many problems with CFC scopes...


I'm going to look the other issues up in the bugbase in the next few
days and see what's there but I'll address these issues here...

On Friday, Sep 27, 2002, at 02:36 US/Pacific, Benoit Hediard wrote:
 - CFC methods defined in an included file cannot really include UDF
 lib.
 Indeed, CF refuses to include twice the same UDF lib in one single
 script,
 which could be the case with two CFC included methods definition that
 use
 the same UDF lib.

Because you cannot have more than one definition of a function - which
is what happens when you include the UDF multiple times. You can't do
this in most other languages (define the same function twice) so I
don't know why you'd expect it to work in CF.

 - UDF lib cannot be included in a CFC if the UDF lib is already
 included in
 the script calling the CFC.

This is essentially the same problem as above.

 WORKAROUND : use the cfif isDefined(oneOfTheFunctionName)cfinclude
 template=myUDFlib.cfm/cfif in the CFC to test if the UDF lib has
 already be included.

Yes, that is what we do here. It also encourages you to have one
function per include file...

 I wonder if it could be possible that CF accept to include several
 times the
 same UDF lib : if it is the same file, it should not complain about it.

What if the file changes during the processing of the request?

I have always wished that my computer would be as easy to use as my
telephone.
  My wish has come true - I no longer know how to use my telephone.
-- Bjarne Stroustrup




__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Ben's J2EE Book

2002-09-27 Thread Benoit Hediard

I also ordered Branden's new book for OO actionscript, it is supposed to be
excellent!

In order to wait for this one, last month, I read William Drol
Object-Oriented Macromedia Flash MX
(http://www.amazon.com/exec/obidos/ASIN/1590590147), which is also very
good.

Waiting for the Ben's J2EE book...
The problem is to find some free time to read all those great books! ;)

Benoit Hediard


-Message d'origine-
De : Stacy Young [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 21:27
À : CF-Talk
Objet : RE: Ben's J2EE Book


I also just ordered Branden's new book for OO Actionscript:

http://www.amazon.com/exec/obidos/tg/detail/-/0735711836/qid=1033154826/sr=8
-1/ref=sr_8_1/002-5436595-6412067?v=glancen=507846


-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 3:24 PM
To: CF-Talk
Subject: RE: Ben's J2EE Book

Indeed the 4 applications described in the FlashMX Integration book are
pretty simple :
- MP3 JukeBox,
- expense reporting,
- mail client,
- chat (FlashCom based).

The CFMX/Flash Remoting side is very simple and the FlashMX is not that
advanced (they don't use much of OO programming, mainly simple functions).
So it is a nice book to start with, especially for CFers starting with
FlashMX or Flashers starting with CFMX, BUT you definitely need to already
have good notions of Flash and ActionScript.
You can't start to learn Flash with this book.

Do not expect either a book that explain how to build complex and high-end
Rich Internet Applications.
For that I was hoping to get more design patterns/best practices linked to
CFCs and OO ActionScript programming/integration.
I am sure it will arrive soon (at least, this is what I am currently working
on... ;) ).

This are only first impressions, I haven't dig into the latest applications
very deeply...
Still a good book, perfect for the appropriate audience.


Benoit Hediard
http://www.benorama.com

-Message d'origine-
De : Matt Liotta [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 septembre 2002 20:36
À : CF-Talk
Objet : RE: Ben's J2EE Book


They were all raffled away last at BACFUG; you should have attended.
BTW, the reviews I've heard so far on the Flash integration book from
CFers is that it is too beginner to be useful.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 11:18 AM
 To: CF-Talk
 Subject: RE: Ben's J2EE Book

 I'm still waiting for Amazon to ship my order of Reality CF MX: Flash
 Integration, CFMX Web App Construction Kit, and Advanced CFMX App
 Development (a B.F. triple!)... it's been over a month and not a peep
out
 of
 them.  Frustrating!

 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 1:56 PM
 To: CF-Talk
 Subject: RE: Ben's J2EE Book


 FYI, that book should ship from the printer any day now, so stores
 should have it next week.

 The Intranets and Content Management title has shipped from the
 printer, and stores are getting copies now.

 --- Ben




 -Original Message-
 From: Stacy Young [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 1:51 PM
 To: CF-Talk
 Subject: Ben's J2EE Book


 Just orderd it! w00t!
 Has anyone else spotted any J2EE related stuff for CF'ers?


 Stacy Young
 System Integration Specialist, Architecture
 Need Payment Processing? Goto the source!
 Surefire Commerce
 http://www.sfcommerce.com http://www.sfcommerce.com
 (p) 514-380-2700 ext: 3234
 (f) 514-380-2760



 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.








__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail

So many problems with CFC scopes...

2002-09-26 Thread Benoit Hediard

Hi,

I was wondering if anyone know when MM is going to fix all the issues
related to CFC scopes.
I was hoping for the CFMX updater, but it hasn't solve anything on those
issues.

It makes CFC development very weird, you need to use many workarounds,
especially when includes are used for methods definition.

Issues :
- CFCs used in persistent scope (session, application...) loose the page
context and cannot access other persistent scopes variables.
WORKAROUND :
http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=8threadid=
386634

- The variable. scope is not private.
WORKAROUND : use the un-named scope
(http://cfguru.daemon.com.au/archives/67.html)

- methods defined in an included file loose the argument scope,
WORKAROUND : put the 'argument' scope in 'request' or 'this' scope to pass
it to the included method

- methods defined in an included file cannot call private or package
methods of the same CFC,
WORKAROUND : use only public or remote access security... :(

Any other problems related to CFC scopes to your mind or better workarounds?


Benoit Hediard
http://www.benorama.com

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TR: UUID's ( maybe OT)

2002-09-20 Thread Benoit Hediard

 Parameters for a static file? Or does vignette use .html as an extension
for
an ISAPI filter?

Yes, it could be any extension.

 So the 1674 part is the only part of all that which is actually useful
eh?
:)

No, all the parameters are usefull (0,1674,P249,00), especially P249 and 00.
I re-explain : 1674 is the ID of the template to execute, P249 is the OID to
pass to the template (it could be a list of parameters) and 00 are the
capabilities of the browser.
If the template display an article, it will generate one static html file
per article (one per OID) for each browser capabilities (if there is any
difference for each browser in the output).
Ex. :
- 0,1674,P249,00.html,
- 0,1674,P249,FF.html,
- 0,1674,P250,00.html,
- 0,1674,P251,00.html...

If the 0,1674,P249,00.html file already exists in the cache directory, it is
directly served by the web server without any dynamic processing.
If you can also use URL parameters
(0,1674,P249,00.html?var1=totovar2=titi), but if the template is cached,
they won't be taken into account (ignored by the web server), that's why you
can't put P249 as a normal URL parameter, it has to be in the file name for
the caching system to work.

 Try giving someone a url like that verbally  -- ever worked
 technical support where you had to give someone a url
 over the phone so they could download a driver?

We've designed, developped and run several high-end B2C web sites and we
never had to encounter this kind of problem.
All our applications have automatic error trapping system and nicely
structured navigation system.
They also have friendly URLs. ;)

In my previous mail, I was not saying, that Vignette naming was a great one.
I was just explaining that it was linked to the way their caching system
works.

I definitely agree : if you can have friendly URL, you should keep them
friendly (and avoiding UUID is already one way to do it).
Why making thing complex, if you can make them simple is a CF motto... ;)


Benoit Hediard



-Message d'origine-
De : S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 19 septembre 2002 23:27
À : CF-Talk
Objet : Re: TR: UUID's ( maybe OT)


 I just don't see the need for a url like:
 http://www.metlife.com/Applications/Corporate/WPS/CDA/Page
 Generator/0,1674,P
 249,00.html

 Just for your information, Vignette use
 0,1674,P249,00.html URL format for
 caching purpose.
 The name of the file contains all the parameters used to
 generate content
 for a given template : 0 means that cache can be used
 (dynamic generation is not forced), 1674 is the template ID,

 P249 is the parameter (could be a parameters list)

Parameters for a static file? Or does vignette use .html as an extension for
an ISAPI filter?

, 00 describes browser capabilities.

So the 1674 part is the only part of all that which is actually useful eh?
:)

 It allow Vignette to automatically generate physical cache
 files that can later be serve directly by the web server.
 Once the cache has been generated, the dynamic web site
 behave like a static web site, the web server only serves
 static html pages.

Yes, Tapestry does this... or it can if you need/want it to -- it's not a
necessity. But it is a native feature of the application.

 This is a pretty clever caching system which made the
 success of Vignette .. 5 years ago (and this is how
 Vignette handles tremendous loads).

If you say so, but I'm fairly certain Vignette doesn't do anything with that
url than I can't do with a 4 or 5 digit number. As a matter of fact, I'd be
willing to bet that much of this is already done by Tapestry -- the caching
that is...

 So OK, the URL aren't very URL friendly, but I don't think
 that URL have to be friendly. User never look at the
 URLs, only web developers do.. ;)

Did you get a chance to read my first message on this thread? Real
non-developer people frequently look at those url's, and often have to give
them to people over the phone, which is a major pain... Sounds like you've
never worked in a tech-support queue -- as just one example of an instance
in which non-developer people must frequently pass a url verbally. I worked
in  Hewlett Packard's corporate tech-support queue for a year ( was actually
my first technical job ), and the fact that their corporate website where
people had to get drivers was a nightmare to navigate was a _huge_ problem.
They didn't use Vignette, but something like what you see below was a
_common_ occurrance on the phone. And this was even talking mostly to IT and
MIS department techs whos job it was to repair our workstations.

 Try giving someone a url like that verbally -- ever worked
 technical support where you had to give someone a url
 over the phone so they could download a driver? Usually
 you're saddled by the requirements of your call center that
 you can't send anyone email, so copying and pasting the
 url is out of the question. And even with url's that are much
 simpler than this you often wind up with users having
 difficulty

RE: Can form fields look differently?

2002-09-20 Thread Benoit Hediard

Example :
style type=text/css
formInput {
font-family : Arial, Helvetica, sans-serif;
font-size : 11px;
color : #4A4A4A;
border : 1px solid #8A8A8A;
background : #F4F4F4;
}
formButton {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
color : #134280;
border : 1px solid;
border-top-color: #B5CFF3;
border-left-color: #B5CFF3;
border-right-color: #347DDF;
border-bottom-color: #347DDF;
background : #ECF3FC;
}
/style
input type=text name=SomeText value= class=formInput
input type=button name=SomeButton value=Some Button
class=formButton


Benoit Hediard

-Message d'origine-
De : Rick Faircloth [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 20 septembre 2002 14:31
À : CF-Talk
Objet : OT: Can form fields look differently?


A little OT, but a quick one...

Can form fields be made to look differently
or are we stuck with the typical looking fields...
white with the normal border?

Rick



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: sub-folder domain hosting

2002-09-20 Thread Benoit Hediard

1. First problem to solve : DNS.
Your domain (subdomain.com or subdomain.maindomain.com) has to point to the
IP address of the web server hosting the site.
PS : if you don't own maindomain.com, you won't be able to create
subdomains, it has to be done by the owner (your host?) or the DNS record
has to be configured to accept all subdomain requests (*.maindomain.com).


2. Second problem : VIRTUAL HOSTING.
The web server has to handle the request to the virtual web site
corresponding to subdomain.maindomain.com.
It can be easily done with Apache by using either mod_vhost_alias or
mod_rewrite :
http://httpd.apache.org/docs-2.0/vhosts/

If you're using IIS, it is another story (even if it can easily be done
manually with the MMC...)
I've heard that IIS has some problems to support more than 200 or 300
virtual hosts and cannot be used for 'Mass Virtual Hosting'.
So if your host is using IIS, it might be the reason.


Benoit Hediard
http://www.benorama.com

-Message d'origine-
De : Gyrus [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 20 septembre 2002 19:12
À : CF-Talk
Objet : OT: sub-folder domain hosting


Sorry for the OT, but I don't do many, so I've got some left in my quota I'm
sure ;-)

I'm just getting conflicting messages from my host about whether they do
sub-folder hosting or not, i.e. having subdomain.com pointing to
maindomain.com/subdomain/ (and not having a simple redirect, i.e.
subdomain.com stays in the browser address bar when you go to the site). I
was told earlier this week by someone there that they do this, now I've been
told by someone else there that they don't.

Maybe one of the two people misunderstood (the second one is, I believe, a
little less than a guru, shall we say ;-). But, leaving aside the fact that
your host should know what they're talking about 24/7, especially with such
simple matters - is there any reason why a host *couldn't* do sub-folder
hosting as described above? Is it merely a case of *wouldn't* due to maybe
raking in a little more from forcing everyone to have separate accounts
their domains?

The second adviser mentioned above just said they can do sub-domain
hosting, i.e. subdomain.maindomain.com. Now, (1) I always thought this was
just a machine name - is sub-domain the common term for it?, and (2) this
is no good if you've bought subdomain.com and want to use it!

I've got to wait until next week to sort this out with my host, but I want
some ammo for potential arguments, i.e. if they say they don't do it, I'd
like to be able to ask why? and know whether they're bulls***ting or not -
and also to be able to say, Surely all you have to do is xyz to set it up?

To save me OT'ing more on this sort of thing ;-)  - anyone know of a good
website resource explaining these behind-the-scenes hosting/domain things.
Something not too technical, but more practical than sales pitch? I'm pretty
good at CF, but I'm no webmaster yet!

TIA,

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: OT: sub-folder domain hosting

2002-09-20 Thread Benoit Hediard

Yes, you can define a wildcard DNS entry (*.turnkey.to. IN A 198.31.129.26).
It will accept all subdomain requests.

We are currently using it and it works very well.

A good FAQ on DNS (that I just found with google ;) ) :
http://www.acmebw.com/askmrdns/archive.php?category=87


Benoit Hediard
http://www.benorama.com

-Message d'origine-
De : S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 20 septembre 2002 19:47
À : CF-Talk
Objet : Re: OT: sub-folder domain hosting


 First whatever.mydomain.com is a subdomain. whatever being the sub of
 mydomain.com. subdomain.com would be another doamin all together.

 Second most hosts will charge you for additional domains even if they
 share
 the same server HD space (ex: mydomain/mysubdomain ). The reason is the
 ISP
 must maintain additional DNS (domain name service) records (an addition
 file to maintain in most cases) for the addition domains. Sub-domains are
 just added to the main domain as addition lines in the main DNS
 record.

 Bottom line is if you want addition domains pointed to the same server
 space you will have to pay for it.

I read somewhere about a catch-all sub-domain, so I asked my current hosting
provider for *.turnkey.to ... which allows me to run any subdomains I like
without adding dns records, as long as they all point to the same root
directory.


hth

S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



TR: UUID's ( maybe OT)

2002-09-19 Thread Benoit Hediard

I just don't see the need for a url like:
http://www.metlife.com/Applications/Corporate/WPS/CDA/PageGenerator/0,1674,P
249,00.html

Just for your information, Vignette use 0,1674,P249,00.html URL format for
caching purpose.
The name of the file contains all the parameters used to generate content
for a given template : 0 means that cache can be used (dynamic generation is
not forced), 1674 is the template ID, P249 is the parameter (could be a
parameters list), 00 describes browser capabilities.

It allow Vignette to automatically generate physical cache files that can
later be serve directly by the web server.
Once the cache has been generated, the dynamic web site behave like a static
web site, the web server only serves static html pages.

This is a pretty clever caching system which made the success of Vignette
.. 5 years ago (and this is how Vignette handles tremendous loads).

So OK, the URL aren't very URL friendly, but I don't think that URL have to
be friendly. User never look at the URLs, only web developers do.. ;)

As for UUID, they are only required as Shlomy Gantz said for
synchronization and aggregation of content and data from globally
distributes sub-systems : where different applications have to create PK
for the same content (that is what UUID has been designed for).
Otherwise, UUID are just plain overhead.


Benoit Hediard
http://www.benorama.com

-Message d'origine-
De : S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 18 septembre 2002 22:13
À : CF-Talk
Objet : RE: UUID's ( maybe OT)


I don't really know much about most other vendors' cms, but this is one of
the things I dislike about a number of cms that I've seen (from the outside
anyway) ... I just don't see the need for a url like:

http://www.metlife.com/Applications/Corporate/WPS/CDA/PageGenerator/0,1674,P
249,00.html

( this is the signiature url-format of Vignette's StoryServer )

when a url like http://www.metlife.com/50598.html should suffice for just
about anything, regardless of how much content you have. I could have fifty
thousand pages in that site, or I could have fifty-BILLION pages in that
site and it wouldn't matter, I could still use a reasonably simple url like
this. I can't imagine those long content entry id's in StoryServer and the
like help the software do its job quickly or efficiently either...

And the really nice thing about using numbers is, not only are they short,
but the length of the string only increases at 1/10th the rate of content
increase, so the numbers stay small and easy for people to remember or write
down or repeat to someone over the phone. As opposed to the 2 minute ordeal
I would go through copying down a url like above on paper and
double-checking to be sure it's correct.

Try giving someone a url like that verbally -- ever worked technical support
where you had to give someone a url over the phone so they could download a
driver? Usually you're saddled by the requirements of your call center that
you can't send anyone email, so copying and pasting the url is out of the
question. And even with url's that are much simpler than this you often wind
up with users having difficulty hearing or understanding it:

http://www.metlife.com/applications/corporate/wps ...
. w - p as in paul - s as in sam ... slash
. c as in cat, d as in dog, a as in apple...

PageGenerator ... p as in paul, a as in apple, g as in golf, e as in echo...


Ten minutes later they have the url and your average call-time's gone
through the roof.

God forbid the person is hard of hearing or just plain computer illiterate.


/rant


Not that there isn't any place for UUID's ... A place they'd be useful? How
about a system where incident or report tickets are input into a central
repository but are being generated from multiple individual locations? ...
sure...

Generate a UUID at the location where the report or incident is created,
along with a local numeric identity key. When you import the data from your
multiple locations, you take in a location id, a local unique number, and a
UUID -- someone searching the central repository can pick out an individual
entry by entering a combination of a location id and local unique
identifying number, or a UUID, or a unique number generated at the central
repository.

The UUID is the official or cardinal identifier, so if you're not able to
retreive data from any of the other identifiers, the UUID is what you fall
back on as the authoritative answer / identifier. So when someone at
location a calls and says I need info on ticket #50 for location a, and
you can't find the ticket, you ask them for the UUID and if the UUID doesn't
exist, then they're just SOL. :) If it does exist, then you can determine if
it's mislabelled ( the import mangled the location id or the local
identifier ) and fix that problem.



S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046


 but as a datatype in SQL Server 2000
 wouldn't you imagine that m$ has

CFMX for J2EE on the TheServerSide

2002-09-10 Thread Benoit Hediard

Hi,

If you want to put some great comments on CFMX capabilities for the J2EE
audience, a thread Macromedia ColdFusion MX for J2EE AppServers Released
has been created yesterday on TheServerSide.com :
http://www.theserverside.com/home/thread.jsp?thread_id=15402

I like this comment : The Allaire company has been about ahead of
technology since I started using it about 8 years ago... If Macromedia keeps
the brains behind the Allaire company they bought, it's going to be a really
difficult server to beat for midsize, large, asp sites. 

Benoit Hediard

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Weird Error.

2002-09-10 Thread Benoit Hediard

Are you using CFMX and CFC in persistent scopes (session, application...)?

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Kevin Wong [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 10 septembre 2002 17:11
À : CF-Talk
Objet : Weird Error.


This is a multi-part message in MIME format.

--_=_NextPart_001_01C258DC.4D23E326
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I've been getting a strange error recently on some my sites. I have an =
error=20
handler using cferror tag that emails me the error message and dumps=20
out the error, form, url, session and cgi objects.

Now the error I'm getting says Error resolving parameter for a session
variable, but when I look at the dump for the session object, it is =
defined.

Strange thing is, I only get this error some of the time.

Anybody got any ideas?

Thanks in advance,
Kevin

--_=_NextPart_001_01C258DC.4D23E326
Content-Type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN
HTML
HEAD
META HTTP-EQUIV=3DContent-Type CONTENT=3Dtext/html; =
charset=3Diso-8859-1
META NAME=3DGenerator CONTENT=3DMS Exchange Server version =
6.0.5770.91
TITLEWeird Error./TITLE
/HEAD
BODY
!-- Converted from text/rtf format --

PFONT SIZE=3D2 FACE=3DArialHi,/FONT
/P

PFONT SIZE=3D2 FACE=3DArialI've been getting a strange error =
recently on some my sites. I have an error /FONT

BRFONT SIZE=3D2 FACE=3DArialhandler using lt;cferrorgt; tag that =
emails me the error message and dumps /FONT

BRFONT SIZE=3D2 FACE=3DArialout the error, form, url, session and =
cgi objects./FONT
/P

PFONT SIZE=3D2 FACE=3DArialNow the error I'm getting says =
quot;/FONTFONT FACE=3DTimes New RomanError resolving =
parameter/FONTFONT SIZE=3D2 FACE=3DArialquot; for a =
session/FONT

BRFONT SIZE=3D2 FACE=3DArialvariable, but when I look at the dump =
for the session object, it is defined./FONT
/P

PFONT SIZE=3D2 FACE=3DArialStrange thing is, I only get this error =
some of the time./FONT
/P

PFONT SIZE=3D2 FACE=3DArialAnybody got any ideas?/FONT
/P

PFONT SIZE=3D2 FACE=3DArialThanks in advance,/FONT

BRFONT SIZE=3D2 FACE=3DArialKevin/FONT
/P

/BODY
/HTML
--_=_NextPart_001_01C258DC.4D23E326--
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: ColdFusion MX for J2EE is Available!

2002-09-09 Thread Benoit Hediard

Indeed :
- ColdFusion MX Server Enterprise Edition (Full) = $4,999/server
- JRun (US $899/server) + ColdFusion MX for Macromedia JRun ($3,399/CPU) =
$4,298/CPU

So if you plan to have only one CPU/Server, it is much better to take JRun +
CFMX for J2EE.
It gives you much more freedom and possibilities.

On the other hand, if you have several CPU, then CFMX Ent is a better choice
in terms of pricing...
Is there any other advantages for using CFMX Enterprise over JRun+CFMX J2EE?


Benoit Hediard


-Message d'origine-
De : Stacy Young [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 9 septembre 2002 19:39
À : CF-Talk
Objet : RE: ColdFusion MX for J2EE is Available!


It's a separate product. Instead of CFMX Pro you'd purchase CFMX for J2EE
which gets deployed on a J2EE server. CFMX is actually just and application
that leverages all the goodies on the J2EE server...

You can do stuff like run multiple instances of cfmx (by creating server
instances and installing cfmx on each instance) plus access to full J2EE
feature set for extending ur apps in java..

It's pretty neat...plus this version plus JRun comes out to about the same
price as CFMX Enterprise...(I think)

Stace

-Original Message-
From: Cary Gordon [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 1:24 PM
To: CF-Talk
Subject: Re: ColdFusion MX for J2EE is Available!

I am just not getting this.

What happens when I have a server that has JRun 4 and CFMX Pro?  Are there
2 separate JRun installations?

I take it that the ColdFusion MX for JRun product is actually an unbundled
ColdFusion MX Server Enterprise.  Is that correct?

Thanks,

Cary

At 10:14 AM 9/9/2002 -0700, you wrote:
The ColdFusion product team is happy to announce the availability of
ColdFusion MX for J2EE, a new product line that allows developers to add
ColdFusion MX capabilities to supported J2EE application servers. Public
launch and announcements are slated for early next week.

ColdFusion MX for J2EE is available in the following editions:

* ColdFusion MX for IBM WebSphere Application Server
* ColdFusion MX for Macromedia JRun
* ColdFusion MX for Sun ONE

The existing ColdFusion MX release is built on top of JRun 4. But this
release separates the ColdFusion runtime from the underlying app server,
giving developers full access to the app server's capabilities.

So customers get the benefits of rapid server scripting capabilities,
increasing development productivity while enjoying full access to the
power of the J2EE platform.

See for yourself! Download a free trial or purchase ColdFusion MX for J2EE
today at: http://www.macromedia.com/go/cfj2ee.

For more information, visit our product section for FAQs, technical white
papers, and more at http://www.macromedia.com/go/cfj2ee.

Regards,
The ColdFusion Product Team


Cary Gordon
The Cherry Hill Company
11664 National Blvd 143
Los Angeles, CA 90066
310-397-2999 (v)
[EMAIL PROTECTED]




__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Why ColdFusion?

2002-09-06 Thread Benoit Hediard

Try also this : http://www.cffaq.com/

Benoit

-Message d'origine-
De : Tony Weeg [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 6 septembre 2002 16:42
À : CF-Talk
Objet : RE: Why ColdFusion?


drew,

no offense...however
this is such a tired thread, that gets belaboured over and over
again, there are too many reasons, and there are plenty of websites
that detail this.

try this one, and see where it takes you :)

http://www.swynk.com/friends/murphy/ironic_isnt_it.asp

or this one...

http://www.nwfusion.com/reprints/1123rev.html

.tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337

-Original Message-
From: Drew Harris [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 10:40 AM
To: CF-Talk
Subject: Why ColdFusion?


I am putting together a proposal for an organization.

What I really need are some really good reasons why I use ColdFusion and
what the benefits of CF are vs. other things like Java, JSP, and ASP.


Thanks,
Drew Harris

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Interesting: Macromedia Resource Kit

2002-09-06 Thread Benoit Hediard

Indeed, this is an interesting DRK.
But, one question comes to my mind : do we have to pay now to get the latest
Macromedia Flash UI or Datagrid Components?
Or does MM plan to release them as a free download?

Thanks.

Benoit

-Message d'origine-
De : Bryan F. Hogan [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 6 septembre 2002 17:36
À : CF-Talk
Objet : RE: Interesting: Macromedia Resource Kit


Thanks Vern.

-Original Message-
From: Vernon Viehe [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 11:35 AM
To: CF-Talk
Subject: RE: Interesting: Macromedia Resource Kit


The DRK does contain some CF stuff:

some CFCs: SMTP  POP,  a stock quote CFC (included w/ a sample apps)

Dreamweaver extensions for CFers:
*CF XHTML Editor
*Extra File Function Toolbar (OK, not specific to CF, but has some of the
file functions CF Studio users have been asking for, like close-all,
duplicate file, and others)

Flash MX DataGrid component

And an archive of all the CF content from DesDev, including articles,
whitepapers, tutorials, and columns.

We're definately going to expand the CF content in future DRK offerings.

Vernon Viehe
ColdFusion Community Manager
Macromedia, Inc.




-Original Message-
From: Bryan F. Hogan
To: CF-Talk
Sent: 9/6/2002 8:09 AM
Subject: Interesting: Macromedia Resource Kit

If I was a flash, PHP, Dreamweaver fanatic I would like this.
http://www.macromedia.com/software/drk/

How about something like this for CF?



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



  1   2   >