Adobe CTO Kevin Lynch leaving company for Apple

2013-03-20 Thread Eric Cobb

Huh, well how 'bout that?

Adobe has sent word to The Next Web that effective March 22, Lynch will be 
exiting the company for a position at Apple:
http://appleinsider.com/articles/13/03/19/adobe-cto-kevin-lynch-reportedly-l
eaving-company-for-apple

Also, a follow up article:
http://appleinsider.com/articles/13/03/19/why-did-apple-hire-adobe-cto-kevin
-lynch



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355117
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Adding Salt and Password Hash to existing acocunts

2013-03-11 Thread Eric Cobb

I've been playing around lately with hashing via both SQL Server 2008 and 
CF.  The following should give you the same results in both:

cfset hashpwd = hash(pwd  uuid,SHA-1 )

SET @pwdHash = CONVERT(VARCHAR(40),HashBytes('SHA1', @pwd + @UUID),2)

My understanding is, SQL Server 2012 is the only version that currently 
supports SHA512.

Thanks,

Eric Cobb
http://www.cfgears.com



From: Bobby bo...@acoderslife.com
Sent: Monday, March 11, 2013 11:04 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Adding Salt and Password Hash to existing acocunts

In the example it was a hardcoded string for the salt. 'mySalt'. you'd
just replace that with whatever you intend to use.

I haven't used SHA512 this way. I only did it the way I did so there was
an equivalent method in CF to generate the same hash.

You'd have to play around with generating SHA512 hashes in TSQL and make
sure you are also able to generate that same hash in CF (assuming you will
be doing your hashing in CF at all before sending to the database).

You can do as many iterations of the salt as you want I suppose. If I was
going to hash multiple times, I'd salt them all.

On 3/11/13 9:05 AM, Torrent Girl moniqueb...@gmail.com wrote:

SHA512



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354926
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Extending a Component vs. Passing an Object

2013-01-29 Thread Eric Cobb

I have a service CFC that calls my dao CFC a lot.  Currently, I just pass 
in an object of the dao to the service's init() method and save it to the 
variables scope to be used throughout the service.  But, I'm wondering if I 
would be better off having my service CFCs extend their dao's instead.  

Thoughts?  Are there any benefits to extending a CFC instead of just 
passing it in as an object, or is passing an object better? 

Thanks,

Eric
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354104
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion developer position in Nashville, TN

2012-07-31 Thread Eric Cobb

My company is currently looking for a new CF Dev. to join our team.  Below is 
the job description and contact info.




South Eastern Book Company has an immediate need for a mid-senior level 
ColdFusion developer in our downtown Nashville, TN office.  This is a very 
exciting time for us, and a unique opportunity for a developer to get in on the 
ground floor of building an enterprise level system.  In addition to supporting 
our existing systems, we are in the early planning stages of rewriting our 
entire web platform, which is comprised of multiple sites and applications.  
This will be a complete rewrite from the ground up, from the database to the 
html, and we're scheduled to start coding within a few weeks.  This is the 
perfect time for the right candidate to come on board and play a key role in 
product development, to make recommendations for the direction of the product, 
and help shape the overall technical and online presence of our organization.   
We are looking for someone with a positive attitude, who has the ability to 
work both independently and as a vital team member to contribute to the overall 
growth of the development team and our organization.  Someone who is willing to 
speak up when they know they're right, but be able to admit when they're wrong 
and learn from their mistakes.  Responsibilities include maintaining and 
expanding current applications, developing new applications and collaborating 
with other developers. Our industry can be fast paced and competitive at times, 
so being flexible with the ability to easily adapt is a must. 

Position Description
This position is responsible for supporting, troubleshooting and optimizing 
existing web applications, assisting with the development of future web 
applications, monitoring and supporting existing web site infrastructure.  
 
Key Education and/or Experience   


Bachelor's degree in Computer Science or related field.  Extensive Coldfusion 
Development background with a minimum of 5 years of experience developing 
internet applications.  Possess a thorough knowledge of the principles and 
practices of application development.  Solid understanding of relational 
database design and programming. 

Key Technical Requirements

Minimum 3-5 years experience working with Coldfusion
Strong knowledge of Coldfusion 9, including CFC-based development and ORM
Experience with ColdFusion MVC frameworks and Unit Testing frameworks is a 
big plus
Strong SQL Server 2005/2008 T-SQL experience, including Stored Procedures
Strong HTML, CSS, Javascript, jQuery, and AJAX skills
Excellent analytical/problem solving skills
Experience developing for high-volume e-commerce sites
Experience with source control mechanisms (SVN)
Comfortable with EDI formats such as JSON, XML, SOAP, REST
Publishing and Consuming APIs and Webservices



Key Competencies Required

Good communication and documentation skills
Detail-oriented, self-motivated, innovative
Strong understanding and experience in the SDLC
Strong understanding of software QA/QC
Knowledge of continuous integration and automated build technologies is a 
plus 

The successful candidate must be able to:

Demonstrate accuracy and thoroughness; Look for ways to improve and promote 
quality; Apply feedback to improve performance; Monitor their own work to 
ensure quality. 
Identify and resolve problems in a timely manner; Gather and analyze 
information skillfully; Develop alternative solutions; Work well in group 
problem solving situations; Use reason even when dealing with emotional topics.
Understand business implications of decisions; Display orientation to 
profitability; Align work with strategic goals.
Adapt to changes in the work environment; Manage competing demands; Change 
approach or method to best fit the situation; Able to deal with frequent 
change, delays or unexpected events.
Display original thinking and creativity; Meet challenges with 
resourcefulness; Generate suggestions for improving work; Develop innovative 
approaches and ideas; Present ideas and information in a clear and concise.   



This position is full-time, on-site, in downtown Nashville, TN.  If you or 
someone you know is interested in the above job, please submit your resume to 
careers @ chuckjones.net. (RE: ColdFusion Developer)
 


Thanks,

Eric Cobb
http://www.ncfug.com
http://www.cfgears.com







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352023
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


re: ColdFusion developer position in Nashville, TN

2012-07-31 Thread Eric Cobb

Oops...sorry.  Wrong list!  



From: Eric Cobb cft...@ecartech.com
Sent: Tuesday, July 31, 2012 9:17 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: ColdFusion developer position in Nashville, TN

My company is currently looking for a new CF Dev. to join our team.  Below 
is the job description and contact info.



South Eastern Book Company has an immediate need for a mid-senior level 
ColdFusion developer in our downtown Nashville, TN office.  This is a very 
exciting time for us, and a unique opportunity for a developer to get in on 
the ground floor of building an enterprise level system.  In addition to 
supporting our existing systems, we are in the early planning stages of 
rewriting our entire web platform, which is comprised of multiple sites and 
applications.  This will be a complete rewrite from the ground up, from the 
database to the html, and we're scheduled to start coding within a few 
weeks.  This is the perfect time for the right candidate to come on board 
and play a key role in product development, to make recommendations for the 
direction of the product, and help shape the overall technical and online 
presence of our organization.   We are looking for someone with a positive 
attitude, who has the ability to work both independently and as a vital 
team member to contribute to the overall growth of the development team and 
our organization.  Someone who is willing to speak up when they know 
they're right, but be able to admit when they're wrong and learn from their 
mistakes.  Responsibilities include maintaining and expanding current 
applications, developing new applications and collaborating with other 
developers. Our industry can be fast paced and competitive at times, so 
being flexible with the ability to easily adapt is a must. 

Position Description
This position is responsible for supporting, troubleshooting and optimizing 
existing web applications, assisting with the development of future web 
applications, monitoring and supporting existing web site infrastructure.  


Key Education and/or Experience   

Bachelor's degree in Computer Science or related field.  Extensive 
Coldfusion Development background with a minimum of 5 years of experience 
developing internet applications.  Possess a thorough knowledge of the 
principles and practices of application development.  Solid understanding 
of relational database design and programming. 

Key Technical Requirements

Minimum 3-5 years experience working with Coldfusion
Strong knowledge of Coldfusion 9, including CFC-based development and ORM
Experience with ColdFusion MVC frameworks and Unit Testing frameworks is a 
big plus
Strong SQL Server 2005/2008 T-SQL experience, including Stored Procedures
Strong HTML, CSS, Javascript, jQuery, and AJAX skills
Excellent analytical/problem solving skills
Experience developing for high-volume e-commerce sites
Experience with source control mechanisms (SVN)
Comfortable with EDI formats such as JSON, XML, SOAP, REST
Publishing and Consuming APIs and Webservices

Key Competencies Required

Good communication and documentation skills
Detail-oriented, self-motivated, innovative
Strong understanding and experience in the SDLC
Strong understanding of software QA/QC
Knowledge of continuous integration and automated build technologies is a 
plus 

The successful candidate must be able to:

Demonstrate accuracy and thoroughness; Look for ways to improve and promote 
quality; Apply feedback to improve performance; Monitor their own work to 
ensure quality. 
Identify and resolve problems in a timely manner; Gather and analyze 
information skillfully; Develop alternative solutions; Work well in group 
problem solving situations; Use reason even when dealing with emotional 
topics.
Understand business implications of decisions; Display orientation to 
profitability; Align work with strategic goals.
Adapt to changes in the work environment; Manage competing demands; Change 
approach or method to best fit the situation; Able to deal with frequent 
change, delays or unexpected events.
Display original thinking and creativity; Meet challenges with 
resourcefulness; Generate suggestions for improving work; Develop 
innovative approaches and ideas; Present ideas and information in a clear 
and concise.   

This position is full-time, on-site, in downtown Nashville, TN.  If you or 
someone you know is interested in the above job, please submit your resume 
to careers @ chuckjones.net. (RE: ColdFusion Developer)

Thanks,

Eric Cobb
http://www.ncfug.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352024
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http

Creating Indexes with ORM

2012-04-18 Thread Eric Cobb

I'm just starting to play around with CF 9's ORM some, and I love that I 
can have it automatically create tables for me.  But one thing I have 
haven't been able to figure out yet is, is there a way to create indexes on 
tables via CF 9's ORM?  I'm not talking about the indexes for primary keys 
or FK relationships to other tables.  I'm wanting to create indexes on 
table columns not related to other tables.  

Is this doable in ORM, or am I just going to have to create the tables on 
the DB server to do it?

Thanks,

Eric Cobb
http://www.cfgears.com




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Creating Indexes with ORM

2012-04-18 Thread Eric Cobb

Thanks Dave,

I tried to use the index attribute, but I can't seem to get it to do 
anything.  Either ORM would create the table and ignore the index, or ORM 
just flat out wouldn't work.  I wouldn't get an error, but it wouldn't 
create the table.  

I guess I'll go back and play with it some more and see if I can dig up 
more info on it. 



From: Dave Watts dwa...@figleaf.com
Sent: Wednesday, April 18, 2012 9:46 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Creating Indexes with ORM

 I'm just starting to play around with CF 9's ORM some, and I love that I
 can have it automatically create tables for me.  But one thing I have
 haven't been able to figure out yet is, is there a way to create indexes 
on
 tables via CF 9's ORM?  I'm not talking about the indexes for primary 
keys
 or FK relationships to other tables.  I'm wanting to create indexes on
 table columns not related to other tables.

 Is this doable in ORM, or am I just going to have to create the tables 
on
 the DB server to do it?

I'm sure it's doable in ORM, since it's just Hibernate, and you can
certainly do this in Hibernate. I'm not sure where you'd do it,
exactly, though - my guess would be in the mapping file that gets
created for each CFC. But first, you might try just creating an
index attribute for your CFPROPERTY tag and see what happens.

http://stackoverflow.com/questions/3533301/creating-indexes-on-db-with-hiber
nate-index-annotation

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsi



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Mulit-Sever only uses default site

2012-03-06 Thread Eric Cobb

Thanks Russ!

I looked through everything you suggested, and I can't see anything wrong.  
Here's my wsconfig.properties file:

1=IIS,1,false,
1.srv=localhost,cfusion
1.cfmx=true,null
2=IIS,2,false,
2.srv=localhost,Test01
2.cfmx=true,null

So it looks like my #2 site is pointing to the correct Test01 CF 
instance.  

The CFM handlers in IIS are pointing to C:\JRun4\lib\wsconfig\jrun_iis6.dll 
for both of my sites.  Is that correct, or should site #2 be pointing 
somewhere else?  

Something else that I noticed is, whenever I spin off a new CF instance 
none of the datasources seem to be carried over to the new instance.  I 
have to add them manually.  I'm not sure if this is related or not.  

I've tried deleting and recreating my instances several times, and still no 
luck.  Do you have any other suggestions? 

Thanks,

Eric



From: Russ Michaels r...@michaels.me.uk
Sent: Thursday, February 23, 2012 11:49 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: CF 9 Mulit-Sever only uses default site

Eric,

check the .CFM handlers in iis and make sure they link to the right
connectors.
if they do, then check the wsconfig.properties in the wsconfig folder

this should specify which connector is for which site/instance

should look like this.

1=IIS,0,false,
1.srv=localhost,cfusion
1.cfmx=true,C:/Inetpub/wwwroot
2=IIS,7605,false,
2.srv=localhost,anorak
2.cfmx=true,null
3=IIS,2714,false,
3.srv=localhost,CFMX10120
3.cfmx=true,null
5=IIS,1851,false,
5.srv=localhost,CFMX10158
5.cfmx=true,null

the number is the connector in your wsconfig folder
e.g

wsconfig/1
wsconfig/2

the first entry for each number tells you the web server type and siteID
the 2nd entry is the host and instance name
the 3rd entry specifies that cf handlers are enabled

--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services  solutions
www.cfmldeveloper.com: ColdFusion developer community
www.michaels.me.uk   : my blog
www.cfsearch.com : ColdFusion search engine
**
*skype me* : russmichaels



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350250
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9 Mulit-Sever only uses default site

2012-02-23 Thread Eric Cobb

I have a strange issue with my CF 9 Multi-Sever install running on Windows 
2008 R2 and IIS 7.  This is a new server and I set up CF 9.01 in 
multi-server mode on it yesterday.  The install went fine, and I have my 
first instance up and running with no problem.  I was able to successfully 
spin off 2 more instances from within the CF Admin.  I have my sites set up 
in IIS, and I ran wsconfig to assign each site to a CF instance.  I made 
absolutely sure that I selected the correct CF instance and the correct 
site in wsconfig.

For whatever reason, all of my sites still use the default cfusion 
instance, regardless of what I've assigned to them in wsconfig.  I even 
deleted the sites from wsconfig and added them back, and every one of them 
still uses cfusion.  

Has anyone every run into this before?  

Thanks,

Eric




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Change Subversion login info stored in CFBuilder

2011-12-08 Thread Eric Cobb

So, I have my SVN repositories set up in CFBuilder (via the subclipse 
plugin), and I have it set to remember my username/password when connecting 
to the repositories.  I have a case where I need to change my login for one 
of my repository connections, and I can't seem to figure out how to do that 
in CFBuilder.  

I've gone through all of the settings can't find anywhere to change the 
username/password.  Does anyone have any suggestions?  

Thanks,

Eric




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349033
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Change Subversion login info stored in CFBuilder

2011-12-08 Thread Eric Cobb

Thanks Gerald,

I've been going through there and can't seem to find anywhere that has a
UN/PW update.  I've looked through the properties for the connections,
the SVN settings in WindowsPreferences, and keep coming up empty.  

Any other suggestions?



From: Gerald Guido gerald.gu...@gmail.com
Sent: Thursday, December 08, 2011 12:03 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Change Subversion login info stored in CFBuilder

There should be a view called SVN Repositories.

Window Show view  other  SVN repositories. That should show your
repositories. Then in that view start right clicking on stuff or look at
the upper right hand menu. Sorry if I am not clearer but I have both sub
eclipse and subversive installed on this install and I can't tell which 
one
I am using. It just says SVN  ;)
HTH

G!

On Thu, Dec 8, 2011 at 12:38 PM, Eric Cobb cft...@ecartech.com wrote:


 So, I have my SVN repositories set up in CFBuilder (via the subclipse
 plugin), and I have it set to remember my username/password when 
connecting
 to the repositories.  I have a case where I need to change my login for 
one
 of my repository connections, and I can't seem to figure out how to do 
that
 in CFBuilder.

 I've gone through all of the settings can't find anywhere to change the
 username/password.  Does anyone have any suggestions?

 Thanks,

 Eric




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349036
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


SVNAnt and Eclipse/CFBuilder

2011-11-09 Thread Eric Cobb

Can someone out there please tell me how to get svnant installed in 
Eclipse/CFBuilder?  I'm already using ant for some stuff, and I need to be 
able to connect it to subversion.  But, no matter what I do, I keep getting 
the below error:

BUILD FAILED
Problem: failed to create task or type svn
Cause: The name is undefined.

It's throwing that error as soon as it hits my svn tag in my build.xml 
file.  Everything I can find online says that I do not have svnant 
installed correctly.  

I've gone into properties and added the jars to my Ant Home Entries, but 
that doesn't seem to do anything.  I've added them to every directory in 
program files/CFBuilder that looks like it can hold a jar, and that hasn't 
helped.  I've moved the jars around and restarted CFBuilder about a dozen 
times and still get the error.

So I really don't know what else to do.  Anyone know how to get svnant up 
and running in CFB 2?  

Thanks,

Eric




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348544
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFHTTP, DNS Caching, and CF 9 won't behave.

2011-09-02 Thread Eric Cobb

So, I'm having a problem with CFHTTP caching DNS and not wanting to update. 
 Basically, a vendor updated their API yesterday and now all CFHTTP calls 
to the url give a Connection Failure error, even though you can pull the 
url up in a browser (from the server) and it works fine.  I've already gone 
through the suggestions in the following posts:

http://www.talkingtree.com/blog/index.cfm/2006/5/23/Configuring-the-Caching-
of-Hostname-Resolution-for-ColdFusion-MX
http://dcooper.org/blog/client/index.cfm?mode=entryentry=B322459B-D872-DC1E
-6F2424DDC66215E6
http://www.coldfusionmuse.com/index.cfm/2008/10/9/cfhttp-troubleshooting
http://www.coldfusionmuse.com/index.cfm/2009/1/28/cfhttp.dns.restart

and it doesn't seem to work.  I've changed every java.security file I can 
find on my machine, restarted all CF services, even rebooted twice and the 
cache doesn't clear.  

I'm running CF 9 on Windows 7 64-bit.  

Any suggestions?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347186
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP, DNS Caching, and CF 9 won't behave.

2011-09-02 Thread Eric Cobb

Actually, it is an HTTPS connection.  I've got a tutorial here 
(http://www.coldfusionmuse.com/index.cfm/2005/1/29/keystore) on how to fix 
that, I'm going to give it a try and see what happens.  

Thanks!



From: Brook Davies cft...@logiforms.com
Sent: Friday, September 02, 2011 2:07 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: RE: CFHTTP, DNS Caching, and CF 9 won't behave.

Is it an HTTPS connection? Have you added  their cert to the Java 
KeyStore?

Brook

-Original Message-
From: Eric Cobb [mailto:cft...@ecartech.com] 
Sent: September-02-11 12:00 PM
To: cf-talk
Subject: CFHTTP, DNS Caching, and CF 9 won't behave.

So, I'm having a problem with CFHTTP caching DNS and not wanting to update. 

Basically, a vendor updated their API yesterday and now all CFHTTP calls 
to
the url give a Connection Failure error, even though you can pull the 
url
up in a browser (from the server) and it works fine.  I've already gone
through the suggestions in the following posts:

http://www.talkingtree.com/blog/index.cfm/2006/5/23/Configuring-the-Caching-

of-Hostname-Resolution-for-ColdFusion-MX
http://dcooper.org/blog/client/index.cfm?mode=entryentry=B322459B-D872-DC1E

-6F2424DDC66215E6
http://www.coldfusionmuse.com/index.cfm/2008/10/9/cfhttp-troubleshooting
http://www.coldfusionmuse.com/index.cfm/2009/1/28/cfhttp.dns.restart

and it doesn't seem to work.  I've changed every java.security file I can
find on my machine, restarted all CF services, even rebooted twice and the
cache doesn't clear.  

I'm running CF 9 on Windows 7 64-bit.  

Any suggestions?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Best thing for testing code?

2011-08-30 Thread Eric Cobb

We are wanting to put some type of testing system in place here at
work.  I know there's a ton of stuff out there, and I'm really at a loss
as to where to start.  I'm not sure if any of the TDD
frameworks are what we're after or not.  Our main concern right now is
setting up something to help test our existing applications.  Here's a
scenario of something we would be wanting to test:

We have an automated process that checks for new orders that came in from 
our
website.  This process takes an order and checks each of the items in
that order to see if we have it in stock or need to check 3rd party
vendors.  If it needs to check the vendors, it begins going through a
list of venders and hitting their APIs to see if they have the item.  In
certain cases we may want to skip vendor 1 and order directly from
vendor 2, or always order from vendor 3 without even looking at the others. 
 Once it finds the item it then instructs our system to place
the order for the item with that vendor, and then it moves the order
over to our accounting system.

We're not just concerned with whether or not the CFCs work, we need to
know that the correct vendor was selected for the correct item, the
database records were updated with the correct values, we don't
accidentally place the same order with 2 vendors, etc...  

All that to say, what would be a good testing system to use with
something like that? I'm open to any and all suggestions, even if it's
something we have to purchase.  

Thanks,

Eric Cobb
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347123
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) Recover Data from External Hard Drive

2011-08-29 Thread Eric Cobb

So, this is way OT, but I'm hoping someone out there can give me some
suggestions to help me figure this out.  Here's my situation:

I have a 500GB USB external hard drive on my home PC that I use to store
pretty much everything.  All of our pictures, financial documents,
mp3s, code repositories, everything.  I have the hard drive partitioned
into 2 equal parts, and they are set up as the F and G drives on the
PC.  Last week, my 9 month old grabbed the cable and pulled the hard
drive off of the desk.  When I plugged the hard drive back in, I could
no longer access any of the data on the drives.  Windows is saying that
the drives need to be formatted.  

I've tried it on 3 separate machines, and I get the same thing on each
one.  When I plug in the hard drive, Windows sees both the F and G
partitions, but wants to format them every time I try to open them.  I
looked in disk manager and it shows each partition with the correct
size, but it says that each one is 100% free and contains no data.  It
does this on Windows XP, Windows 2003, and Windows 7.  

I tried booting Knoppix to see if I could access it that way, but I
can't even get Knoppix to see the USB hard drive, or if it does I don't
know where to look.  I used VirtualBox to boot an Ubuntu instance, but
got the same results as Knoppix, either it doesn't see the USB hard
drive, or if it does I don't know where to look.  (now would probably be
a good time to mention that I don't know squat about Linux).  

So, that's my predicament.  Does anyone out there have any suggestions
on what to try?  I feel like that if I can get Knoppinx/Ubuntu to see
the drive that may be my best bet, but I don't have a clue as to how to
do it. (plan on doing some serious googling tonight).

I appreciate any suggestions anyone may have.

Thanks,

Eric Cobb
http://www.cfgears.com




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347079
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Resetting cached components

2011-08-03 Thread Eric Cobb

I've got a hypothetical situation that entered into me little brain this 
morning that I thought I'd ping the group on for answers.  

Let's say I've got an object cached in the application scope.  The call to 
this CFC is used throughout the site, which gets a lot of traffic.  
Everything inside the CFC is var scoped, and it's completely encapsulated.  
It's just runs a query, sets some variables, and returns the results.  What 
would happen if I were to reset the cache (by re-running cfset 
application.myCfc = new com.blah) while someone was using that cached call? 
 

There's enough traffic on the site that it's almost certian that there will 
be users on it when I reset the cache.  This cached cfc is used on every 
page, so it's almost certain that someone will be in the middle of doing 
something with it when it's reset.  What will happen for that user when 
this happens?  

Thanks,

Eric Cobb
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346478
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


API Question

2011-08-01 Thread Eric Cobb

I'm creating an API (if you can call it that) for one of our applications.  
It's nothing big or fancy, actually just 1 cfc with 1 method in it that's 
going to be a front-facing component for AJAX calls to hit.  All it's going 
to do is take an ID, call our main cfc to do some processing, then return 
the results.

My question is, is it better to have my API cfc just extend the main 
component, or should create the connection to the main component in the API 
cfc?  What is the standard or preferred method for doing this?

Thanks,

Eric
http://www.cfgears.com




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346423
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Problem with Client Variables not persisting.

2011-07-28 Thread Eric Cobb

I've got a strange problem here that I need some help figuring out.  We
have a site running on 8 load balanced CF 9 servers.  We're doing a lot of
stuff with Client Variables, and all of our code works fine in
development/staging, but in production none of the client variables
persist.  After digging in to it, I find that we're getting a new
CFID/CFTOKEN on every page request, which explains why the variables
don't persist from page to page.

My question is, could this be a problem at the load balancer?  If sticky
sessions were not enabled or configured correctly, wouldn't it cause
this?  My gut tells me yes, but I wanted to see if any of you have run
into this.

Thanks!

Eric.
http://www.cfgears.com




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problem with Client Variables not persisting.

2011-07-28 Thread Eric Cobb

Thanks Pete,

Our host said they are having problems with the load balancer, so it looks like 
that's the problem.

I was thinking about putting something out there to identify which server I was 
hitting.  I'll probably put some type of small flag in a comment on the pages 
so I can just view source any time and know which server I'm on.  



From: Pete Freitag p...@foundeo.com
Sent: Thursday, July 28, 2011 9:34 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Problem with Client Variables not persisting.

Hi Eric,

Yes if sticky sessions were not working or configured properly on your load
balancer that would certainly cause you to get new CFID/CFTOKEN on each
request.

As of the ColdFusion security patch for session fixation (APSB11-04) if the
CFID/CFTOKEN values do not correspond to a valid session on the server it
will return new ones. In prior versions of CF it would just create a new
session with the CFID/CFTOKEN values that were sent. The problem with that
is that your session id's can last a long long time. You can actually
disable the session fixation patch by adding a JVM
argument: –Dcoldfusion.session.protectfixation=false but I'm not sure that
you want to, first I'd double check that your load balancer has sticky
sessions setup properly.

One way you could validate that would be to create a page that returned
something unique to each server in the cluster (eg it's IP address, or CF
serial number) then hit that page, if it keeps changing then you are hitting
different servers.

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting  Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?

On Thu, Jul 28, 2011 at 8:41 AM, Eric Cobb cft...@ecartech.com wrote:


 I've got a strange problem here that I need some help figuring out.  We
 have a site running on 8 load balanced CF 9 servers.  We're doing a lot of
 stuff with Client Variables, and all of our code works fine in
 development/staging, but in production none of the client variables
 persist.  After digging in to it, I find that we're getting a new
 CFID/CFTOKEN on every page request, which explains why the variables
 don't persist from page to page.

 My question is, could this be a problem at the load balancer?  If sticky
 sessions were not enabled or configured correctly, wouldn't it cause
 this?  My gut tells me yes, but I wanted to see if any of you have run
 into this.

 Thanks!

 Eric.
 http://www.cfgears.com




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346388
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problem with Client Variables not persisting.

2011-07-28 Thread Eric Cobb

I really don't have any idea what LB they're using.  Whatever it is, 
they're having problems with it so I blame it on that.  :)

Sure thing, I'll get up with you this weekend.  :)



From: J.J. Merrick j...@cyber-jay.com
Sent: Thursday, July 28, 2011 9:48 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Problem with Client Variables not persisting.

Eric, What LB product are you using? I have used pound in the past and 
with
no sticky sessions the client vars persisted just fine.

Oh and can I borrow your saw and drill next week? I want to make some
nightstands :-D

-J.J.

On Thu, Jul 28, 2011 at 7:41 AM, Eric Cobb cft...@ecartech.com wrote:


 I've got a strange problem here that I need some help figuring out.  We
 have a site running on 8 load balanced CF 9 servers.  We're doing a lot 
of
 stuff with Client Variables, and all of our code works fine in
 development/staging, but in production none of the client variables
 persist.  After digging in to it, I find that we're getting a new
 CFID/CFTOKEN on every page request, which explains why the variables
 don't persist from page to page.

 My question is, could this be a problem at the load balancer?  If sticky
 sessions were not enabled or configured correctly, wouldn't it cause
 this?  My gut tells me yes, but I wanted to see if any of you have run
 into this.

 Thanks!

 Eric.
 http://www.cfgears.com




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346389
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: VPS Hosting

2011-06-13 Thread Eric Cobb

I've got a KickAssVPS server that I've had for a while and I've been 
very happy with it, and just got another one last Friday.  I now know 
what you mean about support.  My new server went down over the weekend, 
and their Emergency 911 Support hasn't even bothered to contact me 
back about it yet.

KickAssVPS may be about to kiss my ass goodbye.


Thanks,

Eric


On 6/10/2011 6:04 PM, Pete Ruckelshaus wrote:
 I'm using KickAssVPS and have been happy; support is good, but not always
 on-the-spot prompt, so keep that in mind if you need five 9's.  I have my
 own CF9 license, so I went with the basic Entry VPS plan; you'll never
 shoehorn CF and a database on the VPS with a gig of RAM.  Two gigs works
 fine, and I'm running SQL Server Express.

 I don't use any of the SmarterTools stuff, I use MailEnable for SMTP and I
 use Google Apps for domain email.  Not a judgement on whether the
 SmarterTools stuff was any good or not, I just didn't want to have to worry
 about email on top of server admin stuff.

 Pete


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345227
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: scoping

2011-05-19 Thread Eric Cobb

That's kinda backwards

If you don't specify a scope in your cfset statement, then CF will 
always put it in the VARIABLES scope.  But, if you don't specify a scope 
when calling the variable (in your cfoutput), then CF will have to hunt 
down the variable to determine which scope it's in.

http://www.cfgears.com/index.cfm/2010/9/22/The-importance-of-proper-variable-scoping

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 5/19/2011 2:55 AM, Dominic Watson wrote:
 Curiously, I do it the exact opposite way:

 cfset variables.myVariable = fubar /  !--- ensure that I am
 setting in the variables scope, because there could be a 'myVariable'
 in another scope ---

 cfoutput#myVariable#/cfoutput  !--- I have just guaranteed that I
 have variables.myVariable, there is no possibility (afaik) that I
 could be refering to another 'myVariable'. ---

 However, I should probably scope both.

 Dominic

 On 18 May 2011 19:26, Aaron Rouseaaron.ro...@gmail.com  wrote:
 This is my outlook although I do not do something like:

 cfset Variables.strBlah = something /

 instead I do:

 cfset strBlah = something /

 But I always would do:

 cfoutput#Variables.strBlah#/cfoutput

 or

 cfif Variables.strBlah IS something

 Seems to me that is what the original OP is asking about but perhaps I am
 reading too much into it based upon what I do.  This is all in reference to
 just straight CFM pages.

 On Wed, May 18, 2011 at 12:40 PM, Maureenmamamaur...@gmail.com  wrote:

 ALWAYS SCOPE!

 Especially if someone else might have to maintain the code someday.

 On Wed, May 18, 2011 at 9:51 AM, Eric Roberts
 ow...@threeravensconsulting.com  wrote:
 We had a discussion at work as to whether or not we should scope local
 vars
 with the variables. scope since that is implied in a cfset.  One camp
 says
 it is not needed because of the implicit scoping when using cfset...the
 other camp says it is better to tack on variables. and make it explicit
 for security and readability.  Any thoughts?

 Er


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344655
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: scoping

2011-05-19 Thread Eric Cobb

VARIABLES is implied when setting a variable, not when calling one.  CF 
will always go into search mode if you call a variable without a scope.  
In CF 8 it will search 3 other scopes before looking at the VARIABLES 
scope, and in CF 9 it will search 5 scopes before looking at VARIABLES.


Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 5/18/2011 8:59 PM, Eric Roberts wrote:
 A good question that was brought up by one of our developers.  When you
 don't scope a var it has to search through the various scopes to find it, in
 order of precedence.  If you are using alocal scope, is there a performance
 hit if you don't scope it since variables is implied or does it still go
 into search mode?  Also...is this negated of you use a cfset on the top of
 the page (again...this is only referring to local vars.)

 Eric

 -Original Message-
 From: Eric Cobb [mailto:cft...@ecartech.com]
 Sent: Wednesday, May 18, 2011 01:36 PM
 To: cf-talk
 Subject: Re: scoping


 Here's my take on it:
 http://www.cfgears.com/index.cfm/2010/9/22/The-importance-of-proper-variable
 -scoping

 Thanks,

 Eric Cobb
 http://www.cfgears.com
 Help me make a difference this summer -http://bit.ly/i8dJvQ


 On 5/18/2011 11:51 AM, Eric Roberts wrote:
 We had a discussion at work as to whether or not we should scope local
 vars with the variables. scope since that is implied in a cfset.
 One camp says it is not needed because of the implicit scoping when
 using cfset...the other camp says it is better to tack on variables.
 and make it explicit for security and readability.  Any thoughts?

 Eric





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344660
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: scoping

2011-05-18 Thread Eric Cobb

Here's my take on it:
http://www.cfgears.com/index.cfm/2010/9/22/The-importance-of-proper-variable-scoping

Thanks,

Eric Cobb
http://www.cfgears.com
Help me make a difference this summer -http://bit.ly/i8dJvQ


On 5/18/2011 11:51 AM, Eric Roberts wrote:
 We had a discussion at work as to whether or not we should scope local vars
 with the variables. scope since that is implied in a cfset.  One camp says
 it is not needed because of the implicit scoping when using cfset...the
 other camp says it is better to tack on variables. and make it explicit
 for security and readability.  Any thoughts?

 Eric


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Migrating a DB from MS SQL 2000 into MySQL latest release

2011-05-11 Thread Eric Cobb

FWIW, here's some code for automating the backup process in SQL Server 
Express:
http://www.cfgears.com/index.cfm/2010/7/20/Automating-backups-for-SQL-Server-Express

Thanks,

Eric Cobb
http://www.cfgears.com
Help me make a difference this summer -http://bit.ly/i8dJvQ


On 5/11/2011 1:36 PM, Carl Von Stetten wrote:
 While installing the trial of SQL Server 2008 will get you the full
 Management Studio and Business Development Studio (or whatever it is
 called in 2008, and is required for developing SSIS solutions), SQL
 Server Express does not have the SSIS service.  You have to have at
 least one full SQL Server 2008 server somewhere to have an SSIS
 service.  You might consider purchasing SQL Server 2008 Developer
 Edition (which should be about $50) which is essentially a fully
 functioning version of SQL Server 2008 Enterprise with the licensing
 restriction that it only be used for development and not production.

 Link to Developer Edition on MicrosoftStore.com:
 http://www.microsoftstore.com/store/msstore/en_US/pd/productID.221634300/search.true

 HTH,
 Carl

 On 5/11/2011 8:08 AM, Russ Michaels wrote:
 I'm sure I used SSIS with 2005 Express, so I would expect it is with 2008.
 You certainly have import/export services anyway.
 Just make sure you get SQL Server Express with Tools.
 If you find features missing from the Management Studio express, there is a
 little cheat, you can download the FULL EDITION trial of SQL Server 2008
 with tools, and get the full edition of Management Studio, which i'm pretty
 sure never expires, at least it didn't with 2005.
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344465
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Bless cfqueryparam - helped defend against a persistent hack attempt

2011-05-02 Thread Eric Cobb

I generally see a pretty significant gain on Oracle as well.

Thanks,

Eric Cobb
http://www.cfgears.com
Help me make a difference this summer - http://bit.ly/i8dJvQ



On 5/2/2011 3:27 PM, Mark A. Kruger wrote:
 I almost always see a significant gain in query performance - at least on
 all versions of MSSQL - as much as 20-30 percent in some cases.

 Mark A. Kruger, MCSE, CFG
 (402) 408-3733 ext 105
 www.cfwebtools.com
 www.coldfusionmuse.com
 www.necfug.com


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Monday, May 02, 2011 1:54 PM
 To: cf-talk
 Subject: Re: Blesscfqueryparam - helped defend against a persistent hack
 attempt


 cfqueryparam creates bound sql parameters, which improve query
 performance.
 This is purely theoretical, in practice, the gain in performance is
 neglectible.
 I prefer have a query to take 11 ms and see the values submitted in case
 of error, than having the same query take 10 ms, but no information in
 errors.

 In your practice, perhaps. In the practice of others, not so much.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344143
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Custom tags in CF 9

2011-04-12 Thread Eric Cobb

The default for multi-instance is: 
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\CustomTags

If you've created additional instances, then you'll need to look in the 
appropriate directory under C:\JRun4\servers

Thanks,

Eric Cobb
http://www.cfgears.com
Help me make a difference this summerhttp://bit.ly/i8dJvQ


On 4/12/2011 2:04 PM, Donnie Carvajal wrote:
 Hi,

 I recently installed an enterprise version of CF9 and the default directory 
 is c:\jrun4 and there is no CustomTags directory.  I added my customtags 
 directory from my MX7 server and the custom tags calls are returning errors 
 that they can't be found.  Does anyone know where the CustomTags default 
 directory is?  BTW, this is a library of tags that all of the apps on the 
 server will use, so placing them in the root of the web app is not an option.

 Thanks,

 Donnie

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343678
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Is saving a query in the session passed by reference or by value?

2011-03-24 Thread Eric Cobb

I know that complex data types (structs, CFCs, queries, COM/JavaObjects, 
etc...) are passed by reference, not by value.  But I'm wondering how 
that works when storing them in the session scope.

For example, let's say I have a query that returns a really large result 
set, and after that query runs I store the query results as a variable 
in the session scope.

cfquery name=variables.qry
 select*
 FROMbigTable
/cfquery

cfset session.myQry = variables.qry

Would the above code just create a reference to the result set already 
in memory, or would it actually create a copy of the results in the 
session?

In a similar scenario, what would happen if I had a CFC object stored in 
the session, then passed my query results to it to be stored in that 
CFCs variables scope?

cfquery name=variables.qry
 select*
 FROMbigTable
/cfquery

cfset session.myCFC.blah(variables.qry)

-- 

Thanks,

Eric Cobb
http://www.cfgears.com
Help me make a difference this summer. http://bit.ly/i8dJvQ




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343252
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Persisting query data across cflocation

2011-03-23 Thread Eric Cobb

Given the following scenario, what would be the best way to persist the 
data across the cflocation call?

I have page A, which includes page B, which does a cflocation to page 
C.  Query results returned in page A need to be available in page C.  
Since we're doing a cflocation, which starts a new request, storing the 
query results in the request scope doesn't work, and a query result set 
can't be passed as a url variable in the cflocation tag.

Is storing the query results in the session scope on page A, then 
retrieving it on page C my best option?  Either that or calling the 
query on both page A and page C?  I was really hoping there was an 
easier way (like storing it in the request scope!), but I can't seem to 
figure it out.

-- 

Thanks,

Eric Cobb
http://www.cfgears.com
Help me make a difference this summer.http://bit.ly/i8dJvQ



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343225
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Suggestions for building a web service

2011-03-01 Thread Eric Cobb

I've been tasked with building a very simple web service into our 
existing application.  Basically, we have another department here that 
needs to know if a user is set up in our application before they set 
that user up in their application, so they need a way to hand us a 
username and we verify if that user exists.

In my particular situation, complete SES urls 
(site.com/user/validate/123) are not an option, although I can do this: 
site.com/index.cfm/user/validate/123 .  I was thinking of just having 
index.cfm parse the query string and use that to determine which CFC and 
method to call, then return the XML.  (i.e.: call the Validate method in 
the User CFC and pass in the ID 123)  Also, at this point, using a 
framework is not an option.

I already know that once I have this first one up and running, there 
will be two more they want built that will have almost the exact same 
functionality (see if a user is valid, see if a customer is valid, see 
if an account number is valid).  In all of these situations, these calls 
will be GET only, so they give us an ID and we tell them true/false if 
the record exists.  So, my urls for these would be something like:

site.com/index.cfm/user/validate/123
site.com/index.cfm/customer/validate/456
site.com/index.cfm/account/validate/789

What would be the best way to go about this?  Am I on the right track or 
heading down the wrong path?  I've see a lot of info out there about 
using web services and APIs, but not a whole lot on actually creating 
them in CF.  I've read a couple of posts on Ben Nadel's blog, and gone 
through some of Simon Free's presentations, but that's about it.  As I'm 
just getting ready to start building this thing, I want to make sure I 
have it laid out correctly.  I'd appreciate any advice before I start 
coding.

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Suggestions for building a web service

2011-03-01 Thread Eric Cobb

Thanks for the links Russ!

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 3/1/2011 8:46 AM, Russ Michaels wrote:
 Eric,

 CF has web service capability built right in, you don;t have to build your
 own custom parsing solution like that.

 These articles should put you on the right track,

 http://www.devarticles.com/c/a/ColdFusion/Creating-a-Web-Service-with-ColdFusion-the-Basics/
 http://www.quackit.com/coldfusion/tutorial/coldfusion_web_services.cfm
 http://www.bennadel.com/blog/430-My-First-ColdFusion-Web-Service.htm
 http://cookbooks.adobe.com/post_How_do_you_build_a_RESTful_service_in_ColdFusion_u-17901.html


 --

 Russ Michaels

 www.bluethunderinternet.com  : Business hosting services  solutions
 www.cfmldeveloper.com: ColdFusion developer community
 www.michaels.me.uk   : my blog
 www.cfsearch.com : ColdFusion search engine
 **
 *skype me* : russmichaels


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: I think I'm confused...

2011-02-24 Thread Eric Cobb

You can make up whatever entries you want in your hosts file, and it 
will work on your local machine.

127.0.0.1test1.loc
127.0.0.1test2.loc
127.0.0.1test3.loc
127.0.0.1yo.mama
127.0.0.1my.mama
127.0.0.1free.beer

Whatever you want.  I would recommend NOT adding host entries for actual 
sites that you want to really pull up in the browser (your dev server, 
production sites, etc...) as it really just becomes a pain having to 
switch back and forth/.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 2/24/2011 7:00 AM, Rick Faircloth wrote:
 I could easily see that working for single sites,
 but if I'm developing a multiple sites, one codebase
 application that depends on reading specific domain
 names for setting sites variables, that means I have
 to have those dev.mydomain domains in the local hosts
 file, as well.

 I could just use the mydomain part of the url for
 identification, but as someone pointed out earlier
 in the MSOC discussion, that wouldn't account for
 subdomains, if they're used, such as blog.mydomain, etc.

 Any thoughts on this concern?

 Rick


 -Original Message-
 From: Mike Kear [mailto:afpwebwo...@gmail.com]
 Sent: Thursday, February 24, 2011 6:04 AM
 To: cf-talk
 Subject: Re: I think I'm confused...


 I use different domain names.  I have www.mydomain.com for the live
 server site,  and dev.mydomain for my  local development sites

 Then in my hosts file, i have the line:

 127.0.0.1 dev.mydomain

 for each client site i have.   With apache, the local dev versions and
 remote server versions behave in an identical manner

 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Adobe Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month



 On Thu, Feb 24, 2011 at 9:21 PM, Rick Faircloth
 r...@whitestonemedia.com  wrote:
 Ok... thanks Mark and Eric

 We need a better solution available to developers
 to be able to switch between local and server DNS.

 Perhaps, a switch of some kind that could be inserted
 into a URL to tell a browser to use a local hosts file
 if that switch is present.

 http://local/www.xyz.com
 or
 http://l:www.xyz.com

 That would certainly be a *lot* easier than constantly
 editing that hosts file.

 But it's good to know that I can use a local DNS file
 that way!





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342557
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: I think I'm confused...

2011-02-24 Thread Eric Cobb

Ha!  Give your own PC a DOS attack?  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 2/24/2011 8:31 AM, Michael Grant wrote:
 127.0.0.1free.beer
 My belly would ping flood this domain.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342564
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: I think I'm confused...

2011-02-24 Thread Eric Cobb

You may be able to take it a step further and on your Development Server 
just have the IIS default website point to your MSOC site.  Then, you 
won't need to fool with any IIS entries, just add whatever urls you want 
to your local hosts file and have the IP address point to your Dev 
Server.  When the Dev Server gets the request, it will just hand it to 
the default site without worrying about what url is.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 2/24/2011 9:10 AM, Rick Faircloth wrote:
 Yes, that's what I was thinking.  I mentioned in a response
 a moment ago, the idea of using an entirely separate local
 development environment, including all data and assets, from
 everything on the development environment, and, in turn, from
 the production environment.

 Local:

 127.0.0.1 local.site01.com
 127.0.0.1 local.site02.com

 Development Server:
 (I would only have to setup the domains below in IIS.  All code
 and assets would mimic the local setup)

   dev.site01.com
   dev.site01.com

 Production Server:
 (At this level, all code is uploaded, and all client data and
 assets are entered by the client through a management interface,
 so even database values are not shared between local/development
 and production environments.  That's always a pain when I'm using
 client data or assets locally and the client is also uploading
 data or assets to the production server and I'm trying to make
 sure I don't overwrite their data or assets...)

   www.clientDomain01.com
   www.clientDomain02.com

 Does this follow your thinking?
 (and don't be talking 'bout my mama! ;o)

 Rick



 -Original Message-
 From: Eric Cobb [mailto:cft...@ecartech.com]
 Sent: Thursday, February 24, 2011 9:20 AM
 To: cf-talk
 Subject: Re: I think I'm confused...


 You can make up whatever entries you want in your hosts file, and it
 will work on your local machine.

 127.0.0.1test1.loc
 127.0.0.1test2.loc
 127.0.0.1test3.loc
 127.0.0.1yo.mama
 127.0.0.1my.mama
 127.0.0.1free.beer

 Whatever you want.  I would recommend NOT adding host entries for actual
 sites that you want to really pull up in the browser (your dev server,
 production sites, etc...) as it really just becomes a pain having to
 switch back and forth/.

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com


 On 2/24/2011 7:00 AM, Rick Faircloth wrote:
 I could easily see that working for single sites,
 but if I'm developing a multiple sites, one codebase
 application that depends on reading specific domain
 names for setting sites variables, that means I have
 to have those dev.mydomain domains in the local hosts
 file, as well.

 I could just use the mydomain part of the url for
 identification, but as someone pointed out earlier
 in the MSOC discussion, that wouldn't account for
 subdomains, if they're used, such as blog.mydomain, etc.

 Any thoughts on this concern?

 Rick


 -Original Message-
 From: Mike Kear [mailto:afpwebwo...@gmail.com]
 Sent: Thursday, February 24, 2011 6:04 AM
 To: cf-talk
 Subject: Re: I think I'm confused...


 I use different domain names.  I have www.mydomain.com for the live
 server site,  and dev.mydomain for my  local development sites

 Then in my hosts file, i have the line:

 127.0.0.1 dev.mydomain

 for each client site i have.   With apache, the local dev versions and
 remote server versions behave in an identical manner

 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Adobe Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month



 On Thu, Feb 24, 2011 at 9:21 PM, Rick Faircloth
 r...@whitestonemedia.com   wrote:
 Ok... thanks Mark and Eric

 We need a better solution available to developers
 to be able to switch between local and server DNS.

 Perhaps, a switch of some kind that could be inserted
 into a URL to tell a browser to use a local hosts file
 if that switch is present.

 http://local/www.xyz.com
 or
 http://l:www.xyz.com

 That would certainly be a *lot* easier than constantly
 editing that hosts file.

 But it's good to know that I can use a local DNS file
 that way!







 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342578
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-18 Thread Eric Cobb

One thing you may want to take into consideration, if you plan on having 
many sites run through this codebase, is NOT giving each site a unique 
application name.  (as in cfset this.name = #cgi.server_name#).   I 
once worked on a MSOC system that ran somewhere around 2700 websites, 
and each site had its own application name.  So, every time we cached a 
CFC in the application scope, we had 2700 separate instances of it, even 
though they were all identical.  We had 2700 application.dsn variables 
stored in memory, even though they were all identical.  We had multiple 
CF servers each trying to store and manage the same 2700 separate 
applications, all of which were completely identical.  And the worst 
part was, there was no passing ?reinit=1 if we made code changes and 
needed to reset the application scope, we had to restart each CF server 
and take all 2700 sites offline in order to reset all of the 
applications.  To me, this always seemed inefficient, and a gross waste 
of CF processes and memory.

Just some thoughts I wanted to throw out there.  Definitely something to 
think about if you're planning on having a large number of sites on your 
system.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 2/17/2011 8:59 PM, Rick Faircloth wrote:
 Your approach at Broadchoice sounds exactly like what I'm
 anticipating implementing...


 -Original Message-
 From: Sean Corfield [mailto:seancorfi...@gmail.com]
 Sent: Thursday, February 17, 2011 5:58 PM
 To: cf-talk
 Subject: Re: Feedback on this approach to many sites, one codebase (MSOC)


 On Thu, Feb 17, 2011 at 10:21 AM, Robert Harrison
 rob...@austin-williams.com  wrote:
   1.  Your relationship with the client changes and the client wants to
 take the site and move. Now you are faced with either holding the client's
 site hostage or giving away your multi-site base code framework (possibly
 even to a competitor). Neither of those is an attractive option.

 It really depends on how you set up the contract and the expectations.
 Broadchoice (where I worked in 2008) has a software-as-a-service CMS
 which hosts a number of high-profile client sites. It's very clear to
 the clients that they're using a multi-tenant SaaS platform and
 therefore they know upfront that this isn't a site they can just take
 over (although there is an option to license the codebase for an
 internal installation).

 2. Also, assume one or more clients keeps coming back to you to make
 adjustments and additions.  Now your code is getting more and more mucked up
 with custom-code exceptions.  That's also not cool. Eventually that will
 make your framework really difficult to manage and upgrade.

 At Broadchoice we tackled this by designing a pluggable, modular
 architecture for applications that could literally be dropped into
 the (single) codebase and then configured to be available on any
 client sites. The nice thing about this is that one client may pay for
 the module to be developed but it's still provided to them as a
 service - they're not purchasing the code - and then it can be offered
 to other clients, as a paid option if appropriate.

 The key is really in deciding whether you're just hosting a number
 of sites or whether you're offering a website platform in a SaaS
 model.

 You might also want to read Steve Cutter Blades blog series about MSOC:

 http://blog.cutterscrossing.com/index.cfm/MSOC

 At World Singles, we have about 50 sites all running on a single
 codebase. Mostly the sites differ in branding and look'n'feel but
 there are functional differences between many of the sites, managed
 with a similar model to what we used at Broadchoice.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342425
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Change in ColdFusion management

2011-02-15 Thread Eric Cobb

  perhaps I am just weird.

No, you are a dick.  I thought we already established that!  ;)
(sorry Russ, I just couldn't resist!)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 2/15/2011 1:28 PM, Russ Michaels wrote:
 Brian, if you think it is wrong I wont argue, all I can suggest is try
 searching the cf-talk archives and will find otherwise. I only read the
 occasional post on here and even I  seen it to be a fairly
 regular occurrence, and that is discounting the ones directed at me.
 If I am in a tiny minority then fair enough, but I personally can't imagine
 too many people go around insulting their customers and trying to turn them
 into anti-customers, especially when they are evangelists and are defending
 your product.
 Sorry if I can't see the sense in that, perhaps I am just weird.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342313
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Should I build my app as an API?

2011-02-02 Thread Eric Cobb

Have you run into any unexpected road bumps since others started using 
your API?  Naturally, having a solid API able to withstand the traffic 
is essential, but do you have any pointers for anyone wanting to go this 
route?

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/31/2011 8:27 AM, Michael Grant wrote:
 Not high traffic, no. Yes the service is being consumed by a number of other
 businesses. Not many, perhaps a few dozen.



 On Mon, Jan 31, 2011 at 9:17 AM, Eric Cobbcft...@ecartech.com  wrote:

 Thanks Michael,  those were my initial thoughts on this as well.  I'm
 glad to see someone else is doing it successfully.

 Just out of curiosity, are you doing this with any high traffic sites?
 Or, do you have any cases where other people/sites/services are also
 using your API?

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com


 On 1/28/2011 6:49 PM, Michael Grant wrote:
 I've done this approach a number of times and quite like it. The parent
 site
 is just a consumer of your api. You become your own first beta tester and
 helps identify issues before you roll out to the public. Plus if you need
 changes made you make them directly to the api and not just your own
 site.
 That way you can always be sure what you are experiencing is the same as
 what a client is.

 +1 for this approach.

 On Fri, Jan 28, 2011 at 9:19 AM, Eric Cobbcft...@ecartech.com   wrote:

 I'm getting ready to start working on what I hope is to become a pretty
 large side project.  Right now I'm in the planning phases, and one of
 the (eventual) plans is to have a full API that others can use to
 interact with the site.  When thinking about this, I came up with an
 idea that I wanted to run by you guys to get some opinions.

 Instead of taking the usual approach of building the site like I want
 then adding an API to it, what if I were to just build out the API
 first, then build my site off of that API?  Has anyone ever done this,
 or have any ideas on this?

 I'm really hoping to get a good discussion going on this, so please let
 me know what you think!

 --

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Should I build my app as an API?

2011-02-02 Thread Eric Cobb

What is this documentation that you speak of?  Programmers don't need 
directions!  Just connect to it and poke around and see what happens!  ;)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 2/2/2011 8:14 AM, Michael Grant wrote:
 I have three pieces of advice:

 1. Good Documentation
 2. Good Documentation
 3. Good Documentation

 It's probably your best tool when allowing others to access resources you've
 built.



 On Wed, Feb 2, 2011 at 8:55 AM, Eric Cobbcft...@ecartech.com  wrote:

 Have you run into any unexpected road bumps since others started using
 your API?  Naturally, having a solid API able to withstand the traffic
 is essential, but do you have any pointers for anyone wanting to go this
 route?

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com


 On 1/31/2011 8:27 AM, Michael Grant wrote:
 Not high traffic, no. Yes the service is being consumed by a number of
 other
 businesses. Not many, perhaps a few dozen.



 On Mon, Jan 31, 2011 at 9:17 AM, Eric Cobbcft...@ecartech.com   wrote:

 Thanks Michael,  those were my initial thoughts on this as well.  I'm
 glad to see someone else is doing it successfully.

 Just out of curiosity, are you doing this with any high traffic sites?
 Or, do you have any cases where other people/sites/services are also
 using your API?

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com


 On 1/28/2011 6:49 PM, Michael Grant wrote:
 I've done this approach a number of times and quite like it. The parent
 site
 is just a consumer of your api. You become your own first beta tester
 and
 helps identify issues before you roll out to the public. Plus if you
 need
 changes made you make them directly to the api and not just your own
 site.
 That way you can always be sure what you are experiencing is the same
 as
 what a client is.

 +1 for this approach.

 On Fri, Jan 28, 2011 at 9:19 AM, Eric Cobbcft...@ecartech.com
 wrote:
 I'm getting ready to start working on what I hope is to become a
 pretty
 large side project.  Right now I'm in the planning phases, and one of
 the (eventual) plans is to have a full API that others can use to
 interact with the site.  When thinking about this, I came up with an
 idea that I wanted to run by you guys to get some opinions.

 Instead of taking the usual approach of building the site like I want
 then adding an API to it, what if I were to just build out the API
 first, then build my site off of that API?  Has anyone ever done this,
 or have any ideas on this?

 I'm really hoping to get a good discussion going on this, so please
 let
 me know what you think!

 --

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341814
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Should I build my app as an API?

2011-01-31 Thread Eric Cobb

Thanks Michael,  those were my initial thoughts on this as well.  I'm 
glad to see someone else is doing it successfully.

Just out of curiosity, are you doing this with any high traffic sites?  
Or, do you have any cases where other people/sites/services are also 
using your API?

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/28/2011 6:49 PM, Michael Grant wrote:
 I've done this approach a number of times and quite like it. The parent site
 is just a consumer of your api. You become your own first beta tester and
 helps identify issues before you roll out to the public. Plus if you need
 changes made you make them directly to the api and not just your own site.
 That way you can always be sure what you are experiencing is the same as
 what a client is.

 +1 for this approach.

 On Fri, Jan 28, 2011 at 9:19 AM, Eric Cobbcft...@ecartech.com  wrote:

 I'm getting ready to start working on what I hope is to become a pretty
 large side project.  Right now I'm in the planning phases, and one of
 the (eventual) plans is to have a full API that others can use to
 interact with the site.  When thinking about this, I came up with an
 idea that I wanted to run by you guys to get some opinions.

 Instead of taking the usual approach of building the site like I want
 then adding an API to it, what if I were to just build out the API
 first, then build my site off of that API?  Has anyone ever done this,
 or have any ideas on this?

 I'm really hoping to get a good discussion going on this, so please let
 me know what you think!

 --

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341709
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Should I build my app as an API?

2011-01-31 Thread Eric Cobb

Thanks Andy.  I didn't realize that ColdBox had REST baked in, I'll have 
to look in to that.  I know that there's been some buzz lately about 
REST with Mach-II as well, but I haven't had a chance to look into any 
of it either.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/28/2011 8:12 PM, andy matthews wrote:
 Also, consider looking into ColdBox. It's built from the ground up to allow
 for REST:

 http://www.simonfree.com/presentations/

 -Original Message-
 From: Eric Cobb [mailto:cft...@ecartech.com]
 Sent: Friday, January 28, 2011 8:20 AM
 To: cf-talk
 Subject: Should I build my app as an API?


 I'm getting ready to start working on what I hope is to become a pretty
 large side project.  Right now I'm in the planning phases, and one of
 the (eventual) plans is to have a full API that others can use to
 interact with the site.  When thinking about this, I came up with an
 idea that I wanted to run by you guys to get some opinions.

 Instead of taking the usual approach of building the site like I want
 then adding an API to it, what if I were to just build out the API
 first, then build my site off of that API?  Has anyone ever done this,
 or have any ideas on this?

 I'm really hoping to get a good discussion going on this, so please let
 me know what you think!



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341710
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Should I build my app as an API?

2011-01-28 Thread Eric Cobb

I'm getting ready to start working on what I hope is to become a pretty 
large side project.  Right now I'm in the planning phases, and one of 
the (eventual) plans is to have a full API that others can use to 
interact with the site.  When thinking about this, I came up with an 
idea that I wanted to run by you guys to get some opinions.

Instead of taking the usual approach of building the site like I want 
then adding an API to it, what if I were to just build out the API 
first, then build my site off of that API?  Has anyone ever done this, 
or have any ideas on this?

I'm really hoping to get a good discussion going on this, so please let 
me know what you think!

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341623
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Coldfusion Hosting

2011-01-28 Thread Eric Cobb

To quote our great Jedi Master:

You probably won't find a 5 dollar a month hosting option for CF like 
you can with PHP. But basing your business on a host that charges as 
much as an imported beer is probably not a good idea.

(quote can be found in the comments here: 
http://net.tutsplus.com/tutorials/other/rapid-development-with-coldfusion-and-cfml/)


Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/28/2011 12:49 PM, Adam Bourg wrote:
 Can anyone recommend a decent yet cheap web host for ColdFusion?

 Right now I'm hosting my site at DreamHost (Simple wordpress as CMS site).

 I'm looking for
 SQL
 PHP 5
 and Coldfusion 8 support
 all under $6.

 Am I dreaming?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: why is cf_builder so expensive?

2011-01-26 Thread Eric Cobb

 about as nimble as a mastodon in a tar pit

That cracked me up!  Good one!


Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/26/2011 9:02 AM, Gerald Guido wrote:
 Who is being flippant? It's a fact of life that some developer tools
 cost money.


 Going out on a limb here

 It is all relative. Good tools cost do cost good money. But For some
 here, $300 is chump change. For others, even the gainfully employed, that
 could mean making a car or mortgage payment, or not. Times are tough. I
 would wager that some of the folks here vocal about not complaing about it
 not being expensive have incomes in excess of six figures, or close to it.
 For those people it is *not* expensive, but for independents or 9-5ers that
 are struggling to put their kids though college  $300 *is* a good chunk of
 change.

 I like CFB but it is a dog @ work. Our intranet has thousands of cfm's and
 cfc's (it handles *all* of our internal business proccesses) and CFB is
 about as nimble as a mastodon in a tar pit. So is it worth $300 in this
 instance? Arguably not.

 Flame on Garth!

 G!

 On Wed, Jan 26, 2011 at 9:39 AM, Raymond Camdenrcam...@gmail.com  wrote:

 Who is being flippant? It's a fact of life that some developer tools
 cost money. That isn't unusual, it is a fact of life. I was going to
 say just us developers, but I'm sure in most industries there are
 tools you end up having to pay for to help you get your job done.

 On Wed, Jan 26, 2011 at 8:09 AM, Eric Roberts
 ow...@threeravensconsulting.com  wrote:
 I think we need to move where you guys live...if you can be so flippant
 about $300, pay must be pretty awesome there...

 What I wish they would do is offer a version without flash for less.  I
 don't ever do flash, so bundling it isn't much of a perk to me.

 Eri

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341352
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is Coldfusion losing it biggest asset?

2011-01-18 Thread Eric Cobb

Me too.  There's a company here in Nashville that has 30+ CF developers, 
and that's what they do.  Their job ads are for web developers with any 
CF/Java/PHP/.Net/Ruby/ect... experience, and they state that they use CF 
and the candidate must be willing to become a CF programmer.  It seems 
to be working pretty well for them.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/17/2011 11:58 PM, Andrew Scott wrote:
 I have to agree with this.

 Regards,
 Andrew Scott
 http://www.andyscott.id.au/


 -Original Message-
 From: Adrocknaphobia [mailto:adrocknapho...@gmail.com]
 Sent: Tuesday, 18 January 2011 4:22 PM
 To: cf-talk
 Subject: Re: Is Coldfusion losing it biggest asset?


 Do yourself (and the community) a favor... train a PHP/Java/.NET/Ruby
 developer in ColdFusion if you are struggling to hire someone. CF is so
 easy
 to learn you'll likely spend less time training a developer than you would
 searching for one. Our anecdotal evidence shows that an experienced OO
 developer can be productive w/ CF in less than 3 weeks.

 -Adam

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340959
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is Coldfusion losing it biggest asset?

2011-01-14 Thread Eric Cobb

Here's another viewpoint to throw into the pile.

Just because MORE businesses aren't using ColdFusion, doesn't mean that 
businesses aren't using MORE ColdFusion.  The product can continue to 
grow without adding new customers.

At my last job, when I started working there we had 4 CF developers and 
3 CF 7 production servers. A little over a year later we had the same 4 
CF developers, but 15 CF 8 production servers.  Adobe got to sell 12 
more CF8 licenses, plus the 3 original upgrades, and there was not 1 new 
developer or new customer added to their list.   They got to see roughly 
5x the revenue from one customer, with no marketing or promotional 
expense (to us) on their end.

Not a bad deal for Adobe, eh?  I wish my customers would do that.  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/13/2011 8:27 PM, Michael Grant wrote:
 You really believe they're not grow[ing] the product with all of those
 advances and investment and effort??

 I know for me the issue isn't that they aren't growing the product. The
 product just keeps getting better. It's that they aren't growing the user
 base enough.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help w/ DateDiff() please

2011-01-13 Thread Eric Cobb

Is dte_2dlcl a column in the database?  You can't execute a ColdFusion 
function on a database column in a query.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/13/2011 1:41 PM, Jay Birdsell wrote:
 The dateDiff () is killing me!  can someone please look at this and help me 
 clear my head.

 What I have is a db that tracks executive correspondence  when drafts are due 
 and when the final response is due.   I need a report that will list any 
 correspondence that has a draft or final date within 8 days of the run date 
 (today). I've read that i should be able to do this right in the select 
 statement. However I have found a clean concise example here is what I have 
 tried so far;

 try # 1::
 cfquery name=final8 datasource=dev11g
  select   dateDiff('d',#today#,'dte_2dlcl') as m
  from execcoresp000
  /cfquery

 Results:: Error - DateDiff invalid identifier

 try# 2

 cfquery name=final8 datasource=dev11g
  select   dateDiff('d',#today#,'dte_2dlcl') as m
  from execcoresp000
  where m  8
  /cfquery
 Results:  Error M invalid identifier

 try # 3
   cfquery name=final8 datasource=dev11g
  select  dte_2dlcl
  from execcoresp000.correspondence
  where dateDiff('d',#today#,'dte_2dlcl')  8
  /cfquery
 Results: Error - DateDiff invalid identifier


 The other error i tend to get is Missing right parenthese

 i really dont want to get in a bunch of nested loops to do this.  any ideas?

 tia,

 jbird

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help w/ DateDiff() please

2011-01-13 Thread Eric Cobb

Wait, I'm confused, are you trying to use the CF dateDiff() function, or 
a database's dateDiff() function?  If you're using a database's, then I 
think you need to wrap #today# in quotes.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/13/2011 1:53 PM, Eric Cobb wrote:
 Is dte_2dlcl a column in the database?  You can't execute a ColdFusion
 function on a database column in a query.

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com


 On 1/13/2011 1:41 PM, Jay Birdsell wrote:
 The dateDiff () is killing me!  can someone please look at this and help me 
 clear my head.

 What I have is a db that tracks executive correspondence  when drafts are 
 due and when the final response is due.   I need a report that will list any 
 correspondence that has a draft or final date within 8 days of the run date 
 (today). I've read that i should be able to do this right in the select 
 statement. However I have found a clean concise example here is what I have 
 tried so far;

 try # 1::
 cfquery name=final8 datasource=dev11g
   select   dateDiff('d',#today#,'dte_2dlcl') as m
   from execcoresp000
   /cfquery

 Results:: Error - DateDiff invalid identifier

 try# 2

 cfquery name=final8 datasource=dev11g
   select   dateDiff('d',#today#,'dte_2dlcl') as m
   from execcoresp000
   where m   8
   /cfquery
 Results:  Error M invalid identifier

 try # 3
cfquery name=final8 datasource=dev11g
   select  dte_2dlcl
   from execcoresp000.correspondence
   where dateDiff('d',#today#,'dte_2dlcl')   8
   /cfquery
 Results: Error - DateDiff invalid identifier


 The other error i tend to get is Missing right parenthese

 i really dont want to get in a bunch of nested loops to do this.  any ideas?

 tia,

 jbird


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340773
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Eric Cobb

Open Source Code = 100% Configurable.   :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com


On 1/4/2011 1:44 PM, Andrew Scott wrote:
 You are promoting a security risk with the uploaded files folder as being
 under the webroot, I hope this is configurable.

 Regards,
 Andrew Scott
 http://www.andyscott.id.au/


 -Original Message-
 From: Steve Bryant [mailto:st...@bryantwebconsulting.com]
 Sent: Wednesday, 5 January 2011 3:28 AM
 To: cf-talk
 Subject: Beta Tester Wanted for new CF (MVC) Framework


 Hello fellow CFers,

 I just released a beta of a new ColdFusion framework called Neptune and I
 would love to get some beta testers to help me find bugs or make
 suggestions on how it could be improved. We have been using it internally
 for a few years on several projects, so I am curious to see if it works as
 well
 for others as it has for us.

 I think it is quite a bit unlike any other ColdFusion framework out there.
 It
 isn't hub-and-spoke (where all requests are routed through index.cfm, for
 example). It doesn't require OO. It does, however, provide pretty
 significant
 automation and allow for very concise (but still expressive) code.

 It is free and open source for any use.

 Documentation (currently 36 web pages, 43 printed pages):
 http://www.bryantwebconsulting.com/docs/neptune/

 Download:
 http://neptune.riaforge.org/

 Blog Entry:
 http://www.bryantwebconsulting.com/blog/index.cfm/2011/1/3/Neptune-
 New-Framework-for-the-New-Year

 Any feedback would be greatly appreciated.

 Thanks,

 Steve


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340411
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Eric Cobb

I just moved my blog over to a new server (Winders 2008).  So far all of 
it seems to be working correctly, except for one page, and I can't 
figure out what IIS is doing.  I'm hoping someone here has run across 
this or has enough experience with IIS 7 to tell me where to look. 

For whatever reason, IIS seems to be ignoring the cgi.path_info for my 
about page and process it as a directory.  So, for 
http://www.cfgears.com/page.cfm/About it's trying to find an About 
directory and throwing a 404 instead processing page.cfm with About as 
a cgi.path_info.  The funny thing is, all of the other pages on the site 
use this exact same url format without any problems.  For example, 
http://www.cfgears.com/index.cfm/CFML works correctly. 

The only difference in the 2 urls is that one calls index.cfm and the 
other calls page.cfm.  All index.cfm calls work, and all page.cfm calls 
break.  I know that page.cfm is there, I put in a Hey!abort at the top 
of it and you can pull it up in the url 
(http://www.cfgears.com/page.cfm), but 
http://www.cfgears.com/page.cfm/About still throws a 404. 

So, what gives?  What is it about this page that IIS doesn't want to 
process cgi.path_info correctly? 

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339494
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Eric Cobb

Wow.  Thanks Russ.  That wasn't exactly what was wrong, but you put the 
solution right in front of me.  :)

(I guess now would be a good time to mention that this is actually a 
Railo/Tomcat/IIS install?  Oops...forgot that in my original post.)
In the Tomcat web.xml file there was a section for servlet mappings.  
Among the entries there, I found this:

servlet-mapping
servlet-nameGlobalCFMLServlet/servlet-name
url-pattern/index.cfm/*/url-pattern
/servlet-mapping

So, I said to myself, Hey, that looks like it wants to process a 
cgi.path_info variable.  I wonder what happens if I add an entry like 
that for page.cfm?  Once I did that and bounced Tomcat, it all worked 
correctly.  So, thank you for helping me find the answer.  I didn't 
realize this was a Tomcat issue, I would have sworn up and down that the 
error I was getting was from IIS.  Oh well, seems like I've got some 
Tomcat/IIS issues to figure out.  I'll pester the Railo list of that.  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Russ Michaels wrote:
 Sounds like you have a similar problem to this
 http://russ.michaels.me.uk/index.cfm?mode=search

 The same solution may fix your CF problem as well.

 Russ

 -Original Message-
 From: Scott Stewart [mailto:webmas...@sstwebworks.com] 
 Sent: 24 November 2010 14:04
 To: cf-talk
 Subject: Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info


 I think the way that BlogCFC handles seo friendly URls involves
 /index.cfm/..

 You'd have to ask Ray about the details

 On Wed, Nov 24, 2010 at 8:56 AM, Eric Cobb cft...@ecartech.com wrote:
   
 I just moved my blog over to a new server (Winders 2008).  So far all 
 of it seems to be working correctly, except for one page, and I can't 
 figure out what IIS is doing.  I'm hoping someone here has run across 
 this or has enough experience with IIS 7 to tell me where to look.

 For whatever reason, IIS seems to be ignoring the cgi.path_info for my 
 about page and process it as a directory.  So, for 
 http://www.cfgears.com/page.cfm/About it's trying to find an About 
 directory and throwing a 404 instead processing page.cfm with About 
 as a cgi.path_info.  The funny thing is, all of the other pages on the 
 site use this exact same url format without any problems.  For 
 example, http://www.cfgears.com/index.cfm/CFML works correctly.

 The only difference in the 2 urls is that one calls index.cfm and the 
 other calls page.cfm.  All index.cfm calls work, and all page.cfm 
 calls break.  I know that page.cfm is there, I put in a Hey!abort at 
 the top of it and you can pull it up in the url 
 (http://www.cfgears.com/page.cfm), but 
 http://www.cfgears.com/page.cfm/About still throws a 404.

 So, what gives?  What is it about this page that IIS doesn't want to 
 process cgi.path_info correctly?

 --

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com




 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339501
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFSTOREDPROC and invalid SQL

2010-11-03 Thread Eric Cobb

This may not be what you're after, but try replacing

datetext := to_char(sysdate, '-mm-dd');

with

SELECT  TO_CHAR(sysdate, '-mm-dd') INTO  datetext  FROM   dual;

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Brent Nicholas wrote:
 Hi all,

 So I'm very stuck and tired of saying mean things to my computer... so I hope 
 you are able to see something I'm missing.

 In short, in order to trouble shoot a larger stored proc call, I've created a 
 very simple one to get working first. It just returns a value.

 Platforms: Oracle11g / CFMX7 (oracle drivers) / IIS6

 
 The Stored Proc:

 CREATE OR REPLACE PROCEDURE FUNDING.OMGItsMixedCase (datetext out varchar2
   ) is --AUTHID CURRENT_USER IS
 BEGIN -- executable part starts here

   datetext := to_char(sysdate, '-mm-dd');

 END;
 /


 ---
 The CF Code to call it:

 !--- I know setting the storedProc var works since I can call a different 
 storedProc on another schema with this method, though it requires nothing 
 passed in. ie: this code approach works elsewhere ---

 cfset storedProc = FUNDING.  OMGItsMixedCase()
   
 cfstoredproc procedure=#storedProc# dataSource=databasemonster 
 debug=yes returncode=yes
   cfprocparam type=out cfsqltype=CF_SQL_VARCHAR dbvarname=datetext 
 /
 /cfstoredproc 


 
 The error: (nemisis)

 [Macromedia][Oracle JDBC Driver][Oracle]ORA-00900: invalid SQL statement 

 The error occurred in D:\somepath\act_updateProgramFund.cfm: line 50
 48 :  
 49 : cfstoredproc procedure=#storedProc# dataSource=databasemonster 
 debug=yes returncode=yes
 50 :  cfprocparam type=out cfsqltype=CF_SQL_VARCHAR dbvarname=datetext 
 /
 51 : /cfstoredproc 
 52 : 

 SQL   { (param 1) = call P3DEVELOPER.date_text()( (param 2) )} 
 DATASOURCE   oracle1srvr 
 VENDORERRORCODE   900 
 SQLSTATE   42000 


 What's with the param 1 in front of the call? then another param 2??

 Thanks for your time and effort,
 Brent


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 / IIS 7 Issues

2010-10-18 Thread Eric Cobb

Control Panel  Programs  Features  Turn Windows Features On or Off   
Internet Information Services  Web Management Tools  IIS 6 Management 
Compatibility  IIS Metabase and IIS 6 configuration compatibility 
needs to be checked.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Robert Harrison wrote:
 Just got a new Windows 7 machine and I'm setting it up as a dev box with
 local CF 9. It has IIS 7.5.

 Giving me a 403 error on all CF pages. Apparently CF is not installing the
 correct mappings for IIS 7.5 to handle cfm and cfc extensions. Anyone know
 of any documentation or fixes on this issue?

 Thanks



 Robert B. Harrison
 Director of Interactive Services
 Austin  Williams
 125 Kennedy Drive, Suite 100 
 Hauppauge NY 11788
 P : 631.231.6600 Ext. 119 
 F : 631.434.7022
 http://www.austin-williams.com 

 Great advertising can't be either/or.  It must be .

 Plug in to our blog: AW Unplugged
 http://www.austin-williams.com/unplugged

  

 __ Information from ESET Smart Security, version of virus signature
 database 5543 (20101018) __

 The message was checked by ESET Smart Security.

 http://www.eset.com
  

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looping over Query that's contained in a structure.

2010-10-14 Thread Eric Cobb

Michael, would you believe once upon a time I placed 'top 3' in my local
spelling bee?

Out of how many people?  3?  ;)


Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Che Vilnonis wrote:
 Michael, would you believe once upon a time I placed 'top 3' in my local
 spelling bee?
 Age has not been kind to my spelling and/or typing skills. ;)

 -Original Message-
 From: Michael Grant [mailto:mgr...@modus.bz] 
 Sent: Wednesday, October 13, 2010 9:16 PM
 To: cf-talk
 Subject: Re: Looping over Query that's contained in a structure.


 I don't know what's funnier. Dispise being intentional or not.


 On Wed, Oct 13, 2010 at 4:16 PM, Che Vilnonis ch...@asitv.com wrote:

   
 I dispise typos. Sorry to bother everyone.
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: architecture mismatch

2010-10-13 Thread Eric Cobb

We ran into this just a couple of weeks ago on Win 7 64bit.  I had to 
run this to set up 32bit drivers:  c:\windows\sysWOW64\odbcad32.exe.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



steve ebeling wrote:
 new CF8 student. One project used Apache Derby Embedded drivers and all was 
 well. On the second it called for Microsoft Access drivers and I get this 
 issue.  I am using a Gateway w/ Windows7 Home Premium 64bit sys. I have read 
 of 32/64bit issues and understand the idea, but would not know how to 
 implement a change.
 thanks 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338127
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Subversion Software

2010-10-13 Thread Eric Cobb

1998 model Dell Dimension, Pentium III with 750MB RAM and Apache.  Works 
great.  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Paul Alkema wrote:
 Hey All,

 I'm looking to set up a subversion server and was wondering what types of
 subversion servers you all have set up and what software do you use to
 manage it?

  

 Paul Alkema



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338137
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looping over Query that's contained in a structure.

2010-10-13 Thread Eric Cobb

You misspelled lineitems in your query.  The cfdump you showed us has 
it spelled LINETEMS (missing an I).

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Che Vilnonis wrote:
 I tried that. I get, The value of the attribute query, which is currently
 q.lineitems, is invalid.
 I also tried  cfloop query=q[lineItems] and cfloop
 query=q[lineItems][resultset]... No luck with either.

 -Original Message-
 From: Leigh [mailto:cfsearch...@yahoo.com] 
 Sent: Wednesday, October 13, 2010 4:03 PM
 To: cf-talk
 Subject: Re: Looping over Query that's contained in a structure.


 cfloop query=structName.lineItems ..



   



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338147
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Gone Brain dead

2010-10-13 Thread Eric Cobb

 Any time you have nested hash marks, that's a good sign things aren't 
right.

I like that.  I'm going to have to store it in my quote arsenal. 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Dave Watts wrote:
 I must have gone brain dead. Seem to me like I should be able to set field
 names with a value but it's not working. Know I've done something like this
 before (this is just a sample of function... not the code):

 cfloop from=1 to=20 index=i
cfoutput
cfset column_#i#=#evaluate(post#i#_data)#
/cfoutput
 /cfloop

 I should get 20 fields, column_1 through column_20 but it's not liking the
 #i# being used to build the column_X fields.

 What am I doing wrong?
 

 Any time you have nested hash marks, that's a good sign things aren't
 right. Replace

 cfset column_#i#=#evaluate(post#i#_data)#

 with

 cfset column_#i# = evaluate(post  i  _data)

 or

 cfset Variables[column_#i#] = evaluate(post  i  _data)

 or

 cfset Variables[column_  i] = evaluate(post  i  _data)

 Or consider using an array for your column values.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338153
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ListFunction Question

2010-10-08 Thread Eric Cobb

http://www.cflib.org/udf/ListFix

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Robert Harrison wrote:
 CF ignores things like ,,  
 

 Yes, and this is killing me. I'm trying to parse a comma delimited file to
 import to a data base, but if a column is blank all the columns following
 the ,, blank column get put in the wrong bucket. 

 How do I deal with that?


 Robert B. Harrison
 Director of Interactive Services
 Austin  Williams
 125 Kennedy Drive, Suite 100 
 Hauppauge NY 11788
 P : 631.231.6600 Ext. 119 
 F : 631.434.7022
 http://www.austin-williams.com 

 Great advertising can't be either/or.  It must be .

 Plug in to our blog: AW Unplugged
 http://www.austin-williams.com/unplugged


  

 __ Information from ESET Smart Security, version of virus signature
 database 5515 (20101008) __

 The message was checked by ESET Smart Security.

 http://www.eset.com
  

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338000
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Microsoft rumored to be buying Adobe

2010-10-07 Thread Eric Cobb

It means that .Net developers will now have a much easier way to connect 
to things like Exchange, Sharepoint, Excel, and Active Directory.  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Jeff Gladnick wrote:
 http://sanfrancisco.cbslocal.com/2010/10/07/adobe-shares-soar-on-rumor-of-microsoft-bid/

 What's that mean for Coldfusion!? 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337951
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Microsoft rumored to be buying Adobe

2010-10-07 Thread Eric Cobb

And Flash + Silverlight = Flashlight.  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Jeff Gladnick wrote:
 http://sanfrancisco.cbslocal.com/2010/10/07/adobe-shares-soar-on-rumor-of-microsoft-bid/

 What's that mean for Coldfusion!? 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337952
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Eric Cobb

You can freely use and redistribute the code, just don't tell anyone 
where you got it.  ;)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Scott Stroz wrote:
 Can software still be 'open source' if you need to agree to a
 non-disclosure agreement before downloading it? Seems like a
 contradiction there.

 On Mon, Oct 4, 2010 at 5:08 PM, Pete Oliver-Krueger
 p...@millionmunkeys.net wrote:
   
 Good day, CFers,

 I'm looking for beta testers for a new framework.  We've been using it with 
 MillionMunkeys sites for the past year, but now we want to make it available 
 to the entire CF community as a free download, and see if it helps others as 
 much as it helps us, plus how the community could make it grow.

 The usual question is Why another framework?  Well, the short answer is 
 that we do a lot of prototyping at MillionMunkeys and we needed something 
 that facilitated faster edits and was more flexible, but still retained the 
 full power of a framework all the way to the end of the product lifecycle.  
 I'll stop there, so as not to take up more space on the list.  If you want 
 to know more, visit:

 http://millionmunkeys.net/TrafficMunkey/

 For the more advanced: TrafficMunkey is written using Property-Invocation 
 (Pi) Programming, which is like Implicit-Invocation (as in the II of 
 Mach-II), but centered around properties instead of events.  I would love to 
 get feedback on this approach if you're curious about trying out a new 
 approach to Object-Oriented programming.  Pi Programming is laid out in more 
 detail here:

 http://millionmunkeys.net/PiMunkey/


 Thanks for your time,

 Peter Oliver-Krueger
 http://www.millionmunkeys.net/
 If you take a million programmers and put them in front of a million 
 computers you get ... MillionMunkeys Software!









 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Eric Cobb

The Big 3 out there right now are Subversion, Mercurial, and Git.  I 
personally use Subversion and Git, and they're both good.

Whatever you do, stay away from Vault/Fortress from Sourcegear.  That's 
what we're forced to use at work.  It's labeled as a VSS replacement, 
and while it is a little bit better than VSS, it's still pretty pathetic 
and a waste of money.  Within 3 days of switching to it, we were already 
having discussions about getting rid of it.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Michael Christensen wrote:
 We're thinking about setting up version-/source control for our CF code.

 What are people out there using? What works, what doesn't? 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337631
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Sessions persist after server restart.

2010-09-22 Thread Eric Cobb

No, the J2EE sessions are persisting between server restarts, just like 
the documentation says.  The docs just don't tell how to turn it off.  
Adobe hints that you can configure the J2EE server to retain session 
data, which means that you should also be able to configure it NOT to 
retains sessions, but there's no mention as to where this configuration 
is or how to change it.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Cutter (ColdFusion) wrote:
   Is it using the CLIENT scope, with vars in the db? Is it storing 
 things in the COOKIE scope, and checking that scope on login for 
 previously entered credentials?

 Steve Cutter Blades
 Adobe Community Professional - ColdFusion
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 9/20/2010 1:45 PM, Eric Cobb wrote:
   
 So, I was working locally on an application today and I needed to
 restart my CF services.  Much to my surprise, after I bounced CF I came
 back to my application and I was not forced back to the login screen as
 I would have expected.  Rather, all of my session info was still there.
 I then shut down CF, clicked around in my application to make sure
 everything was down, then brought CF back up and my session info was
 still alive in my application.

 So, I did a little research and came across this
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/sharedVars_02.html)
 where it states:
 /If you use J2EE session management and configure the J2EE server to
 retain session data between server restarts, ColdFusion retains session
 variables between server restarts./

 Ok, I'm using J2EE sessions, so now I know what's going on.  Now, my
 question is, how do I turn it off?  Adobe hints that you can configure
 the J2EE server to retain session data, but gives no clue as to where or
 how.  All I've found is the checkbox to enable/disable J2EE sessions.

 Also, is this something that is turned ON or OFF by default?  I'm just
 wondering if I accidentally turned it on, or if it's always been on and
 I never noticed it.

 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337333
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Sessions persist after server restart.

2010-09-20 Thread Eric Cobb

So, I was working locally on an application today and I needed to 
restart my CF services.  Much to my surprise, after I bounced CF I came 
back to my application and I was not forced back to the login screen as 
I would have expected.  Rather, all of my session info was still there.  
I then shut down CF, clicked around in my application to make sure 
everything was down, then brought CF back up and my session info was 
still alive in my application.

So, I did a little research and came across this 
(http://livedocs.adobe.com/coldfusion/8/htmldocs/sharedVars_02.html) 
where it states: 
/If you use J2EE session management and configure the J2EE server to 
retain session data between server restarts, ColdFusion retains session 
variables between server restarts./

Ok, I'm using J2EE sessions, so now I know what's going on.  Now, my 
question is, how do I turn it off?  Adobe hints that you can configure 
the J2EE server to retain session data, but gives no clue as to where or 
how.  All I've found is the checkbox to enable/disable J2EE sessions. 

Also, is this something that is turned ON or OFF by default?  I'm just 
wondering if I accidentally turned it on, or if it's always been on and 
I never noticed it.

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Authorization and Security for a web service

2010-09-03 Thread Eric Cobb

Check out these presentations by Simone Free.  He's got some really good 
pointers in them.

http://www.simonfree.com/presentations/cfobjective.html
http://www.simonfree.com/presentations/cfunited-09---washington-dc.html
http://www.simonfree.com/presentations/nashville-cfug.html

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Ian Skinner wrote:
   I do enjoy when I get to branch out and do things I've never done before.

 We are getting deep into the planning stage of a new project that will 
 be a web service to be consumed by an outside agency to integrate their 
 data systems with ours.

 We will want there to be security and authorization so that our system 
 has a reasonable assurance that the submitted data only comes from their 
 system.  I'm pretty sure there are several ways to do this, but I have 
 never done anything like it before.  So I'm hoping some of you can point 
 me to any good information on what we need to think about?  How we might 
 do this.  What the process and code might look like to implement.  
 Information along those lines.

 A couple of ideas that have already been raised.  We creating a 
 public|private key that they use to connect to our server as well as 
 standard user name|password authentication.

 Thanks
 Ian


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using ## vs not using ##

2010-09-01 Thread Eric Cobb

According to Adobe, yes.  
http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html

Although, I'm sure it's probably negligible.  All they really say is 
that the extra pound signs will negatively affect performance.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Michael Grant wrote:
 Ok, i have another one. (In CF7)

 Here's an example of code I'm running into:

 cfset errors[#varName#][string] = errors[#varName#][string]  bit
 to add here./

 I would normally write this as:

 cfset errors[varName][string] = errors[varName][string]  bit to add
 here./


 Other than the fact it's nicer to look at and just makes sense to do it my
 way, is there actually any speed increase doing it my way?


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Check out this... code....

2010-08-31 Thread Eric Cobb

I'm glad you posted this today, I just found this one a few minutes ago:

#Year(DateAdd(, 1, Now()))-1#


Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Rick Root wrote:
 Three fun pieces of code I found today while doing some maintenance on
 code I did not write:

 #1 - here's what happens when you use varchar fields for numeric data!

 SELECTSUM(CAST(FLOOR(CAST(OI.ItemQuantity AS float)) AS int) *
 round(CAST(OI.ItemPrice AS float),2) * ((100-CAST(OI.ItemDiscount AS
 float))/100)) AS TotalOwed

 #2 - I'm not sure what the point of DEcimalFormat() is within a Val() 
 statement.

 theAmountOwed =
 Val(DecimalFormat(GetOwed.TotalOwed))-(Val(DecimalFormat(GetMemberReunionTotal.ChargedTotal))+Val(DecimalFormat(GetPaid.AmountPaid)));

 #3 - DollarFormat(), anyone?

 theAmountOwed = $  Trim(NumberFormat(variables.theAmountOwed,.99));

 Oy!

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Check out this... code....

2010-08-31 Thread Eric Cobb

Exactly!  :)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Andy Matthews wrote:
 You're right. The correct version should be:

 #Year(DateAdd(, 0, Now()))# 

 No need for the -1.



 andy

 -Original Message-
 From: Eric Cobb [mailto:cft...@ecartech.com] 
 Sent: Tuesday, August 31, 2010 4:13 PM
 To: cf-talk
 Subject: Re: Check out this... code


 I'm glad you posted this today, I just found this one a few minutes ago:

 #Year(DateAdd(, 1, Now()))-1#


 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336696
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


License question about compiled code between Developer Enterprise

2010-08-26 Thread Eric Cobb

I've got a quick question that we pretty much already know the answer 
to, but I wanted to get some verification.

If we write our application using the Developer Edition of CF, and 
compile our app. code using the Developer Edition, then take that 
compiled code and put it on a licensed production server with CF 
Enterprise Edition, we're not in any type of license violation, are we? 

We just want to clarify that we don't actually have to compile the code 
on a licensed Enterprise CF server in order to deploy to production 
Enterprise CF servers.

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336584
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trying to understand application.cfc...

2010-08-12 Thread Eric Cobb

You should be able to set that variable in OnApplicationStart() with no 
problems.  In fact, as you said, that's the preferred place to set it.  
You must have something else going on that's causing the problem.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Rick Faircloth wrote:
 Ok...I worked with application.cfc's for awhile
 and things seemed to work fine, but then I had some
 issues and went back to old reliable application.cfm.

 Now, however, I'd like to try again to get a grasp on
 how to use application.cfc's.

 First question:

 Why can I set the application.website variable like this:

 cffunction name = onRequestStart

   cfset application.website = RickFaircloth.com

 /cffunction

 But not like this:

 cffunction name = onApplicationStart

   cfset application.website = RickFaircloth.com

 /cffunction

 ???


 OnApplicationStart would seem to be a more logical place
 to set a global variable for an entire application than onRequestStart.

 Rick



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: onApplicationStart

2010-08-04 Thread Eric Cobb

Here's the poor mans answer to applicationStop(), it works on CF7  CF8.

|||cfset| |application.setIsInited(false) /
|
See Mister Dai for a more detailed explanation:
http://misterdai.wordpress.com/2010/06/11/cf-flag-application-to-run-onapplicationstart/
|
|

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Raymond Camden wrote:
 That's by design. CF knows when an application starts. You can 'force'
 it a few ways.

 1) In CF9, within onRequestStart, add a check for url.init (or some
 such), and run applicationStop(), you then need to reload the current
 request.
 2) Or even simpler, within onRequestStart, add a check for a url var
 and simply do

 onApplicationStart();

 This will NOT single thread the call, but if you are just setting up a
 bunch of variables, you most likely do not need to be concerned.

 3) I don't really recommend this, but you can also just rename the 
 application.


 On Wed, Aug 4, 2010 at 2:56 PM, Matt Coldfusion i...@fusionserve.net wrote:
   
 This doesnt work for me and I cannot work out why?
 I run onApplicationStart in application.cfc and all my old application 
 variables still exist, i have to restart the service all the time but i 
 can't do this on my shared server.








 
 What is another way besides creating a temp file to explicitly reset
 those variables?
 Is there a way to make the Application expire and restart (sort of
 speak)?
 
 Here's what I use:

 cffunction name=onRequestStart returntype=void output=false
  cfif structKeyExists(url,reinitApp)
cflock scope=application type=exclusive timeout=5 
 throwontimeout=true
  cfset onApplicationStart()
/cflock
  /cfif
 /cffunction

 Then add ?reinitApp=1 in any url to restart the app

 Will
   
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335997
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: onApplicationStart

2010-08-04 Thread Eric Cobb

Huh, not sure what happened with the formatting on that.  Here you go:

cfset application.setIsInited(false) /

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Eric Cobb wrote:
 Here's the poor mans answer to applicationStop(), it works on CF7  CF8.

 |||cfset| |application.setIsInited(false) /
 |
 See Mister Dai for a more detailed explanation:
 http://misterdai.wordpress.com/2010/06/11/cf-flag-application-to-run-onapplicationstart/
 |
 |

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com



 Raymond Camden wrote:
   
 That's by design. CF knows when an application starts. You can 'force'
 it a few ways.

 1) In CF9, within onRequestStart, add a check for url.init (or some
 such), and run applicationStop(), you then need to reload the current
 request.
 2) Or even simpler, within onRequestStart, add a check for a url var
 and simply do

 onApplicationStart();

 This will NOT single thread the call, but if you are just setting up a
 bunch of variables, you most likely do not need to be concerned.

 3) I don't really recommend this, but you can also just rename the 
 application.


 On Wed, Aug 4, 2010 at 2:56 PM, Matt Coldfusion i...@fusionserve.net wrote:
   
 
 This doesnt work for me and I cannot work out why?
 I run onApplicationStart in application.cfc and all my old application 
 variables still exist, i have to restart the service all the time but i 
 can't do this on my shared server.








 
   
 What is another way besides creating a temp file to explicitly reset
 those variables?
 Is there a way to make the Application expire and restart (sort of
 speak)?
 
   
 Here's what I use:

 cffunction name=onRequestStart returntype=void output=false
  cfif structKeyExists(url,reinitApp)
cflock scope=application type=exclusive timeout=5 
 throwontimeout=true
  cfset onApplicationStart()
/cflock
  /cfif
 /cffunction

 Then add ?reinitApp=1 in any url to restart the app

 Will
   
 
 
   
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335999
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) Eclipse hangs on startup.

2010-08-03 Thread Eric Cobb

Over the last couple of weeks I've noticed that my Eclipse seems to take 
a really long time to start up.  It always hangs at the splash screen 
forever, then finally it starts loading.  Once the loading bar appears, 
it only takes about 15-20 seconds to load.  This morning I timed it and 
it stayed on the startup screen for almost 7 minutes before it started 
loading.  Once it finally opens up, I can close it an reopen it and it 
takes less than a minute.  But, that initial startup after I log in, 
reboot, etc.., always hangs at the splash screen for 4-7 minutes.

I'm using Eclipse 3.5.2, 64 bit, on Windows 7 Professional 64 bit with 
4GB of RAM.  In an effort to fix the problem, I installed Java version 
6, update 21. It just came out last week and is supposed to have some 
bug fixes aimed specifically at Eclipse.  That didn't help anything.  I 
also have Eclipse 3.5.2, 32 bit, on this machine and it takes just as 
long to start up.  Just to see, I set up a fresh blank install of 3.5.2, 
64 bit, and it came up with no problems.

I've searched the interwebs trying to find a way to tweak my eclipse.ini 
settings, and so far I haven't been able to find anything that fixes 
this.  I've even restored the eclipse.ini file back to the original and 
it's still slow.  At first I thought it may be a plugin that was causing 
this, so I uninstalled all unnecessary plugins, but that didn't fix it.  
I even made sure that my 32 bit and 64 bit didn't have the same plugins 
installed, and they don't. 

The only core features they have installed in common are:
-Eclipse Data Tools Platform
-Eclipse Mylyn
-Eclipse Modeling Project

So, I'm guess that one of these is the culprit.  I'm really not sure, 
though.  Does anyone know if there is any way to tell what's causing 
Eclipse to hang at the splash screen for so long?  Some way to get a 
behind the scenes look at what's going on? 

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335935
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Need a west coast (US) based CF host

2010-07-29 Thread Eric Cobb

Now() + 3 shouldn't be that hard to implement.  ;)   (assuming all of 
the date/time stamps are being entered via CFML instead of the DB itself)

Just a note, Railo allows you specify the time zone for each site, so if 
you want to use a Railo host, it doesn't matter where they're physically 
located.  Your site can have it's own time zone independent of the 
server time zone. (again, assuming all of the date/time stamps are being 
entered via CFML instead of the DB itself)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Charlie Griefer wrote:
 Hey all...

 I know this topic (can somebody recommend a CF host) comes up
 frequently... I hate to bring it up again, but I must :)

 I have a client that needs to be on shared hosting (they don't have the
 funds for VPS, unfortunately) on a server with the clock set to PST.
  They're a company that's physically based in CA... recently moved hosts to
 an east-coast based company, and now timestamps are off by 3 hours when they
 add events.

 According to the previous developer, they're using a calendaring system
 (specifically, a particular version of a calendaring system) that isn't set
 up to handle time zone differences.  He's told me that trying to update the
 code to handle this would open a whole new can of worms.

 I've explored the options, and the path of least resistance seems to be to
 relocate the site to a server based on the west coast.  Or at the very
 least, a server whose clock is set to PST.

 A quick google turned up Illuminated Hosting (
 http://www.illuminatedhosting.com/), but I'm not familiar with them.  Does
 anybody know of this company?  Or of any others that have servers set to
 pacific time?

 Thanks!
 Charlie

   


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: development and testing server

2010-07-13 Thread Eric Cobb

Not only that, let's not forget that Adam (adrocknaphobia) is the main 
man in charge of all things CF at Adobe, so his direct response to this 
post instructing Won to use the same key should suffice.  I realize some 
people want to see official documentation in writing, but short of 
having Ben Forta show up at your office and type the key in for you, 
getting the go-ahead directly from Adam is about as good as it gets.  
At least it would be around here, anyway.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Judah McAuley wrote:
 The author of that article works for Adobe in an official CF capacity
 and then points to the changes in the EULA. I think that short of get
 a signed statement from Adobe's lawyers that they won't sue you, that
 is about as official as you are going to get. You've got the license
 text and you have a top-level Adobe employee spelling out the details
 of what it means. Baring that, I'd suggest contacting Adobe directly.

 Judah

 On Tue, Jul 13, 2010 at 12:26 PM, Won Lee won...@gmail.com wrote:
   
 He was looking for something more official.  We take licenses very seriously
 here.

 W

 On Tue, Jul 13, 2010 at 3:19 PM, Judah McAuley ju...@wiredotter.com wrote:

 
 http://www.terrenceryan.com/blog/post.cfm/coldfusion-9-testing-staging-and-development-changes-to-eula

 On Tue, Jul 13, 2010 at 12:16 PM, Won Lee won...@gmail.com wrote:
   
 Adam,

 my network admin is asking me for a URL or documenation that specifically
 states that.  I showed him the EULA but he is asking for the part where
 
 we
   
 can use a production key for development and testing.  He understands
 
 those
   
 servers will only be used for development and testing.

 W


 On Tue, Jul 13, 2010 at 2:49 PM, Won Lee won...@gmail.com wrote:

 
 Thanks


 On Tue, Jul 13, 2010 at 1:36 PM, Adrocknaphobia 
   
 adrocknapho...@gmail.comwrote:
   
 Just use the same key.

 -Adam

 On Tue, Jul 13, 2010 at 1:03 PM, Won Lee won...@gmail.com wrote:

 
 Hi folks,

 I've been using CF 9 developer on edition on my dev box and the
   
 standard
   
 version on my production box.  I want to change the dev box to
   
 standard
   
 for
 
 development only purpose under the EULA 3.1.3.  Any directions for
   
 this
   
 or
 
 do I just enter the same key?

 W



   
 
 
   
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335314
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Shopping carts

2010-06-29 Thread Eric Cobb

Wait...what?

-Your client refuses to listen to you and has rejected your every 
suggestion.
-Your client has no money and refuses to use the free resources 
already available.
-Your client expects you to build a custom site for free.
-You agreed to build the site on the hopes that you'll get paid when 
it takes off.
-You don't believe this site will ever take off.
-You're unemployed, and are doing this work for free knowing that 
you'll probably never get paid for it.

I think I've found the source of your frustration, and it's not that 
there isn't a free CF shopping cart...

I've been an unemployed, broke, work from home, take what you can get, 
freelance contractor myself, so I know where you're coming from.  (My 
wife and I both lost our jobs on the same day back in 2005, so I REALLY 
know where you're coming from!)  I've wasted many, many hours on these 
types of clients in the hopes that one day it would turn into 
something.  What I found, though, was that the ones that wanted 
everything for nothing to start with will continue to expect everything 
for nothing even after their business takes off (if it ever does).  Even 
if you're doing work for a friend, they'll always expect the 
good-ole-boy discount.  I can hear it now, C'mon man, I could outsource 
this for a third of what you're wanting to charge me.  You never tried 
to charge me this much before! 

I also realized that there comes a point where you have to fire some 
clients.  If it's not profitable, then it's a waste of time.  Sure, I 
realize that sometimes you have a $100 electric bill that's due and you 
need to buy groceries, so you'll do whatever work you can find to get 
that money.  But don't do the work if you don't get the money.  Free 
projects should be done in your free time.  The time you waste on the 
freebie clients would be better spent trying to find paying clients, or 
cutting your neighbors grass to scrape together the money you need.  
Trust me, I've been there.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Eric Roberts wrote:
 I pushed that...he doesn't like PayPal for some reason...he is under the
 impression that people don't like it.   Not something that I have ever
 heard...but he has that stuck in his head. I have suggested several other
 free options.  It's not decision unfortunately.  I even suggested that he
 use café press for now until; he gets some sales (He wants to do a t-shirt
 site...I questioned whether or not this would even take off as he would be a
 really small fish in a huge ocean of t-shirt sites).  He insists on doing
 his own site...so finding a good cart to integrate into this that he can
 afford is the difficulty...which is why I asked here and instead of getting
 advice from folks like Sean, I was told that if I can't afford the carts out
 there for 200, I shouldn't even be a developer.  So if you really want to
 point a finger, I was just defending myself.

 Eric

 -Original Message-
 From: Michael Grant [mailto:mgr...@modus.bz] 
 Sent: Monday, June 28, 2010 8:27 PM
 To: cf-talk
 Subject: Re: CF Shopping carts


 C'mon Eric. Let's keep these types of comments on cf-comm where they belong.
 okees? :)

 Does it need to be cf? Could you use paypal shopping cart?
 Something that's more geared towards a higher transaction fee but no upfront
 cost?
 https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/sc-intro-outside




 On Mon, Jun 28, 2010 at 9:01 PM, Eric Roberts 
 ow...@threeravensconsulting.com wrote:

   
 I think you assume too much.  First off...I'm not a newbie.  It also
 doesn't
 matter who said it.  I have a lot of respect for Sean and what he has
 
 done,
   
 but that doesn't negate the fact that his comments were elitist BS,
 regardless if he is telling it like it is...that is just a cop out.  My
 client can't afford much.  I am actually doing this job as a favor on
 promise of payment as he can afford it.  As I am also otherwise unemployed
 right now I also can't afford it.  Most of the consulting I do is via
 agencies, but my last one was 1099, so no unemployment to hold me out till
 my next contract. (we just recently moved and pretty much depleted what
 little we had in savings to accomplish that) While I am glad you and Sean
 are rolling in the dough, that is not the case for everyone.  Yours and
 Sean's assumption that $200 or $500 is chump change is pretty elitist.  I
 wish I had the ability to dump that kind of cash, but I live in the real
 world with a family to take care of.

 -Original Message-
 From: Kevin Pepperman [mailto:chorno...@gmail.com]
 Sent: Monday, June 28, 2010 7:52 PM
 To: cf-talk
 Subject: Re: CF Shopping carts


 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http

Re: cfdot.net

2010-06-23 Thread Eric Cobb

Calling him dishonest is very short sighted on your part (to say the 
least!).  Has the thought occurred to you that perhaps the reason there 
was so much extra code in the .Net example was because he's not a 
seasoned .Net developer?  I know I certainly wouldn't know the absolute 
best way to do something when just transferring over to a new language.  
I'm willing to bet there are many seasoned .Net developers who would 
make plenty of rookie mistakes when just starting out with CF. 

Perhaps instead of jumping to conclusions and making accusations, you 
should offer to help him clean up his examples so they are more accurate. 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Matthew Small wrote:
 All language religion aside - it's not a fair comparison, it's biased towards 
 CF. You should be more honest in your comparisons if you expect anyone to 
 take it seriously.

 Example:

 CFEXECUTE:

 CF:
 cfexecute name=C:\WinNT\System32\netstat.exe 
 /cfexecute


 ASP.NET

 01.using System; 
 02.using System.Drawing; 
 03.using System.Collections; 
 04.using System.ComponentModel; 
 05.using System.Windows.Forms; 
 06.using System.Data; 
 07.using System.Diagnostics; 
 08. 
 09.... 
 10. 
 11.//Declare and instantiate a new process component. 
 12.System.Diagnostics.Process process1; 
 13.process1= new System.Diagnostics.Process(); 
 14.  
 15.//Do not receive an event when the process exits. 
 16.process1.EnableRaisingEvents = false; 
 17.  
 18.  
 19.//The /C Tells Windows to Run The Command then Terminate  
 20.string strCmdLine; 
 21.strCmdLine = /C netstat ; 
 22.System.Diagnostics.Process.Start(CMD.exe,strCmdLine); 
 23.process1.Close(); 



 All that is actually needed is:

 System.Diagnostics.Process.Start(netstat.exe); 

 All of the other stuff is extraneous.  The need for the using statements is 
 negated by the fully-qualified name for the method.  The object process1 
 isn't used at all for the actual execution.  Passing the netstat.exe 
 executable to the cmd.exe process is ridiculous - you could do the same with 
 CFEXECUTE. Adding in extra string arguments just builds up the amount of code 
 you want to display. And FYI: this one line of code can be executed in the 
 .aspx page:

 % System.Diagnostics.Process.Start(netstat.exe) %

There are numerous similar examples on your website. It's a dishonest 
 misrepresentation.

 - Matt Small






   
 This is pretty sweet Jose.

 Thanks for taking the time to create this site! An excellent resource 
 indeed.

 Warm regards,
 Jordan Michaels
 Vivio Technologies
 http://www.viviotech.net/
 Open BlueDragon Steering Committee
 Railo Community Distributions

 On 06/22/2010 06:47 AM, Jose Diaz wrote:
 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is it time for Adobe to Rebrand Cold Fusion?

2010-06-22 Thread Eric Cobb

It works on getting managers to upgrade too!

We're still running CF2000, when CF2009 is already out.  We're 9 years 
behind everyone else! 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Cameron Childress wrote:
 On Tue, Jun 22, 2010 at 9:54 AM, Andy Matthews li...@commadelimited.com 
 wrote:
   
 The flip side of that is it's also too easy to tell how out of date you are.
 

 Which is a great thing I think.  Instead of asking why won't this
 code work on CF5?, people would be forced to sheepishly ask why
 won't this code work on CF2000?.

 -Cameron

 ...

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is it time for Adobe to Rebrand Cold Fusion?

2010-06-21 Thread Eric Cobb

Not to stir the pot any more than it already is, but I wanted to point 
out two quick things:

1)  That's not Ben Forta's blog you linked to.
2)  That article was published 6 years ago.

Carry on

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Robert Harrison wrote:
 Right now, the way it's branded (and named), the argument is Cold Fusion
 
 vs. .NET.Why do you say that?

 Because the best links I got out of my previous email were at best bleak.
 The best link prompted an on-list response that we have 4 years to learn a
 new language.

   
 but the argument of .NET vs J2EE or Adobe vs. Microsoft is a much easier
 
 argument.   Why do you say that?

 Because that's the argument Ben Forta makes in his blog:
 http://coldfusion.sys-con.com/node/46362 

 Comparing ASP.NET to ColdFusion is difficult.  Actually, it's not just
 difficult, it's simply incorrect, and not an apples-to-apples comparison...
 In other words, deciding between ColdFusion and ASP.NET (and indeed,
 defending ColdFusion against ASP.NET) first requires a .NET versus J2EE
 discussion



 Robert B. Harrison
 Director of Interactive Services
 Austin  Williams
 125 Kennedy Drive, Suite 100 
 Hauppauge NY 11788
 P : 631.231.6600 Ext. 119 
 F : 631.434.7022
 http://www.austin-williams.com 

 Great advertising can't be either/or.  It must be .

 Plug in to our blog: AW Unplugged
 http://www.austin-williams.com/unplugged



 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com] 
 Sent: Monday, June 21, 2010 3:36 PM
 To: cf-talk
 Subject: Re: Is it time for Adobe to Rebrand Cold Fusion?


   
 Right now, the way it's branded (and named), the argument is Cold Fusion
 
 vs.
   
 .NET.
 

 Why do you say that?

   
 That is a hard argument,
 

 Why do you say that?

   
 but the argument of .NET vs J2EE or Adobe vs. Microsoft is a much easier
 
 argument.

 Why do you say that?

 Honestly, I'm not trying to be difficult, but none of those statements
 really seem to be as self-evident as you seem to think. ColdFusion is
 not just a competitor with .NET; it's a competitor with pure J2EE
 solutions. But if you were going to cast this as CF vs .NET, there are
 plenty of compelling arguments you can make for choosing CF over .NET.
 (And a decent number for choosing .NET also.) The same is true for
 .NET vs J2EE. And finally, Adobe vs Microsoft isn't a great argument
 to make in favor of CF - plenty of people use MS server products.
 Where's Adobe's server OS? Their database platform? Their Sharepoint
 analog? etc, etc, etc.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


php.org is written in ColdFusion

2010-06-21 Thread Eric Cobb

Simon Horwith just posted this on his blog 
(http://www.horwith.com/index.cfm/2010/6/21/php-dot-org-is-written-in-ColdFusion),
 
and it's too good not to pass on!

http://php.org/ appears to be written completely in ColdFusion.


-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334700
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Check for remote CFC call in CF 8

2010-06-15 Thread Eric Cobb

Is there a way, in CF 8, to determine if the current request is calling 
a CFC that has access=remote?  Basically, I'd like to mimic CF 9's 
onCFCRequest() method, but only for remote methods. 

I spent a good portion of yesterday afternoon trying to figure out why 
my jQuery AJAX call would work for me locally, but break on our staging 
site.  All code was identical in every comparison, and both sites were 
using the same database so the data was identical as well.  Long story 
short, our staging server had CF debugging turned on, and it was 
appending the debug info to the end of the json being returned from my 
CFC call, which then threw errors in jQuery.  Locally I have debugging 
going to ColdFire/Firebug, so I never saw the problem.  Anyway, a simple 
cfsetting showdebugoutput=false fixed the issue. 

So, rather than having to remember to use cfsetting for every remote 
method, is there a way I can programmatically figure out if the current 
request is calling a remote method in CF 8?

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334572
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems with slashes in JSON

2010-06-10 Thread Eric Cobb

Thanks Brian.  That eliminated all of the RegEx I was having to do, but 
my closing list tag is now being displayed as \\\/li at the end of 
every list item, and all slashes in my text are showing up as \\\/.  
Any idea on how to fix that?


Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Brian Kotek wrote:
 Just a note that your list item has no closing tag.

 You can try building up the string with assignments rather than using
 cfsavecontent. i.e.:

 cfoutput query=loc.custList
  cfset local.result = local.result  li#Trim(loc.custList.full_name)#
 - #Trim(loc.custList.addr_line1)#,
 #Trim(loc.custList.city)# #Trim(loc.custList.state)#/li /
 /cfoutput

 On Wed, Jun 9, 2010 at 6:54 PM, Josh Nathanson 
 p...@oakcitygraphics.comwrote:

   
 In your cfsavecontent, get rid of all the tabs and carriage returns.  This
 will make your code less readable, but it should take care of the problem
 you're having.

 So it might end up looking like this:

 cfsavecontent variable=loc.rtnContentcfoutput
 query=loc.custListli#Trim(loc.custList.full_name)# -
 #Trim(loc.custList.addr_line1)#, #Trim(loc.custList.city)#,
 #Trim(loc.custList.state)#/cfoutput/cfsavecontent

 -- Josh


 -Original Message-
 From: Eric Cobb [mailto:cft...@ecartech.com]
 Sent: Wednesday, June 09, 2010 2:35 PM
 To: cf-talk
 Subject: Problems with slashes in JSON


 I can't figure this thing out for the life of me, and I know it's got to
 be something simple that I'm missing.

 Here's what I'm trying to do.  I'm using jQuery to hit a CFC and return
 data.  The CFC actually queries the database, loops through results and
 creates list items for each row.  I then return the list items to
 jQuery, which populates my UL with them.  Here's my problems and what
 I've done so far:

* returning the data from my CFC as a string causes jQuery to
  actually display the html code in the brower, so I literally see
  liEric Cobb/li.
* returning the data as JSON shows the list items correctly, but my
  page is littered with \\n\\t\\t\\t\\t at the end of every record.
* I used a regex to clean up all of the line breaks, carriage
  returns, and tabs in my CFC before returning to jQuery and that works.
* In every record that contains a slash / in the data, the slash
  has been replaced with \\\/.
* Nothing I do can get rid of these slashes.  I've tried RegEx,
  SerializeJSON(), and JSStringFormat() in CF, and a whole whoost of
  jQuery escape(), html(), text(), and replace() functions, and
  nothing works.

 I think my biggest problem is that I've staring at and fighting with
 this thing for too long.

 Here's my method:

!--- get a list of all external customers for AJAX calls ---
cffunction name=AJAXgetAllCustomers access=remote
 output=false returnformat=json

!--- create a struct to hold our local variables. ---
cfset var loc = structNew()

!--- returns a query. ---
cfset loc.custList = getAllCustomers() /

cfsavecontent variable=loc.rtnContent
cfoutput query=loc.custList
li#Trim(loc.custList.full_name)# -
 #Trim(loc.custList.addr_line1)#, #Trim(loc.custList.city)#,
 #Trim(loc.custList.state)#
/cfoutput
/cfsavecontent

!--- remove all line breaks, carriage returns, and tabs. ---
cfset loc.rtnContent =
 ReReplace(loc.rtnContent,[#chr(10)#|#chr(13)#|#chr(9)#],,ALL)

cfreturn SerializeJSON(Trim(loc.rtnContent))
/cffunction


 And here is my jQuery call:

script type=text/javascript
 $(document).ready(function(){

 $('#contentdiv').load('myCFC.cfc?method=AJAXgetAllCustomers');
 });
/script

 So, can someone please tell me how to escape the characters so that I
 can get rid of the \\\/ in my display output?  And while I'm on the
 subject, surely there has got to be a better way than having to manually
 escape every character individually that may cause problems.  I
 shouldn't have to run regex and whatnot to make everything work.  In my
 mind, SerializeJSON() (or returnformat=json for that matter) should
 have everything escaped and formatted nicely for jQuery, who should then
 know how to parse everything and display is correctly.  Am I wrong?

 --

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com






 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334451
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems with slashes in JSON

2010-06-10 Thread Eric Cobb

I originally thought about just parsing the return in jQuery, until I 
realized what this code was ultimately going to have to do.  The items 
in this list are actually going to wind up having text hyperlinks, form 
buttons, and maybe even images added to them, so for me it's easier to 
build it out in CF and just have jQuery display it.  Too much JavaScript 
hurts my head.  :)

I'm about to the point I'm ready to ditch jQuery and just do what I need 
to do without trying to be all ajaxy with it.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Cutter (ColdFusion) wrote:
 If Eric is returning a plain string, then there is no need to 
 SerializeJson() the result, as all he needs is the string. That is why 
 Eric is getting the additional slashes in his closing tag, because the 
 SerializeJson() method is automatically escaping the slash characters.

 I'll agree with Michael though. If you did get a Json return, and just 
 parsed it to add the li tags in your doc you'll reduce your 
 (unnecessary) server-side overhead. Returning the string is easier, but 
 not necessarily best for you application or your code reusability.

 Steve Cutter Blades
 Adobe Community Professional - ColdFusion
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334456
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Problems with slashes in JSON

2010-06-09 Thread Eric Cobb

I can't figure this thing out for the life of me, and I know it's got to 
be something simple that I'm missing. 

Here's what I'm trying to do.  I'm using jQuery to hit a CFC and return 
data.  The CFC actually queries the database, loops through results and 
creates list items for each row.  I then return the list items to 
jQuery, which populates my UL with them.  Here's my problems and what 
I've done so far:

* returning the data from my CFC as a string causes jQuery to
  actually display the html code in the brower, so I literally see
  liEric Cobb/li.
* returning the data as JSON shows the list items correctly, but my
  page is littered with \\n\\t\\t\\t\\t at the end of every record.
* I used a regex to clean up all of the line breaks, carriage
  returns, and tabs in my CFC before returning to jQuery and that works.
* In every record that contains a slash / in the data, the slash
  has been replaced with \\\/. 
* Nothing I do can get rid of these slashes.  I've tried RegEx,
  SerializeJSON(), and JSStringFormat() in CF, and a whole whoost of
  jQuery escape(), html(), text(), and replace() functions, and
  nothing works. 

I think my biggest problem is that I've staring at and fighting with 
this thing for too long.

Here's my method:

!--- get a list of all external customers for AJAX calls ---
cffunction name=AJAXgetAllCustomers access=remote 
output=false returnformat=json
   
!--- create a struct to hold our local variables. ---
cfset var loc = structNew()

!--- returns a query. ---
cfset loc.custList = getAllCustomers() /  
  
cfsavecontent variable=loc.rtnContent
cfoutput query=loc.custList
li#Trim(loc.custList.full_name)# - 
#Trim(loc.custList.addr_line1)#, #Trim(loc.custList.city)#, 
#Trim(loc.custList.state)#
/cfoutput
/cfsavecontent
   
!--- remove all line breaks, carriage returns, and tabs. ---
cfset loc.rtnContent = 
ReReplace(loc.rtnContent,[#chr(10)#|#chr(13)#|#chr(9)#],,ALL)

cfreturn SerializeJSON(Trim(loc.rtnContent))
/cffunction


And here is my jQuery call:

script type=text/javascript
 $(document).ready(function(){

$('#contentdiv').load('myCFC.cfc?method=AJAXgetAllCustomers');
 });
/script

So, can someone please tell me how to escape the characters so that I 
can get rid of the \\\/ in my display output?  And while I'm on the 
subject, surely there has got to be a better way than having to manually 
escape every character individually that may cause problems.  I 
shouldn't have to run regex and whatnot to make everything work.  In my 
mind, SerializeJSON() (or returnformat=json for that matter) should 
have everything escaped and formatted nicely for jQuery, who should then 
know how to parse everything and display is correctly.  Am I wrong? 

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334434
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How to delete a post in House of fusion?

2010-05-27 Thread Eric Cobb

Since no one else has really answered your question, other than 
chastising you for what you should or should not have done when you 
originally made the post, I'll try to help.  Your best bet for getting 
the posts removed from the House of Fusion website is to contact Michael 
(http://www.houseoffusion.com/contact.cfm) and ask him to manually take 
them out of the database.  It won't remove them off of the Internet, but 
it will get them off of the HOF website.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



C S wrote:
 All posts that go there also get sent out on the mailing list and
 google tends to be pretty quick archiving them.

 Even if you delete the post, it's likely that it's out there on the
 net for good.

 On Thu, May 27, 2010 at 10:34 AM, C S cortical...@yahoo.com wrote:
 
 Hi:
 Due to some privacy issues I need to delete some of my posts and the 
   
 replies to them in House of fusion but the option is not available as 
 a default one. Is it a way? Please help me because the privacy issue 
 is very important
 
   
 Okay but is there any way to do it? I have to try at least 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334049
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Eric Cobb

I'll +1 for CrystalTech. I've been using them for years.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Alan Rother wrote:
 Just to put them in the Mix...

 www.crystaltech.com

 I've hosted dozens of sites there, great company, few issues...

 =]

 On Thu, May 20, 2010 at 9:13 AM, Paul Alkema 
 paulalkemadesi...@gmail.comwrote:

   
 Um, that's not good. That's odd, I've never had my site go down.

 Oh well, good luck anyway. :)

 -Original Message-
 From: Kelly Matthews [mailto:ke...@webdiva.org]
 Sent: Thursday, May 20, 2010 11:41 AM
 To: cf-talk
 Subject: Re: CF 9 Hosting


 Actually while hostek's prices are great, the fact that they go down 2-3
 times PER day is far too much for my client, which is why I'm looking to
 move.  Should have mentioned anyone but hostek.

 
 I've been using hostek for awhile and really like it.

 http://hostek.com/

 One of the best features I think is that you can run cf9 applications,
 asp.net applications and php applications all from 1 hosting package
   
 which
 
 is awesome since I develop in all of those languages.

 Also they're CF package is only $5/month which is awesome.

 One down side I think is the hosting control panel isn't all that great,
   
 but
 
 it works well and does that I want.

 Regards,
 Paul Alkema
 http://paulalkema.com/


 http://www.viviotech.net/


 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:

   
 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!
 


 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333847
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Eric Cobb

To quote the great Jedi Master himself, You probably won't find a 5 
dollar a month hosting option for CF like you can with PHP. But basing 
your business on a host that charges as much as an imported beer is 
probably not a good idea.  
http://www.cfgears.com/index.cfm/2009/5/21/Best-ColdFusion-quote-EVER

:)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Kelly Matthews wrote:
 Actually while hostek's prices are great, the fact that they go down 2-3 
 times PER day is far too much for my client, which is why I'm looking to 
 move.  Should have mentioned anyone but hostek.

   
 I've been using hostek for awhile and really like it.

 http://hostek.com/

 One of the best features I think is that you can run cf9 applications,
 asp.net applications and php applications all from 1 hosting package which
 is awesome since I develop in all of those languages. 

 Also they're CF package is only $5/month which is awesome.

 One down side I think is the hosting control panel isn't all that great, but
 it works well and does that I want.

 Regards,
 Paul Alkema
 http://paulalkema.com/


 http://www.viviotech.net/


 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:

 
 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks! 
   

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333850
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfc accessing session scope - bad?

2010-05-20 Thread Eric Cobb

Me too!  Me too!  Me too!  :)

http://www.cfgears.com/index.cfm/2009/12/3/Using-a-Session-Facade-in-ColdFusion

I can vouch for Adrian's article, though.  When I first started working 
with Session Facades in Mach-II, the post he linked to below went a long 
way in helping me understand them.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Adrian Moreno wrote:
 I've got an example of a Session Facade (or Session Proxy?) on my site:

 http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Using-a-Session-Facade-to-handle-evolving-session-variables

 --- Adrian

   
 In general, yes. The exceptions are if you have a method specifically meant
 to encapsulate access session scope so that other methods in the object can
 get to that data (i.e. a getCurrentUser() method in a UserService), or if
 you create a dedicated SessionProxy object that other objects use to access
 data in the session scope.

 On Thu, May 20, 2010 at 8:04 AM, Matthew P. Smith 
 m...@smithwebdesign.netwrote:

 
 Is it a bad practice to have a cfc access a session variable?  Should the
 session variable be passed in as an argument instead?



   

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: number format mask

2010-04-27 Thread Eric Cobb

Try it and see:

cfset variables.ordertotal = 100
cfoutput#numberformat(variables.ordertotal, .99)#/cfoutput

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Matthew P. Smith wrote:
 #numberformat(variables.ordertotal, .99)#

 Does this limit the left of the decimal place to 4 digits?  Or am I good no
 matter how large the number.  Sorry, the CFWACK docs are a bit off i think.


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Easy application question

2010-04-12 Thread Eric Cobb

Make sure both Application.cfm files have the same name in the 
cfapplication tag.

thanks,

eric cobb
http://www.cfgears.com



Brian Bradley wrote:
 I think I misunderstand how to use application.cfm files.  I have a 
 application.cfm file on the root and I set a group of session variables.  I 
 have a folder off the root named products with an application.cfm file in it. 
  It was my understanding that the root application.cfm would take precedence 
 to the subfolder's application.cfm and could share variables to the 
 application.cfm like it could any page in that folder.  But when I call a 
 variable in the sub application.cfm file to the higher level application.cfm, 
 I get variable is undefined error.  Is that just not possible to share 
 variables among application.cfm files even if they are hierarchically below a 
 higher application.cfm file or am I doing something else wrong?   

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFDocs

2010-04-08 Thread Eric Cobb

I like http://coldfusiondocs.com/app/, it has both ACF and Railo 
(although CF 9 stuff isn't there yet).

I've found that cfquickdocs is not accurate when doing broader lookups.  
For example, if you search for array, you'll see it only brings back 
items that start with array.  Things like isArray, ListToArray, 
etc..., are not listed in cfquickdocs, but they are in 
coldfusiondocs.com and cfmldocs.com.

Just being picky...

thanks,

eric cobb
http://www.cfgears.com



Paul Kukiel wrote:
 There is also http://www.cfmldocs.com which also has an offline AIR app.

 Paul
 http://blog.kukiel.net


 On Apr 8, 2010, at 2:31 AM, Dave Sueltenfuss wrote:

   
 Does anyone know if the creator of cfdocs.org has plans to update the site
 to use the latest versions of CF Documentation
 It's still pointing to CF7'd documents



 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332760
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Joni Mitchell and Cold Fusion

2010-04-07 Thread Eric Cobb

yeah, Go Daddy is crap!  I documented my last run-in with them:

http://www.cfgears.com/index.cfm/2009/4/23/How-GoDaddy-Destroyed-my-Clients-Site

thanks,

eric cobb
http://www.cfgears.com



Kevin Pepperman wrote:
 Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy
 did this stuff to me years ago. I moved my apps years ago off GD and never
 had an issue again.


   


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332730
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: java.lang.String as a structure with members

2010-04-06 Thread Eric Cobb

You don't need the #'s either!

change cfset t1 = #Trim(t1.Team)# to cfset tname1 = Trim(t1.Team)
and cfset logo1 = #Trim(t1.Logo)# to cfset logo1 = Trim(t1.Logo)


thanks,

eric cobb
http://www.cfgears.com



Maureen wrote:
 You are using t1 as the name of a query:
 cfquery name=t1 datasource=hockey

 then you set it to a string
 cfset t1 = #Trim(t1.Team)#

 then you try to use it again as a query name.
 cfset logo1 = #Trim(t1.Logo)#

 Also, you don't need the quotes around the string on the right of the = sign

 change cfset t1 = #Trim(t1.Team)# to cfset tname1 = #Trim(t1.Team)#
 and cfset logo1 = #Trim(t1.Logo)# to cfset logo1 = #Trim(t1.Logo)#

 On Mon, Apr 5, 2010 at 12:33 PM, Rick Sanders c...@webenergy.ca wrote:
   
 This is the line throwing the error:

 cfset logo1 = #Trim(t1.Logo)#
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: default for numeric argument

2010-04-05 Thread Eric Cobb

yep.

thanks,

eric cobb
http://www.cfgears.com



Matthew Smith wrote:
 cfargument name=app_user_id type=numeric required=no default=

 I am not passing it in.  I am getting:
 The APP_USER_ID argument passed to the check_item_quantities function is not
 of type numeric.
 Should I make the default 0?


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332575
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder Released!

2010-03-23 Thread Eric Cobb

Charlie Griefer wrote:
Bundling it with FlashBuilder may be their way of trying to increase the
uptake of the language as a whole and thus ultimately sell more server
licenses.  By doing this, they're potentially introducing CF to PHP
developers, Java developers, etc.

I have to say that I don't agree with that last statement.  FlashBuilder 
4 (Standard Edition) with CFBuilder costs $299, and FlashBuilder 4 
(Standard Edition) without CFBuilder costs $249.  So for an existing 
PHP/Flex developer who has no use for CF, do you think they're going to 
pay $299 to get an extra IDE for a language they don't use, or spend $50 
less and just get the IDE they need? 

thanks,

eric cobb
ecar technologies, llc
http://www.cfgears.com



Charlie Griefer wrote:
 On Mon, Mar 22, 2010 at 2:28 PM, Mary Jo Sminkey 
 mary...@cfwebstore.comwrote:

   
 The cost has to do with Adobe being a publicly traded company needing to
 generate revenue and hopefully post a profit.  The cost would therefore
   
 more
 
 likely be based on the amount of effort (time/money) involved in
   
 developing
 
 (research, planning, developing, testing, marketing) the product.
   
 A lot of us hoped they would see that selling it a lower price point would
 help to increase the uptake of the language as a whole and thus ultimately
 sell more server licenses. For a large company like Adobe, profit is what
 the company makes as a whole, not what one product alone brings in.
 Microsoft learned this a long time ago and has used free and low-priced
 items to increase their revenue in other areas, and it's certainly a large
 reason for their success.

 

 Bundling it with FlashBuilder may be their way of trying to increase the
 uptake of the language as a whole and thus ultimately sell more server
 licenses.  By doing this, they're potentially introducing CF to PHP
 developers, Java developers, etc.  Everyone who uses Flex but doesn't use CF
 on the server side.

 I'm not exactly sure that selling it at a lower price point would have the
 same effect.  It'd appeal to those of us who currently use ColdFusion...
 we'd conceivably be able to buy the product for $199 instead of $299.  Ok...
 but I don't see where that would necessarily increase the uptake of the
 language as a whole.

   
 I also think their move to bundle CFBuilder with FlashBuilder -is-
 
 encouraging developers.  It's encouraging me to make the foray into Flex,
 which is something that I've wanted to do for a while now.
   
 Not if the price discourages me from even buying the product in the first
 place.

 

 But you're already a ColdFusion developer.  If I wanted to buy FlexBuilder 3
 last year, I'd have paid $299 (i think... it was certainly in that
 neighborhood).  So we know that Flex developers are willing to pay that
 amount.  They're going to pay the same thing this year, and get ColdFusion
 Builder.  Adobe is pretty much giving it away to the Flex community in hopes
 of doing what you say... increase the uptake of the language as a whole.

 We CF folk.. we pay a little bit more than the $199 we hoped it would be,
 and get FlashBuilder.  So not only is Adobe conceivably introducing CF to
 other developers, but it's conceivably introducing Flex/FlashBuilder to us.

 I'm sorry that people think $300 is too expensive.  I know that expensive
 is a subjective term, and while some people can whip out their credit cards
 and order a copy without a second thought, some of us will have to save up
 for it.  But as has been pointed out... if you use the product for a year
 (and it really shouldn't even take a year), how much time are you going to
 save... how much more productive could you possibly be?

 Maybe the answer is, not enough.  In which case... there are alternatives
 (CFEclipse and others).  For me, I think it'd be enough (I'm currently using
 TextMate on Mac as my IDE... so I don't really have a horse in this race, so
 to speak).  I've used the beta of CFBuilder tho, and I can see where it'd
 save me time.  I run multiple CF8 and CF9 instances on my dev machine.
  Generally one at a time... not having to jump out of the IDE, into
 terminal, stop one service, start the next, back to the IDE... instead I can
 just open up the servers pane in CFBuilder, stop one service, start the
 other.  Code insight, extensible via writing extensions in CF (-not-
 Java)... I think I'd make my $300 back in under a year, and probably end the
 year being up a few bucks.

 I get that it's not going to be for everybody.  It's not going to work for
 everybody.  I just wish folks could be more pragmatic about it and say,
 yeah, it doesn't work for me... but I can see where they're going with it.

 Charlie


   


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm

Re: ColdFusion Builder Released!

2010-03-23 Thread Eric Cobb

Yes!  Andy agreed with me!  I'm going to print this out and frame it!   ;-)

thanks,

eric cobb
ecar technologies, llc
http://www.cfgears.com



Andy Matthews wrote:
 As much as it kills me to say that Eric is right, and it does, I think he's
 right. A developer in another language isn't gonna pay MORE for something
 they don't need, and probably wouldn't use.

 ;)


 andy 

 -Original Message-
 From: Eric Cobb [mailto:cft...@ecartech.com] 
 Sent: Tuesday, March 23, 2010 8:57 AM
 To: cf-talk
 Subject: Re: ColdFusion Builder Released!


 Charlie Griefer wrote:
 Bundling it with FlashBuilder may be their way of trying to increase the
 uptake of the language as a whole and thus ultimately sell more server
 licenses.  By doing this, they're potentially introducing CF to PHP
 developers, Java developers, etc.

 I have to say that I don't agree with that last statement.  FlashBuilder
 4 (Standard Edition) with CFBuilder costs $299, and FlashBuilder 4 (Standard
 Edition) without CFBuilder costs $249.  So for an existing PHP/Flex
 developer who has no use for CF, do you think they're going to pay $299 to
 get an extra IDE for a language they don't use, or spend $50 less and just
 get the IDE they need? 

 thanks,

 eric cobb
 ecar technologies, llc
 http://www.cfgears.com

   



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332102
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Online domain name search tag/tool

2010-03-16 Thread Eric Cobb

The simplest thing to do would be send them to 
http://internic.net/whois.html and let them look up the domain.  The 
site is run by ICANN, and all it does is look up a domain and tell you 
if it's registered or available.  If it's registered, it gives you some 
of the public registration information for it. 

thanks,

eric cobb
ecar technologies, llc
http://www.cfgears.com



Terry Troxel wrote:
 Coldfusion Tag/Tool for Domain Name searches.

 Is there such a thing that can allow you to let your users search for
 possible domain names to register without going to places like godaddy.com
 who then show them pricing for hosting, design, Coldfusion, etc. who are
 trying to put you the small business out of business (please pardon the
 rant).

 Terry



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331797
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Two CFQUERY statements?

2010-03-11 Thread Eric Cobb

Sounds like ColdFusion is having problems connecting to one of your 
databases.  Try this:

1) make sure you can verify both datasources in your ColdFusion 
Administrator.
2) make sure you didn't misspell one of the datasource names in your 
cfquery tags.

thanks,

eric cobb
ecar technologies, llc
http://www.cfgears.com



Steven Sprouse wrote:
 You'll have to excuse me, I'm still sort of a CF novice so I'm not too 
 familiar with how to use CFTRANSACTION.

 What I was doing was just putting two separate CFQUERY statements at the head 
 of my document, each with a different name attribute and different data 
 sources. When I did my cfoutput of the second cfquery, that's when I got my 
 error.

 The error was Error Executing Database Query. [Macromedia][SequeLink JDBC 
 Driver][ODBC Socket][DataDirect][ODBC SequeLink driver][SequeLink Server]The 
 specified data source is not defined. But I'm not sure that is very helpful 
 to you.

 If one of the databases was converted into a table and placed into the other 
 database, I'd have no problem with this, but for some reason I'm getting 
 tripped up with the different data sources.

 Thanks for any help you can offer.

   
 You can happily query multiple databases within the same request; 
 what
 you can't do is query multiple databases within a single transaction.
 So as long as your CFQUERY tags don't share a CFTRANSACTION block you
 should be fine.

 Can you post the actual error message?

 cheers,
 barneyb

 On Thu, Mar 11, 2010 at 12:26 PM, Steven Sprouse sspro...@ccboe.com 
 wrote:
 
 I have someone who has two separate databases and they want me to 
   
 write a Web form generating option menus from both databases.
 
 I have set up both as separate data sources in my Coldfusion 
   
 administrator and have included one cfquery at the head of my document 
 generating a list of locations. It's working fine. When I try to query 
 the second database and do a cfoutput for another option menu, I get 
 errors.
 
 I seem to remember that it might not be possible to have two 
   
 separate cfquery statements in the same document. Is this correct? If 
 so, how would I go about achieving my desired result?
 
   


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331615
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Forms Processing: Updating Only Changed Data

2010-03-10 Thread Eric Cobb

The first thing that jumps out at me would be to have hidden form fields 
in the form that contain the original values.  Then, when you're 
processing the form any value that doesn't match its corresponding 
hidden value has been changed. 

thanks,

eric cobb
ecar technologies, llc
http://www.cfgears.com



Blizzm wrote:
 We have several lengthy forms that are going to be used for updating records 
 and various data.  We are also looking at recording which form fields have 
 been updated. Is there a means for updating only those records which have 
 changed?  

 I was thinking of looping through a form collection, comparing submitted vs. 
 existing database values, storing any changed values and then having a CFC 
 process the SQL update.  If this is a good starting point, how would I be 
 able to update only those fields that need to be changed? 

 For example if I have 100 fields and only 10 have been updated, how can I 
 write a query to update only those 10 fields?

 Thanks in advance.





 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331555
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


  1   2   >