ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old June 26th, 2003, 03:44 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,091 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 2 h 53 m 27 sec
Reputation Power: 966
Quote:
Originally posted by drgroove
I've had pretty extensive experience with both, actually.

Thusfar, and despite CF's claims to the contrary, I've found that CFML consistantly takes noticeably more coding to achieve the same results as PHP, especially in complex applications, though the same issue applies to even trivial one-page scripts.
Well, I'm what I would consider to be an advanced CF developer, and I'd say that this statement is not correct. Maybe a coding challenge is in order?

Quote:
Thus, CFML has:
Code:
 <cfoutput> text #var# text </cfoutput> 


instead of :
PHP Code:
echo "text".$var."text"

This would be true...except that you don't need to wrap EVERY call to a CF variable or function in <cfoutput>, as you are trying to show. In reality, an entire CF template can be written with only one set of <cfoutput> tags, which would result in much less code than the similar PHP output that you have shown.

I appreciate PHP as a great language, but the reality is that CF is much easier to code in and requires much less code in the end. Snippets and functions can help, but the wonderful abstraction that CFML provides is very hard to beat.

Reply With Quote
  #17  
Old July 2nd, 2003, 03:51 PM
firest0rm firest0rm is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 9 firest0rm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
all i can say, is i have a great extent of experiance using CFML and while it is maybe more simple, it is still as effective for many things as php imho. Coldfusion is definatly a language for designers, its simple, user friendly, and easy to understand, but not nearly as dynamic as php. in the long run id rather use php but cfml is not a bad alternative (i recently coded a LARGE web based inventory management system using cfml with a backend of oracle 9i for a fortune 500 company that exports to excel, is reportable, searchable, and updateable with a minimal amount of code. it works fairly well and they are happy, the php code may have been a bit more consolidated and compacted but not to any large extent.) coldfusion also does not need to be wrapped by tags for everything it does on every line. 2 tags on one page and an if statement and u got yourself a nice search for a table in a database. also as for the comment of windowz based systems running cfml, pure lack of knowledge. we are currently running CFML on a sun enterprise 10000 w/ an iplanet webserver as well as other smaller sun boxes such as a sun 3000 w/ apache. it is unix/linux friendly. anyway just my thoughts.

Last edited by firest0rm : July 2nd, 2003 at 03:56 PM.

Reply With Quote
  #18  
Old July 5th, 2003, 07:02 PM
herakles herakles is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Derby, UK
Posts: 1 herakles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to herakles
blah well there we go, no need for me to post this reply to drgroove's stupid comment about CF using <CFOUTPUT> #var# </CFOUTPUT> as opposed to php's <? echo $var ?>
but there is one flaw in your argument kiteless, nesting <CFOUTPUT>'s causes problems, but even with that in mind it's still far shorter than php's echo for everything method

as for drgroove ignoring that post, - opinions are like arseholes, everyone has one, and some people are their opinion, drgroove, you fit that perfectly

php/CF features, the only benefit i can see with php is its image functionality, but then using CF with something like director would compensate for that, there are also methods inside Java and C++ for creating images, and since CF unlike php has the ability to utilise Java and C++ to further extend its abilities, i really dont see php as anything other than the popular kid that failed all his tests at school.

Last edited by herakles : July 5th, 2003 at 07:25 PM.

Reply With Quote
  #19  
Old July 8th, 2003, 12:47 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,091 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 2 h 53 m 27 sec
Reputation Power: 966
Quote:
Originally posted by firest0rm
all i can say, is i have a great extent of experiance using CFML and while it is maybe more simple, it is still as effective for many things as php imho. Coldfusion is definatly a language for designers, its simple, user friendly, and easy to understand, but not nearly as dynamic as php.
Well I don't want to get into a big argument here, but I have no idea what you mean by CF not being "nearly as dynamic". I've been using CF for over 5 years and as far as I know, you can make virtually any CF variable name, or variable assignment, dynamic. Do you have an example of what you are trying to say?

Reply With Quote
  #20  
Old July 8th, 2003, 01:03 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,091 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 2 h 53 m 27 sec
Reputation Power: 966
Quote:
Originally posted by herakles
but there is one flaw in your argument kiteless, nesting <CFOUTPUT>'s causes problems, but even with that in mind it's still far shorter than php's echo for everything method
you shouldn't ever need to nest CFOUTPUTs, except when outputting a query and using the GROUP attribute, when you have to nest CFOUTPUTs.

And yes, it is very easy to use something like the Java Image API classes from CF to create thumbnails and manipulate images.

ttfn,

Brian

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > ATTN Experienced (coldfusion) web developers

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap