Re: Reg Expression to revome (most) punctuation

2006-03-28 Thread cf
Hi,

 rereplacenocase(string, '[a-z0-9 ]+', '', 'all')
 This will remove every occurences of a character 
 that is NOT within the range of A-Z (both cases), 
 0-9 or a space. 

Actually this will remove only letters number and spaces... to negate the 
range., you need a caret:
rereplacenocase(string, '[^a-z0-9 ]', '', 'all')

But, you could also replace the punctuation class:
reReplaceNoCase(string, '[[:punct:]]', '', 'all')

HTH,

Chris


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


Re: Reg Expression to revome (most) punctuation

2006-03-28 Thread Michael Dinowitz
You are correct. When I typed it I thought I had the carrat there but I guess 
not. When I make such a simple mistake then it's a good sign that I need sleep. 

For a little more info on Regex, these are some presentations of mine on the 
subject:
http://houseoffusion.com/_regex/presentation/
http://www.houseoffusion.com/RegEx.ppt

Hi,

 rereplacenocase(string, '[a-z0-9 ]+', '', 'all')
 This will remove every occurences of a character 
 that is NOT within the range of A-Z (both cases), 
 0-9 or a space. 

Actually this will remove only letters number and spaces... to negate the 
range., you need a caret:
rereplacenocase(string, '[^a-z0-9 ]', '', 'all')

But, you could also replace the punctuation class:
reReplaceNoCase(string, '[[:punct:]]', '', 'all')

HTH,

Chris

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


Re: cflogin and load balancing

2006-03-28 Thread Andy Allan
Isn't cflogin already based on JAAS? The CF (or indeed JRun)
implementation just happens to be botched?

Andy

On 28/03/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
 I've been wondering why the CF team has not switched over to using
 J2EE security.  A rewrite of cflogin code that can use JAAS would be
 just swell and allow  integration with non CF J2EE products without
 messing with web.xml files and such, eh?

 DK

 On 3/27/06, wolf2k5 [EMAIL PROTECTED] wrote:
  On 3/26/06, Adam Churvis [EMAIL PROTECTED] wrote:
   It doesn't work that way.  Since your CFLOGINUSER call is inside a 
   CFLOGIN call, that CFLOGIN call *won't* run when the second server sees 
   your authentication cookie because CFLOGIN only runs when you are *not* 
   authenticated.
 
  Actually, according to my testing (ColdFusion 6.1 with the Updater),
  when the second server sees the cflogin cookie, it will automatically
  run the cflogin/cfloginuser code and authenticate/authorize the user.
 
  Can anyone verify this with ColdFusion MX 7?
 
  Thanks.
 
 

 

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


RE: where to start Ajax or Flex?

2006-03-28 Thread Robertson-Ravo, Neil (RX)
True and not true.  Backbase is not a server side application per se - it is
still simply JS/AJAX.It does however come in a variety of flavours
(add-ons) of which J2EE and .NET are some of them.  All they have done is
provide a back end system to interface Backbase with.  You can easily use
Backbase as it replacing the J2EE or .NET system with ColdFusion it is just
the two server libraries they provide are our of the box.  You do not need
a server technology to use Backbase.

It is an absolute dream to use - very powerful and a wonderful piece of
coding.  If you did not want to go down the Flex route for whatever reason
this is your port of call for sure - unless of course Atlas floats your boat
;-)





-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: 28 March 2006 07:18
To: CF-Talk
Subject: Re: where to start Ajax or Flex?

Backbase: http://www.backbase.com/ It's a server-side engine thing
that requires J2EE or .NET, rather than directly supporting CF in the
way that CFAJAX and ajaxCFC (etc) do. All in all it looks like a pain,
but I haven't tried it so I can't have an opinion.

BTW, I mentioned YODEL in the FA article :-)

On 3/28/06, Jim Davis [EMAIL PROTECTED] wrote:
  -Original Message-
  From: j s [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 27, 2006 11:21 PM
  To: CF-Talk
  Subject: where to start Ajax or Flex?
 
  I haven't see or notice much talk about CF and Ajax.  Can someone point
me
  in the right direction on how to get started and their experience with
  either of the two.  Also how limited is Backbase for CF or CFAjax?

 I'm sorry: I've no idea what you mean by backbase.  ;^)

 There are no less than three major ColdFusion+AJAX projects.  And with
that
 I'm sure I'm missing some.

 http://www.robgonda.com/blog/projects/ajaxcfc/

 http://www.indiankey.com/cfajax/

 http://www.lalabird.com/

 There are countless mini projects focusing on constrained aspects,
 interface widgets, etc.

 For just plain data passing from CF to JavaScript I like (go figure!) my
own
 implementation here:

 http://www.depressedpress.com/Content/Development/YODEL/Index.cfm

 Using the handler registration capability you can create very complexdata
 profiles very easily.  I've used it successfully with highly complex AJAX
 applications with no problem.

--



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


Turning on Metrics on CFMX7

2006-03-28 Thread Sung Woo
For some reason, I can't get metrics running on a recent CFMX7 upgrade (from 
CFMX6.1).  The relevant portions on jrun.xml are as follows:

!-- This Service provides metrics information  --
  !-- == --
  service class=coldfusion.server.jrun4.metrics.MetricsServiceAdapter 
name=MetricsService
attribute name=bindToJNDItrue/attribute
  /service
  
!-- == --
  !-- This Service represents JRun's logging facility--
  !-- == --
  service class=jrunx.logger.LoggerService name=LoggerService
attribute name=format{server.date} {log.level} 
{log.message}{log.exception}/attribute
!-- You can modify format to suit your need. --
!-- EXAMPLE: attribute name=format{date MM/dd HH:mm:ss} 
{log.message}{log.exception}/attribute --
attribute name=errorEnabledtrue/attribute
attribute name=warningEnabledtrue/attribute
attribute name=infoEnabledtrue/attribute
attribute name=debugEnabledfalse/attribute
!-- You may also need to uncomment MetricsService if you want metrics 
enabled --
attribute name=metricsEnabledtrue/attribute
attribute name=metricsLogFrequency120/attribute
attribute name=metricsFormatWeb threads (busy/total): 
{jrpp.busyTh}/{jrpp.totalTh} Sessions: {sessions} Total Memory={totalMemory} 
Free={freeMemory}/attribute
service class=jrunx.logger.ThreadedLogEventHandler 
name=ThreadedLogEventHandler
  service class=jrunx.logger.ConsoleLogEventHandler 
name=:service=ConsoleLogEventHandler /
  service class=jrunx.logger.FileLogEventHandler 
name=FileLogEventHandler
attribute 
name=filename{jrun.rootdir}/logs/{jrun.server.name}-event.log/attribute
attribute name=rotationSize200k/attribute
attribute name=rotationFiles3/attribute
!-- Use heading to specify an alternate log heading for system event 
log. --
!-- EXAMPLE: attribute name=heading# Created by JRun on {date 
MM/dd HH:mm:ss}/attribute --
attribute name=closeDelay5000/attribute
attribute name=deleteOnExitfalse/attribute
  /service
/service
  /service
 
Is there something I'm doing wrong?  The log directory is 
C:\CFusionMX7\runtime\logs, and I'm looking at coldfusion-out.log.

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


CFMX7 Logs Using CFMX6 Logs!

2006-03-28 Thread Sung Woo
After upgrading to CFMX7, I'm seeing something weird.  I haven't uninstalled 
CFMX6.1 yet, but the service is turned off.  In any case, I'm seeing that CFMX7 
is using C:\ColdFusionMX\logs instead of C:\ColdFusionMX7\logs.  Why the heck 
would it be doing this, and how can I change it?

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


Using CfPOP

2006-03-28 Thread Ken
Hi. I have a mailing list in a db, and I need to start flagging email
addresses that bounce back emails. I am thinking of using CFPOP to read
bounced emails, or read a special header that I embed when sending the
emails. Then update a flag in the db.

That's vaguely what i need to do. However, has anyone done this in a better
and more efficient manner? If so, please help.

Thanks,
Ken.


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


Re: CFMX7 Logs Using CFMX6 Logs!

2006-03-28 Thread Rob Wilkerson
In the MX 7 administrator, you can specify your logging directory. 
Look in the logging settings section, I believe.

On 3/28/06, Sung Woo [EMAIL PROTECTED] wrote:
 After upgrading to CFMX7, I'm seeing something weird.  I haven't uninstalled 
 CFMX6.1 yet, but the service is turned off.  In any case, I'm seeing that 
 CFMX7 is using C:\ColdFusionMX\logs instead of C:\ColdFusionMX7\logs.  Why 
 the heck would it be doing this, and how can I change it?

 

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


Re: where to start Ajax or Flex?

2006-03-28 Thread j s
James and everyone,

Thanks for the head start.

 I've been very happy with CFAJAX - it offes a good feature set and it
 can be deployed without mappings or any other admin changes. AjaxCFC
 is similar in some ways, and there are other options like JSMX and
 Neuromancer.
 
 In general I've found AJAX techniques to be relatively easy to use
 (via CFAJAX), providing a user interface with which the user is
 familiar (html).
 
 My Fusion Authority article on CF and AJAX may also assist:
 
 http://www.fusionauthority.
 com/Techniques/4593-Using-AJAX-with-ColdFusion-Part-I
 
 On 3/28/06, j s [EMAIL PROTECTED] wrote:
  I don't know a lick of Java and have played with Flash Remoting and 
 AS 2.  I can see the future in either Ajax of Flex.  I'm sorta leaning 
 towards Ajax cause from my understanding its cheaper, now, and I think 
 it can be deployed on any hosting services.
 
  Also correct me if I'm wrong but Flex since it uses Flash Player the 
 stage can't be set dynamicaly.  If I build a dynamic form or page or 
 menu system that varies in size I would have to plan out the stage 
 size ahead of time.  Thats not dynamic.  I hope I'm wrong on this.
 
  I haven't see or notice much talk about CF and Ajax.  Can someone 
 point me in the right direction on how to get started and their 
 experience with either of the two.  Also how limited is Backbase for 
 CF or CFAjax?
 
 --
 CFAJAX docs and other useful articles:
 http://jr-holmes.coldfusionjournal.
com/

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


Re: Reg Expression to revome (most) punctuation

2006-03-28 Thread Paul Giesenhagen
Perfect ... thanks!

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com


- Original Message - 
From: [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, March 28, 2006 2:06 AM
Subject: Re: Reg Expression to revome (most) punctuation


 Hi,

 rereplacenocase(string, '[a-z0-9 ]+', '', 'all')
 This will remove every occurences of a character
 that is NOT within the range of A-Z (both cases),
 0-9 or a space.

 Actually this will remove only letters number and spaces... to negate the
 range., you need a caret:
 rereplacenocase(string, '[^a-z0-9 ]', '', 'all')

 But, you could also replace the punctuation class:
 reReplaceNoCase(string, '[[:punct:]]', '', 'all')

 HTH,

 Chris


 

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


Re: CFMX7 Logs Using CFMX6 Logs!

2006-03-28 Thread Sung Woo
Thanks, Rob!

 In the MX 7 administrator, you can specify your logging directory. 
 Look in the logging settings section, I believe.
 
 On 3/28/06, Sung Woo [EMAIL PROTECTED] wrote:
  After upgrading to CFMX7, I'm seeing something weird.  I haven't 
 uninstalled CFMX6.1 yet, but the service is turned off.  In any case, 
 I'm seeing that CFMX7 is using C:\ColdFusionMX\logs instead of 
 C:\ColdFusionMX7\logs.  Why the heck would it be doing this, and how 
 can I change it?
 
  

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


Re: cfm vs. php?

2006-03-28 Thread Raymond Camden
I heard that as well, at SGI. (Of course, this was MANY moons ago.)

On 3/27/06, Jim Davis [EMAIL PROTECTED] wrote:
  -Original Message-
  From: James Holmes [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 28, 2006 12:38 AM
  To: CF-Talk
  Subject: Re: cfm vs. php?
 
  Exactly. To quote Heinlein, The answer to any question that begins
  with 'Why don't they' is invariably 'Money'.

 And this works on both sides of the spectrum.  I've been told more than once
 in my company that CF isn't expensive enough to be an enterprise-capable
 product.

 They'd rather spend $70,000 on WebSphere.

 Jim Davis

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda

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


CFMX 7 - Web Service Issues

2006-03-28 Thread Justin Hansen
We are having some evil issues with cfmx web services (cfc) lately. 
(See error detail below.)

So, far we think that it's getting hit too quickly? Our current theory
is CF is checking the sub-code to see if the cfc has changed on every
hit. If you make a call while it's in the middle of that, it chokes.
Also, to make matters worse, if I hit the web service directly via the
URL and hit refresh a few times, it completely hangs the server.

Anyone out there seen similar issues?

cfErrorDetail
Detail: Here is the fault returned when invoking the web service
operation:br preAxisFault faultCode:
{http://xml.apache.org/axis/}HTTP faultSubcode: faultString:
(500)Internal Server Error faultActor: faultNode: faultDetail: {}:return
code: 500 {http://xml.apache.org/axis/}HttpErrorCode:500 /pre

Message: Could not perform web service invocation requestJobByGUID.  

StackTrace: coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException:
Could not perform web service invocation requestJobByGUID. at
coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:230) at
coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:153) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at
cfJobRequest2ecfc848481392$funcCOMMIT._ ... exedra ...
/cfErrorDetail

Justin Hansen


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


Re: cfm vs. php?

2006-03-28 Thread Sung Woo
Costwise, you can also get CFML through BlueDragon:

http://www.newatlanta.com/products/bluedragon/product_info/features.cfm

The minimum server is still free, another reason to go CFML instead of PHP.

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


RE: cfm vs. php?

2006-03-28 Thread Snake
It's only actually cheaper for single CPU servers though.
So the benefit of BlueDragon over CFMX isn't really cost, but rather it's
feature set and support.

Russ 

-Original Message-
From: Sung Woo [mailto:[EMAIL PROTECTED] 
Sent: 28 March 2006 14:58
To: CF-Talk
Subject: Re: cfm vs. php?

Costwise, you can also get CFML through BlueDragon:

http://www.newatlanta.com/products/bluedragon/product_info/features.cfm

The minimum server is still free, another reason to go CFML instead of PHP.



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


Re: cfm vs. php?

2006-03-28 Thread Sung Woo
Is that right?  I thought CPU count only comes into account for .NET or J2EE 
versions.  For the plain ol' server version, I thought it was no cost?

http://www.newatlanta.com/products/bluedragon/product_info/pricing.cfm

It's only actually cheaper for single CPU servers though.
So the benefit of BlueDragon over CFMX isn't really cost, but rather it's
feature set and support.

Russ 

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


Re: cfm vs. php?

2006-03-28 Thread rhymes with 'loud'
Amanda, I don't recall seeing anywhere in this thread whether or not your 
company will be doing its own hosting or not...but if you outsource your 
hosting, then it doesn't have to cost very much at all to develop using CF, 
depending on what tools your developers opt to use. The developer version of CF 
server is free, so that's not a monetary issue; as far as IDEs go, Dreamweaver 
is pretty commonly used, but lately the craze has been the open source IDE 
Eclipse, with a CF plugin (CFEclipse) as the IDE of choice. I could be wrong 
on my facts (if so, other please chime in), but developing apps in CF doesn't 
have to cost very much AT ALL, as long as you're willing to make a few small 
compromises. You could outsource your hosting for anywhere from $15 to $50 a 
month, use open source development IDEs for free, and utilize the developer 
version of CF Server also for free. I'd say that's very much in the ballpark 
with PHP when it comes to costs, with all the beauty and RAD of CF.

Just my opinion, coming from the perspective of someone who didn't have the 
luxury of the ideal environment when i was first learning CF.



 will admit upfront: i haven't a clue about CF.
 
 which is why i'm here. 
 
 i'm trying to design an application where:
 
 user fills out some forms
 (submits)
 then their input is gathered + spit back out in a flash movie
 
 i've seen this accomplished in both .php and .cfm but don't know what 
 the difference is between the two or the PROS/CONS of each.
 
 can someone help me figure it out??
 
 many many 
thanks!

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


Re: cflogin and load balancing

2006-03-28 Thread Douglas Knudsen
nope and nope.

I've setup JAAS in JRun, seems to work fine.  In fact I setup a
serverwide SSO solution using JAAS where CF can interface with it
simply.

DK

On 3/28/06, Andy Allan [EMAIL PROTECTED] wrote:
 Isn't cflogin already based on JAAS? The CF (or indeed JRun)
 implementation just happens to be botched?

 Andy

 On 28/03/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
  I've been wondering why the CF team has not switched over to using
  J2EE security.  A rewrite of cflogin code that can use JAAS would be
  just swell and allow  integration with non CF J2EE products without
  messing with web.xml files and such, eh?
 
  DK
 
  On 3/27/06, wolf2k5 [EMAIL PROTECTED] wrote:
   On 3/26/06, Adam Churvis [EMAIL PROTECTED] wrote:
It doesn't work that way.  Since your CFLOGINUSER call is inside a 
CFLOGIN call, that CFLOGIN call *won't* run when the second server sees 
your authentication cookie because CFLOGIN only runs when you are *not* 
authenticated.
  
   Actually, according to my testing (ColdFusion 6.1 with the Updater),
   when the second server sees the cflogin cookie, it will automatically
   run the cflogin/cfloginuser code and authenticate/authorize the user.
  
   Can anyone verify this with ColdFusion MX 7?
  
   Thanks.
  
  
 
 

 

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


RE: cfm vs. php?

2006-03-28 Thread Munson, Jacob
 while i now clearly see the CF light...there's gotta be a 
 darkside lurking
 somewhere. yeah? maybe just a little bitty one?

I'll echo the it's about money statements, but follow up with a
caveat.  If your needs are simple enough that shared hosting would work
(you don't need a colocated server all to yourself), CF can be pretty
cheap.  You can download a free local development copy of CF server for
all your developers.  Then for production, you use one of the many
hosting companies that offers ColdFusion.  However, I have noticed that
ColdFusion shared hosting is a bit more expensive than PHP
($5-$10/month).  If you want good recommendations on a host, search this
list's archives for 'hosting' and you'll find tons of good advice.


---


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



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


RE: cfm vs. php?

2006-03-28 Thread Andy Matthews
While you're talking about hosting Jacob, I'd suggest either Gearhost.com
(CF hosting as low as $8.95, with mySQL included for as low as $16.95). I
used them for almost 2 years and they were great. Their Control panel is
quite good as well.

Alternately, my company, ICGLink, offers CF hosting for as low as $10 per
month:
http://www.icglink.net/features.html

Whomever you choose, I do second Jacob's suggestion of shared hosting. It's
the rare company that really needs their own server. Shared hosting can be
extremely economical since you don't have to support the machine, purchase a
CF license and can download a free text editor with CF hooks from the
internet.

It's possible to develop in CF for NOTHING, not counting the cost of
hosting.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 9:31 AM
To: CF-Talk
Subject: RE: cfm vs. php?


 while i now clearly see the CF light...there's gotta be a
 darkside lurking
 somewhere. yeah? maybe just a little bitty one?

I'll echo the it's about money statements, but follow up with a
caveat.  If your needs are simple enough that shared hosting would work
(you don't need a colocated server all to yourself), CF can be pretty
cheap.  You can download a free local development copy of CF server for
all your developers.  Then for production, you use one of the many
hosting companies that offers ColdFusion.  However, I have noticed that
ColdFusion shared hosting is a bit more expensive than PHP
($5-$10/month).  If you want good recommendations on a host, search this
list's archives for 'hosting' and you'll find tons of good advice.


---


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format.  Thank you.   A2





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


RE: cfm vs. php?

2006-03-28 Thread Munson, Jacob
I'm a Linux snob when it comes to hosting.  Do those companies offer
Linux/CF? 

 -Original Message-
 From: Andy Matthews
 Sent: Tuesday, March 28, 2006 8:40 AM
 
 While you're talking about hosting Jacob, I'd suggest either 
 Gearhost.com
 (CF hosting as low as $8.95, with mySQL included for as low 
 as $16.95). I
 used them for almost 2 years and they were great. Their 
 Control panel is
 quite good as well.
 
 Alternately, my company, ICGLink, offers CF hosting for as 
 low as $10 per
 month:
 http://www.icglink.net/features.html

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


RE: cfm vs. php?

2006-03-28 Thread Andy Matthews
ICGLink is Linux based, Gearhost I think is Windows, but I can't recall.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 9:46 AM
To: CF-Talk
Subject: RE: cfm vs. php?


I'm a Linux snob when it comes to hosting.  Do those companies offer
Linux/CF?

 -Original Message-
 From: Andy Matthews
 Sent: Tuesday, March 28, 2006 8:40 AM

 While you're talking about hosting Jacob, I'd suggest either
 Gearhost.com
 (CF hosting as low as $8.95, with mySQL included for as low
 as $16.95). I
 used them for almost 2 years and they were great. Their
 Control panel is
 quite good as well.

 Alternately, my company, ICGLink, offers CF hosting for as
 low as $10 per
 month:
 http://www.icglink.net/features.html

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





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


Recommendation on Coldfusion-based mailinglist/forum software

2006-03-28 Thread Jerry Johnson
Good morning,

I know this has come up dozens of times (and am searching the
archives), but I am wondering if the field has changed.

I am looking for a COTS mailinglist/web-based forum system that
supports html messages, has a decent web-based front end and back end,
and is compatible with cfmx 7 and sql server.

A couple dozen messages a day to a couple thousand users is all the
volume for now, but hope to grow.

The ability to imbed the web-based forms into our existing sites is paramount.

Any recommendations and rough pricing?

Thanks,
Jerry Johnson

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


RE: cfm vs. php?

2006-03-28 Thread Munson, Jacob
ICG does Linux?  Darnit, I just switched to HMS and I'd not look forward
to another move... :\ 

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 28, 2006 8:50 AM
 
 ICGLink is Linux based, Gearhost I think is Windows, but I 
 can't recall.
 
 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 28, 2006 9:46 AM
 To: CF-Talk
 Subject: RE: cfm vs. php?
 
 
 I'm a Linux snob when it comes to hosting.  Do those companies offer
 Linux/CF?
 
  -Original Message-
  From: Andy Matthews
  Sent: Tuesday, March 28, 2006 8:40 AM
 
  While you're talking about hosting Jacob, I'd suggest either
  Gearhost.com
  (CF hosting as low as $8.95, with mySQL included for as low
  as $16.95). I
  used them for almost 2 years and they were great. Their
  Control panel is
  quite good as well.
 
  Alternately, my company, ICGLink, offers CF hosting for as
  low as $10 per
  month:
  http://www.icglink.net/features.html


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



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


Re: Recommendation on Coldfusion-based mailinglist/forum software

2006-03-28 Thread Michael Dinowitz
If you can't find one that fits your need, I'd be more than willing to work 
with you on a price and bundle up all of the House of Fusion mailing list code 
into a nice package for you. It's mostly CF 7 at the moment using the directory 
watcher gateway service but can be reconfigured for scheduled events or iMS 
post watching in little time. Also, while it is based on iMS for sending mail, 
it can be reworked for CFMAIL or other packages as needed. 

As a side note, I have not tested CFMAIL to the level of sending or header 
configuration that I have iMS. CFMAIL may be able to reconfigure all of the 
headers like I have them using iMS but I don't have the time to experiment on 
that at the moment. Additionally, CFMAIL may also be able to handle the mass of 
email that I send, but not as efficiently as iMS due to the threading. iMS sets 
a single mail file and spawns off a number of sub-files contailing the sending 
information per person that refers back to the base mail file. CFMAIL creates a 
full email per person. 

Good morning,

I know this has come up dozens of times (and am searching the
archives), but I am wondering if the field has changed.

I am looking for a COTS mailinglist/web-based forum system that
supports html messages, has a decent web-based front end and back end,
and is compatible with cfmx 7 and sql server.

A couple dozen messages a day to a couple thousand users is all the
volume for now, but hope to grow.

The ability to imbed the web-based forms into our existing sites is paramount.

Any recommendations and rough pricing?

Thanks,
Jerry Johnson

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


RE: cfm vs. php?

2006-03-28 Thread Andy Matthews
Yep...we do Linux. Right now we only have CFMX. We're discussing the move to
CF7 but I would say that it would be at least 4-6 months away.

Our pricing is pretty reasonable, not the cheapest, but not the most
expensive either. The good thing about our setup though is that we have a
cluster of servers for load-balancing instead of single servers with scads
of sites on each.

Keep us in mind whe

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 10:01 AM
To: CF-Talk
Subject: RE: cfm vs. php?


ICG does Linux?  Darnit, I just switched to HMS and I'd not look forward
to another move... :\

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 28, 2006 8:50 AM

 ICGLink is Linux based, Gearhost I think is Windows, but I
 can't recall.

 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 28, 2006 9:46 AM
 To: CF-Talk
 Subject: RE: cfm vs. php?


 I'm a Linux snob when it comes to hosting.  Do those companies offer
 Linux/CF?

  -Original Message-
  From: Andy Matthews
  Sent: Tuesday, March 28, 2006 8:40 AM
 
  While you're talking about hosting Jacob, I'd suggest either
  Gearhost.com
  (CF hosting as low as $8.95, with mySQL included for as low
  as $16.95). I
  used them for almost 2 years and they were great. Their
  Control panel is
  quite good as well.
 
  Alternately, my company, ICGLink, offers CF hosting for as
  low as $10 per
  month:
  http://www.icglink.net/features.html


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format.  Thank you.   A2





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


Slightly OT: mySQL query (view) syntax

2006-03-28 Thread Les Mizzell
Using a view in mySQL,

 From the current query:
SELECT blah, blah...
   from (`idc`.`locations`
   join `idc`.`personnel`
   on((`idc`.`personnel`.`county_id` = `idc`.`locations`.`locID`)))




`idc`.`personnel`.`county_id` is a LIST

So I need to add a WHERE statement to the above like:

WHERE
   `idc`.`locations`.`locID` IN `idc`.`personnel`.`county_id`




for the life of me I can't get the syntax for the WHERE to work 
correctly. Maybe I'm trying to put it in the wrong place


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


Re: cfm vs. php?

2006-03-28 Thread Thomas Chiverton
On Tuesday 28 March 2006 06:48, Jim Davis wrote:
 And this works on both sides of the spectrum.  I've been told more than
 once in my company that CF isn't expensive enough to be an
 enterprise-capable product.

Add Flex to the purchase order then :-)

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

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


Re: Slightly OT: mySQL query (view) syntax

2006-03-28 Thread Thomas Chiverton
On Tuesday 28 March 2006 17:15, Les Mizzell wrote:
 `idc`.`personnel`.`county_id` is a LIST

 So I need to add a WHERE statement to the above like:

 WHERE
`idc`.`locations`.`locID` IN `idc`.`personnel`.`county_id`

`idc`.`locations`.`locID` IN (`idc`.`personnel`.`county_id`)
?

TBH 'in' is very expensive, maybe
`idc`.`locations`.`locID` = `idc`.`personnel`.`county_id`
would be better :-)

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

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


RE: where to start Ajax or Flex?

2006-03-28 Thread Ian Skinner
Also correct me if I'm wrong but Flex since it uses Flash Player the stage 
can't be set dynamically.  If I build a dynamic form or page or menu system 
that varies in size I would have to plan out the stage size ahead of time.  
That's not dynamic.  I hope I'm wrong on this.


Well, you could try my approach and play with both.  I'm still only a little 
beyond the hello world stage so I am not an expert on either.  But I will 
chime in that you can dynamically change the size of stage (It's not called 
that in the flex world, but the concept is the same).  You can create states 
and each state can be a different size with various transition effects 
involved.  

Also, if you do not need the flex enterprise service [FES] as it is currently 
called, you can deploy a flex app to any service.  Once you are done and the 
app is compiled, it is a .swf file that can be put anywhere a .swf can 
currently go.  Without the FES piece, you are not able to PUSH data from the 
server to the client, but you can PULL all you want.




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

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




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


RE: where to start Ajax or Flex?

2006-03-28 Thread Kevin Aebig
With the Flash stage, you can have it dynamically layout and resize your
stage using a Listener. The Flash stage is as flexible with size as a
regular page... it just takes a bit of extra effort to achieve the exact
same capabilities.

Cheers,

Kevin



-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2006 10:55 AM
To: CF-Talk
Subject: RE: where to start Ajax or Flex?

Also correct me if I'm wrong but Flex since it uses Flash Player the stage
can't be set dynamically.  If I build a dynamic form or page or menu system
that varies in size I would have to plan out the stage size ahead of time.
That's not dynamic.  I hope I'm wrong on this.


Well, you could try my approach and play with both.  I'm still only a little
beyond the hello world stage so I am not an expert on either.  But I will
chime in that you can dynamically change the size of stage (It's not
called that in the flex world, but the concept is the same).  You can create
states and each state can be a different size with various transition
effects involved.  

Also, if you do not need the flex enterprise service [FES] as it is
currently called, you can deploy a flex app to any service.  Once you are
done and the app is compiled, it is a .swf file that can be put anywhere a
..swf can currently go.  Without the FES piece, you are not able to PUSH data
from the server to the client, but you can PULL all you want.




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

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 






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


Verity K2 on CFMX 7?

2006-03-28 Thread Mike Klostermeyer
I have CFMX7 Standard.  I am trying to duplicate a site in CFMX 6 on our CF
7 server.  To do so requires me to set up a K2 Verity collection, but only
see the Verify Collections link in the CF Admin (no links to access the
Verity K2 Server).   The CFMX 7 Search Server service is running.  Did
anything change regarding Verity between these versions?

Mike Klostermeyer
[EMAIL PROTECTED]



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


problems with cfqueryparam

2006-03-28 Thread Heckl, Siegfried
Hi there,
I´ve got a problem with the cfqueryparam-tag.

I create a string with a sql-statement within a cfscript-block. After that I
create an object and call the function to run the query. That looks like
this:
---
cfscript

my_sql = select  #application.Prod[txt]# PROD_TXT
from#application.Tables[prod]#
Join#application.Tables[subs_pgrp]#   on
(#application.SubsPgrp[oid]# = #application.Prod[subs_pgrp_oid]#)
Join#application.Tables[prod_grp]#on
(#application.ProdGrp[oid]# = #application.SubsPgrp[pgrp_oid]#)
Join#application.Tables[prod_grp_name]#   on
(#application.ProdGrpName[poid]# = #application.ProdGrp[oid]#)
Join#application.Tables[dept]#on
(#application.Dept[oid]# = #application.ProdGrp[dept_oid]#)
Join#application.Tables[dept_name]#   on
(#application.DeptName[poid]# = #application.Dept[oid]#)
where   #application.Prod[oid]#   =
[CHAR]##EbDspData1[data_key_1].SUBSID_PROD_OID##[/CHAR]
AND #application.ProdGrpName[cabbr]#  =
[CHAR]##session.app_language_iso##[/CHAR]
AND #application.DeptName[cabbr]# =
[CHAR]##session.app_language_iso##[/CHAR];

objSql  = createObject(component, common.util.Database);
get_data = objSql.runPreparedQuery(my_sql);

cfscript
---

In the function I replace the locumtenency by the cfqueryparam-tag and run
the query:
---
cffunction name=runPreparedQuery ...
cfscript
 myNewSql = replace(arguments.mySql, [CHAR], chr(60)cfqueryparam
value=chr(34), All);
 myNewSql = replace(myNewSql, [/CHAR], chr(34) 
cfsqltype=chr(34)CF_SQL_VARCHARchr(34)chr(62), All);
/cfscript
cfquery name=queryResult datasource=#dbName# username=#dbUser#
password=#dbPw#
#myNewSql#
/cfquery
cfreturn queryResult /
/cffunction
---

Although the sql-string looks correct if I dump it and it works if I copy it
directly into the cfquery-tag it throws an database-error in the way I use
it.

Any ideas???


I use CF MX7 and a db2-database



Thanks a lot in advance,
Sigi


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


Re: where to start Ajax or Flex?

2006-03-28 Thread Josh Nathanson
CFAjax is amazingly powerful.  If you know javascript pretty well you can be 
writing really cool implementations within a couple of hours.
http://www.indiankey.com/cfajax/

I'm working on a single-page cfajax shopping cart implementation, similar to 
the Flex shopping cart example at adobe labs, that I will be posting soon.

Best of all, it's free...and you're not stuck with Flex's look and feel.

Can't speak to AjaxCFC as I haven't investigated that one personally.

-- Josh


- Original Message - 
From: Ian Skinner [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, March 28, 2006 8:55 AM
Subject: RE: where to start Ajax or Flex?


 Also correct me if I'm wrong but Flex since it uses Flash Player the stage 
 can't be set dynamically.  If I build a dynamic form or page or menu 
 system that varies in size I would have to plan out the stage size ahead 
 of time.  That's not dynamic.  I hope I'm wrong on this.


 Well, you could try my approach and play with both.  I'm still only a 
 little beyond the hello world stage so I am not an expert on either. 
 But I will chime in that you can dynamically change the size of stage 
 (It's not called that in the flex world, but the concept is the same). 
 You can create states and each state can be a different size with various 
 transition effects involved.

 Also, if you do not need the flex enterprise service [FES] as it is 
 currently called, you can deploy a flex app to any service.  Once you are 
 done and the app is compiled, it is a .swf file that can be put anywhere a 
 .swf can currently go.  Without the FES piece, you are not able to PUSH 
 data from the server to the client, but you can PULL all you want.




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

 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -

 C code. C code run. Run code run. Please!
 - Cynthia Dunning

 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.




 

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


Re: problems with cfqueryparam

2006-03-28 Thread Michael Dinowitz
It's not possible to load tags into a variable and then execute them directly 
in CF. The entire basis of what your doing would never work (unless you write 
the info to file and cfinclude it but that's a different story for a different 
time)
If you were doing a standard query without any CF tags within the query it 
would work ok, but those tags kill it.

In the function I replace the locumtenency by the cfqueryparam-tag and run
the query:
---
cffunction name=runPreparedQuery ...
cfscript
myNewSql = replace(arguments.mySql, [CHAR], chr(60)cfqueryparam
value=chr(34), All);
myNewSql = replace(myNewSql, [/CHAR], chr(34) 
cfsqltype=chr(34)CF_SQL_VARCHARchr(34)chr(62), All);
/cfscript
cfquery name=queryResult datasource=#dbName# username=#dbUser#
password=#dbPw#
   #myNewSql#
/cfquery
cfreturn queryResult /
/cffunction
---

Although the sql-string looks correct if I dump it and it works if I copy it
directly into the cfquery-tag it throws an database-error in the way I use
it.

Any ideas???


I use CF MX7 and a db2-database



Thanks a lot in advance,
Sigi

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


ANN: Fusebox Editor based on XmlHttpRequest.

2006-03-28 Thread Sergey Croitor
Hi,

It's a refreshless DHTML editor for fusebox and circuit xml
files. The editor is a part of Docubee project.
It is not AJAX based but uses same approach, just another
implementation.
Fusebox xml files show up as editable trees.
Works in IE6 and Firefox.

Docubee Fusebox Editor live demo(login:password demo:demo)
http://www.docubee.com/index.cfm?fuseaction=browse.liveFBDemo

Docubee Forms live demo(login:password demo:demo)
http://www.docubee.com/index.cfm?fuseaction=browse.liveDBDemo

IE screenshot
http://www.docubee.com/images/fb2.gif

Download link (200 Kb):
http://www.docubee.com/index.cfm?fuseaction=download.docubeeCF

All is draggable and resizable there. XmlObjects inside, it uses
XmlHttpRequest to retrieve/upload xml files, predefined attribute
values as SELECT dropdowns according to DTD, dropdown lists to
choose a fuseaction for DO, RELOCATE nodes, shows fusedoc part of 
a fuse as a tree, etc.
You can use it to open fuse CFM files in your editor when it
runs locally by click on INCLUDE node in a circuit tree.

Simple to install, just unpack it in the directory where your
FB4/4.1 projects are located and choose 
FUSEBOX  search for Fusebox projects
Open circuit tree by click on a circuit node in a fusebox tree.


Some features:

-Show fuseaction dependency. It shows which fuseactions have XFAs
 pointing to given fuseaction and which fuseactions call given
 fuseaction by DO tag.

-Onclick event for DO tag opens appropriate circuit and
 focuses at fuseaction. You can easily browse through fuseactions in
 different circuits by one click.
 
-Browse History panel. Each time you select a fuseaction, it
 is appended to Browse History. All items are clickable there so
 you can easily pick up some previous fuseaction and go back to see
 fuseaction details.

-[source] button for a circuit node. You can open now
 circuit.xml.cfm content in your CFML editor by clicking on
 this button(when running locally).
 
-Onclick event for INCLUDE tag opens cfm fuse file in your CFML
 editor(when running locally).

-[collapse] button for circuit node helps you to see compact list 
 of fuseaction captions and open necessary fuseaction by click.

-Search for/rename orphaned files in fusebox project. This action
 searches for all .cfm files which are not listed in circuit.xml
 [include] tags. If .cfm file is called by cfinclude in the file
 which is listed in circuit, it also considered as not orphaned.
 You get the list of orphaned files, then edit it by excluding 
 some entries, then rename.
 
I tested it working on large projects with more than 50 circuits 
and 500 fuseactions.
Firefox draws circuit xml tree much faster than IE.
Strange but true :)

site: http://www.docubee.com

See HowTo help panel for more info.
I'd appreciate any feedback.


Thanks,
Sergey Croitor


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


RE: Verity K2 on CFMX 7?

2006-03-28 Thread Dave Watts
 I have CFMX7 Standard. I am trying to duplicate a site in 
 CFMX 6 on our CF 7 server. To do so requires me to set up 
 a K2 Verity collection, but only see the Verify Collections 
 link in the CF Admin (no links to access the Verity K2 Server). 
 The CFMX 7 Search Server service is running. Did anything 
 change regarding Verity between these versions?

Yes, big time!

CFMX 7 uses only Verity K2 - no more VDK. It also uses a newer version of K2
than that used by CFMX 6.x. You can just create your collections using
CFCOLLECTION or the CF Administrator, and they will be K2 collections. No
more .ini files!

There are also a bunch of new features in the newer K2 version - you might
want to spend some time reading the CFMX 7 documentation.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


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


Re: cfm vs. php?

2006-03-28 Thread Pete Ruckelshaus
Let me give you my own personal experience, it might help.

6 years ago, I was the manager of a small (5 person) web design group
at a medium-sized software company.  At the time, I had about equal
experience with ASP and CF.

My team was great -- young, enthusiastic, willing to learn...but all
they knew was HTML (except for one, who could modify a .pl mailer
script and that was about it).  The challenge?  I was tasked with
converting our then-antiquated web site from static HTML to something
dynamic and hopefully content-managed.

I discussed the chellenges facing us with my team, and presented the
viable options - jsp, php, asp, cf.  We looked at code examples from
each together and narrowed the pack down to ASP (because of its market
relevance) and CF (because it was familiar to a person who knew HTML
with an understanding of the words if and else :)

I took my two most enthusiastic and promising individuals and gave
them a one-day coding challenge; I would create a database, they would
need to create interfaces that would insert, update, delete, and
display that data.  One would use ASP, the other would use CF.  For
the record, I put the person who was probably the smarter of the two
on the ASP project, and I bought each of them a good book to study the
night before so they could have some familiarity.

We started at 9AM the next day.  The person who was using CF finished
the task in three hours; the person who was using ASP was still
working on it at 4:30PM.  The next day, ASP guy came in and said
screw it, I want to try this with CF.  He completed the task in
about 2.5 hours.  As a group, we made the decision then and there to
go with CF.

Over the next several weeks, I held daily brown bag lunch sessions
where we sat in a conference room and I went over best practices, some
SQL basics, and went into some CF intricacies.  Within a couple of
months, I felt that the entire team was proficient in CF, with one or
two showing true talent.  We never looked back from there.

Pete

On 3/28/06, amanda bradshaw [EMAIL PROTECTED] wrote:
 thanks eric - this helps.

 while i now clearly see the CF light...there's gotta be a darkside lurking
 somewhere. yeah? maybe just a little bitty one?

 scenario: i'm a designer trying to steer our team in a good direction but i
 stop at HTML.
 to me, the applications i've seen done in PHP aren't as elegant (?) as
 similar ones in CFM. (PHP has that e-commerce aftertaste)

 so i can feel realatively OK making a recommendation based on an internet
 forum exchange :) --- if CF is so perfect, why aren't more people using it?
 i understand why coders must love it, but are users as happy? it is buggy?
 slow?

 thanks so much

 best,

 amanda



 On 3/27/06, Eric Roberts [EMAIL PROTECTED] wrote:
 
  I would say mostly the coding time.  CF is close to what I would call a
  rapid application development tool for the web.  I also find it to be
  close
  to an OOP approach to programming than PHP.  The code itself is less
  intensive (though just as powerful) that PHP.  It cost more, but so does
  any
  quality tool.  I am not an expert in PHP, but if it is anything like ASP,
  you would have to spend (either in actual dollars or in programming time)
  the same amount that CF costs to get it to the same functional level as CF
  is out of the box.  The extensibility of CF is amazing.  Ben Forta, who is
  the CF Product Evangelist and General God of CF, put it best, CF is as
  extensible as your programmers.  If you can write it in a language that
  produces a dll, you can make it into a CF custom tag.
 
  You also have the advantage for your app, of real tight integration with
  flash and other macromedia and soon...adobe technologies.   The language
  itself, since it is tag based is real easy to learn.  It's outward
  similarity to HTML gives it a familiar feel that makes learning a
  snap.  Or
  those that can afford it, Fast Track to CF, which is a 3 day course, will
  take someone with no knowledge of CF and in 3 days give them the ability
  to
  write complex web apps with it.  I consider that a big huge mark on the
  pro
  side hehehe.  I am a bit biased though ;-)
 
  Eric
 
  -Original Message-
  From: amanda bradshaw [mailto:[EMAIL PROTECTED]
  Sent: Monday, 27 March 2006 21:14
  To: CF-Talk
  Subject: cfm vs. php?
 
  will admit upfront: i haven't a clue about CF.
 
  which is why i'm here.
 
  i'm trying to design an application where:
 
  user fills out some forms
  (submits)
  then their input is gathered + spit back out in a flash movie
 
  i've seen this accomplished in both .php and .cfm but don't know what the
  difference is between the two or the PROS/CONS of each.
 
  can someone help me figure it out??
 
  many many thanks!
 
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236340
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: 

RE: where to start Ajax or Flex?

2006-03-28 Thread Munson, Jacob
 Also, if you do not need the flex enterprise service [FES] 
 as it is currently called, you can deploy a flex app to any 
 service.  Once you are done and the app is compiled, it is a 
 .swf file that can be put anywhere a .swf can currently go.  
 Without the FES piece, you are not able to PUSH data from the 
 server to the client, but you can PULL all you want.

I believe you are referring to Flex Builder 2, which is still beta.
Just wanted to throw that in for the people that haven't been following
Flex developments.





[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



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


RE: Fusebox Editor based on XmlHttpRequest.

2006-03-28 Thread Munson, Jacob
 It is not AJAX based but uses same approach, just another
 implementation.

Ajax uses XmlHttpRequest (in most cases), so it looks like your editor
/is/ ajax based.  :)


---

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


CFEclipse, Java Classes, and CVS

2006-03-28 Thread Joelle Tegwen
I'm trying to get started using ColdFusion and I'm having trouble 
figuring out where to start. We're using CF as a ramp up to Java and I 
would like to use Java Classes for the big project that I'm going to be 
building as soon as I figure out what I'm doing. (I've got a simple 
little time tracking application that I'm building to learn cf)

I'm/we're using CF standard edition, Eclipse and CVS (CVSNT is running 
on the server) on Windows XP. (if any of that matters)

I've done a huge amount of google searching and I just can't figure out 
the meshing of these technologies. (Maybe I need to add something to the 
mix like ant?)

 From what I've read 
(http://www.macromedia.com/devnet/server_archive/articles/leveraging_java_classes_cf.html),
 
Java classes need to be in the jdk folder, but it would really be a pain 
to have to move files around every time I make a change. I want to have 
all of the classes for my project in the same workspace (and preferably 
project) as the rest of the code, but then how do I deploy all of this?

Then what do I do when I commit? How do I make this happen?

Are there tricks for quickly developing Java files (in a CF project) in 
Eclipse?

I'm happy to go read if someone's got a good explanation, I'm just 
looking for a push in the right direction.

Any help on any of these things would be much appreciated.

Thanks in advance,
Joelle

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


Re: CFEclipse, Java Classes, and CVS

2006-03-28 Thread Barney Boisvert
In a nutshell, you should create your working directory that contains
all your source (CFML and Java), along with any configuration stuff. 
That's what you will be checking in and out of CVS (though I'd
recommend checking out Subversion instead; it's newer, more feature
rich, and easier to use).  For deployment, you might be able to set up
Eclipse's autodeploy features, but I think that because you're
deploying to CF standalone, you'll have to do it manually with an Ant
task.  Set it up to copy your CFML to the web root, and compile, jar,
and copy your Java classes to CF's WEB-INF/lib directory, and then
restart CF.  Then you can just hit the 'build' button when you want to
push a change, and it'll all magically happen for you.  I believe you
can get around the restart CF part with JRun's automatic class
reloading, but I've never tried it, so I can't say for sure.

Not very in-depth, but hopefully that'll give you a push in the right direction.

cheers,
barneyb

On 3/28/06, Joelle Tegwen [EMAIL PROTECTED] wrote:
 I'm trying to get started using ColdFusion and I'm having trouble
 figuring out where to start. We're using CF as a ramp up to Java and I
 would like to use Java Classes for the big project that I'm going to be
 building as soon as I figure out what I'm doing. (I've got a simple
 little time tracking application that I'm building to learn cf)

 I'm/we're using CF standard edition, Eclipse and CVS (CVSNT is running
 on the server) on Windows XP. (if any of that matters)

 I've done a huge amount of google searching and I just can't figure out
 the meshing of these technologies. (Maybe I need to add something to the
 mix like ant?)

  From what I've read
 (http://www.macromedia.com/devnet/server_archive/articles/leveraging_java_classes_cf.html),
 Java classes need to be in the jdk folder, but it would really be a pain
 to have to move files around every time I make a change. I want to have
 all of the classes for my project in the same workspace (and preferably
 project) as the rest of the code, but then how do I deploy all of this?

 Then what do I do when I commit? How do I make this happen?

 Are there tricks for quickly developing Java files (in a CF project) in
 Eclipse?

 I'm happy to go read if someone's got a good explanation, I'm just
 looking for a push in the right direction.

 Any help on any of these things would be much appreciated.

 Thanks in advance,
 Joelle

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

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


Problem calling remote COM object after MX7 upgrade

2006-03-28 Thread Rein, Richard L.
I have inherited a flaky piece of code from a previous developer which
worked under MX6.1.  We use a remote COM object on our domain controller
(windows network) to create *.p12 security credentials files for our
clients.  The code basically just calls the COM object on the domain
controller using a CLSID, runs a method, and then another piece of the CF
code goes out and retrieves the *.p12 file, which is written to the domain
controller by the certificate authority.

Both test servers use the same domain controller, and for a period last
week, one was on MX6.1 and the other on MX7.  The MX7 box constantly
returned the error class not registered, while the MX6.1 box worked just
fine.  We upgraded the other box to MX7 this morning, and now it too gets
the same error.  I put a copy of the *.exe file on the CF server as well in
one environment and registered, thinking the CF box had to know about the
object even if the call was written as a cfobject tag calling a remote
server (and I was not sure if this had happened when this was first rolled
out, as no documentation existed).  I don't get the class not registered
error anymore, but now it appears like the CF box is not even trying to call
the domain controller, but rather trying to execute the COM object locally.

What am I missing??

Rich Rein


 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 



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


RE: Fusebox Editor based on XmlHttpRequest.

2006-03-28 Thread Nick Han
Saw the demo.  Cool sh t!


-Original Message-
From: Sergey Croitor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 28, 2006 9:32 AM
To: CF-Talk
Subject: ANN: Fusebox Editor based on XmlHttpRequest.

Hi,

It's a refreshless DHTML editor for fusebox and circuit xml
files. The editor is a part of Docubee project.
It is not AJAX based but uses same approach, just another
implementation.
Fusebox xml files show up as editable trees.
Works in IE6 and Firefox.

Docubee Fusebox Editor live demo(login:password demo:demo)
http://www.docubee.com/index.cfm?fuseaction=browse.liveFBDemo

Docubee Forms live demo(login:password demo:demo)
http://www.docubee.com/index.cfm?fuseaction=browse.liveDBDemo

IE screenshot
http://www.docubee.com/images/fb2.gif

Download link (200 Kb):
http://www.docubee.com/index.cfm?fuseaction=download.docubeeCF

All is draggable and resizable there. XmlObjects inside, it uses
XmlHttpRequest to retrieve/upload xml files, predefined attribute
values as SELECT dropdowns according to DTD, dropdown lists to
choose a fuseaction for DO, RELOCATE nodes, shows fusedoc part of 
a fuse as a tree, etc.
You can use it to open fuse CFM files in your editor when it
runs locally by click on INCLUDE node in a circuit tree.

Simple to install, just unpack it in the directory where your
FB4/4.1 projects are located and choose 
FUSEBOX  search for Fusebox projects
Open circuit tree by click on a circuit node in a fusebox tree.


Some features:

-Show fuseaction dependency. It shows which fuseactions have XFAs
 pointing to given fuseaction and which fuseactions call given
 fuseaction by DO tag.

-Onclick event for DO tag opens appropriate circuit and
 focuses at fuseaction. You can easily browse through fuseactions in
 different circuits by one click.
 
-Browse History panel. Each time you select a fuseaction, it
 is appended to Browse History. All items are clickable there so
 you can easily pick up some previous fuseaction and go back to see
 fuseaction details.

-[source] button for a circuit node. You can open now
 circuit.xml.cfm content in your CFML editor by clicking on
 this button(when running locally).
 
-Onclick event for INCLUDE tag opens cfm fuse file in your CFML
 editor(when running locally).

-[collapse] button for circuit node helps you to see compact list 
 of fuseaction captions and open necessary fuseaction by click.

-Search for/rename orphaned files in fusebox project. This action
 searches for all .cfm files which are not listed in circuit.xml
 [include] tags. If .cfm file is called by cfinclude in the file
 which is listed in circuit, it also considered as not orphaned.
 You get the list of orphaned files, then edit it by excluding 
 some entries, then rename.
 
I tested it working on large projects with more than 50 circuits 
and 500 fuseactions.
Firefox draws circuit xml tree much faster than IE.
Strange but true :)

site: http://www.docubee.com

See HowTo help panel for more info.
I'd appreciate any feedback.


Thanks,
Sergey Croitor




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


OT: Fireworks template flexibility

2006-03-28 Thread Rick Root
I've got a friend who builds web site templates in Fireworks for use 
with a CMS that I built.  Every time he builds a new template, I have to 
fix the HTML to make the template so hat it is height flexible.  As 
is, the navigation gets all crazy and stuff.

The templates he generates are heavily table oriented with those 
obnoxious filenames (template_r2_c1.gif, etc).

It's not particularly easy to fix them so I'm kinda wondering if any of 
you fireworks users out there know how to get fireworks to generate HTML 
that isn't quite so bass-ackwards.

I'm not a fireworks user so I can't really help him much.

He's using Fireworks MX 2004.

Rick

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


Re: problems with cfqueryparam

2006-03-28 Thread S . Isaac Dealey
And of course, you shouldn't perform the query without cfqueryparam
tags, so in general you should find another way to execute your query.
I have a sql abstraction layer in my onTap framework which prepares
query syntax in sort of a similar manner that does use cfqueryparam,
however, creating that is a _lot_ of work and probably more than you'd
want to tackle unless you have a specific need for database agnostic
code (in my case I've done a lot of migrating applications away from
MS Access to more robust databases, usually SQL Server, so I built it
initially largely because I find that migration work dreadful).

 It's not possible to load tags into a variable and then
 execute them directly in CF. The entire basis of what your
 doing would never work (unless you write the info to file
 and cfinclude it but that's a different story for a
 different time)
 If you were doing a standard query without any CF tags
 within the query it would work ok, but those tags kill it.

In the function I replace the locumtenency by the
cfqueryparam-tag and run
the query:
--
-
cffunction name=runPreparedQuery ...
cfscript
   myNewSql = replace(arguments.mySql, [CHAR],
   chr(60)cfqueryparam
value=chr(34), All);
   myNewSql = replace(myNewSql, [/CHAR], chr(34) 
cfsqltype=chr(34)CF_SQL_VARCHARchr(34)chr(62),
All);
/cfscript
cfquery name=queryResult datasource=#dbName#
username=#dbUser#
password=#dbPw#
  #myNewSql#
/cfquery
cfreturn queryResult /
/cffunction
--
-

Although the sql-string looks correct if I dump it and it
works if I copy it
directly into the cfquery-tag it throws an database-error
in the way I use
it.

Any ideas???


I use CF MX7 and a db2-database



Thanks a lot in advance,
Sigi

 ~~
 

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


Re: cfm vs. php?

2006-03-28 Thread S . Isaac Dealey
Man... How does one get to work on your team, Pete? :)

 Let me give you my own personal experience, it might help.

 6 years ago, I was the manager of a small (5 person) web
 design group
 at a medium-sized software company.  At the time, I had
 about equal
 experience with ASP and CF.

 My team was great -- young, enthusiastic, willing to
 learn...but all
 they knew was HTML (except for one, who could modify a .pl
 mailer
 script and that was about it).  The challenge?  I was
 tasked with
 converting our then-antiquated web site from static HTML
 to something
 dynamic and hopefully content-managed.

 I discussed the chellenges facing us with my team, and
 presented the
 viable options - jsp, php, asp, cf.  We looked at code
 examples from
 each together and narrowed the pack down to ASP (because
 of its market
 relevance) and CF (because it was familiar to a person who
 knew HTML
 with an understanding of the words if and else :)

 I took my two most enthusiastic and promising individuals
 and gave
 them a one-day coding challenge; I would create a
 database, they would
 need to create interfaces that would insert, update,
 delete, and
 display that data.  One would use ASP, the other would use
 CF.  For
 the record, I put the person who was probably the smarter
 of the two
 on the ASP project, and I bought each of them a good book
 to study the
 night before so they could have some familiarity.

 We started at 9AM the next day.  The person who was using
 CF finished
 the task in three hours; the person who was using ASP was
 still
 working on it at 4:30PM.  The next day, ASP guy came in
 and said
 screw it, I want to try this with CF.  He completed the
 task in
 about 2.5 hours.  As a group, we made the decision then
 and there to
 go with CF.

 Over the next several weeks, I held daily brown bag lunch
 sessions
 where we sat in a conference room and I went over best
 practices, some
 SQL basics, and went into some CF intricacies.  Within a
 couple of
 months, I felt that the entire team was proficient in CF,
 with one or
 two showing true talent.  We never looked back from there.

 Pete

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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


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


Re: Fireworks template flexibility

2006-03-28 Thread Massimo Foti
 It's not particularly easy to fix them so I'm kinda wondering if any of
 you fireworks users out there know how to get fireworks to generate HTML
 that isn't quite so bass-ackwards.

 I'm not a fireworks user so I can't really help him much.

 He's using Fireworks MX 2004.

Fireworks can be extended to generate HTML the way you see fit. Just take a 
look at its configuration folder:
Configuration\HTML Code

There you will find all the files used internally by Fireworks. You can use 
one of the existing template as a starting point and create a custom 
template. It's not a trivial job, but it's nothing too complicated too (I've 
made something like this many releases ago)


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com



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


RE: Security image based on string

2006-03-28 Thread Bobby Hartsfield
http://acoderslife.com/downloads/bhcaptcha/

You could easily modify the tag to generate your own custom strings rather
than the random ones it generates now (if thatÂ’s what you are looking to do)

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 27, 2006 6:47 PM
To: CF-Talk
Subject: RE: Security image based on string

I second that.  There are a number of functions out there, some free and
some not.  A search for captcha will wrangle you some good results. 

 -Original Message-
 From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 27, 2006 3:53 PM
 
 Search the House of Fusion for captcha.  Tons of stuff there.
 
 -Original Message-
 From: Mike Garner [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 27, 2006 3:51 PM
 
 Anyone know of any CF code out there that will allow me to create a
 custom image based on a text string passed in?  I was 
 investigating the
 Java image classes, but thought I'd check first before 
 playing too much.
 I'm trying to create a dynamic security image to prevent scripting -
 user has to type in word displayed in security image to continue...

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





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


RE: Fireworks template flexibility

2006-03-28 Thread Dawson, Michael
As far as the filenames, they are based off of a slice name.  You can
rename the slices within FW and they will export with the desired name
after that.

M!ke

The templates he generates are heavily table oriented with those
obnoxious filenames (template_r2_c1.gif, etc).

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


Re: Fusebox Editor based on XmlHttpRequest.

2006-03-28 Thread Sergey Croitor
MJ Ajax uses XmlHttpRequest (in most cases), so it looks like your editor
MJ /is/ ajax based.  :)

I started this project in 2002 and I'm not sure AJAX already came
up at that time.
I just use same core components as AJAX does:

if (is.ie) {
  xmlHttp = new ActiveXObject(Msxml2.XMLHTTP.3.0);
}
else {
  xmlHttp = new XMLHttpRequest();
}



function sendActionRequest(urlParams, baseApp){
  if(!baseApp)baseApp=runApp;
  if (urlParams=='') return;
  var rndm = Math.random()*9;
  var link=baseApp+?+urlParams+ds=+datasource+'random='+rndm;
  xmlHttp.open(GET, link, false);
  xmlHttp.setRequestHeader('Content-Type',
'application/x-www-form-urlencoded; charset=utf-8');
  xmlHttp.send(null);
}

function getXmlFromResponse(){
  var xmlBody=truncatePrefix(xmlHttp.responseText);
  if(is.ie){
var tmpXML = new ActiveXObject(Msxml2.DOMDocument.3.0);
tmpXML.loadXML(xmlBody);
if(tmpXML.xml=='')
  alert('Invalid xml from the server:\n'+xmlBody);
  }
  else{
var tmpXML = document.implementation.createDocument('','',null);
var parser = new DOMParser();
tmpXML = parser.parseFromString(xmlBody, text/xml);
if(!tmpXML.documentElement)
  alert('Invalid xml from the server:\n'+xmlBody);
  }
  return tmpXML;
}

That's all.

I also use my own JS code for XPath queries, not Sarissa:

function selNodes(doc, xpath){
  if(is.ie){
return doc.selectNodes(xpath);
  }
  else{
var nodeRoot=doc;
if(doc.ownerDocument) nodeRoot=doc.ownerDocument;
var result = nodeRoot.evaluate(xpath, doc,
  null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
var found = new Array();
var res;
for (var i = 0; i  result.snapshotLength; i++) {
  found.push(result.snapshotItem(i));
}
return found;
  }
}

function selSingleNode(doc, xpath){
  if(is.ie){
return doc.selectSingleNode(xpath);
  }
  else{
var nodeRoot=doc;
if(doc.ownerDocument) nodeRoot=doc.ownerDocument;
var result = nodeRoot.evaluate(xpath, doc,
  null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
if(result.snapshotLength==2){
  var xmlSerializer = new XMLSerializer();
  var markup = xmlSerializer.serializeToString(doc);
}
if(result.snapshotLength0) return result.snapshotItem(0)
else return null;
  }
}



--
Sergey Croitor


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


Re: Fusebox Editor based on XmlHttpRequest.

2006-03-28 Thread Sergey Croitor
NH Saw the demo.  Cool sh t!


Thanks Nick,

I wonder why almost nobody uses it except me :)
It really helps me to work with fb application structure fast.
When the project is large, it helps greatly.
I don't use 'edit node' feature often, I open circuit and fusebox
files and edit them manually instead.
But smart navigation and 'open fuse' features are very useful.
DB explorer is useful also. Doubleclick on tablename to see table
structure. Doubleclick on [reference] image in the table field and
you get the referenced table.

--
Sergey


NH -Original Message-
NH From: Sergey Croitor [mailto:[EMAIL PROTECTED] 
NH Sent: Tuesday, March 28, 2006 9:32 AM
NH To: CF-Talk
NH Subject: ANN: Fusebox Editor based on XmlHttpRequest.

NH Hi,

NH It's a refreshless DHTML editor for fusebox and circuit xml
NH files. The editor is a part of Docubee project.
NH It is not AJAX based but uses same approach, just another
NH implementation.
NH Fusebox xml files show up as editable trees.
NH Works in IE6 and Firefox.

NH Docubee Fusebox Editor live demo(login:password demo:demo)
NH http://www.docubee.com/index.cfm?fuseaction=browse.liveFBDemo

NH Docubee Forms live demo(login:password demo:demo)
NH http://www.docubee.com/index.cfm?fuseaction=browse.liveDBDemo

NH IE screenshot
NH http://www.docubee.com/images/fb2.gif

NH Download link (200 Kb):
NH http://www.docubee.com/index.cfm?fuseaction=download.docubeeCF

NH All is draggable and resizable there. XmlObjects inside, it uses
NH XmlHttpRequest to retrieve/upload xml files, predefined attribute
NH values as SELECT dropdowns according to DTD, dropdown lists to
NH choose a fuseaction for DO, RELOCATE nodes, shows fusedoc part of 
NH a fuse as a tree, etc.
NH You can use it to open fuse CFM files in your editor when it
NH runs locally by click on INCLUDE node in a circuit tree.

NH Simple to install, just unpack it in the directory where your
NH FB4/4.1 projects are located and choose 
FUSEBOX  search for Fusebox projects
NH Open circuit tree by click on a circuit node in a fusebox tree.


NH Some features:

NH -Show fuseaction dependency. It shows which fuseactions have XFAs
NH  pointing to given fuseaction and which fuseactions call given
NH  fuseaction by DO tag.

NH -Onclick event for DO tag opens appropriate circuit and
NH  focuses at fuseaction. You can easily browse through fuseactions in
NH  different circuits by one click.
 
NH -Browse History panel. Each time you select a fuseaction, it
NH  is appended to Browse History. All items are clickable there so
NH  you can easily pick up some previous fuseaction and go back to see
NH  fuseaction details.

NH -[source] button for a circuit node. You can open now
NH  circuit.xml.cfm content in your CFML editor by clicking on
NH  this button(when running locally).
 
NH -Onclick event for INCLUDE tag opens cfm fuse file in your CFML
NH  editor(when running locally).

NH -[collapse] button for circuit node helps you to see compact list 
NH  of fuseaction captions and open necessary fuseaction by click.

NH -Search for/rename orphaned files in fusebox project. This action
NH  searches for all .cfm files which are not listed in circuit.xml
NH  [include] tags. If .cfm file is called by cfinclude in the file
NH  which is listed in circuit, it also considered as not orphaned.
NH  You get the list of orphaned files, then edit it by excluding 
NH  some entries, then rename.
 
NH I tested it working on large projects with more than 50 circuits 
NH and 500 fuseactions.
NH Firefox draws circuit xml tree much faster than IE.
NH Strange but true :)

NH site: http://www.docubee.com

NH See HowTo help panel for more info.
NH I'd appreciate any feedback.


NH Thanks,
NH Sergey Croitor



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


RE: Fusebox Editor based on XmlHttpRequest.

2006-03-28 Thread Munson, Jacob
 I wonder why almost nobody uses it except me :)

Well, it's new right?  Give it time, if it's cool, word of mouth will
make it popular.  :)


---


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



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


RE: Fireworks template flexibility

2006-03-28 Thread Andy Matthews
That's pretty much your friend's ignorance with using Fireworks. A co-worker
of mine does the same thing from within Photoshop. All of his image names
are completely obscure and it's irritating as hell.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 1:11 PM
To: CF-Talk
Subject: OT: Fireworks  template flexibility


I've got a friend who builds web site templates in Fireworks for use
with a CMS that I built.  Every time he builds a new template, I have to
fix the HTML to make the template so hat it is height flexible.  As
is, the navigation gets all crazy and stuff.

The templates he generates are heavily table oriented with those
obnoxious filenames (template_r2_c1.gif, etc).

It's not particularly easy to fix them so I'm kinda wondering if any of
you fireworks users out there know how to get fireworks to generate HTML
that isn't quite so bass-ackwards.

I'm not a fireworks user so I can't really help him much.

He's using Fireworks MX 2004.

Rick



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


RE: cfm vs. php?

2006-03-28 Thread Kevin Aebig
I'll chime in briefly as I work my day job with CF and work the
nights/weekends with PHP.

The only major difference I've found thus far is lower level access in PHP
is easier than CF. This is sometimes a blessing and other times a curse.
Having to write 50 lines of code to access a DB properly can get quite
tiresome, but handling binary files, working with sockets, building a custom
encryption library, etc. is a lot easier with PHP. 

It's kind of ironic that you truly need to know both languages to choose the
one that best suits you. All in all, I think both are great and enjoy using
both...

Cheers,

Kevin

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2006 11:51 AM
To: CF-Talk
Subject: Re: cfm vs. php?

Let me give you my own personal experience, it might help.

6 years ago, I was the manager of a small (5 person) web design group
at a medium-sized software company.  At the time, I had about equal
experience with ASP and CF.

My team was great -- young, enthusiastic, willing to learn...but all
they knew was HTML (except for one, who could modify a .pl mailer
script and that was about it).  The challenge?  I was tasked with
converting our then-antiquated web site from static HTML to something
dynamic and hopefully content-managed.

I discussed the chellenges facing us with my team, and presented the
viable options - jsp, php, asp, cf.  We looked at code examples from
each together and narrowed the pack down to ASP (because of its market
relevance) and CF (because it was familiar to a person who knew HTML
with an understanding of the words if and else :)

I took my two most enthusiastic and promising individuals and gave
them a one-day coding challenge; I would create a database, they would
need to create interfaces that would insert, update, delete, and
display that data.  One would use ASP, the other would use CF.  For
the record, I put the person who was probably the smarter of the two
on the ASP project, and I bought each of them a good book to study the
night before so they could have some familiarity.

We started at 9AM the next day.  The person who was using CF finished
the task in three hours; the person who was using ASP was still
working on it at 4:30PM.  The next day, ASP guy came in and said
screw it, I want to try this with CF.  He completed the task in
about 2.5 hours.  As a group, we made the decision then and there to
go with CF.

Over the next several weeks, I held daily brown bag lunch sessions
where we sat in a conference room and I went over best practices, some
SQL basics, and went into some CF intricacies.  Within a couple of
months, I felt that the entire team was proficient in CF, with one or
two showing true talent.  We never looked back from there.

Pete

On 3/28/06, amanda bradshaw [EMAIL PROTECTED] wrote:
 thanks eric - this helps.

 while i now clearly see the CF light...there's gotta be a darkside lurking
 somewhere. yeah? maybe just a little bitty one?

 scenario: i'm a designer trying to steer our team in a good direction but
i
 stop at HTML.
 to me, the applications i've seen done in PHP aren't as elegant (?) as
 similar ones in CFM. (PHP has that e-commerce aftertaste)

 so i can feel realatively OK making a recommendation based on an internet
 forum exchange :) --- if CF is so perfect, why aren't more people using
it?
 i understand why coders must love it, but are users as happy? it is buggy?
 slow?

 thanks so much

 best,

 amanda



 On 3/27/06, Eric Roberts [EMAIL PROTECTED] wrote:
 
  I would say mostly the coding time.  CF is close to what I would call a
  rapid application development tool for the web.  I also find it to be
  close
  to an OOP approach to programming than PHP.  The code itself is less
  intensive (though just as powerful) that PHP.  It cost more, but so does
  any
  quality tool.  I am not an expert in PHP, but if it is anything like
ASP,
  you would have to spend (either in actual dollars or in programming
time)
  the same amount that CF costs to get it to the same functional level as
CF
  is out of the box.  The extensibility of CF is amazing.  Ben Forta, who
is
  the CF Product Evangelist and General God of CF, put it best, CF is as
  extensible as your programmers.  If you can write it in a language that
  produces a dll, you can make it into a CF custom tag.
 
  You also have the advantage for your app, of real tight integration with
  flash and other macromedia and soon...adobe technologies.   The language
  itself, since it is tag based is real easy to learn.  It's outward
  similarity to HTML gives it a familiar feel that makes learning a
  snap.  Or
  those that can afford it, Fast Track to CF, which is a 3 day course,
will
  take someone with no knowledge of CF and in 3 days give them the ability
  to
  write complex web apps with it.  I consider that a big huge mark on the
  pro
  side hehehe.  I am a bit biased though ;-)
 
  Eric
 
  -Original Message-
  From: amanda bradshaw 

Re: cfm vs. php?

2006-03-28 Thread Pete Ruckelshaus
Well, first you need to build a time machine...I'm working as an
independent contractor and am almost done a career change to teaching
high school English...got my certification, all I need now is a
full-time teaching gig.  In the meantime, I sub when time allows.

Now, of course, if someone wants to bribe me away from this career
change, I'm all ears :P, but the realist in me knows that I'll never
be a CIO and there aren't so many jobs out there for 39 year old CF
developers.

Pete

On 3/28/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 Man... How does one get to work on your team, Pete? :)

  Let me give you my own personal experience, it might help.

  6 years ago, I was the manager of a small (5 person) web
  design group
  at a medium-sized software company.  At the time, I had
  about equal
  experience with ASP and CF.

  My team was great -- young, enthusiastic, willing to
  learn...but all
  they knew was HTML (except for one, who could modify a .pl
  mailer
  script and that was about it).  The challenge?  I was
  tasked with
  converting our then-antiquated web site from static HTML
  to something
  dynamic and hopefully content-managed.

  I discussed the chellenges facing us with my team, and
  presented the
  viable options - jsp, php, asp, cf.  We looked at code
  examples from
  each together and narrowed the pack down to ASP (because
  of its market
  relevance) and CF (because it was familiar to a person who
  knew HTML
  with an understanding of the words if and else :)

  I took my two most enthusiastic and promising individuals
  and gave
  them a one-day coding challenge; I would create a
  database, they would
  need to create interfaces that would insert, update,
  delete, and
  display that data.  One would use ASP, the other would use
  CF.  For
  the record, I put the person who was probably the smarter
  of the two
  on the ASP project, and I bought each of them a good book
  to study the
  night before so they could have some familiarity.

  We started at 9AM the next day.  The person who was using
  CF finished
  the task in three hours; the person who was using ASP was
  still
  working on it at 4:30PM.  The next day, ASP guy came in
  and said
  screw it, I want to try this with CF.  He completed the
  task in
  about 2.5 hours.  As a group, we made the decision then
  and there to
  go with CF.

  Over the next several weeks, I held daily brown bag lunch
  sessions
  where we sat in a conference room and I went over best
  practices, some
  SQL basics, and went into some CF intricacies.  Within a
  couple of
  months, I felt that the entire team was proficient in CF,
  with one or
  two showing true talent.  We never looked back from there.

  Pete

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

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm


 

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


Re: OT: Fireworks template flexibility

2006-03-28 Thread Ricardo Russon
Casey,

Am i reading you right : you are exporting the same png each time you want a
new element/layer? You can export each layer seperately. That should save
you some time..

But i could have miss read... its only been 1/4 cup of coffe since i woke up
:)



On 3/29/06, Casey Dougall [EMAIL PROTECTED] wrote:

 Wouldn't it be great if fireworks and photoshop created css for the
 layouts...

 Chopping up psd's all the time myself I haven't got a really good answer
 for
 you except to get the psd or png, if he's using fireworks and chop it
 yourself. I normally cop templates multiple times to get specific elements
 out of the template without all of the extra table cells I end up deleting
 anyway. To make this even worse I then take the new exported html, deleted
 all the stuff I don't want, make table cell background images out of those
 pieces which should flow vertical or horizontal 100%, view in firefox,
 re-save it again in another folder just so I can get the images I need for
 that element. I repeat this process again and again till I have everything
 from the original design and then start working it into my css.

 Normally I'm talking about 3 or 4 horizontal sessions like this where I'm
 saving pieces like headers, main body areas and footers. Then another
 bunch
 of sessions where your cutting more with the vertical rulers and snagging
 those items like the right, center, left columns of a page.

 I can't say it's a fun process but I end up with about 1/3 third of the
 images of the original template and everything looks like it should. i
 then
 use those elements where I need them and move on to actually coding the
 site...

 Good luck man, find a better way and i'm down~

 Find a way to chop gradients efficiently and your my hero!



 --
 Casey Dougall
 Web Applications Developer
 Ph: 518 743-9424  Fax: 743-0337
 [EMAIL PROTECTED]

 Mannix Marketing Inc. 10 East Washington St. Suite 1, Glens Falls, New
 York

 Marketing to New York State Destinations?
 We offer quality Travel Industry Directories, Including www.Albany.com,
 www.LakeGeorge.com  www.Saratoga.com


 

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


Re: GoDaddy MySQL... does it work?

2006-03-28 Thread JRossi
I hate to revive an old thread, but I did get cffile to work, by finally 
getting someone at GoDaddy's tech support who aked their admin about it. It was 
a sandbox issue, and resolved in 2-3 hours. My problem with GoDaddy's hosting 
is this. I was told after a long drawn out tech support request that they will 
not support cfqueryparam with MS SQL Server databases since it needs to access 
sp_prepexec in the master database. Is there anyone using GoDaddy with a shared 
account that has this working sucessfully. I can't see in any way, shape, or 
form see how they could not support this.

Here's the text of the final email I received.

Discussion Notes
Support Staff Response  
Dear John:

After further researching the issue(s) at hand, we have determined the 
following:

The line EXECUTE permission denied on object 'sp_prepexec', database 'master', 
owner 'dbo'. shows that the database is attempting to work with the master 
database of the server. Due to this, the cfqueryparam feature will not work 
within our shared hosting environment SQL (though it should work with a locally 
controlled Access database). We apologize for any inconvience this may cause in 
regards to your site deployment. If you have absolute need of this feature, you 
may wish to consider our Virtual Dedicated or Dedicated server solutions. Bear 
in mind that these are not managed servers. Previous server administration 
experience is recommended should you opt to move to one of these solutions.

Should you require further assistance on this or any other issue, don't 
hesitate to contact us any time of the day or night at (480) 505-8877. Or, if 
you prefer email, you can send your questions or comments to [EMAIL PROTECTED]

Sincerely,
Drew C.
Advanced Hosting Support
Customer Inquiry

I'm happy to report cffile is working, ahh the irony.

Jim, would you mind posting an example of your cfquery syntax? I've tried
both dsn types (plus anything else that looks like a dsn).

Cheers.

-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 22 March 2006 1:25 AM
To: CF-Talk
Subject: Re: GoDaddy  MySQL... does it work?

Not related to the DSN issue, but one of my clients had a small throw
away site that we decided to host at godaddy as a trial...I found out
that they don't support cffile, which handicapped the app a bit. 
Cffile is not listed in their list of disabled tags (or wasn't at that
time, I haven't looked again lately).

on the DSN issue...I have a MySQL DSN working fine there.  In there
management interface, they allow you to create a DSN or a ColdFusion
DSN...is it possible that you created the latter?

On 3/21/06, Andrew Stevens [EMAIL PROTECTED] wrote:
in

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


RE: More Sorce Control

2006-03-28 Thread Rich Kroll
Michael,
Thanks for your response.  Can I ask how you implement promoting branches to
a QA environment?  As it stands for us now, we have one set of code in a
directory on another server that we use for testing, and have built a CF
engine to roll back files if they fail QA.  We currently have quite a few
people working in QA that are testing different tasks yet all work on the
one unified code set.  If we promote these branches to testing, would it
still be one code set, or would we need different virtual directories to
test the different branches?

We're currently using DW8, but are considering moving everyone over to
eclipse for it's integration and amazing price point ;)

Again, thanks for your help in getting me to understand the theory of how
this type of setup would work.

Rich

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 27, 2006 2:20 PM
To: CF-Talk
Subject: Re: More Sorce Control

Hi Rich, You need to consider using branches. These let you isolate a set of
changes from the trunk. A branch can be developed and tested and QA'd
separately then when signed off can be merged back to the trunk. At this
point it does need retesting because of an subsequent changes. Small issues
can be fixed on the trunk. You then tag the trunk at a stable point for a
release of one or more merged changes. This way different changes can be
merged only when they are ready and until then stay on their branch.

This is how we work and our pattern of releases sounds similar to you.

There are other patterns for using branches that suit other development
modes.

BTW Eclipse makes the merges nice and easy!

On 3/27/06, Rich Kroll [EMAIL PROTECTED] wrote:

 Hello all,
 We are currently working on implementing a new source control system and
 are
 turning to SVN as our original VSS system was not meeting out needs.  We


--
Mike T
Blog http://www.socialpoints.com/



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


Re: OT: Fireworks template flexibility

2006-03-28 Thread Casey Dougall
I do what I can to condense the process, get as many elements out of my
Slices as i can but that I mentioned before is what i'm using and it's
effective, but time entensive. I haven't been able to export layers without
adding whitespace around the layer in photoshop, haven't tried it in
fireworks but for the most part these elements are not all on the same
layer.

Lets try this... you have a boarder of an image as an example. of course
this boarder has a drop shadow... what a pain that is. not your normal drop
shadows but the faded types... I place line guides exactly where the image
would be, and then another set about where the fade dies out. If your lucky
you can use a normal pain background color around this and keep the design
in-tack. I then of course perform the normal replacement of background
images where they might extend vertical or horizontal around the image or
other element if this is the case. etc...




On 3/28/06, Ricardo Russon [EMAIL PROTECTED] wrote:

 Casey,

 Am i reading you right : you are exporting the same png each time you want
 a
 new element/layer? You can export each layer seperately. That should save
 you some time..

 But i could have miss read... its only been 1/4 cup of coffe since i woke
 up
 :)



 On 3/29/06, Casey Dougall [EMAIL PROTECTED] wrote:
 
  Wouldn't it be great if fireworks and photoshop created css for the
  layouts...
 
  Chopping up psd's all the time myself I haven't got a really good answer
  for
  you except to get the psd or png, if he's using fireworks and chop it
  yourself. I normally cop templates multiple times to get specific
 elements
  out of the template without all of the extra table cells I end up
 deleting
  anyway. To make this even worse I then take the new exported html,
 deleted
  all the stuff I don't want, make table cell background images out of
 those
  pieces which should flow vertical or horizontal 100%, view in firefox,
  re-save it again in another folder just so I can get the images I need
 for
  that element. I repeat this process again and again till I have
 everything
  from the original design and then start working it into my css.
 
  Normally I'm talking about 3 or 4 horizontal sessions like this where
 I'm
  saving pieces like headers, main body areas and footers. Then another
  bunch
  of sessions where your cutting more with the vertical rulers and
 snagging
  those items like the right, center, left columns of a page.
 
  I can't say it's a fun process but I end up with about 1/3 third of the
  images of the original template and everything looks like it should. i
  then
  use those elements where I need them and move on to actually coding the
  site...
 
  Good luck man, find a better way and i'm down~
 
  Find a way to chop gradients efficiently and your my hero!
 
 



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


Re: More Sorce Control

2006-03-28 Thread Barney Boisvert
The main difference would be that you now have to think across the
version tree as well, rather than only along it.  Your QA people
still check out a specific name (it'll be a branch, not a tag), and
test it, so their job doesn't change.  The difference will be with the
cross-dependancies.

To your example, the repository has fileA and fileC.  Developer A
creates a branch, modifies both files, as well as adds a new file:
fileB.  Once he's ready, he sends off his branch to QA for testing. 
In the meantime, Developer B creates a branch, modifies fileC and adds
fileD, and then sends his branch of to QA.  Note that both changes
sets are, at this point, totally independant of each other, and of the
main development branch (the trunk).

DevB's changes come back as golden, and DevA's changes come back as
broken.  DevB then merges his changes into the trunk (for permanent
use), and DevA is back where he started with his files that need to be
prepped for QA.  The difference is that his files are also outdated
because of DevB's commit to the trunk.  So he needs ot merge the mods
from the trunk into his sources before he fixes whatever QA was
complaining about.  Assuming things go well, when QA gives the OK,
he'll merge his changes back into the trunk as well, and then both
developer's changes will be active.

There is another way to handle the second block:  DevA continues to
work on his code as-is, without including DevB's changes that were
merged into the trunk.  Then, when QA's satisfied, and he merges into
the trunk, he can deal with DevB's changes at that point.  This
alleviates DevA from having to deal with DevB's work during his
specific task, but adds the requirement for some integration QA. 
That is, QA after the merge, as well as for the specific enhancement
in isolation.

Regarding your different workspaces, every developer and QA person
should have their own personal working directory checked out.  The QA
people will be switching their working directories between branches
all the time, while the developers will be switching far less
(primarily back and forth between the trunk and their active branch).

cheers,
barneyb

On 3/28/06, Rich Kroll [EMAIL PROTECTED] wrote:
 Michael,
 Thanks for your response.  Can I ask how you implement promoting branches to
 a QA environment?  As it stands for us now, we have one set of code in a
 directory on another server that we use for testing, and have built a CF
 engine to roll back files if they fail QA.  We currently have quite a few
 people working in QA that are testing different tasks yet all work on the
 one unified code set.  If we promote these branches to testing, would it
 still be one code set, or would we need different virtual directories to
 test the different branches?

 We're currently using DW8, but are considering moving everyone over to
 eclipse for it's integration and amazing price point ;)

 Again, thanks for your help in getting me to understand the theory of how
 this type of setup would work.

 Rich

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

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


ot: apache config for cf and php

2006-03-28 Thread Martin Orth
Hello,

I tried to configure apache 2.0.55 for windows to parse coldfusion
documents for php code after they were executed by the coldfusion server.
I need this to integrate php applications into my farcry application. eg.
phpAdsNew

I thought that the directive 'AddOutputFilter PHP .cfm' would do the
trick, but the php code within my test cfm file was not executed.

Has anyone tried this before?

Thanks

Martin

PS. coldfusion 7.0 mx and php are installed as modules, mod_mime is also
installed.

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


RE: More Sorce Control

2006-03-28 Thread Rich Kroll
I think I understand now, thanks for the clarification on how this process
would work.  I can now see how this process would work as well as the true
benefits of getting this set up correctly.

Thanks all

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 28, 2006 7:20 PM
To: CF-Talk
Subject: Re: More Sorce Control


Regarding your different workspaces, every developer and QA person
should have their own personal working directory checked out.  The QA
people will be switching their working directories between branches
all the time, while the developers will be switching far less
(primarily back and forth between the trunk and their active branch).

cheers,
barneyb




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


OT: Free HomeSite/CF Studio to CFEclipse Snippet Converter

2006-03-28 Thread Stan Winchester
I am trying to make the jump to using CFEclipse, but one of the drawbacks
for me using CFEclipse is I have a huge library of HomeSite+ snippets that I
use everyday! I really did not want to loose them, so I wrote this little
converter. 

For more information, please take a look at:
http://www.aftershockweb.net/forums/messages.cfm/ThreadId/69 

Please let me know if you use this, and what you think.

I am still finding CFEclipse a bit painful, but I hope this help us all move
toward CFEclipse becoming the worthy replacement for HomeSite/CF Studio.

Thank you,
Aftershock Web Design, Inc.
by: Stan Winchester
President/Developer
http://www.aftershockweb.com/   



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


CF REGEX deleting IMG tags from content

2006-03-28 Thread Pete Ruckelshaus
I'm extending the content management system that several sites I
manage is based upon (I built the CMS and have evolved it over the
past year or so).

One of the things I need to be able to do is remove HTML IMG tags from
the content field in the database; I know the name of the image whose
tag needs to be removed.

So, given a file name of whatever.jpg, how would I remove the entire
HTML image tag that includes that image name?  I'm going to assume
that rereplacenocase() is the right tool to use, but my REGEX skills
aren't all that strong.

Thanks,

Pete

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


RE: cfm vs. php?

2006-03-28 Thread Eric Roberts
I believe uplinkearth.com offers Linux hosting for CF...but I am not sure as
I prefer windows ;-)  I pay $105 quarterly for my hosting.  That with MySQL,
email, a pretty good control panel (don't remember which one offhand).
Though I do use PHPAdmin to manage MySQL...it just easier since I just have
to unload the package on the server...and I am familiar with it.  I have
been with uplinkearth for about 3 years now and I love them...great service,
rarely ever goes down.  If I have a problem, their customer support is
pretty quick in dealing with the issue.

Eric

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 28 March 2006 09:46
To: CF-Talk
Subject: RE: cfm vs. php?

I'm a Linux snob when it comes to hosting.  Do those companies offer
Linux/CF? 

 -Original Message-
 From: Andy Matthews
 Sent: Tuesday, March 28, 2006 8:40 AM
 
 While you're talking about hosting Jacob, I'd suggest either 
 Gearhost.com (CF hosting as low as $8.95, with mySQL included for as 
 low as $16.95). I used them for almost 2 years and they were great. 
 Their Control panel is quite good as well.
 
 Alternately, my company, ICGLink, offers CF hosting for as low as $10 
 per
 month:
 http://www.icglink.net/features.html

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





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


Re: CF REGEX deleting IMG tags from content

2006-03-28 Thread Jerry Johnson
CFMX or CF 5.0?

On 3/28/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote:
 I'm extending the content management system that several sites I
 manage is based upon (I built the CMS and have evolved it over the
 past year or so).

 One of the things I need to be able to do is remove HTML IMG tags from
 the content field in the database; I know the name of the image whose
 tag needs to be removed.

 So, given a file name of whatever.jpg, how would I remove the entire
 HTML image tag that includes that image name?  I'm going to assume
 that rereplacenocase() is the right tool to use, but my REGEX skills
 aren't all that strong.

 Thanks,

 Pete

 

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


Re: DB Pagination Question

2006-03-28 Thread Andrew Grosset
Dan, thanks for posting. Presumably you need to do another query initially to 
determine how many pages potentially to display dependent on the recordcount? 
(ie if there were 1000 records (recordcount?) and you elected to display 10 
records/page that would be 100 pages).

Andrew.

You can do it with w/pure SQL server, but it can be pretty expensive
depending on the query.

The idea is to do:

select top 10
   *
from
   (
   select top 40
   *
   from
   table
   order by
   tableId asc
   )
order by
   tableId desc

You have to match up the where clauses exactly. The idea is the virtual
table grabs the current page number and add one then multiply by the number
of records to display (records*(page+1) = 10*(3+1).) This would pull out the
top 40 records. You then order by descending grabbing out just the number of
items on the page. This will grab out records 31-40.

Hope this helps!

-Dan



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


Re: cfm vs. php?

2006-03-28 Thread Ricardo Russon
For cheap reliable CF hosting you can't beat www.hostingfuse.com at
$100AUD/year :) Get in now while the exchange rates are good and you will be
paying about $70USD

On 3/29/06, Eric Roberts [EMAIL PROTECTED] wrote:

 I believe uplinkearth.com offers Linux hosting for CF...but I am not sure
 as
 I prefer windows ;-)  I pay $105 quarterly for my hosting.  That with
 MySQL,
 email, a pretty good control panel (don't remember which one offhand).
 Though I do use PHPAdmin to manage MySQL...it just easier since I just
 have
 to unload the package on the server...and I am familiar with it.  I have
 been with uplinkearth for about 3 years now and I love them...great
 service,
 rarely ever goes down.  If I have a problem, their customer support is
 pretty quick in dealing with the issue.

 Eric

 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 28 March 2006 09:46
 To: CF-Talk
 Subject: RE: cfm vs. php?

 I'm a Linux snob when it comes to hosting.  Do those companies offer
 Linux/CF?

  -Original Message-
  From: Andy Matthews
  Sent: Tuesday, March 28, 2006 8:40 AM
 
  While you're talking about hosting Jacob, I'd suggest either
  Gearhost.com (CF hosting as low as $8.95, with mySQL included for as
  low as $16.95). I used them for almost 2 years and they were great.
  Their Control panel is quite good as well.
 
  Alternately, my company, ICGLink, offers CF hosting for as low as $10
  per
  month:
  http://www.icglink.net/features.html

 This transmission may contain information that is privileged, confidential
 and/or exempt from disclosure under applicable law. If you are not the
 intended recipient, you are hereby notified that any disclosure, copying,
 distribution, or use of the information contained herein (including any
 reliance thereon) is STRICTLY PROHIBITED. If you received this
 transmission
 in error, please immediately contact the sender and destroy the material
 in
 its entirety, whether in electronic or hard copy format. Thank you. A1.





 

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


Re: GoDaddy MySQL... does it work?

2006-03-28 Thread Jim Wright
On 3/28/06, JRossi @ Bernier-Assoc. com JRossi @ Bernier-Assoc. com
[EMAIL PROTECTED] wrote:
 I hate to revive an old thread, but I did get cffile to work, by finally 
 getting someone at GoDaddy's tech support who aked their admin about it. It 
 was a sandbox issue, and resolved in 2-3 hours.

You don't happen to have a case number that I could tell them to
reference on the cffile issue?

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


RE: where to start Ajax or Flex?

2006-03-28 Thread Kevin Aebig
My god Mike, how many lists are you on? I swear, between you and Dave Watts,
you guys are everywhere...

Cheers,

Kevin

-Original Message-
From: Mike Chambers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 28, 2006 5:03 PM
To: CF-Talk
Subject: Re: where to start Ajax or Flex?

As far as cost, the Flex Framework and SDK (compilers, Framework, 
etc...) are and will be free (for commercial and non-commercial use):

http://www.macromedia.com/go/labs_flex2_downloads

We have also released ColdFusion connectors to make it simple for Flex 
apps to communicate with ColdFusion (without requiring Flex Data Services):

http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity

Finally, you can dynamically create and layout content in Flex and Flash 
apps. It looks something like this:

var b:Button = new Button();
b.label=I am a button;

addChild(b);

Hope that helps...

mike chambers

[EMAIL PROTECTED]

j s wrote:
 I don't know a lick of Java and have played with Flash Remoting and AS 2.
I can see the future in either Ajax of Flex.  I'm sorta leaning towards Ajax
cause from my understanding its cheaper, now, and I think it can be deployed
on any hosting services.  
 
 Also correct me if I'm wrong but Flex since it uses Flash Player the stage
can't be set dynamicaly.  If I build a dynamic form or page or menu system
that varies in size I would have to plan out the stage size ahead of time.
Thats not dynamic.  I hope I'm wrong on this.
 



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


Re: DB Pagination Question

2006-03-28 Thread Adam Churvis
Andrew,

Don't use RecordCount on a query that returns the actual rows.  Instead, 
perform a query that just returns the Count(*) of the rows that would satisfy 
your WHERE clause.  It's much more performant and requires a lot less of your 
server resources.
Respectfully,

Adam Phillip Churvis
Certified Advanced ColdFusion MX 7 Developer
BlueDragon Alliance Founding Committee



Get advanced intensive Master-level training in
C#  ASP.NET 2.0 for ColdFusion Developers at
ProductivityEnhancement.com

  - Original Message - 
  From: Andrew Grosset 
  To: CF-Talk 
  Sent: Tuesday, March 28, 2006 8:53 PM
  Subject: Re: DB Pagination Question


  Dan, thanks for posting. Presumably you need to do another query initially to 
determine how many pages potentially to display dependent on the recordcount? 
(ie if there were 1000 records (recordcount?) and you elected to display 10 
records/page that would be 100 pages).

  Andrew.

  You can do it with w/pure SQL server, but it can be pretty expensive
  depending on the query.
  
  The idea is to do:
  
  select top 10
   *
  from
   (
   select top 40
   *
   from
   table
   order by
   tableId asc
   )
  order by
   tableId desc
  
  You have to match up the where clauses exactly. The idea is the virtual
  table grabs the current page number and add one then multiply by the number
  of records to display (records*(page+1) = 10*(3+1).) This would pull out the
  top 40 records. You then order by descending grabbing out just the number of
  items on the page. This will grab out records 31-40.
  
  Hope this helps!
  
  -Dan
  
  

  

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


Re: CF REGEX deleting IMG tags from content

2006-03-28 Thread S . Isaac Dealey
Don't need to know the version for this one:

REReplaceNoCase(content,img[[:space:]][^]*src=[^]*whatever.jpg[[:
space:]]*[^]*,,ALL)

 CFMX or CF 5.0?

 On 3/28/06, Pete Ruckelshaus [EMAIL PROTECTED]
 wrote:
 I'm extending the content management system that several
 sites I
 manage is based upon (I built the CMS and have evolved it
 over the
 past year or so).

 One of the things I need to be able to do is remove HTML
 IMG tags from
 the content field in the database; I know the name of the
 image whose
 tag needs to be removed.

 So, given a file name of whatever.jpg, how would I
 remove the entire
 HTML image tag that includes that image name?  I'm going
 to assume
 that rereplacenocase() is the right tool to use, but my
 REGEX skills
 aren't all that strong.

 Thanks,

 Pete



 ~~
 

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