Funny you point out the CFQUERY, although guess it does get pointed out in
most of the comparisons.  I have yet to encounter a PHP application that did
not have some sort of solution for making the queries very simple to do.
For example this last one I converted, he had some included functions that
handled everything and all he did was pass the SQL to those.  They looked
like home grown functions, lacked any comments so who knows if he perhaps
just grabbed them from elsewhere.  Wonder why people tend to not point out
the CFOUTPUT benifits, such as doing grouped output with such simplicity via
the language.

I actually think PHP was a better suited language for this last
application.  But from a support stand point, it also made more since that
it be converted to CFM since the people who ultimately would support it do
not know any PHP.  Same goes for the database, if I end up with enough free
time I will convert it from mySQL to Oracle but only due to who ultimately
would be supporting it and what machines/environment it would be on.

The docs and support network for CFM is what makes it shine.  I do think the
docs have degraded in quality over the years but the support network is
great.  The docs for PHP are not too bad but sometimes I find the need to
look up what some function does and while the explanation is good the
examples are rather lacking.  I often find myself making test PHP pages to
help ensure that I understood the docs correctly via verifying what is
created/outputed.

On Tue, Aug 31, 2010 at 10:12 AM, Ken Auenson <[email protected]> wrote:

> These conversations make for great BeerFUG discussion :)
>
> I personally don't gauge how much better or worse a language is compared to
> other competing languages based on finshed code size.
> The question more important to me is "What language is the best tool to fit
> the client needs". Then of course I factor in my personal comfort level with
> the language and ColdFusion usually wins hands-down! :)
>
> My comfort and efficiency with CF doesn't come from the baked in tags and
> functions, it comes from the wealth of knowledge that is available via docs
> and the many great bloggers and community leaders.
>
> Almost everytime this topic is brought up, people usually pull out
> comparisons of using something like CFQuery against calling a db method
> directly in a language like PHP. I see this as a misleading compairison,
> because PHP devs typically use open source classes to wrap up all of that
> functionalty and they can generally get the same job done in about the same
> number of lines of code as a CFer. I am not counting the size of the classes
> they use, because those are black box objects that they get to use over and
> over again without thinking about it in much the same way as we use cfquery
> and our other fav tags...
>
> I know this conversation has been fun and lighthearted, so this email isn't
> really directed at our group, but I sometimes worry when this topic comes up
> that some of the more outspoken CF devs (again, not local) are doing more
> harm than good with the "ColdFusion is the only language worth using, your
> language sucks" mentality...
>
> My $0.02, for what its worth.
> --
> Ken
>
> Sent from my HTC Tilt™ 2, a Windows® phone from AT&T
>
> ------------------------------
> From: Kier Simmons <[email protected]>
> Sent: Tuesday, August 31, 2010 9:25 AM
> To: '[email protected]' <[email protected]>
> Subject: RE: [Possible SPAM] Re: [houcfug] ColdFusion programmers have
> homicidal tendencies?
>
>
>  A direct conversion function to function tag to tag in any language would
> typically yield code of the same size, but you can forget that the ASP,
> .NET, JAVA, or PHP code required more code to accomplish something that
> could be done using a different or more versatile ColdFusion tag or
> function.  When you rewrite the logic to fully utilize what is available in
> ColdFusion you will find that they code can be much shorter.  Then again you
> can just rewrite old CF code and make it shorter as well.
>
>
>
>
> Kier Simmons
> Manager of Application Development
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Aaron Rouse
> *Sent:* Tuesday, August 31, 2010 5:36 AM
> *To:* [email protected]
> *Subject:* [Possible SPAM] Re: [houcfug] ColdFusion programmers have
> homicidal tendencies?
> *Importance:* Low
>
>
>
> But it is CFM ...
>
> On Tue, Aug 31, 2010 at 1:05 AM, Mike G <[email protected]> wrote:
>
> Aaron,
>
>
>
> by size I meant CF has 2 letters, ASP, PHP have 3 <grin>  I hope you feel
> bad because you just put me 2 char closer to carpal tunnel explaining it
> <biggergrin>
>
>
>
> M
>
>
>
> On Mon, Aug 30, 2010 at 10:50 PM, Aaron Rouse <[email protected]>
> wrote:
>
> I just finished converting a PHP application to CFM and it did not get a
> 1/3rd less.  Matter of fact it probably is a littl
>
>
> [The entire original message is not included]
>
> --
>  You received this message because you are subscribed to the "Houston
> ColdFusion Users' Group" discussion list.
> To unsubscribe, send email to [email protected]
> For more options, visit http://groups.google.com/group/houcfug?hl=en
>



-- 
Aaron Rouse
http://www.happyhacker.com/

-- 
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en

Reply via email to