query paging UDF or CFC

2005-01-31 Thread xxx xxx
Hi, I usually add my custom code to CFML templates that return a lot of records from a db query to add the paging functionality (next/previous page buttons). Is there any UDF or CFC that can be easily plugged into any CFML template that requires paging functionality? I checked the cflib.org

Re: query paging UDF or CFC

2005-01-31 Thread Deanna Schneider
I've got one that I use. It's just a UDF. I'll send it to you off-list. - Original Message - From: xxx xxx [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 31, 2005 12:37 PM Subject: query paging UDF or CFC Hi, I usually add my custom code to CFML

RE: query paging UDF or CFC

2005-01-31 Thread gabriel l smallman
Search for cfpagnation was a custom tag but I suspect with a little tinkering could be made into udf or cfc. Works quite well and is pretty flexable ~| Logware (www.logware.us): a new and convenient web-based time tracking

Re: query paging UDF or CFC

2005-01-31 Thread Cedric Villat
a lot of records from a db query to add the paging functionality (next/previous page buttons). Is there any UDF or CFC that can be easily plugged into any CFML template that requires paging functionality? I checked the cflib.org and cfczone.org web sites, but no luck. Any hint to write my own

Re: query paging UDF or CFC

2005-01-31 Thread justgotin
On Mon, 31 Jan 2005 13:47:58 -0500, gabriel l smallman [EMAIL PROTECTED] wrote: Search for cfpagnation was a custom tag but I suspect with a little tinkering could be made into udf or cfc. Works quite well and is pretty flexable Hi, Are you sure of the name? I cannot find it with Google

Re: query paging UDF or CFC

2005-01-31 Thread justgotin
On Mon, 31 Jan 2005 12:44:11 -0600, Deanna Schneider [EMAIL PROTECTED] wrote: I've got one that I use. It's just a UDF. I'll send it to you off-list. That would be great! Thanks. ~| Discover CFTicket - The leading ColdFusion

New UDF and CFC for RegExp

2003-12-14 Thread Massimo, Tiziana e Federica
Since I never liked the way REFind() handles matches (especially with subexpressions), I wrote a UDF on top the java.util.regex package: http://www.cfmentor.com/code/index.cfm?action=""> I also assembled a dedicated CFC: http://www.cfmentor.com/code/index.cfm?action=""> This one instead is a

UDF or CFC

2003-01-02 Thread Cedric Villat
I'm wondering what the difference between a UDF and a CFC really are. Can't I create UDF's which function just the same as a CFC with maybe a few differences? Just pass the parameters in the function instead of using the tag notation. Are there reasons why one would use a UDF instead of a CFC

Re: UDF or CFC

2003-01-02 Thread Robert Polickoski
PROTECTED] Date: Thu, 2 Jan 2003 09:06:38 -0800 I'm wondering what the difference between a UDF and a CFC really are. Can't I create UDF's which function just the same as a CFC with maybe a few differences? Just pass the parameters in the function instead of using the tag notation. Are there reasons

Re: UDF or CFC

2003-01-02 Thread Fregas
CFCs are Macromedia's attempt to add some level of object oriented programming to Coldfusion MX. One CFC does not equal one UDF. A CFC could be though of as a collection of UDFs, although that is probably simplistic. Where a UDF contains only one function, a CFC is more like a true Object

UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Benoit Hediard
I agree with you Raymond. But it is true that is more personal preference/coding style terms than performance/architecture terms. This are my personal rules : CUSTOM TAGS (ColdFusion Taglibs) - custom tags encapsulates presentation logic they always output content (usually HTML), - custom tags

Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Gyrus
- Original Message - From: Benoit Hediard [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 30, 2002 9:26 AM Subject: UDF Vs CFC (was RE: So many problems with CFC scopes...) I agree with you Raymond. But it is true that is more personal

RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Benoit Hediard
www.benorama.com -Message d'origine- De : Gyrus [mailto:[EMAIL PROTECTED]] Envoyé : lundi 30 septembre 2002 14:03 À : CF-Talk Objet : Re: UDF Vs CFC (was RE: So many problems with CFC scopes...) Benoit, thanks for the summary of your rules-of-thumb for CF modularisation. I'll check out

RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread S . Isaac Dealey
But, in some cases CFCs might be more appropriate than UDF to encapsulate generic logic : when you need to have an object-oriented logic. Indeed, the advantage of CFCs over UDFs is their ability to have (or simulate) an 'object-oriented/object-based' behaviour. For example, CFC are great to

RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Benoit Hediard
by the old CFC instance. You have to reload a new instance to get the new definition. Benoit Hediard -Message d'origine- De : S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Envoyé : lundi 30 septembre 2002 18:23 À : CF-Talk Objet : RE: UDF Vs CFC (was RE: So many problems with CFC scopes

Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Sean A Corfield
On Monday, Sep 30, 2002, at 09:23 US/Pacific, S. Isaac Dealey wrote: Question: (dunno if anyone has the answer to this) Do CFC's share methods in memory, or does each new component created have its own instances of all the functions defined in the cfc which take up their own space in

Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Rob Brooks-Bilson
subsequent page loads. As a side note, I tested CFML tag based UDFs vs. CFSCRIPT based UDFs too, and the CFSCRIPT UDFs executed slightly faster than their tag based cousins. -Rob Date: Mon, 30 Sep 2002 10:26:29 +0200 From: Benoit Hediard [EMAIL PROTECTED] Subject: UDF Vs CFC (was RE: So many problems

Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread Sean A Corfield
was substantially faster on initial page load and all subsequent page loads. That's good to know - it fits in with my expectations and is exactly why, if you must do this kind of stuff, I would recommend creating just a single CFC instance and saving it in server scope (since a 'UDF library CFC' will have

Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)

2002-09-30 Thread S . Isaac Dealey
On Monday, Sep 30, 2002, at 09:23 US/Pacific, S. Isaac Dealey wrote: Question: (dunno if anyone has the answer to this) Do CFC's share methods in memory, or does each new component created have its own instances of all the functions defined in the cfc which take up their own space in