RE: Why .Net is on its last legs
Personally, I think the productivity comment in .Net is off-base. I've been working in CF since version 1.5. For the past 5 years I've been working in both CF and ASP.Net. Honestly I'm just as productive in ASP.Net as CF at this point, some times more so. It's possible that it has to do with the amount of tools and libraries I've built up over the years. This is just my personal opinion, my time these days is split about 70% .Net and 30% CF so take it for what it's worth. I think most people should at least know the basics in both. Duane -Original Message- From: Bryn Parrott [mailto:bryn_parr...@internode.on.net] Sent: Friday, January 22, 2010 10:58 PM To: cf-talk Subject: Re: Why .Net is on its last legs There is plenty of sloppy code in the .Net-i-verse...like you said, it's ultimately about the developer, not the platform. I'm not so sure about that. I've dabbled with .Net on and off over the last couple of years (every time I get depressed about job prospects in .CF ...) and each time I'm driven back to CF's big advantage (as I see it) over .Net - productivity. Microsoft seem to think that developers want to at the lowest level of nuts and bolts needed to put together their programs. By contrast, CF developers can keep their eye at the customers level while delivering applications in half the time taken for equivalent functionality in .Net I ponder the question as to why any Client and CIO would want to spend the extra money on writing an App in .Net (assuming they are aware of the productivity advantages of CF and other technologies); or indeed, on coverting an existing app written in CF to .Net (???) This seems wierd to me. The only answer that comes to mind is possibly that the CIO is interested in justifying his position, it is easy to represent CF as being older technology, and a move to .Net as being a move to newer more robust technology. With .Net he gets to be in charge of a much larger development team, and a bigger budget. Does that line of reasoning hold water ? ~| 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:330068 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
language for mailer
The question was brought to my light. if i wanted to build a mailer for the purpose of distributing mail to hundreds of thousands of address. Would it be possible to build this piece of software in coldfusion? is there any limitation in using coldfusion for this routine? does anyone know what other mail servers use that is the sort of known best language for this. the idea is to create one interface to many server resources, essentially virtualizing the server resource. Coldfusion is my native language i was just brainstorming here. ~| 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:330069 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
jQuery loaded page and cfwddx
Hi, I am loading a cfm page with jQuery. On that page I use cfwddx.. action=cfml2js... If I try to access the top variable and it tells me that it's undefined, bu I can clearly see it in firebug if i expend the jQuery call that it's there. any idea what I'm missing? Thanks Victor PS BTW i have also tried to trigger a click event on a button on the page and it's not being triggered. I have tried using the live function too with no success $(input:button[name='test']).live (click, function(){ alert (this.id); }); No error but no alert... ~| 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:330070 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: language for mailer
You can do *anything* with ColdFusion. ColdFusion is bad-ass. :DeN -PS You'll have less headaches if you use a service that specializes in distributing email for the actual emailing, but if you want a fast-to-develop, spiffy looking management deal, that can talk to a grip of other stuff, CFML is the language for you!!! -- Wise kings generally have wise counselors; and he must be a wise man himself who is capable of distinguishing one. Diogenes On Sat, Jan 23, 2010 at 12:03 PM, Carey Duryea wrote: The question was brought to my light. if i wanted to build a mailer for the purpose of distributing mail to hundreds of thousands of address. Would it be possible to build this piece of software in coldfusion? is there any limitation in using coldfusion for this routine? does anyone know what other mail servers use that is the sort of known best language for this. the idea is to create one interface to many server resources, essentially virtualizing the server resource. Coldfusion is my native language i was just brainstorming here. ~| 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:330071 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFUG and focus (was: Why i fear ColdFusion is on its last legs
On Fri, Jan 22, 2010 at 11:35 AM, Judah McAuley ju...@wiredotter.com wrote: Well, yes and no. Adobe did have a decent user group system but then they consolidated them and it all changed. We had a Portland CF Usergroup but then it got changed by Adobe to a PDX RIA group and most all of the content and discussion is around Flash and Flex. That was *not* done by Adobe - it was done by the UG manager. A lot of CFUGs are being asked to cover non-CF topics - it happens in my three local groups too. Attendees want a broader range of topics. That broader range attracts more developers (non-CF developers) and so the group does better. If you want your local CFUG to stay CF-focused, you need to encourage CFers to actually *attend* :) Look at this: http://survey.constantcontact.com/survey/a07e2olvoj6g4ek9zt3/results Over a third of respondents *never* attend a UG meeting and nearly 20% only attend one a year! No wonder CFUGs are struggling - developers are not supporting them! -- Sean A Corfield -- (904) 302-SEAN Railo Technologies US -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| 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:330072 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
mod_rewrite issue on fusebox 5
Hey gang, Having an issue I was hoping someone might have an answer to. I have a mod_rewrite rule: RewriteRule ^index.cfm?fuseaction=test.test$ bob.html The problem is that this is not getting caught and rewritten, it's going through to the Fusebox. I've also tried escpacing the ? and the . both alone and together (as below) without any luckany thoughts? RewriteRule ^index.cfm\?fuseaction=test.test$ bob.html RewriteRule ^index.cfm\?fuseaction=test\.test$ bob.html ~| 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:330073 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mod_rewrite issue on fusebox 5
You need a slash at the front of your rule (and you DO need to escape both the question mark and period): RewriteRule ^/index.cfm\?fuseaction=test\.test$ bob.html cheers, barneyb On Sat, Jan 23, 2010 at 12:23 PM, Matthew Gersting mgerst...@gmail.com wrote: Hey gang, Having an issue I was hoping someone might have an answer to. I have a mod_rewrite rule: RewriteRule ^index.cfm?fuseaction=test.test$ bob.html The problem is that this is not getting caught and rewritten, it's going through to the Fusebox. I've also tried escpacing the ? and the . both alone and together (as below) without any luckany thoughts? RewriteRule ^index.cfm\?fuseaction=test.test$ bob.html RewriteRule ^index.cfm\?fuseaction=test\.test$ bob.html ~| 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:330074 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: language for mailer
Diogenes rather mad man sounds like, interesting though Coldfusion is definitely my preferred language, but this is DEFINITELY not about how coldfusion is great. it is, i will not ever argue. what i'm trying to figure out is what can i interface with to create a mailer application. what technology is going to produce 50 to 100 thousand emails an hour out of a typical dedicated server? does anyone know. something a little less obscure then coldfusion can do anything haha ~| 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:330075 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jQuery loaded page and cfwddx
I assume you're using a get call. What happens when you console.log the argument passed to your success callback function? If you're not using getjson Then most likely you need to evaluate the argument before it's ready to be used. On Jan 23, 2010, at 2:06 PM, Victorng Moore victor.mo...@gmail.com wrote: Hi, I am loading a cfm page with jQuery. On that page I use cfwddx.. action=cfml2js... If I try to access the top variable and it tells me that it's undefined, bu I can clearly see it in firebug if i expend the jQuery call that it's there. any idea what I'm missing? Thanks Victor PS BTW i have also tried to trigger a click event on a button on the page and it's not being triggered. I have tried using the live function too with no success $(input:button[name='test']).live (click, function(){ alert (this.id); }); No error but no alert... ~| 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:330076 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: language for mailer
Diogenes rather mad man sounds like, interesting though Coldfusion is definitely my preferred language, but this is DEFINITELY not about how coldfusion is great. it is, i will not ever argue. what i'm trying to figure out is what can i interface with to create a mailer application. what technology is going to produce 50 to 100 thousand emails an hour out of a typical dedicated server? does anyone know. something a little less obscure then coldfusion can do anything haha The question was brought to my light. if i wanted to build a mailer for the purpose of distributing mail to hundreds of thousands of address. Would it be possible to build this piece of software in coldfusion? is there any limitation in using coldfusion for this routine? does anyone know what other mail servers use that is the sort of known best language for this. the idea is to create one interface to many server resources, essentially virtualizing the server resource. Coldfusion is my native language i was just brainstorming here. ~| 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:330077 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coldfusion and oracle stored procedure
Hi All - I was learning on oracle stored procedures and retrieving the results from Coldfusion. I am using ref cursor for reading a table in the database. The procedure is as follows: create or replace PROCEDURE EMP_REF_CURSOR AS TYPE cur_emp IS REF CURSOR RETURN EMPLOYEES%ROWTYPE; v_cur_emp cur_emp; v_employees employees%ROWTYPE; BEGIN OPEN v_cur_emp FOR SELECT * FROM EMPLOYEES; LOOP FETCH v_cur_emp INTO v_employees; EXIT WHEN v_cur_emp%NOTFOUND; DBMS_OUTPUT.PUT_LINE('p_employee_id = ' || v_employees.employee_id || ', p_first_name = ' || v_employees.first_name || ', p_last_name = ' || v_employees.last_name); END LOOP; CLOSE v_cur_emp; END EMP_REF_CURSOR; I am using the following code in coldfusion to access the stored proc: cfstoredproc datasource=oraclelearn procedure=emp_ref_cursor cfprocresult name=returnEmployees resultset=1 /cfstoredproc cfdump var=#returnEmployees# Coldfusion is throwing an error that it does not find the returnEmployees. Can anyone please tell me what I am doing wrong. The stored procedure runs fine in SQL Developer. Thanks a lot ~| 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:330078 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jQuery loaded page and cfwddx
Yes, it's a get. It seems that after I restarted the browser the jQuery event click on the button works. But I still can't access the toplevelvariable that was setup by the cfddx call when the page was loaded. Thanks Victor On Sat, Jan 23, 2010 at 6:27 PM, lists li...@commadelimited.com wrote: I assume you're using a get call. What happens when you console.log the argument passed to your success callback function? If you're not using getjson Then most likely you need to evaluate the argument before it's ready to be used. On Jan 23, 2010, at 2:06 PM, Victorng Moore victor.mo...@gmail.com wrote: Hi, I am loading a cfm page with jQuery. On that page I use cfwddx.. action=cfml2js... If I try to access the top variable and it tells me that it's undefined, bu I can clearly see it in firebug if i expend the jQuery call that it's there. any idea what I'm missing? Thanks Victor PS BTW i have also tried to trigger a click event on a button on the page and it's not being triggered. I have tried using the live function too with no success $(input:button[name='test']).live (click, function(){ alert (this.id); }); No error but no alert... ~| 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:330079 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion and oracle stored procedure
You need to have the ref cursor as an out parameter: create or replace PROCEDURE EMP_REF_CURSOR (v_cur_emp OUT cur_emp) AS... This means that your procedure will need to be in a package so you can declare the ref cursor outside of the procedure. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2010/1/24 fun and learning funandlrnn...@gmail.com: Hi All - I was learning on oracle stored procedures and retrieving the results from Coldfusion. I am using ref cursor for reading a table in the database. The procedure is as follows: create or replace PROCEDURE EMP_REF_CURSOR AS TYPE cur_emp IS REF CURSOR RETURN EMPLOYEES%ROWTYPE; v_cur_emp cur_emp; v_employees employees%ROWTYPE; BEGIN OPEN v_cur_emp FOR SELECT * FROM EMPLOYEES; LOOP FETCH v_cur_emp INTO v_employees; EXIT WHEN v_cur_emp%NOTFOUND; DBMS_OUTPUT.PUT_LINE('p_employee_id = ' || v_employees.employee_id || ', p_first_name = ' || v_employees.first_name || ', p_last_name = ' || v_employees.last_name); END LOOP; CLOSE v_cur_emp; END EMP_REF_CURSOR; I am using the following code in coldfusion to access the stored proc: cfstoredproc datasource=oraclelearn procedure=emp_ref_cursor cfprocresult name=returnEmployees resultset=1 /cfstoredproc cfdump var=#returnEmployees# Coldfusion is throwing an error that it does not find the returnEmployees. Can anyone please tell me what I am doing wrong. The stored procedure runs fine in SQL Developer. Thanks a lot ~| 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:330080 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion and oracle stored procedure
I also noticed that you've looped over and closed the cursor - if you do that, CF won't be able to read from it. Just open it and let CF worry about fetching from it and closing it. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2010/1/24 James Holmes james.hol...@gmail.com: You need to have the ref cursor as an out parameter: create or replace PROCEDURE EMP_REF_CURSOR (v_cur_emp OUT cur_emp) AS... This means that your procedure will need to be in a package so you can declare the ref cursor outside of the procedure. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2010/1/24 fun and learning funandlrnn...@gmail.com: Hi All - I was learning on oracle stored procedures and retrieving the results from Coldfusion. I am using ref cursor for reading a table in the database. The procedure is as follows: create or replace PROCEDURE EMP_REF_CURSOR AS TYPE cur_emp IS REF CURSOR RETURN EMPLOYEES%ROWTYPE; v_cur_emp cur_emp; v_employees employees%ROWTYPE; BEGIN OPEN v_cur_emp FOR SELECT * FROM EMPLOYEES; LOOP FETCH v_cur_emp INTO v_employees; EXIT WHEN v_cur_emp%NOTFOUND; DBMS_OUTPUT.PUT_LINE('p_employee_id = ' || v_employees.employee_id || ', p_first_name = ' || v_employees.first_name || ', p_last_name = ' || v_employees.last_name); END LOOP; CLOSE v_cur_emp; END EMP_REF_CURSOR; I am using the following code in coldfusion to access the stored proc: cfstoredproc datasource=oraclelearn procedure=emp_ref_cursor cfprocresult name=returnEmployees resultset=1 /cfstoredproc cfdump var=#returnEmployees# Coldfusion is throwing an error that it does not find the returnEmployees. Can anyone please tell me what I am doing wrong. The stored procedure runs fine in SQL Developer. Thanks a lot ~| 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:330081 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: jQuery loaded page and cfwddx
Victor... What version of CF are you using? Can you share your code? That would be much simpler. I went ahead and threw together a quick example of how cfwddx and an ajax call should work. Both files should be placed in the same directory. Note that when test.html first loads, you'll get an alert with plain text...that's the string that's actually being returned by the cfm page. Before it can be used as JavaScript, it must first be evaluated. TEST.CFM - cfscript myStruct = {}; myStruct['one'] = 1; myStruct['two'] = 2; myStruct['three'] = 3; /cfscript cfwddx action=cfml2js input=#myStruct# topLevelVariable=d TEST.HTML - html head title new document /title script src=jquery/jquery-1.3.1.min.js type=text/javascript/script script type=text/javascript !-- $(document).ready(function(){ $.get('test.cfm', function(data){ alert(data); eval(data); console.log(d); alert(d['two']); }); }); //-- /script /head body !--- left empty --- /body /html Hope this helps you out. -Original Message- From: Victor Moore [mailto:victor.mo...@gmail.com] Sent: Saturday, January 23, 2010 6:55 PM To: cf-talk Subject: Re: jQuery loaded page and cfwddx Yes, it's a get. It seems that after I restarted the browser the jQuery event click on the button works. But I still can't access the toplevelvariable that was setup by the cfddx call when the page was loaded. Thanks Victor On Sat, Jan 23, 2010 at 6:27 PM, lists li...@commadelimited.com wrote: I assume you're using a get call. What happens when you console.log the argument passed to your success callback function? If you're not using getjson Then most likely you need to evaluate the argument before it's ready to be used. On Jan 23, 2010, at 2:06 PM, Victorng Moore victor.mo...@gmail.com wrote: Hi, I am loading a cfm page with jQuery. On that page I use cfwddx.. action=cfml2js... If I try to access the top variable and it tells me that it's undefined, bu I can clearly see it in firebug if i expend the jQuery call that it's there. any idea what I'm missing? Thanks Victor PS BTW i have also tried to trigger a click event on a button on the page and it's not being triggered. I have tried using the live function too with no success $(input:button[name='test']).live (click, function(){ alert (this.id); }); No error but no alert... ~| 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:330082 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: language for mailer
If you're asking what kind of load CF can handle as far as sending mail, I've always gotten the impression it's pretty robust. The people in this thread claim to be sending 20 thousand E-mails an hour: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32042#160778 ~Brad Original Message Subject: Re: language for mailer From: Carey Duryea ca...@keepingitgreen.net Date: Sat, January 23, 2010 5:24 pm To: cf-talk cf-talk@houseoffusion.com Diogenes rather mad man sounds like, interesting though Coldfusion is definitely my preferred language, but this is DEFINITELY not about how coldfusion is great. it is, i will not ever argue. what i'm trying to figure out is what can i interface with to create a mailer application. what technology is going to produce 50 to 100 thousand emails an hour out of a typical dedicated server? does anyone know. something a little less obscure then coldfusion can do anything haha ~| 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:330083 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: language for mailer
Coldfusion is definitely my preferred language, but this is DEFINITELY not about how coldfusion is great. it is, i will not ever argue. what i'm trying to figure out is what can i interface with to create a mailer application. what technology is going to produce 50 to 100 thousand emails an hour out of a typical dedicated server? does anyone know. something a little less obscure then coldfusion can do anything haha CF uses Javamail under the covers, and Javamail is certainly capable of this. However, there are differences between Enterprise and Standard with regard to sending mail, so you will probably need Enterprise for this. You'll also need a reliable and fast SMTP server to accept the mail from CF. All that said, Denny's recommendation to have this done by a specialized service may be a good idea. Just because you can send lots of mail from CF doesn't mean that people will get it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or on ~| 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:330084 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: language for mailer
sorry i didn't realize that it goes into a que or something, and posted three times~! how redundant. i wonder if anyone else has some numeric value examples of applicatoins in cf that are sending out mail, i know its resource dependent , like memory on server etc but still, if you have a dedicated server, how would you value the resource usage of sending one email of a certain average size per Gig of ram , or whatever resources used to send email, ~| 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:330085 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4