Re: Does ORM scale?

2010-10-22 Thread Joe Rinehart

The rule of thumb we (myself, Brian Kotek, Marc Esher, and Scott
Stroz) are using on our first large CF ORM project is:

1.  If a service is working with changing data, use ORM.
2.  If an operation largely works with one item (e.g. a form or detail
page), use ORM.
3.  If we're going to show a list of things, especially across tables,
get off our butts and write a decent SELECT statement to return a
query.

The common argument against using a select/vanilla query is "What it
the getters in my objects model formatting/custom logic?"  Our
response to that is to factor that logic into a helper class that is
a) used by the object and b) used where the query is cfoutput'd.

-Joe


On Fri, Oct 22, 2010 at 8:44 AM, enigment  wrote:
>
> Just starting to look at the CF ORM stuff, pretty nice API, Hibernate
> underneath, all good.
>
> But as I understand it, ORM "queries" return arrays of cfc objects,
> and I'm concerned about performance at scale. On a gut level, I'd
> rather be able to get a native CF query, which I could deal with in
> straight CF as usual, or through an IBO if I wanted object-like
> behavior for that whole collection.
>
> So...
>
> - Is it possible to have CF ORM return a query, when I want it to?
>
> - What's people's experience with this stuff at scale, meaning large
> result sets, more than departmental traffic etc? Are there any largish
> sites doing that?
>
> Thanks,
> Dave
>
> 

~|
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:338480
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 Joe Rinehart

Do we really want "Livecycle Application Server?"

~|
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:334737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: "most important" CFML framework

2010-05-16 Thread Joe Rinehart

Coldspring is easily the most important ;).  Most good Fusebox,
Model-Glue, Mach-ii, ColdBox, and FW/1 apps use it, and Model-Glue
even uses it internally.

-Joe

~|
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:333738
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-30 Thread Joe Rinehart

> they are forcing the product into peoples faces.

Holy crap.  250+ replies?

Vote with your wallet:  either buy the dang thing, contribute to
CFEclipse, or plod forward with Notepad.  But please, let this
well-beaten horse of a thread move on to a proper burial.

-Joe

~|
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:332469
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SVN in Production

2008-08-19 Thread Joe Rinehart
Andrew,

> A statement like this means you are not very good at your job.

Brian's quite good at his job.  I work with him.

> its a manual process to update and merge
> changes.

Manual within the development branch - there shouldn't be any  
outstanding conflicts in anything tagged for QA, staging, or production.

> Brian, if you have been developing and using SVN heavily and making  
> minor
> changes to websites as explained there is no way in hell I would  
> employ you
> if you told me what you said below.

I'm late showing up here - are you arguing that eyeballing a diff in a  
desktop tool ("Beyond Compare"?) is a superior deployment method to  
the near-industry-standard process of tagging, using Ant to build a  
production tag then deploy?  You'd rather introduce a manual process  
that can't be auditing, doesn't produce verifiable results, and can be  
re-run?

-Joe

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311250
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SVN in Production

2008-08-19 Thread Joe Rinehart
> Took me to literal..

"too literally"



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311247
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Returning multiple recordsets in a single component

2008-07-29 Thread Joe Rinehart
Hi Scott,

I'd probably go Mark's route and make each a method of the cfc:

















-Joe

On Jul 29, 2008, at 8:29 AM, Scott Stewart wrote:

> Hey all,
>
>
>
> I have three related queries, they're not dependant on each other  
> however.
>
> They're quick and dirty select statements.
>
>
>
> Is there a way to return three query results in a single CF Component?
>
>
>
> Thanks
>
>
>
> sas
>
>
>
> --
> Scott Stewart
> ColdFusion Developer
> 4405 Oakshyre Way
> Raleigh, NC 27616
> (h) 919.874.6229 (c) 703.220.2835
>
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309857
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Multiple queries from a CFC? Drop in Array?

2008-07-16 Thread Joe Rinehart
> Why? It will almost certainly be a much better solution than  
> anything else
> you're considering.

Dave - Not sure it's better than 'anything else.' Why stick with a  
query that'd need constant grouping when what he's got in the DB is a  
set representing a hierarchical data structure?

Instead of returning a query that'd need grouping each time you use  
it, you could build up a struct once (by grouping) and then logically  
navigate / manipulate it on an ad-hoc basis:





#order.dateCreated#




#order.giftCertificate.amount#




#arrayLen(order.statusComments)#

-Joe


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309140
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF 7 and mySql connection proble

2008-07-07 Thread Joe Rinehart
That sounds like you've got a connection / driver in place properly,  
but the database/schema you're referencing ("MyDataSource") doesn't  
exist, or the user you're connecting as doesn't have rights to it.   
Given that you're connecting as root, I'd doubt it's the latter.  If  
you start up MySQL from a command prompt, can you do 'use  
MyDataSource' to verify the database "MyDataSource" exists?

-Joe

On Jul 6, 2008, at 4:23 PM, Doug Brown wrote:

> I have not used mySql in a long time and have also never installed  
> it on Windows Vista. What am I missing?
>
> Connection verification failed for data source: MyDataSource
> java.sql.SQLException: Syntax error or access violation message from  
> server: "Unknown database MyDataSource"
> The root cause was that: java.sql.SQLException: Syntax error or  
> access violation message from server: "Unknown database MyDataSource"
>
> Configuration
>
> Windows Vista Home premium
> CF 7
> MySql version 5.0.26
> Connect J version 3.0.17
>
> My datasource is setup as follows
>
> Datasource Name: MyDataSource
> JDBC URL jdbc:mysql://localhost:3306/MyDataSource
> Driver Class com.mysql.jdbc.Driver
> Driver Name MySQL Connector
> USER root
> PASSWORD ***
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308665
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: easy one! : comma separated list from cfoutput

2008-05-13 Thread Joe Rinehart
#valueList(getProd.specs_partnum)#

-Joe


On Tue, May 13, 2008 at 11:26 AM, morchella
<[EMAIL PROTECTED]> wrote:
> ok. i am having a serious brain fart...
>  i know there is a beter way to ooutput a list the is comma seperated then
>  this..
>
>  
>
>  
>
>  
>  
>
>  #columns#
>
>  but again, i am drawing a complete blank...
>  any help would be appreciated
>  thanks!
>
>
>  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305165
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdFusion array problem

2008-04-03 Thread Joe Rinehart
This must be one of those fancy in-memory databases I've been hearing about.

(Couldn't resist.)

>   
> 
>   
>   
>   
>   
>   http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302622
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFC and datasource

2007-10-16 Thread Joe Rinehart
> Is it possible to invoke the whole component with the database  
> information and then call that instance without the dns??

Yep - it's exactly what you should be doing!

This example is simplified (normally, I'd use a CFC to represent a  
datasource instead of using the raw string datasource name.  It shows  
a CFC ("Meals") that has a "constructor" function named "init" that  
takes all of the configuration data for the CFC instance.  This is a  
common practice in the land of OO ColdFusion, as it matches how  
ColdFusion constructs Java objects.  After a Meals instance is  
constructed, all of its functions can then just use the variables.dsn  
property.

Meals.cfc:



















SELECT foo FROM bar







Calling code:






Hope this helps,

Joe

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291192
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: webservice

2007-09-21 Thread Joe Rinehart
> Who died and made you forum master of questions asking?
>

I think it was Matt Liotta.


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289094
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: xml closing an empty tag

2007-08-23 Thread Joe Rinehart
Hey Dan,

An XML document needs to have a single root node...this is valid XML:


   
   
   


While this is not:

   
   
   

If that's not the issue, can you reply and post an example invalid file?

Thanks,

Joe

On Aug 23, 2007, at 11:09 AM, Dan Vega wrote:

> I have an xml file that I am trying to parse and if there is no  
> data for an
> element the file has an empty closing tag like so.
>
>
> 
> 
> 
>
> When I try to parse the xml file I get the following error.
>   An error occured while Parsing an XML document. I thought this  
> was valid
> xml?
>
> -- 
> Thank You
> Dan Vega
> [EMAIL PROTECTED]
> http://www.danvega.org
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286956
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Project Time Tracking Software?

2007-05-22 Thread Joe Rinehart
Adam,

I'd be interested, but that's an odd licensing scheme:  I need  
something where I could pay per user and have them access it from  
anywhere.  Is that an option?

-Joe

On May 22, 2007, at 8:20 AM, Adam Churvis wrote:

> Aaron,
>
> We haven't released it yet, but our new project time tracking  
> product WOOT!
> is ready.  If you or anyone else on this list want to try it out  
> then let me
> know off list and I'll get you a copy.
>
> WOOT! is multi-user and tested for very large databases and large  
> numbers of
> users, and it works great on a single machine, too.  When we  
> release WOOT!
> it will go for $99 per computer with unlimited users per computer.
>
> Respectfully,
>
> Adam Phillip Churvis
>
> Get advanced intensive Master-level training in
> C# & ASP.NET 2.0 for ColdFusion Developers at
> ProductivityEnhancement.com
>
> -Original Message-
> From: Aaron Roberson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 22, 2007 1:14 AM
> To: CF-Talk
> Subject: Project Time Tracking Software?
>
> Does anyone know of a good project time management application that
> would be good for consulting jobs? I am thinking of something that has
> a stop watch you can click to start and stop and automatically
> calculate expenses incurred. It would be nice if it had invoicing
> capabilities as well.
>
> I used to have a similar app on an old machine of mine but it has
> since fried (literally went up in smoke) and I can't remember what it
> was called or Google it.
>
> Thank for your suggestions,
> Aaron
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278850
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: Re: Licensing on frameworks for Re-sale?

2007-05-12 Thread Joe Rinehart
Which makes in an absolute thrill to automatically apply to a project  
containing .cfm, .as, .xml, .html, and other file formats all  
requiring their own commenting formats.

If anyone needs an Ant script to do so, let me know.

-Joe

On May 12, 2007, at 7:24 PM, Sean Corfield wrote:

> On 5/12/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>> So with Apache 2.0, you need to apply the license to every file?
>
> Yes. Every file must contain the standard ASL license text:
>
> 
> -- 
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277950
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MG + Transfer for multiple sites from same code folder

2007-05-11 Thread Joe Rinehart
Hey Chris,

Yep, there are a few sites running on the Unity core.

MG:U supports both Reactor and Transfer - if you grab the latest from  
SVN, it's just a matter of commenting in the right part of your app's  
ColdSpring config file.

-Joe

On May 10, 2007, at 1:03 PM, Peterson, Chris wrote:

> Joe,
>
> I was hesitating to jump onto the beta MG:U because this is such a  
> major
> deal for my client, and MG:U is still beta.  I honestly haven't even
> downloaded the Unity release for only that reason, and went with the
> lately 1.x release.  I followed along Ray Camden's Model Glue series,
> and I have got most of my needs mapped out in Transfer now and that is
> running great under my MG 1.x site.  Do you think I should evaluate  
> the
> MG:U software (which from my understanding uses Reactor instead of
> Transfer)?  I don't have any production code written yet, its all been
> test cases and design work so far.  Are there any production sites out
> there running unity under high traffic?
>
> Chris
>
> -Original Message-
> From: Joe Rinehart [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 10, 2007 9:36 AM
> To: CF-Talk
> Subject: Re: MG + Transfer for multiple sites from same code folder
>
> Hey Chris,
>
> If you're on the MG 2.0 code base (Unity), use two different
> ColdSpring.xml files to configure the application for the context -  
> just
> edit index.cfm to switch which one to use based on host, etc.
>
> -Joe
>
> On May 10, 2007, at 8:44 AM, Peterson, Chris wrote:
>
>> I am writing my first site using MG and Transfer ORM.
>>
>> I want to serve 2 sites with similar code bases and many shared
>> functions, but which pull from separate databases.  In my
>> application.cfc file, I have a cfswitch on #lcase(trim
>> (cgi.HTTP_HOST))#, then I check www.sitename.com, or sitename.com,  
>> and
>
>> initialize my cfapplication tag, as well as my singleton for transfer
>> (each site has its own transfer config files).  Is there anything
>> wrong with doing it this way, should I totally separate my code base
>> (which I don't want to do for ease up management / update  
>> purposes) or
>
>> will this run well?
>> This
>> is a very high traffic site, and I cant wait to take advantage of
>> Transfer and MG's caching mechanisms.
>>
>> Chris
>>
>>
>
>
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277821
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MG + Transfer for multiple sites from same code folder

2007-05-10 Thread Joe Rinehart
Hey Chris,

If you're on the MG 2.0 code base (Unity), use two different  
ColdSpring.xml files to configure the application for the context -  
just edit index.cfm to switch which one to use based on host, etc.

-Joe

On May 10, 2007, at 8:44 AM, Peterson, Chris wrote:

> I am writing my first site using MG and Transfer ORM.
>
> I want to serve 2 sites with similar code bases and many shared
> functions, but which pull from separate databases.  In my
> application.cfc file, I have a cfswitch on #lcase(trim 
> (cgi.HTTP_HOST))#,
> then I check www.sitename.com, or sitename.com, and initialize my
> cfapplication tag, as well as my singleton for transfer (each site has
> its own transfer config files).  Is there anything wrong with doing it
> this way, should I totally separate my code base (which I don't  
> want to
> do for ease up management / update purposes) or will this run well?  
> This
> is a very high traffic site, and I cant wait to take advantage of
> Transfer and MG's caching mechanisms.
>
> Chris
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277642
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ormAdapter / ormService in MG:U

2007-05-10 Thread Joe Rinehart
Yes - each app's ColdSpring.xml file chooses which one to use.

-Joe

On May 10, 2007, at 7:13 AM, Robertson-Ravo, Neil (RX) wrote:

> Hi,
>
> With regards the new ormAdapter/ormService beans, I gather I can  
> only every
> have these pointing to either Transfer/Reactor at any one point in  
> time?
> i.e. my model-glue framework is only every using one of them.  Is  
> there a
> away where if I have 3 [EMAIL PROTECTED] apps that I can have 1 of the apps 
> using
> Transfer and the other 2 using Reactor?
>
> Just a thought
>
> N
>
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277594
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: get code prior to commit

2007-05-10 Thread Joe Rinehart
Hey Richard,




#myoutput#






#myContent#

-Joe

On May 10, 2007, at 7:39 AM, Richard Cooper wrote:

> Hi all,
>
> Not sure if this is possible, but is there a way of getting the  
> code from a page prior to comitting
> the HTML to page.
>
> i.e. if page.cfm looked like this
>
> 
> #myoutput#
>
> When loaded, I would get the HTML hello world which I could  
> run more cf code on such as a
> replacenocase function.
>
> I was thinking it might be possible to do this using  
> onRequestend.cfm but I could be way off base.
>
>
> Any ideas if this is pheasible or how to approach this?
> Thanks,
>
> Richard
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277593
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: setters/getters - scalability issues?

2007-04-11 Thread Joe Rinehart
Hey Joe,

I'm not entirely up to speed on the internal mechanics of CFCs, but I  
seriously doubt a reference for each method of each CFC instance is  
created.  Because they're basically a procedure, the method classes  
as only needed in a static manner - no actual instances should have  
to be created.

Doing things like get("foo") and set("foo") is poor OO design, and  
falls into that "overoptimization = root of all evil" category.

-Joe


On Apr 11, 2007, at 2:06 PM, Joseph Frank wrote:

> Apparently, each method in a CFC turns into its own compiled Java  
> class in addition to the CFC itself. If I generate setter/getter  
> methods for each of my class properties, wouldn't that be an issue  
> in terms of scalability?
> For example, instantiating this CFC into Session scope, instead of  
> what seems to be a single class per application user, now I have 30  
> class references per user.
>
> Any thoughts?
>
> Joe
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Access my SessionService from Gateway (MG, CS, Reactor)

2007-04-10 Thread Joe Rinehart
Robert,

Why should a data access component (gateway) be interested in the  
current session?  Basically, how did you wind up in this situation?

I think we can find a more elegant way of solving it.

-Joe

On Apr 10, 2007, at 9:35 AM, Robert Rawlins - Think Blue wrote:

> Hello Guys, this should be a quick and easy one I hope.
>
>
>
> I've made a habit of accessing all my scopes like Application and  
> Session
> through a facade cfc passed to me by one of the other developers.  
> When I
> need to access it from my controllers i just have CS auto wire it  
> to the
> controller. I now need access to this session service from one of the
> Gateways. How can I access this service from my gateway? Some form of
> getBean() function perhaps? It seems that ColdSpring cant auto wire  
> directly
> to the model components.
>
>
>
> Thanks,
>
>
>
> Rob
>
>
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274961
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: HELP

2007-04-05 Thread Joe Rinehart
Steve,

To make sure I understand the problem, do you want the UserID and  
Password inputs to appear and disappear when the user changes the  
selected value in the select?

If that's the case, you'll need to use client-side javascript (not  
server-side scripting like ColdFusion) to control their display:



function employeeLevelChanged(employeeLevel) {
cont = document.getElementById("userIdContainer");

switch (employeeLevel) {
case 0:
cont.style.display = "";
break;
case 1:
cont.style.display = "none";
break;
}
}




None
Admin



UserId: 
Password: 




On Apr 5, 2007, at 10:34 AM, Steve LaBadie wrote:

> I have a select box for employee levels.  Choices are "None" or  
> "Admin".
> If "Admin" is selected than show input types for UserID and  
> Password if
> "None is selected, don't show.  I have set the condition so they don't
> show, but not sure how to get them to show if option "Admin" is
> selected.
>


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274593
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL question

2007-04-03 Thread Joe Rinehart
Chad,

Try

WHERE
dateCreated >= @someDate AND dateCreated < DATEADD(DAY, 1, @someDate)

-Joe

On Apr 3, 2007, at 10:45 AM, Chad Gray wrote:

> I just tried this and I get no records.
>
> dateCreated >= 04/02/2007 AND dateCreated < (04/02/2007 + 1)
>
> Is this method compatible with MS SQL?
>
>
>
>
> -Original Message-
> From: Chad Gray [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 10:41 AM
> To: CF-Talk
> Subject: RE: SQL question
>
> On the (@date + 1) how do you know it is adding one day?
>
> Out of curiosity how do you add one year?
>
> Thanks for the clean elegant solution.  I will try it out.
>
>
> -Original Message-
> From: Ben Nadel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 10:26 AM
> To: CF-Talk
> Subject: RE: SQL question
>
> People people people :)
>
> I have seen casting, converting, date-diffing, LIKE'ing,
> MONTH()/Day()/Year()'ing Please do not run functions on your
> date/time fields. Running a function on a column in general is  
> extremely
> slow. Date/time stamps can be used quite nicely with out them:
>
> DECLARE @date DATETIME;
> SET @date = '04/14/2006';
>
> SELECT *
> FROM [TABLE]
> WHERE
> date_created >= @date
> AND
> date_created < (@date + 1)
>
>
> Notice that I comparing the "date_created" to the set date and also  
> that
> it is LESS than the set date PLUS one (the next day). This is going to
> perform a 100 times better than any function you call on the date
> column.
>
> 
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>
>
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274437
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SQL question

2007-04-03 Thread Joe Rinehart
DATEADD(YEAR, 1, @someDate)

http://www.databasejournal.com/features/mssql/article.php/2216011 has  
a good primer on date manip for SQL server.

-Joe


On Apr 3, 2007, at 10:41 AM, Chad Gray wrote:

> On the (@date + 1) how do you know it is adding one day?
>
> Out of curiosity how do you add one year?
>
> Thanks for the clean elegant solution.  I will try it out.
>
>
> -Original Message-
> From: Ben Nadel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 10:26 AM
> To: CF-Talk
> Subject: RE: SQL question
>
> People people people :)
>
> I have seen casting, converting, date-diffing, LIKE'ing,
> MONTH()/Day()/Year()'ing Please do not run functions on your
> date/time fields. Running a function on a column in general is  
> extremely
> slow. Date/time stamps can be used quite nicely with out them:
>
> DECLARE @date DATETIME;
> SET @date = '04/14/2006';
>
> SELECT *
> FROM [TABLE]
> WHERE
> date_created >= @date
> AND
> date_created < (@date + 1)
>
>
> Notice that I comparing the "date_created" to the set date and also  
> that
> it is LESS than the set date PLUS one (the next day). This is going to
> perform a 100 times better than any function you call on the date
> column.
>
> ...
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274435
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Good blog post on the frameworks debate

2006-07-10 Thread Joe Rinehart
Side note: neither Model-Glue, Mach-II, nor Fusebox 5 will run on CF 4.5 or 5.0.

On 7/2/06, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>  >>I'm interested to hear what you would consider a feature of FB, M2 or
> MG that a
> project won't need.
>
> Just an example: support for CF 4.5 or 5 if your server is under CFMX
> and there is
> no chance you go back to a lower version.
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245907
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Framework suggestions

2006-07-07 Thread Joe Rinehart
> Anyways, all to say this: The XML syntax isn't necessarily easier or better
> than CFML, but for what this, or other XML-based frameworks do for you, the
> extra brain space is worth using these frameworks.

Comparing XML to CFML is an excercise in futility - it's apples and
oranges, and I just don't think Claude or whoever gets that.

XML acts as a "metaprogramming" environment - a level at which you're
coding above the actual implementation language.  What's nice about
XML in specific is the number of tools for manipulating it, both on
the IDE and standards (XSL, etc.) levels.

I'm going to stay out of the rest of this debate, because it's SSDD
from the same old people.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, 
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly
Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245670
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Framework suggestions

2006-07-02 Thread Joe Rinehart
Actually, there's no hit on performance.  The FB5 core is basically a
compiler that transforms the XML into vanilla CFML.  Once it's
compiled, it's therefore faster than the other frameworks (MG, M2)
that have dynamic execution paths.

-Joe

On 7/1/06, Snake <[EMAIL PROTECTED]> wrote:
> I have had a quick look at the limited FB5 docs, and it seems that you don't
> actually code in CFML anymore, your essentially coding in XML. Which seems a
> bit weird, making XML tags that call CFML tags. Surely that has got to make
> a big hit on performance.
>
> snake
>
> -Original Message-
> From: Sandra Clark [mailto:[EMAIL PROTECTED]
> Sent: 01 July 2006 21:06
> To: CF-Talk
> Subject: RE: Framework suggestions
>
> FB5 Documentation can be found here:
> http://www.fusebox.org/index.cfm?fuseaction=documentation.WhatsNewInFusebox5
>
>
>
> Sandra Clark
> ==
> http://www.shayna.com
> Training in Cascading Style Sheets and Accessibility -Original
> Message-
> From: Russ [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 30, 2006 2:52 PM
> To: CF-Talk
> Subject: RE: Framework suggestions
>
> I'm pursuing all three options right now... I couldn't seem to find any
> documentation for either Fusebox5 or MD:U.  Looks like MD:U is still in beta
> and Fusebox 5 just got released at CFUN.
>
> Does anyone know how these 2 frameworks as well as Farcry work with session
> replication?
>
> Has anyone integrated blogCFC and/or galleon forums with either of the 3 and
> would like to comment on how easy/hard it was?
>
> Russ
>
> > -Original Message-
> > From: Damien McKenna [mailto:[EMAIL PROTECTED]
> > Sent: Friday, June 30, 2006 2:39 PM
> > To: CF-Talk
> > Subject: Re: Framework suggestions
> >
> > On Jun 30, 2006, at 2:15 PM, Russ wrote:
> > > We are in need to build a fairly sophisticated system in a few months.
> >
> > Are you looking for a basic framework or a customizable application?
> > If a framework then I'd have to say either Model-Glue:Unity or
> > Fusebox5 and I'm tending towards MG:U myself.  If you want a
> > customizable application then you really need to download & install
> > FarCry to see how well it works for you, I've heard some horror
> > stories of it being complicated to enhance beyond basic content
> > management.
> >
> > --
> > Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu
> > Company - http://www.thelimucompany.com/ - 407-804-1014 #include
> > 
> >
> >
> >
> >
> >
>
>
>
>
>
> 

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


Re: Model Glue Unity - Reactor

2006-06-18 Thread Joe Rinehart
Weird, it's up here.

If you get mg:u from model-glue.com, reactor is in the .zip.

-Joe

On 6/17/06, Alan Rother <[EMAIL PROTECTED]> wrote:
> Hey, does anyone have a copy of reactor? I tried going and getting one but
> the reactor site is down.
>
>
>
>
> --
> Alan Rother
> Macromedia Certified Advanced ColdFusion MX 7 Developer
>
>
> 

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


Re: ColdFusion and Model-Glue eseminar

2006-06-17 Thread Joe Rinehart
It was recorded, and Adobe is supposed to e-mail me the URL as soon as
its available publicly, at which point I'll blog it.

Cheers,

Joe

On 6/16/06, Nick Tong - TalkWebSolutions.co.uk <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Does anyone know if the Adobe eseminar 06/15/2006 on ColdFusion and
> Model-Glue was recorded, if so where can I view it?
>
> --
> Nick Tong
>
> web: http://talkwebsolutions.co.uk
> blog: http://succor.co.uk
> short urls: http://wapurl.co.uk
> linkedin:http://linkedin.com/pub/0/a70/502
>
> 

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


Re: Model-Glue:Unity Public Beta 1 is Available

2006-06-15 Thread Joe Rinehart
Yep, working on it :)

On 6/15/06, Damien McKenna <[EMAIL PROTECTED]> wrote:
> Hotdiggedydog.  Awesome!
>
> Now that MG has such lofty features, care to do a comparison between
> it and Ruby on Rails?  I'm think a short comparison listing features
> they have in common and things that separates them would suffice.
>
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED]
> The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
> #include 
>
>
>
> 

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


Re: Model-Glue:Unity Public Beta 1 is Available

2006-06-15 Thread Joe Rinehart
Yup - learn either.  On an API level, there's not much difference
between the two other than the  tag and the generic database
messages (see MG2 docs for explanations of each:
http://docs.model-glue.com).

The main difference is that the  block in MG1 ModelGlue.xml
files is now in a separate file (ColdSpring.xml), so that you can
deploy multiple applications using the same controller logic with
different configurations for different clients.

-Joe

On 6/15/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> What I'd like to know is if I should hold off learning MG 1 until MG 2 is
> ready for primetime. Is the coding similar enough that I could learn MG1 and
> I would know MG2 well enough to keep going?
>
>  andy matthews
> web developer
> certified advanced coldfusion programmer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
>
> -Original Message-
> From: Damien McKenna [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 15, 2006 9:48 AM
> To: CF-Talk
> Subject: Re: Model-Glue:Unity Public Beta 1 is Available
>
>
> Hotdiggedydog.  Awesome!
>
> Now that MG has such lofty features, care to do a comparison between
> it and Ruby on Rails?  I'm think a short comparison listing features
> they have in common and things that separates them would suffice.
>
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED]
> The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
> #include 
>
>
> 

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


Re: Model-Glue:Unity Public Beta 1 is Available

2006-06-15 Thread Joe Rinehart
Hey Nick,

The distro comes with the same set of documentation in the
/documentation folder :)  Reactor, too:  /Reactor/documentation.

-Joe

On 6/15/06, Nick Tong - TalkWebSolutions.co.uk <[EMAIL PROTECTED]> wrote:
> Hey Joe - thanks for all your hard work, I'm looking forward to getting my
> hands on this.  Any chance that the documentation can be available offline?
> As i do a lot of my RnD stuff commuting?
>
> On 15/06/06, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> >
> > I'm proud to announce that I've applied the "Public Beta 1" label to
> > revision 161 of Model-Glue:Unity. This version introduces
> > automatically generated Models, codeless data access, and scaffolding.
> > It is still very easy to learn and use.
> >
> > Feel free to learn more and download at
> >
> > http://www.model-glue.com/index.cfm?mode=entry&entry=D5815F2A-3048-55C9-432B8F55F7D81A87
> > ..
> >
> > -Joe
> >
> >
>
> 

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


Model-Glue:Unity Public Beta 1 is Available

2006-06-14 Thread Joe Rinehart
I'm proud to announce that I've applied the "Public Beta 1" label to
revision 161 of Model-Glue:Unity. This version introduces
automatically generated Models, codeless data access, and scaffolding.
It is still very easy to learn and use.

Feel free to learn more and download at
http://www.model-glue.com/index.cfm?mode=entry&entry=D5815F2A-3048-55C9-432B8F55F7D81A87
..

-Joe

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


Re: model-glue editor

2006-06-13 Thread Joe Rinehart
Hey Dave,

Try XMLBuddy - the free version makes it easy to associate a given XML file
with a given DTD, and it'll close things for you, etc.

On 6/13/06, dave <[EMAIL PROTECTED]> wrote:
>
> well i'll be damned! I wished it closed them tho but thats a good start :)
>
> ~Dave - formerly known as "the disruptor"~
>
> 
> From: [EMAIL PROTECTED]
> Sent: Tuesday, June 13, 2006 2:40 AM
> To: CF-Talk 
> Subject: Re: model-glue editor
>
> > So I dove into mg but the thing I immediately found was that dw nor cfe
> > has any code hints in them
>
> For DW, get the DTD from MG's distro. Then:
>
> Edit > Tag Libraries > + DTD or Schema > Import XML DTD
>
> Massimo
>
>
>
> 

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


Re: Querying for MAX of join table

2006-06-05 Thread Joe Rinehart
Hey Ben,

Why wouldn't WHERE sort = 1 work?

-Joe


On 6/5/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
> I have a table that is something like :
>
> + id
> + sort
> + contact_id
> + office_id
>
> This is a many-to-many join table joining contacts and office. What I would
> like to do is get a query of that that has only the record with the top SORT
> for each contact_id.
>
> So if I had the data:
>
> Id  sort   cotnact_id   office_id
> -  - 
> 11  40 1
> 21  57 1
> 32  57 2
> 41  63 5
>
>
> I would end up with:
>
> Id  sort   cotnact_id   office_id
> -  - 
> 11  40 1
> 21  57 1
> 41  63 5
>
> Getting rid of record (id:3) since it has sort 2 and I only want the top
> sort for contact (id:57).
>
> I know I can do stuff with sub queryies and what not, but I was hoping there
> was a more elegant solution with grouping or something.
>
> Thanks!
>
> ...
> Ben Nadel
> Web Developer
> Nylon Technology
> 350 7th Avenue
> Floor 10
> New York, NY 10001
> 212.691.1134
> 212.691.3477 fax
> www.nylontechnology.com
>
> "You know, like nunchuck skills, bowhunting skills, computer hacking
> skills... Girls only want boyfriends who have great skills."
> - Napoleon Dynamite
>
>
> 

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


Re: Fetching last record

2006-06-02 Thread Joe Rinehart
Hey folks,

On MSSQL, using @@IDENTITY is a bad idea.  Use SCOPE_IDENTITY()
instead.  Google "@@IDENTITY" and you'll get plenty of details as to
why.

-Joe

On 6/2/06, Nick Tong - TalkWebSolutions.co.uk <[EMAIL PROTECTED]> wrote:
> Ken,
>
> 
> INSERT INTO myable (columns)
> VALUES(values)
> SELECT @@IDENTITY AS lastID
> 
>
> #myinsert.lastID#
>
> On 02/06/06, Ken <[EMAIL PROTECTED]> wrote:
> > Hi. I am doing a Insert statement into my db, and immediately after
> > the Insert I need to fetch the value of the field ID (Identity).
> > I know I could do a Select Max(ID), but how else can I fetch the value
> > of the last inserted record? DB: SQL 2000.
> > Please help.
> >
> > - Ken.
> >
> >
>
> 

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


Re: OOD/Design Patterns and ColdFusion.

2006-05-16 Thread Joe Rinehart
Aw man, that's gonna get flagged in my corporate firewall logs for sure!

-Joe

On 5/16/06, Crow T. Robot <[EMAIL PROTECTED]> wrote:
> Heh - this has prolly been mentioned before, but the girl on this cover
> must be leading a double life
>
> http://tinyurl.com/89lue
>
> :)
>
>
>
> Andy Matthews wrote:
> > Ooops...
> >
> > This book: http://www.oreilly.com/catalog/hfdesignpat/ ?
> >
> >
> >
> >  > andy matthews
> > web developer
> > certified advanced coldfusion programmer
> > ICGLink, Inc.
> > [EMAIL PROTECTED]
> > 615.370.1530 x737
> > --//->
> >
> > -Original Message-
> > From: Ben Nadel [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 16, 2006 12:06 PM
> > To: CF-Talk
> > Subject: RE: OOD/Design Patterns and ColdFusion.
> >
> >
> > Ian,
> >
> > I did a trip into the land of OOP and one of the things that I really found
> > useful was the book Headfirst Design Patterns. Its about design patterns,
> > not specifically object oriented programming, but the two have a lot of
> > overlap in programming. It's a very easy to read, well put together book.
> >
> >
>
> 

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


Re: Frameworks

2006-05-15 Thread Joe Rinehart
Hey Dave,

I think you're 100% on the money with "if you build a crap model or
view all three will suck" - a lot of people spend a lot of time
getting hung up on what framework to use and don't see that it's
really not all that important in the overall picture.

I've done some Ajax work with MG, and it (and Mach-II as well, I
suppose) do nicely because of their abilities to render snippets of
HTML or XML and return it.

-- 
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

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


Re: Mach II maxing out

2006-04-17 Thread Joe Rinehart
I spent some time today in the bowels of both the Mach-II and
Model-Glue frameworks, and Mach-II itself is really, really lean and
mean.  It's what some developers do with it that's bloated...

-Joe

On 4/17/06, Tony <[EMAIL PROTECTED]> wrote:
> its struggling with the fact that its overweight, unnecessary.
>
> sorry, i had to.
>
> :) tw
>
> On 4/17/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> > Does anyone know a good reason why a Mach II app would be maxing out the 
> > CPU? No one is hitting the box at all and it's still hitting 100%. 
> > Debugging is off.
> >
> >
>
> 

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


Re: Can't reset password

2006-04-17 Thread Joe Rinehart
Ohhh, ok.  Sorry, I don't know where to begin, I've never had that fail!

On 4/17/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> Let me be a little more specific. I'm in the CF admin, not any Mach II admin. 
> I reset the system using the neo-security.xml reset but when I try to turn it 
> back on with a password from within the CF admin, no dice.
>
> > AFAIK, Mach-II has no relevance to security - I'd look in the
> > directory that contains their model code and not the framework.
> >
> > I'd probably just search for whatever file creates that message.
> >
> > -Joe
> >
> >
> > On 4/17/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> > > I just started on someone else's site (in mach II) and I tried to
> > reset the password. Every time I enter a new password I get "unable to
> > set admin password". Anyone know why I'm getting this and what the
> > solution might be?
> > > Thanks
> > >
> > >
>
> 

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


Re: Can't reset password

2006-04-17 Thread Joe Rinehart
AFAIK, Mach-II has no relevance to security - I'd look in the
directory that contains their model code and not the framework.

I'd probably just search for whatever file creates that message.

-Joe


On 4/17/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> I just started on someone else's site (in mach II) and I tried to reset the 
> password. Every time I enter a new password I get "unable to set admin 
> password". Anyone know why I'm getting this and what the solution might be?
> Thanks
>
> 

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


Re: Group - but with no order specified

2006-04-11 Thread Joe Rinehart
> If I add a ORDER to the query, it obviously works - but, the client
> doesn't WANT them in any order. He just wants the groups together.

I'm not trying to sound like a wiseass, but just point out a
perspective:  if the client doesn't care what order they're in, what's
the harm in ordering them?

If that doesn't satisfy them, maybe try an ORDER BY on the primary key
of whatever's giving you myGroup.

-Joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

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


Re: Newbie Model Glue Questions

2006-04-08 Thread Joe Rinehart
Frankly, I'd say that not using a decent framework is like continuing
to rely on your mother to buy tightie-whities, when the rest of the
development world has blown past you into boxers (or boxer briefs).

That's not to say there aren't good developers who are an exception to
the rule and go commando (Simon, you reading this thread yet?).


On 4/8/06, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>  >>I think there are definately practical advantages to a framework,
> though it often depends entirely on the framework you choose.
>
> Frameworks are just like underware: it is important to wear some,
> but the most important is to wear your own...
>
> --
> ___
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

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


Re: Newbie Model Glue Questions

2006-04-08 Thread Joe Rinehart
> ...everyone else can have the scraps that are
> left over after developers who've taken the time to
> stretch themselves have taken all the best jobs.
> It's really that simple.

*applause*

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


Re: Newbie Model Glue Questions

2006-04-08 Thread Joe Rinehart
On 4/7/06, Snake <[EMAIL PROTECTED]> wrote:
> Model-glue and similar frameworks is great if you want to obfuscate your
> code and keep your client bound to you for any ongoing work, as only
> developers who already understand the framework and OO will be able to
> understand it, which will cut most average web developers.
>
> Russ

It's Saturday so I'm giving my diplomacy a day off - with the
exception of the last phrase, that's a really piss poor statement.

I do like the last part though - who the hell wants an "average web
developer" working on their job?  I want the best people I can find
working with me.  And if you look around, the best CF folks have
gravitated towards a framework (even Simon, with his anti-framework
frame...errr..methodology ;) ).

There's probably a reason for this:

Responsible, mature developers understand that different toolsets are
appropriate for different types of work.  If you're going to back a
simple one-page contact form with Model-Glue (or Mach-II), it's rather
like cutting butter with a chainsaw - it might be kind of fun, but
messy in the end.

Those of us who have moved forward and gone past the simple CRUD list
/ detail view apps of 1999 require tools that properly separate
business logic from presentation, meaning that you could never simply
"open a page in dreamweaver anymore and edit it" - unless you wanted
to have to duplicate the same logic across every other page / service
/ API / interface that needed to utilize it.  Model-Glue, Mach-II, and
MVC Fusebox are such tools.

>  We recently tried out Model-glue and built a test site using it.
>  It now  takes 10 times longer to maintain this site or make changes
>  than it would have done if it was using my framework.
>
> The original developer liked it as he comes from an OO background.
> I then gave the task of applying style and layout to another developer,
> and she had a mess of a time trying to work it all out.

That's a piss-poor example (sorry to use the phrase again, but it's
just so on-target for this thread).  If I wrote a book in French and
than gave it to an English-only proofreader, it's likely that the
result would be bad.  That's pretty much what you did, taking an MG/OO
app and giving it to another developer.  If it's just a simple test
site, zip it up and send it over to me, I'd be happy to take a
look/make pointers.


> A very simple framework does the same job as as complex one like model-glue

Model-Glue is a *very* simple framework.  It even has some built-in
limitations where I chose simplicity over power.  Where people goof is
when they try to make things more complex than they need to be.

Heck, you ever seen Struts?  Now there's a world of pain...

.

So, are frameworks like MG/M2/FB necessary for a simple web app?  No,
of course not.

Is writing simple web apps going to be enough to keep developers
competitive and employed as we move into a world where the same app
must be web, mobile, RIA/Flex/Ajax, and provide a headless API? 
Probably not.

Frameworks like MG/M2/FB are simply tools good developers - those
members of the development community who do work that's moved past
writing the Nth iteration of a web-based contact manager - will
recognize as being appropriate for Web-based presentation of
applications that are reusable for multiple clients mediums.

If there's a sector of the web/ColdFusion community who never wants to
move past the CF5 mentality, or wants to continue writing spaghetti
"open one page in dreamweaver" code, I'm more than happy to let you
be, because I don't want to deal with that type of work or application
ever again.  To be fair, please realize that there's another section
of the same community that does work that requires tools like MVC
frameworks, and we're not using/creating them just to make your lives
miserable; there's no reason to accuse us of overcomplicating your
lives just because you don't "get" our tools.

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


Re: SOT: Two functions in OnSubmit

2006-03-03 Thread Joe Rinehart
Hey Robert,


Nope, one function can't return two values...you could do this though:



function shouldFormSubmit(form) {
  return(confirm("Are you sure?") && checkform(form));
}




Does that help?

-Joe

On 3/3/06, Orlini, Robert <[EMAIL PROTECTED]> wrote:
> Is there any way to include two return functions in an OnSubmit?
>
> Here is what I want to do:  onSubmit="return confirm('Are you sure?'); return checkform(this);">
>
> Of course it generates an error. But what will work here.
>
> Thx in advance
>
> Robert O.
> HWW
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 3/2/2006
>
>
>
> 

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


Re: Flex 2 and Ben Forta

2006-03-01 Thread Joe Rinehart
Hey Rick,

After using Flex Builder 2.0, I can't believe it's only $1,000. 
That's pretty dirt cheap in the world of enterprise software, much
less development software - heck, one seat of Visual Studio 2005 Team
Suite can be like $3.5k, and that's *cheap* compared to the price of
some of the Borland modelling/development tools.

-Joe

On 3/1/06, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> It's hard for me to believe an IDE would be worth
> $1000 (oh, excuse, me $999, which is less than $1000 :P )
>
> Most design software, whether it's for web design, as in
> Dreamweaver, photo manipulation, as in Photoshop,
> graphics, as in Illustrator, etc., is not even that much...most
> of it not anywhere near $1000 unless you get everything
> in a bundle.
>
> Perhaps I'm just showing my ignorance about the Flex IDE,
> but with it priced so high (I don't, at this point, see how it could
> possibly be worth that much money), it's wide open for
> a company with hungrier developers to come in and sell
> something for half that and take a lot of business from Adobe
> and Flex...what makes it worth $1000?
>
> Rick
>
> > -Original Message-
> > From: Brad Wood [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 01, 2006 4:07 PM
> > To: CF-Talk
> > Subject: RE: Flex 2 and Ben Forta
> >
> >
> > Wonder how long it will be before someone just writes their own IDE or
> > plug
> > in for Eclipse and offers it for free, much like CFEclipse.  Or is there
> > something legally preventing that from happening?
> >
> >
> > According to Ben Forta, there is nothing legally to keep someone from
> > doing exactly that.  As Ben put it, it would be very difficult to
> > reproduce the entirety of the functionality they have put in Flex
> > builder and he thinks enough people will still continue to pay for
> > Adobe's IDE because of those features for a while.  I am very interested
> > to see what free-ware versions will come about, however.
> >
> > ~Brad
> >
> >
> >
>
> 

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


Re: Flex 2 and Ben Forta

2006-03-01 Thread Joe Rinehart
Hey Rick,

Flex Builder 2.0 is a WYSIWYG environment built on top of the Eclipse
platform, so it can act as a plugin alongside CFEclipse, meaning you
only need one IDE open to do both.  Pretty cool stuff...!

-Joe

On 3/1/06, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> So...what combination of development tools
> and the compiler would make Flex 2 "not free"...?
>
> And what did he show about CFEclipse that was
> so great?  I don't use it, so I'm not that familiar
> with it.  I'm a WYSIWYG interface developer and I code
> around that, so I perfer WYSIWYG tools.
>
> Will CFEclipse have a WYSIWYG environment in
> upcoming versions?
>
> Thanks for the info...
>
> Rick
>
> > -Original Message-
> > From: Brad Wood [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 01, 2006 10:26 AM
> > To: CF-Talk
> > Subject: Flex 2 and Ben Forta
> >
> >
> > I just saw Ben Forta speak last night at a Kansas City user group about
> > Flex 2 and I am sooo excited.  I think there's a chance we can actually
> > convince my boss to go for it now.
> >
> > One thing I didn't know that Ben said:
> > If you wanted to code your markup in notepad and download the flash
> > compiler for free, you could be using flex 2.0 for absolutely free.
> >
> > Of course, I don't know how you could stand to do that with the sweet
> > stuff he was showing us in CFEclipse.  :)
> >
> > ~Brad
> >
> >
> >
>
> 

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


Re: Upgraded to MX7, SQL Server datasources no longer work

2006-02-28 Thread Joe Rinehart
Hey Brian,

I've encountered this before, and got things working after installing
the latest SQL server update (should be available at
http://www.microsoft.com/technet/prodtechnol/sql/2000/downloads/default.mspx)
- if that doesn't help, could you post the entire error message (minus
any private info)?

Thanks,

Joe

On 2/28/06, Brian Yager <[EMAIL PROTECTED]> wrote:
> I am using SQL Server 2000.  Thanks for catching that.
>
> >Brian you've mentioned My SQL and Enterprise Manager (which is for MS SQL
> >Server), so which DB are you having trouble with? ;-)
> >
> >Cheers
> >
> >Bryan Stevenson B.Comm.
> >VP & Director of E-Commerce Development
> >Electric Edge Systems Group Inc.
> >phone: 250.480.0642
> >fax: 250.480.1264
> >cell: 250.920.8830
> >e-mail: [EMAIL PROTECTED]
> >web: www.electricedgesystems.com
>
> 

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


Re: ARgh! Display XML

2006-02-21 Thread Joe Rinehart
Hey Les,

"results.response.result.policyid" refers to the  tag - if
you do a , you'll see
that it has a lot of stuff.  I think you're after
#results.response.result.policyid.xmlText#.

Cheers,

Joe

On 2/21/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
> I've got a form posting out to another server and returning an XML response.
>
> This:
> #cfhttp.filecontent#
>
> Will output this:
>
> 
> 
> 1
> test
> 
> 12912006022116
> 2000
> 21.8
> 4.36
> 
> 
>
>
> I need to display the policyid from the above further down my CF page,
> so I parse the above and set a variable "results":
>
> 
>
>
> and then try to output that further down the page:
>
> #results.response.result.policyid#
>
>
> But what I get is "[EMAIL PROTECTED]" for the above
> output instead of the expected "12912006022116"
>
>
> Suggestions?
>
>
>
> 

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


Re: Easy CFC question

2006-02-16 Thread Joe Rinehart
Hey Bob,

Nope.  Silly example follows:




  
  
  



  
  

  




-Joe

On 2/16/06, Robert Everland III <[EMAIL PROTECTED]> wrote:
> I want to call one of the functions I have created in my cfc from another 
> function in the same cfc. Do I need to createobject of the cfc in itself?
>
>
>
> Bob
>
> 

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


Re: SOT: Ajax and server-side errors

2006-02-13 Thread Joe Rinehart
I don't use CFAjax (or any other Ajax framework), but I do have a
stock library of Javascript functions I use to help with Ajax and DOM.

This library implements methods like httpGet and httpPost where I pass
a URL - I have a line in each that's commented out that I'll uncomment
to debug that looks something like this:

function httpGet(url, callbackReference) {
 //uncomment next line to debug
 //document.location.replace(url)

/* do the actual get */
}

That way, I can just uncomment a line in ajax.js and I'll be
redirected to the offending method.

Also, I typically write a CFCUnit test harness that uses  to
emulate Ajax calls so that I can test functionality w/o bothering with
the Javascript layer.

Man, Ajax is just a pain in the ass, I can't wait for Flex 2.0 to ship.

-Joe



On 2/13/06, Rick Root <[EMAIL PROTECTED]> wrote:
> Andy Matthews wrote:
> > There's been a discussion recently about error handling in CFAJAX. Arjun,
> > the developer, is rewriting some or all of the codebase and this is one of
> > the biggest additions.
>
> I guess now that I'm playing with ajax I'll get on the cfajax list ;)
>
> Thanks all
>
> Rick
>
> 

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


Re: Suggestions For dedicated Server hosting

2006-01-30 Thread Joe Rinehart
I've had really good luck w/ Serverbeach.

-Joe

On 1/30/06, applemicro <[EMAIL PROTECTED]> wrote:
> Does anyone have any suggestions for a dedicated hosting provider?
>
> Thanks
>
>
> 

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


Re: My Politics

2006-01-24 Thread Joe Rinehart
CF-Community, please.

-Joe


--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

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


Re: Where should the cftransaction tags go when using CFC's?

2006-01-20 Thread Joe Rinehart
Hey all,

I've generally approached this by applying transactions at the
business level (usually in a Service or Manager component) that wrap
multiple calls to persistence methods across multiple persistence
objects.

> A third option that I haven't tried would be to use a service method
> dispatcher that all method calls run through.  So you call
> dispatcher.runMethod(obj, methodName, args)

I've hit a situation where I've needed something like this (had to
create ad-hoc transactions at the business level), so I created a FIFO
TransactionalQueue CFC.  Sorry I can't share the code for it, but I'll
recreate it and blog it if there's interest.  Not much to it, really,
here's how the api would work if I needed to transactionally save a
Contact and their Address  (Barney's probably guessed it all by now,
but what the heck):













All the TransactionalQueue really does is manage an array of structs,
where each contains a reference, method name, and argument collection,
and then run() wraps a loop over the array in  tags,
making  calls.

-Joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

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


Re: cf open shopping cart

2006-01-10 Thread Joe Rinehart
A, you lucky Canadians and your common-sense approach to
self-governance!  I took my first trip to Canada last spring, and
thought it was an absolutely great country.

-Joe

On 1/10/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> > Careful with that AJAX stuff and the Feds, they'll go all 508 on ya :)
>
> We're in Canada...no such beastie as 508 here (although we have an
> equivalent)no matter thoughinternal app so those rules do not
> applythansk though ;-)
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
>
>
> 

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


Re: cf open shopping cart

2006-01-10 Thread Joe Rinehart
> or so.  These folks are working for me on a HUGE federal government project
> which is an equally HUGE change in the way they do business.  To top it off 
> this
> project has spurred on some much needed house cleaning from a data
> standpointcreating a bunch of spin-off projects.  These are CF 7, Oracle 
> 9i,
> JS/DMHTML/AJAX.

Careful with that AJAX stuff and the Feds, they'll go all 508 on ya :)

-Joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

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


Re: Avoiding copying by value

2006-01-05 Thread Joe Rinehart
Hey Terry,

That's not quite how reference types work...trust me, it's passed by
reference.

Here's a long explanation:

Doing this:



Creates two things:

[query instance] - somewhere in memory
qry1 - a reference to the instance you can use in your code

Doing this:



we now have three things:
[query instance] - somewhere in memory
qry1 - a reference to [query instance] you can use in your code
qry2 - a reference to [query instance]  you can use in your code

So if we do this (like your struct delete):



we don't actually delete the query, but just one of the references
to it, leaving us with this:

[query instance] - somewhere in memory
qry2 - a reference to [query instance]  you can use in your code

If we then deleted qry2 using structDelete, the [query instance] would
no longer have any references, and would then be eligible for garbage
collection.

-Joe

On 1/5/06, Terry Ford <[EMAIL PROTECTED]> wrote:
> Hi Joe,
>
> That's what I used to think, too.  But take the following code:
>
> 
> 
> 
>
> That cfdump works.  This shows that the whole query HAS been copied to Q.
>
> Regards,
> Terry
>
>
>
> >Hey Terry,
> >
> >Queries are references types in CF, so it's not an issue.   Example:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >-Joe
> >
> >
> >On 1/5/06, Terry Ford <[EMAIL PROTECTED]> wrote:
> >>
>
> 

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


Re: Avoiding copying by value

2006-01-05 Thread Joe Rinehart
Hey Terry,

Queries are references types in CF, so it's not an issue.   Example:











-Joe


On 1/5/06, Terry Ford <[EMAIL PROTECTED]> wrote:
> Here's the scenario:
>
> A small query (session.cache_query) is cached in each user session at login.  
> It is referenced in the following manner in a number of templates:
>
> 
>
> 
> 
> 
> 
> 
>select...
> 
> 
>
> 
> ...
> 
>
> -
>
> Now to my question:  I assume that the line  
> copies the query structure to the q variable (instead of passing a pointer) 
> because copying by value is what CF likes to do.  In this case that is 
> needless overhead.
>
> Can anyone suggest a way that I can get around the copying of that query by 
> value?
>
> I know that I could do , but then the 
> Google "q" query wouldn't work.  I really want to be able to reference either 
> the cached query or the runtime query by the same variable name, "q".
>
> Thanks,
> Terry
>
> 

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


Re: CF and the Stored Procedure Newbie - First in an irregular series of Eureka! moments.

2006-01-04 Thread Joe Rinehart
I think this is an old discussion, and that there's really no clear
winner.  Adrian was very clear that, in the end, he uses both
storedprocs and cfquery, and there's a lot of reasons to use both.


> Your biggest bottleneck in your application is going to be getting data to
> and from the database.

That's true, but I don't think it's often a bandwidth issue, but a
design issue on the database side.  People can move to storedprocs til
cows come home, but until people learn the value of constraints and
indexes, they're not going to help at much.

On the flip side, when a database is well-built, there's usually
almost no difference between using storedprocs and parameterized
queries (via cfQueryparam).

> But another reason is that if I decide to move languages from say ColdFusion
> to .NET I don't have to rewrite all of my queries again.

Again, I think it depends on the situation.  In your boat, having
things in storedprocs from get get-go would have been a godsend. 
However, if you had to redeploy to a new database engine...

> Those queries are then used over and over again throughout multiple
> applications. Instead of having one query written somewhere, they found it
> easier to rewrite the query.

I've seen the same thing happen with storedprocs:  a developer leaves,
a new one comes on board, needs to add a feature, doesn't know a proc
already exists to do something, writes "their" version...

> How many custom tags of queries are you going to have before
> it becomes unmanageable.

Even before CFCs came along, I'd wrap all of the basic types of query
on a table into a custom tag, letting me have a single file that
encapsulated most of the database operations for that
table/entity/concern.  With CFCs and the ability to employ common
persistence design patterns, this now becomes even more of a moot
point.  In fact, I have no idea if I'm running a , a
storedproc, or even making a Web Service call - I just know I have
something that gives me a query back.

My point isn't to be argumentative, but that to show that the choice
between using a storedproc and a  isn't one that can be made
blindly, saying that you should always use one or the other.  It
depends on the context in which the decision is to be made.

-Joe


--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

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


Re: Are arrays really passed by value? Practice shows otherwise.

2005-12-14 Thread Joe Rinehart
Wild, it looks like it's going to custom tags by reference, but UDFs
by value.  Here's a test I wrote:
















If arrays went to UDFs by reference, this would read "changed":
#myArray[1]#






If arrays went to modules/tags by reference, this would read "changed":
#myArray[1]#




 



-Joe

On 12/14/05, James Reily <[EMAIL PROTECTED]> wrote:
> CF documentation states the following:
>
> "When you pass a variable to a CFML custom tag as an attribute,
> or to a user-defined function as an argument,  the following rules
> determine whether the custom tag or function receives its own
> private copy of the variable or only gets a reference to the
> calling page's variable:
>
> *  Simple variables and arrays are passed as copies of the data.
>If your argument is an expression that contains multiple simple
>variables, the result of the expression evaluation is copied to
>the function or tag.
> *  Structures, queries, and cfobject objects are passed as
>references to the object."
>
> HOWEVER, when I pass an array to a custom tag (.cfm), change its contents in 
> that tag, and then return to the calling tag, the array in the calling tag 
> contains the altered value. Is this a bug?  Or is the documentation old and 
> you can now pass arrays by value?
>
> Example:
>
> 
> 
> 
>
>  SomeArray="#VARIABLES.array1#">
>
> #VARIABLES.array1[1]#> 
> #VARIABLES.array1[2]#> 
>
>
> --
> Test.cfm:
> --
>
> 
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: How can I use a .Net DLL with CFMX?

2005-12-14 Thread Joe Rinehart
Hey Charlie,

I didn't mean to infer compatibility issues.  I think BD is an
amazingly compatible product;  when I've switched to it, I've barely
noticed a difference.

What I was referring to is that if they've already payed a few grand
for their ColdFusion licenses, it may not go so well with their bosses
if they now need to buy BlueDragon as well.  That's all, nothing about
the product itself.

-Joe

On 12/13/05, charles arehart <[EMAIL PROTECTED]> wrote:
> That seems a curious conclusion, Joe. The whole reason to use BlueDragon.NET 
> is when a shop DOES have a large existing infrastructure in CFML and yet 
> needs to perform tighter integration with .NET than is possible with CFMX.
>
> I realize you may be inferring the possibility of compatibility issues. I'd 
> just like to say for the record that as BlueDragon its 4th year of existence, 
> many of the early compatibility issues have been removed. We have plenty of 
> shops who find the move to BlueDragon to be quite painless, and especially 
> when weighed against whatever benefit they're seeking in the move.
>
> /charlie
>
> >"Easy" depends on how much existing infrastructure and investment in
> >Macr...err..Adobe CF products they have
> >
> >-Joe
> >
> >On 12/13/05, Snake <[EMAIL PROTECTED]> wrote:
> >>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: How can I use a .Net DLL with CFMX?

2005-12-13 Thread Joe Rinehart
> You know what I ment... =P

Sorry, didn't mean to sound like a smartass.  :)  Just wanted to make
sure the poster knew what ya meant.

-joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: How can I use a .Net DLL with CFMX?

2005-12-13 Thread Joe Rinehart
"Easy" depends on how much existing infrastructure and investment in
Macr...err..Adobe CF products they have

-Joe

On 12/13/05, Snake <[EMAIL PROTECTED]> wrote:
> Using BlueDragon would be the easiest way.
>
> Russ
>
> -Original Message-
> From: blists [mailto:[EMAIL PROTECTED]
> Sent: 13 December 2005 19:34
> To: CF-Talk
> Subject: How can I use a .Net DLL with CFMX?
>
> My coworker, has developed a .Net DLL in Delphi. What is the best way to
> interface with this DLL via CFMX?
>
> Brook
>
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: How can I use a .Net DLL with CFMX?

2005-12-13 Thread Joe Rinehart
I'd have him wrap the existing one in something that exposes its
functionality as a web service instead of re-creating it.

You could also use BlueDragon.net, a CF server that runs on .NET (see
newatlanta.com).

-Joe

On 12/13/05, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> Depending on what it does, you could have him re-create it as a webservice
> and call it like that.
>
> !K
>
> -Original Message-
> From: blists [mailto:[EMAIL PROTECTED]
> Sent: December 13, 2005 1:34 PM
> To: CF-Talk
> Subject: How can I use a .Net DLL with CFMX?
>
> My coworker, has developed a .Net DLL in Delphi. What is the best way to
> interface with this DLL via CFMX?
>
> Brook
>
>
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: Design Patterns book for OOP newbies?

2005-12-13 Thread Joe Rinehart
Head First is a great series!  I'd also recommend reading The Object
Oriented Thought Process before going to a design patterns book...it
not only covers the OOP principles (probably a review in this
situation), but shows the need for patterns in the first place by
illustrating problems that OOP principles can create.

Link: 
http://www.amazon.com/gp/product/0672326116/qid=1134485634/sr=8-1/ref=pd_bbs_1/102-2591076-0465763?n=507846&s=books&v=glance

Massimo - thanks for the tmt_img component, works like a charms in
situations where I don't need the functionality of the Alagad
component.

-Joe

On 12/13/05, Massimo Foti <[EMAIL PROTECTED]> wrote:
> > A question for the OOP geeks in the audience.  Would you recommend the
> > Design Patterns book to someone who understands the general principles
> > of OOP but has little experience with it thus a difficult time planning
> > apps in an OOP way?  If not, what book would you recommend first?
>
> On my website, under Book Reviews > Design Patterns section, you can find a
> bunch of quick reviews. I would suggest the "Head First" book. It follows an
> unusual approach and, in my opinion, you need at least to be able to read
> Java code in order to leverage it. Take a look at its sample chapter and see
> by yourself:
> http://www.oreilly.com/catalog/hfdesignpat/
>
> As an alternative, this one is definitely worth a look:
> http://www.amazon.com/exec/obidos/ASIN/0321247140/
>
>
> 
> Massimo Foti
> Tools for ColdFusion and Dreamweaver developers:
> http://www.massimocorner.com
> 
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Open source forum

2005-12-12 Thread Joe Rinehart
I think Ray's is spot-on for something that is widely applicable.  It
may not have all of the features someone could want, but it makes up
for that by providing an excellent foundation on which to build those
features.

In a professional environment where I may need to add forum
capabilities, I wouldn't want something with PMs, emoticons, avatars,
etc.  Galleon gives me a product that is guaranteed to not be *more*
than I need (which is often worse than having less than you need!),
tested, and pretty secure (I've tried to break into it using the same
techniques I've used to exploit other message boards to no avail).

It's definitely worth checking out the alternative you've suggested,
especially if its features suit someone's needs - but outright
dismissing Galleon isn't a good idea.

-Joe


On 12/11/05, Snake <[EMAIL PROTECTED]> wrote:
> Take a look, I think you will see the difference.
> Ray's is TOO basic.
>
>
> -Original Message-
> From: Sean Corfield [mailto:[EMAIL PROTECTED]
> Sent: 11 December 2005 23:52
> To: CF-Talk
> Subject: Re: Open source forum
>
> On 12/11/05, Snake <[EMAIL PROTECTED]> wrote:
> > One thing that has always been lacking for CF is a decent forums
> > product, especially a free one.
>
> Ray Camden's "Galleon" forums?
> --
> Sean A Corfield -- http://corfield.org/
> Got frameworks?
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Recover lost cfadmin password?

2005-12-08 Thread Joe Rinehart
Forgot:

You'll need to restart CF.  Then you should be able to browse into the
admin console, change the password, and then turn security back on.

-Joe

On 12/8/05, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> Hey Will,
>
> I believe you can just open /web-inf/cfusion/lib/neo-security.xml  and change:
>
> 
>   
> 
>
> To:
>
> 
>   
> 
>
> Cheers,
>
> Joe
>
>
>
> On 12/8/05, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> > I hadda friend just email me. She hasn't used cf in a while and forgot her 
> > password. Is there a way she can retrieve it? or reset it somehow?
> >
> > Thanks,
> > Will
> >
> > 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Recover lost cfadmin password?

2005-12-08 Thread Joe Rinehart
Hey Will,

I believe you can just open /web-inf/cfusion/lib/neo-security.xml  and change:


  


To:


  


Cheers,

Joe



On 12/8/05, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> I hadda friend just email me. She hasn't used cf in a while and forgot her 
> password. Is there a way she can retrieve it? or reset it somehow?
>
> Thanks,
> Will
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: ARF!

2005-12-06 Thread Joe Rinehart
Hey Neil,

There's no release build right now...best bet is to use the SVN repo.

Cheers,

Joe

On 12/6/05, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> What is the latest build? I am on an alpha build I think - and the examples
> do not reference some methods in it.
>
>
>
> -Original Message-
> From: Joe Rinehart [mailto:[EMAIL PROTECTED]
> Sent: 06 December 2005 13:00
> To: CF-Talk
> Subject: Re: ARF!
>
> http://projects.simb.net/arf/trac.cgi/
>
> :)
>
> -Joe
>
> On 12/5/05, Robertson-Ravo, Neil (RX)
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I have just been playing around with ARF! - anyone else been playing with
> > it? Despite having to alter some code to get it to work (expected in an
> > alpha!). I have noticed some bugs and would like to log them.
> >
> > Anyone know if there is a way to log these with Joe (or where you can
> pitch
> > in?!).
> >
> > N
> >
> >
> >
> >
> > "This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
> > Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
> > Registered in England, Number 678540.  It contains information which is
> > confidential and may also be privileged.  It is for the exclusive use of
> the
> > intended recipient(s).  If you are not the intended recipient(s) please
> note
> > that any form of distribution, copying or use of this communication or the
> > information in it is strictly prohibited and may be unlawful.  If you have
> > received this communication in error please return it to the sender or
> call
> > our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> this
> > communication are not necessarily those expressed by Reed Exhibitions."
> > Visit our website at http://www.reedexpo.comThis e-mail is from Reed
> > Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL,
> United
> > Kingdom), a division of Reed Business, Registered in England, Number
> 678540.
> > It contains information which is confidential and may also be privileged.
> > It is for the exclusive use of the intended recipient(s).  If you are not
> > the intended recipient(s) please note that any form of distribution,
> copying
> > or use of this communication or the information in it is strictly
> prohibited
> > and may be unlawful.  If you have received this communication in error
> > please return it to the sender or call our switchboard on +44 (0) 20
> > 89107910.  The opinions expressed within this communication are not
> > necessarily those expressed by Reed Exhibitions.  Visit our website at
> > http://www.reedexpo.com
> >
> >
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: ARF!

2005-12-06 Thread Joe Rinehart
http://projects.simb.net/arf/trac.cgi/

:)

-Joe

On 12/5/05, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have just been playing around with ARF! - anyone else been playing with
> it? Despite having to alter some code to get it to work (expected in an
> alpha!). I have noticed some bugs and would like to log them.
>
> Anyone know if there is a way to log these with Joe (or where you can pitch
> in?!).
>
> N
>
>
>
>
> "This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
> Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of the
> intended recipient(s).  If you are not the intended recipient(s) please note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.comThis e-mail is from Reed
> Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United
> Kingdom), a division of Reed Business, Registered in England, Number 678540.
> It contains information which is confidential and may also be privileged.
> It is for the exclusive use of the intended recipient(s).  If you are not
> the intended recipient(s) please note that any form of distribution, copying
> or use of this communication or the information in it is strictly prohibited
> and may be unlawful.  If you have received this communication in error
> please return it to the sender or call our switchboard on +44 (0) 20
> 89107910.  The opinions expressed within this communication are not
> necessarily those expressed by Reed Exhibitions.  Visit our website at
> http://www.reedexpo.com
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: Get low and high values from list

2005-12-06 Thread Joe Rinehart
ListToArray(), ArrayMin(), ArrayMax()

or

ListSort(), ListMin(),ListMax()

I'd probably go with the array.


-Joe

On 12/6/05, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> If i have a Value list of prices for an item like...
>
> 4.00,6.00,9.00
>
> How would I pull out the low and the high one only?
>
> Thanks,
> Will
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Love 2 Eat Turrrrrrkeyyyyyyyyy

2005-11-24 Thread Joe Rinehart
Well Happy Thursday :)

Thanks Will, and I hope everyone has a great day, be it thanksgiving,
Thursday, or on the other side of the date line.

-Joe

On 11/24/05, Mark Drew <[EMAIL PROTECTED]> wrote:
> yeah... a big happy wotsit to you americans... to us its.. thursday :(
>
> MD
>
> On 24/11/05, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> > Just wanted to say Happy Thanksgivin' to everybody! We have a ton of 
> > everyday give'ers in here that deserve some happy thanks!
> >
> > Ben, Joe, Ray, Bobby H., Dave Watts, Sean C., Peter T., Bryan S.,
> > Michael and Judith D. of course, Charlie G., Isaac, Justin, Tony W., Rick 
> > R.,  Andy McS., Jen, Ken F., Russ, Nathan S., Ian S., Pete R., Claude S.,  
> > and Snake.
> >
> > If I didn't mention your name, sorry, I can't remember them all right now. 
> > :)
> >
> > Happy Thanksgiving!
> >
> > ...CF Will
> >
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Question regarding closing tags

2005-11-22 Thread Joe Rinehart
Personally I don't do it for XHTML purposes...I've noticed a lot of us
that come from ECMA (C/Java/Actionscript) background tend to use it. 
For me, I'm used to spotting blocks of code surrounded by braces ( {
and } ).  Using the / helps to show me what's a statement and what's a
block.

-Joe

On 11/22/05, Claude Schneegans <[EMAIL PROTECTED]> wrote:
> I think people doing this way want to be stick to XHTML syntax which is
> a stricter way of writing HTML
> IMHO doing this for CF is a bit excessive, since CFML does not belong to
> HTML, but to SGML, like HTML and XHTML.
>
> --
> ___
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: Multiple Row Insert Into SQL from another database

2005-11-21 Thread Joe Rinehart
Hi Michael,

I'd probably avoid using ColdFusion altogether to import the data. 
Instead, look into creating a DTS package through the MS SQL
enterprise manager;  DTS exists exactly for this type of situation.

-Joe

On 11/18/05, Michael Grove <[EMAIL PROTECTED]> wrote:
> I need to insert multiple rows into a SQL database from an Access Database. 
> Basically I have an ecommerce site with a bunch of products in it. We would 
> like to use these products in another application. I am going to run the 
> update nightly. After the first update the system will need to check and see 
> if the product id from ecommerce site exists in the products table of the 
> other system. If so it needs to skip it, if not it needs to add it.
>
> I seen somthing about a INSERT SELECT statment, but do not know if it is 
> possible to use this since I am in two different databases and two different 
> Data Sources.
>
> I think I can write a loop and if statment but thing that with the number of 
> products, we have it may bog the system down. Currently we only have about 
> 800 but this will triple in a few months.
>
> My other option is that I can and already am doing a CSV export, but how do I 
> import this and how do I prevent duplicates?
>
> any help would be much appreciated.
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: 100% height and css

2005-11-10 Thread Joe Rinehart
Hey Ray,

I'd google for "faux columns" and use the A List Apart results that
come back, they describe a simple hack to get this working...

-Joe

On 11/10/05, Ray Champagne <[EMAIL PROTECTED]> wrote:
> Okay, I've looked all over the place, and can't find my answers.
>
> I am going forward with my complete css layout ambitions, and already, I
> can see why css doesn't catch on.  It's frustrating!  I want to make a
> fixed with (770 px), center-aligned, 3 column site that looks like so:
>
> 
> header
> 
> |left col| center | right col|
> 
> footer
> 
>
> Now, I want the right and left columns (and their background colors and
> borders) to stretch down the page when the page gets wordy in the
> content column.  Searching Google and the archives, all I can see is
> that there are a lot of solutions for a liquid layout, but none for a
> fixed layout.
>
> There has to be a way to do this, right?
>
> Ray
> ==
> Ray Champagne
> Application Developer
> CrystalVision Web Site Design
> http://www.crystalvision.org
> 603.433.9559
> [EMAIL PROTECTED]
> ==
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: what do you use instead of cfx_openimage?

2005-11-04 Thread Joe Rinehart
Alagad Imaging Component.  No custom tag to install, no Java to
explore, just a CFC to drop in.  And it works.

It does a lot, and I think it's well worth the price - I think it's like $75.


On 11/3/05, Sebastian Mork <[EMAIL PROTECTED]> wrote:
> is nobody using cfx_openimage? is there another similar good tool (for
> easy setup&use in shared hosting environment)
>
> I wanna resize images and read image dimensions..
>
> what are you using?
>
> --
> Sebastian Mork
> [EMAIL PROTECTED]
> --
>
> On Thu, 03 Nov 2005 17:32:55 +0100
> Sebastian Mork <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > in my app I use cfx_openimage  (in a shared hosting environment running
> > win(nt?), cfmx7.0).
> > I used the tag for months for reading images to get infos about the
> > dimension without poblems.
> > suddenly, two days ago a user told me he gets an error viewing some
> > other user profiles.
> > hmm, thats strange, from one day to another the cfx_tag produces an
> > error, the html-title says 'jrun servlet error' and '500 null' is shown.
> >
> > the hosting-comp. said thay didn't change anything. and I did not change
> > anything in the code, too.
> > they restarted cfmx and the whole server without success.
> > and, I read cfx_openimage needs a temp-dir (c:\temp), but they didn't
> > delete that dir and the installation of that tag is made in the
> > default-directory..
> > so what??
> > I've created a test-page with the following code, its just an example,
> > that code worked fine in my app:
> >
> > #filename# is: 
> > D:\friendcom.de\wwwroot\MachII\summComm\views\images\index10.jpg
> > code:
> >  >   ACTION="IML"
> >   FILE="#filename#"
> >   COMMANDS="getsize">
> > heres the test-page: http://friendcom.de/sc/views/test.cfm
> >
> > any ideas?
> >
> > thx
> >
> > --
> > Sebastian Mork <[EMAIL PROTECTED]>
> >
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: About Flex 2

2005-10-26 Thread Joe Rinehart
I would download and install the Flex Builder 2 alpha from
labs.macromedia.com.  It comes with a good set of tutorials, etc.

-Joe

On 10/26/05, Hassan Arteaga <[EMAIL PROTECTED]> wrote:
> Hi all:
>
> I'd like to start my first steps in Flex..
> Simple question:
>
> What I need to install in order to build my fisrt "Hello word " app ?
>
> Regards
>
> __
> M.Sc. Hassan Arteaga Rodríguez
> Microsoft Certified System Engineer
> IT Specialist
> DIGI Grupo de Desarrollo. COPEXTEL, S.A.
>
> Este email y sus adjuntos está dirigido solamente a los destinatarios
> consignados en el mismo y debe ser considerado confidencial. Si Ud. no es el
> destinatario consignado o la persona responsable de entregar/enviar el
> presente, no podrá copiarlo o entregarlo/enviarlo a ninguna otra persona ni
> utilizar el mismo en forma no autorizada. Dichas acciones están prohibidas y
> pueden ser consideradas ilegales. Si Ud. recibiese este email por error, por
> favor comuníquelo de inmediato al emisor del mismo.
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Joe Rinehart
This isn't a bug...add output="false" to your cffunction tag (and your
cfcomponent tag) to suppress output inside of them.

Cheers,

Joe

On 10/26/05, Peter Coppinger <[EMAIL PROTECTED]> wrote:
> When a function is called and the result outputted directly,
> an extra space is prepended!
>
> For Example:
> 
> 
> 
> 
> 
>
> 
>
> What is the space doing at the start of this string: "#spaceTest()#".
>
> It works the way it should assigned to a variable first:
> 
> No space here -> "#o#"
>
> 
> 
>
> Tested in ColdFusion 6.1 and ColdFusion 7.
> In CF7 its worse, a carriage return and a space are inserted.
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: cf code doesn't work inside the custom tag's calling tag?

2005-10-26 Thread Joe Rinehart
Johnny,

You can't embed CF code inside of tags (CF or imported custom)...try this:



>  "view")>view="#attributes.view"/>
>
> This will throw an error because the custom tag doesn't recognize  valid attribute name.  Does anyone has a work-around that?
>
> Johnny
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Joe Rinehart
Right - you just have to use a clumsy workaround for testing which
browser people are on, hoping ActiveX is enabled on IE, and that any
new browsing stuff people use supports it, and that they're not on a
mobile (hi, Flash Lite!).

-Joe

On 10/24/05, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Well yeah...but this at least allows you to do the same Async calls without
> the need for a clumsy plugin..
>
> -Original Message-
> From: Kevin Aebig [mailto:[EMAIL PROTECTED]
> Sent: 24 January 2006 14:41
> To: CF-Talk
> Subject: RE: Question: How Much of an Interest is there in AJAX?
>
> I'm a Flash guy, so I find it pointless... of course not everybody is happy
> with Flash UI's or has the resources to implement them.
>
> I suppose it has its uses, but just not for me.
>
> Cheers,
>
> Kevin
>
> -Original Message-
> From: Judith Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: October 24, 2005 12:37 AM
> To: CF-Talk
> Subject: OT: Question: How Much of an Interest is there in AJAX?
>
> Hi. I've been wondering: How large an audience is there for material (books,
> articles) on Web 2.0 and AJAX? I've been asked this question in a
> professional capacity. I've seen a lot of articles on the subject recently
> and evidence of interest in the ColdFusion community. But I'm still not sure
> of the size of the AJAX community, and how large an audience we'd be talking
> for something like an AJAX book...
>
> Any help you could give me would be appreciated.
>
> Thanks,
>
> Judith
>
>
>
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: OT: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Joe Rinehart
I think the anyone moving towards AJAX implementations or towards
publishing a book on it should move with caution.

I think a _great_ idea would be to publish different ways of producing
the same rich application, along with the pros and cons of each: 
AJAX, Flex, that open-souce Flex alternative whose name I have just
forgotten, Java applets, etc.

AJAX is a wild technology.  It's definitely got a big bang for the
buck, but it can be a true pain in the ass.  I've done some heavy AJAX
work, and there are very good reasons I'm now moving towards Flex 2.

-Joe


On 10/24/05, Jake. <[EMAIL PROTECTED]> wrote:
> > Hi. I've been wondering: How large an audience is there for material
> > (books, articles) on Web 2.0 and AJAX? I've been asked this question
> > in a professional capacity. I've seen a lot of articles on the subject
> > recently and evidence of interest in the ColdFusion community. But I'm
> > still not sure of the size of the AJAX community, and how large an
> > audience we'd be talking for something like an AJAX book...
>
> I am VERY interested in AJAX. In fact, I'd go so far as to say that anyone 
> who's developing in CF will be hard pressed to NOT be interested in it, once 
> they see it in action.
>
> I am incredibly excited about AJAX, and since I know CF but not much JS at 
> all, I'm incredibly interested in the "AJAX for CF devs" 
> books/articles/blogs/sites/etc.
>
> Thanks!
> Jake
> blogfusion.com
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: When will Dave Watts finally blog?

2005-10-20 Thread Joe Rinehart
Fred - First, Dave's one of the most known authorities around here. 
Second, if someone _doesn't_ get fairly drunk at MAX, that's worth
noting.

On 10/20/05, Fred Urban <[EMAIL PROTECTED]> wrote:
> I don't think Dave can stop drinking long enough to blog. I hear he got
> extremely drunk at MAX this week.
>
>
>  On 10/11/05, Emmet McGovern <[EMAIL PROTECTED]> wrote:
> >
> > I was reading Ray Camdens last post on his blog today and it really does
> > emphasize the lack of CF administration information out there. I know
> > there
> > are other great blogs on the subject like Talking Tree and Brandon Purcell
> > but when will Dave finally shed some regular light on the subject?
> >
> > How bout it Dave?
> >
> > emmet
> >
> >
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: OT: Unit testing sucks?

2005-10-19 Thread Joe Rinehart
> Well, that's not really what he's saying... his real objection is that
> unit testing *tools* suck and that developers just don't know how to
> write automated tests.

I agree with that - but do you think it's the developer's fault?  In
the end, I think they must be at least partially accountable, given
that they're the ones writing the tests.  However, I have noticed an
increase in the marketing schpeal for testing tools recently that
promise nirvana - and I can't help but think that IT managers
contribute to the problem by believing them.


> Unit tests are very valuable *if* they are set up correctly but most
> test harnesses are a pain in the @$$ to use and in order to write test
> cases you often end up writing even more code than your original code

My old company wrote unit tests that were very silly.  (It suited
them).  For each "business object" you wrote, you had to check in a
unit test that (at minimum) tested:  getter/setter of each property
(kind of silly in C#, really, because you're testing the language
itself at that point...), and that BO's ability to CRUD itself
(please, don't ask why it could do that.)

Given that the overarching framework was a bear and those were the
minimum test requirements, nobody ever wrote tests against the BO's
ability to perform the logic they were intended to do - which is where
I think unit tests become valuable!

However, I recently had to crank out an application in a very short
timespan - the UI was likely to be decided at the last minute, but the
business requirements were known and well defined from the start.  We
wrote semantical/logical test harnesses (tested business processes,
not getter/setters!), fulfilled them, then glued on the UI to the
resultant model, and had a very successful launch: the UAT team
reported one bug.

I think Unit tests are like many of the other tools we discuss (OO,
design patterns, flash, ruby on rails)...you're as likely to shoot
yourself in the foot as you are to accomplish anything unless you
learn about and think about what you're doing.

-Joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: Problems Making a CF DSN to SQL Server

2005-10-18 Thread Joe Rinehart
Hi Mickael,

Have you made sure that the most recent SQL server updates are
installed?  I've had this exact problem after installing recent CF
JDBC drivers.

-Joe

On 10/18/05, Mickael Elmalem <[EMAIL PROTECTED]> wrote:
>  Hello All,
>
> I need to do some work on a clients site locally on my machine.  This is a 
> new laptop that has just been installed for me.
>
> I have installed CF 6.1 on the machine because that what the customer is 
> using and Sql Server.
>
> I am not able however to get an MS SQL dsn in CF to work.  I go to data 
> sources in the CF Admin
>
> Add the Datasource Name and select Microsoft SQL Server as a Driver
>
> On the next screen I enter the database name, the server (my machine name) 
> username and password.
>
> But the message that I get is
>
> Connection Verification failed for data source : mydsn
>
> Error Establishing Socket: Connection refused : Connect
>
> But if I make the DSN via the OBDC manager in windows, then point to that DSN 
> using the ODBC socket option it works?
>
> What am I doing wrong?  Shouldn't I be able to just connect.
>
> I am running XP pro with Service Pack 2 , and have made sure that fire wall 
> is turned off.
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Cross - Site Scripting

2005-10-18 Thread Joe Rinehart
Right - in that case, I'd htmlEditFormat() then reverse in the things
I'd want to allow.  The old firewall routine of default deny vs.
default allow.

-Joe

On 10/18/05, Dave Watts <[EMAIL PROTECTED]> wrote:
> > I think the short of it is to htmlEditFormat() user-provided input
> > instead of trying to parse out all threatening content by hand while
> > selectively letting other things through.
>
> That's certainly the safest approach, but it doesn't work very well for CMSs
> and other sites which let you write HTML.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: Cross - Site Scripting

2005-10-18 Thread Joe Rinehart
I think the short of it is to htmlEditFormat() user-provided input
instead of trying to parse out all threatening content by hand while
selectively letting other things through.

-Joe

On 10/18/05, Matt Robertson <[EMAIL PROTECTED]> wrote:
> Can we Readers-Digest this saga and spill to the masses that these
> guys can't spell cfqueryparam?  just curious as I'm not inclined to
> read this saga unless someone can show me a reason for same.   Not so
> much a smart opinion as a late nite one... tired and not ready to give
> credence to a new threat that sounds like old news.
>
> --
> --mattRobertson--
> Janitor, MSB Web Systems
> mysecretbase.com
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: CFC Lifecycle

2005-10-13 Thread Joe Rinehart
Hey Andy,

> If I create an instance of a CFC on my page, carry out some processing
> and then do cflocate to another page am I correct in assuming that
> my CFC instance is now gone and if I wish to re-use it I must create
> another instance of it?

Exactly!  A CFC instance is just a variable like any other - put it in
the unnamed/variables scope and it only hangs out for the duration of
the page.  Put it in application/session, and it'll stick around.

-Joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Rounding...

2005-10-11 Thread Joe Rinehart
Hey Jeff,

Try:



#bar#

-Joe

On 10/11/05, J W <[EMAIL PROTECTED]> wrote:
> I have a whole number rounding problem that I am not sure how solve most
> efficiently.
>
> I'd like to take any number and round to the nearest whole 10.
>
> For example:
> 31 would equal 40
> 27 would equal 30
> 155 would equal 160
>
> Any help would be appreciated...
>
> Thanks!
> Jeff
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: CFSavecontent vs. multiple CFSets

2005-10-11 Thread Joe Rinehart
Hi Michael,

Is this one of the opinion questions you ask where you already know
your own answer? :)

I'd use the CFSaveContent method, but using CFXml instead of
CFSaveContent - works the same, but validates the XML and created an
XMLDocument object that can by turned into a string via toString().

-Joe

On 10/11/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> In running through a shopping cart codebase (cartweaver), I decided to change 
> a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As 
> this was for building an XML packet, it looked logical to me. No real savings 
> in code size but to me it just looked cleaner and looked like 'less' 
> operations.
>
> Question: What is your preference in such situations. Multiple CFSETs with 
> each adding a new line of XML to the variable or a block of CFSAVECONTENT 
> with the entire block wrapped in a CFOUTPUT?
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


MySQL - Odd INT values returned when cfqueryparam is used

2005-10-04 Thread Joe Rinehart
I'm having an odd MySQL issue and was wondering if anyone knew what it's up to.

If I run (some code obviously omitted):


  SELECT
someIntField
  WHERE
someField = 


I get odd values (like 43234534 instead of 2) for someIntField.

If I run the same qry w/o the  tag, I get the proper
value.  Anyone have any ideas?

CFMX7.0.1, mysql connector / j 3.10

-Joe


--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Make a loop repeat and control timing?

2005-10-04 Thread Joe Rinehart
Hi Les,

I use a new Java thread and sleep it:



  


Hope that helps,

Joe

On 10/4/05, Les Mizzell <[EMAIL PROTECTED]> wrote:
> Is there any way to force CFLOOP into an endless loop, using cfsleep to
> control the timing of advancement?
>
> Something like:
>
> 
>1. Do something
>2. wait 2 seconds then next step
>3. if "i" = 20 start over
> 
>
> Yea, I know  it's crazy. Javascript is a better way to go, but I
> just wondered it this was possible...
>
> ---
> Les Mizzell
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: image manipulation in coldfusion?

2005-10-04 Thread Joe Rinehart
I'd check out the Alagad Image Component at www.alagad.com - it's
native CF.  While it's not free, it's so cheap that you'll make back
the dough the first time you use it in terms of time saved.

-Joe

On 10/4/05, Andy Matthews <[EMAIL PROTECTED]> wrote:
> So I'm wondering what some of you use to manipulate images in CF. I've been
> wanting something like this for a while but it's always gotten put off.
>
> At the very least I need to be able to resize images and get their height
> and width. More than that would be nice, but not necessary.
>
> Can anyone offer any suggestions?
>
>  andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


Re: restricting cfoutput character length

2005-09-28 Thread Joe Rinehart

  
#left(myTitle, 15)#...
  
#myTitle#
  


-Joe




On 9/28/05, Stuart Kidd Saturday <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to do something which i can imagine is very simple but
> can't find the function.   When i display a title
> #myTitle# i'd like to just display the first 15
> characters and if more then put three dots (periods).  I know the LEN
> function but i can't work out how to replace the text with dots after
> the 15th character.
>
> Any help would be great,
>
> Thanks,
>
> Saturday
>
>
>
>
> Stu
>
>
>
>
>
>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


Re: Is my site working in the US?

2005-09-21 Thread Joe Rinehart
Yup, it's up, how can a Yank get his hands on a Fremont Jersey??

-Joe

On 9/20/05, Mike | NZSolutions Ltd <[EMAIL PROTECTED]> wrote:
> sorry to be a pain,
> 
> can any USA'ers have a quick check that http://www.solocc.com is live at
> the moment.
> 
> regards
> mike
> 
> (i have a very paranoid client !!)
> 
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul,

That's weird...I'd make sure the getAccount() (and all other getters)
have output="false" appliedotherwise, you may get a line break in
the value if you do INSERT 


Cheers,

Joe

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul,

That's weird...I'd make sure the getAccount() (and all other getters)
have output="false" appliedotherwise, you may get a line break in
the value if you do INSERT 


Cheers,

Joe

On 9/8/05, Paul <[EMAIL PROTECTED]> wrote:
> I'm getting results from my DAO that don't exactly match the same value when
> retrieved using good old-fashioned cfquery.  I suspect I'm doing something
> goofy.
> 
> 
> 
> When I grab the data directly using cfquery, I can see that the value stored
> in my database is simply "81150-100".  When I retrieve the same value
> through my DAO, the value is essentially the same but the string is
> prepended by a line break and extra spaces.  So "81150-100" is returned as "
> 
>  81150-100"
> 
> 
> 
> Am I making, by chance, a common mistake?  If the symptoms sound familiar to
> you I'd sure appreciate the help.  Here's what I think is the relevant code.
> 
> 
> 
> In the calling page:
> 
> entry=createObject("component","com.portal.amex.entryDAO").init().read(url.e
> ntryID);
> 
> dump(entry.getAccount());
> 
> 
> 
> The "read" function of my DAO:
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
> select * from entries
> 
> where entryID =  cfsqltype="CF_SQL_INTEGER">
> 
>   
> 
>   
> 
> o.setEntryID(q.entryID);
> 
> o.setTransactionID(q.transactionID);
> 
> o.setAccount(q.account);
> 
> o.setAmount(q.amount);
> 
> o.setEnteredBy(q.enteredBy);
> 
> o.setEnteredDate(q.enteredDate);
> 
> o.setNotes(q.notes);
> 
>   
> 
>   
> 
> 
> 
> 
> 
> And the init and getAccount methods from the entry object:
> 
>  returntype="entry">
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
> variables.instance=structNew();
> 
> setTransactionID(arguments.transactionID);
> 
> setAccount(arguments.account);
> 
> setAmount(arguments.amount);
> 
> setEnteredBy(arguments.enteredBy);
> 
> setEnteredDate(arguments.enteredDate);
> 
> setNotes(arguments.notes);
> 
> setEntryID(arguments.entryID);
> 
>   
> 
>   
> 
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
>   
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Calling php class / function from a cfc

2005-09-06 Thread Joe Rinehart
Bram,

If you want to do away with PHP altogether, there are a couple
implementations of resizing images in CF floating around.  Doug Hughes
(www.alagad.com) has a great one (alagad image component) that's
pretty cheap.  You can also write your own in Java for free.

-Joe

On 9/5/05, Bram Plessers <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm running into problems cause I'm on a headless Unix system
> that runs Coldfusion.
> 
> I looked into several components and they all have the same issue
> with Java an such system.
> 
> I can also run PHP on my server, so now I want to use a php class
> to resize images. But how can I call such a PHP class from my
> coldfusion code ?
> 
> Thanks
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: Printing with Coldfusion

2005-08-31 Thread Joe Rinehart
If you just need the file, why not skip the printer driver?  You can
use CFDocument in CF7 to generate a PDF file, then do whatever you
want with it (CFMail it, CFFtp it, etc.).

-Joe

On 8/31/05, Rick Root <[EMAIL PROTECTED]> wrote:
> I have a need for a coldfusion application to generate a document
> (possibly PDF) and then print it to a file using a printer driver
> installed on the server, and then perform an operation on that file
> (email, FTP, etc)
> 
> The first and last parts are easy, the printing part I'm not so sure...
> 
> Rick
> 
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


  1   2   3   4   5   6   7   >