House of Fusion
Home of the ColdFusion Community
Hostmysite Dedicated Hosting

Search cf-talk

July 25, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

Writing a re-usable business function with ColdFusion 8

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/09/2008 10:16 AM

and then make it distributable to virtually any web server platform (say, for windows, IIS (5x,6x,7x?); for unix/linux flavor, Apache). Some of you may have thought of this or even have been there done that. Off my head, I'm thinking: a) the business function; b) a 'connector' to the target web server?  Or better, if the web server is J2EE-compliant then it can execute CF code right away but how many web servers are at this level in the market now? a royal question... (Am really wondering and talking loud...) Thanks.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
05/09/2008 10:44 AM

> and then make it distributable to virtually any web server platform (say, > for windows, IIS (5x,6x,7x?); for unix/linux flavor, Apache). I'm not sure what you're asking but if you write your application in CFML it'll run on all of those yes, by magic. -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.   If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/09/2008 10:52 AM

----- Excess quoted text cut - see Original Post for more ----- Sorry, I forgot to add, without cf8 server package.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
05/09/2008 11:08 AM

> Sorry, I forgot to add, without cf8 server package. So, without any CFML engine, Railo/OpenBD etc., what are you trying to achive ? You could use CFML to template an AJAX front end, for instance, but that still leaves you stuck for the backend. -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.   If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/09/2008 11:38 AM

>> standalone business function The key word here is Flexibility.  Probably in essence, there are two big groups of web programming languages: java-based (CFML etc.) vs. Microsoft-based (asp, asp.NET etc.).   And if my understanding is correct, any asp code would run under IIS web server without anything else; As for asp.NET, I don't know.  Now, for java-based code for web use, like CFML, the usual route is to use Adobe's CFML engine.  But you brought up an interesting option of using free CFML-compatible engine, however, I have some concerns and before I get into that, let me say, here the business case is, try to distribute a business function built in CF to your potential customers or whoever else (hence, the few requirements of installing this and that the better, naturally the more dependency the less reliability...). Now, what if there's some free and light J2EE component, that be easily plugged into any web server, then, what?  maybe, any compiled cfml code (java bytecode) can run under such a web server environement, a probable yes?  And what's this option's key benefits if it's available? a) performance probably would be good because of less overhead (not implying cfml-compatible engines are not); b) customers are more likely receptive to it? Thanks.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
05/09/2008 11:52 AM

> Now, what if there's some free and light J2EE component, that be easily > plugged into any web server, then, what?  maybe, any compiled cfml code > (java bytecode) can run under such a web server environement, a probable > yes? You could, GPL permitting, packacge your application together with OpenBD and ship it as a single 'unzip and run' file. -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.   If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/09/2008 12:35 PM

----- Excess quoted text cut - see Original Post for more ----- Thank you for the good info.  I now dug up some info on OpenBD, one version 11MB (this one seems more applicable to this case), another 24MB, ahe, the 'footprint' might be a bit heavy...

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brian Kotek
05/09/2008 12:50 PM

You could also just set it up as a centralized web service and allow people on any platform to call it that way. That's what they're for, after all. On Fri, May 9, 2008 at 12:34 PM, D ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/09/2008 01:46 PM

>You could also just set it up as a centralized web service and allow people >on any platform to call it that way. That's what they're for, after all. > >On Fri, May 9, 2008 at 12:34 PM, D > web service Yes, thanks, my own, kind of limited, experience with web service has been that the cf web service does not seem to be very reliable in terms of performance (and maybe it's not on the cfml engine side).  The experience was, I used web service to query a special db (optimized query) and extract and output result to requester, initially the whole process (query and extraction and pass them along as parameters of another query, return final results) was very efficient, either late last year or early this year.  Then, haven't touched it for a while, lately when I played with it again without any changes whatsover but decidedly slower (for an efficiency maniac like me), not good enough.  This puzzled me on its culprit ... Now, back to the issue, I'd like to find out many possible ways/approaches to solve a problem (eliminate the least likely candidates in the first place), then, check out the most promising one(s) ... Thanks.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brian Kotek
05/09/2008 12:29 PM

It sounds like you're asking if you can run a CFML-based function without a CFML engine. The answer is no. You'd need to write it in Java or a .NET language depending on which server platform the system is running. IIS is only a web server. In order to actually execute code, IIS has to be connected to something that can run code (usually a .dll that forwards the request to a runtime environment like J2EE or .NET). Without the CF runtime, none of these servers would know how to execute the compiled classes since CF includes a number of APIs that are used in the compiled Java classes. On Fri, May 9, 2008 at 11:37 AM, D ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists