Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 24th, 2002, 09:23 PM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Article Discussion: Jump Start To ColdFusion MX

Jump Start To ColdFusion MX If you have any questions or comments about this article then please post them here.

You can read the article here .

Reply With Quote
  #2  
Old September 24th, 2002, 09:49 PM
ctredway ctredway is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Garland Tx
Posts: 39 ctredway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ctredway Send a message via AIM to ctredway Send a message via Yahoo to ctredway
Code correction in my article

In my article, the following code has an error in it.

<cfloop from="1" to="100" index="number">
<cfoutput>#number#</cfoutput><br>
</cfloop>

I left the step attribute out of the cfloop tag. The code should read like this:

<cfloop from="1" to="100" step="1" index="number">
<cfoutput>#number#</cfoutput><br>
</cfloop>
__________________
Clint Tredway
Need a website?
Need development help?
www.fishermenstudios.com
ctredway@fishermenstudios.com

Reply With Quote
  #3  
Old November 19th, 2002, 01:46 PM
texdc texdc is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 23 texdc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First of all, where's the follow up article?

Secondly, coming from PHP, CF seems like reinventing the wheel. I don't want to start a 'why is this better than that' thread, but what's wrong with the standard, C-based syntax?
Code:
if (foo==bar) {
    echo "foo equals bar";
} else {
    echo "try again";
}

Thirdly, does CF support OOP?

Reply With Quote
  #4  
Old November 19th, 2002, 01:54 PM
ctredway ctredway is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Garland Tx
Posts: 39 ctredway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ctredway Send a message via AIM to ctredway Send a message via Yahoo to ctredway
Well, all scripting languages re-invent the wheel, don't they?

Yes ColdFusionMX supports OOP.

Where ColdFusion shines is the ability for new comers to pick up the language. C-style syntax is sometimes more difficult for people new to programming to understand. Where ColdFusion has a tag based syntax that is easy to learn like HTML is.

The follow up article is coming.

HTH,
Clint

Reply With Quote
  #5  
Old November 19th, 2002, 02:16 PM
texdc texdc is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 23 texdc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, CF may look like HTML, but that's why it looks a little confusing to me. You see, HTML/XML is used to give a document structure, not logic. And as we all know, the better the seperation of structure, logic, and presentation, the better the design is. So, when I start scanning through a document to see what elements are used and how, if I run into a CF tag, I'm looking at what looks like structure, but really behaves like logic. Does that make any sense?

I'm not stupid, I can make that transition. It just doesn't seem like the normal way of doing things.

Just for the record, I avoid throwing PHP in my HTML as well.

Also, I'm looking forward to the follow up article, but I'll wait to download my 30-day trial of CFMX until then.

Reply With Quote
  #6  
Old November 19th, 2002, 03:04 PM
ctredway ctredway is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Garland Tx
Posts: 39 ctredway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ctredway Send a message via AIM to ctredway Send a message via Yahoo to ctredway
With ColdFusion you can seperate your 'logic' from your structure just as you can with PHP, ASP, or JSP.

I like CF because of its power and ease of use. I can build things much quicker in CF than in ANY other language period.

Clint

Reply With Quote
  #7  
Old November 19th, 2002, 03:16 PM
texdc texdc is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 23 texdc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Good. I look forward to the next CF article to see some more advanced examples.

Reply With Quote
  #8  
Old November 19th, 2002, 03:29 PM
ctredway ctredway is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Garland Tx
Posts: 39 ctredway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ctredway Send a message via AIM to ctredway Send a message via Yahoo to ctredway
What would you like to see covered?

Reply With Quote
  #9  
Old November 19th, 2002, 04:00 PM
texdc texdc is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 23 texdc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ben Rowe is currently doing a 6 part series covering registering logins in PHP with OOP. Now, I don't expect that kind of detail at all. But perhaps you could do this:

Show how CF can handle a login form, which is easy enough. Then, add a 'sendmail' class that notifies the webmaster when logins fail, as a pseudo security feature, perhaps after a certain number of failures. Then, take that 'sendmail' class and reuse it to handle a contact form, or a 'share this site with a friend' form, or....You get the idea.

You could also modify the login verify script to get the valid user's permissions and direct them to the appropriate page.

Is that too much? It could make a nice stepping-stone piece into more advanced OOP in CF.

If that's stealing Ben's idea, then maybe cover a CD/DVD collection database. First, list the entire CD/DVD collection with minimal info. Then, cover a sorting option, say by genre, title, length, etc. And finally a 'view record' script that shows the selected item's details. If you can weave a class or two into this example, it would be cool. Then you could reuse the 'vew record', or 'sort' class for other applications.

Also, be sure to cover database connection specifics. Like, how you specify the db's server, user, and pass info.

I know these aren't the most original ideas, but there's probably a reason why they come to mind so easily. I don't know. Maybe just pick something from your own experience that either took a while to figure out, or that you came up with a slick solution. BTW, You had to ask...

Reply With Quote
  #10  
Old November 27th, 2002, 07:08 AM
dgibson dgibson is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Urbana, MD, USA
Posts: 66 dgibson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
It's funny that most of the stuff you mention is so incredibly simple to do in CF (I know, not if you're not familiar with it), but then you say "make a class" for it, which is a whole other level of abstraction that many "seasoned" CF developers don't even get... Just an observation - not criticizing or anything.

Reply With Quote
  #11  
Old December 4th, 2002, 09:27 AM
danielpearce danielpearce is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 10 danielpearce User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 5 sec
Reputation Power: 0
Hi. is it possible you could cover integrating CF with Flash? (or at some point)

Reply With Quote
  #12  
Old December 4th, 2002, 06:39 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
It is possible. However i wouldnt know the code to do it. but it is possible.

Reply With Quote
  #13  
Old December 4th, 2002, 09:21 PM
ctredway ctredway is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Garland Tx
Posts: 39 ctredway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ctredway Send a message via AIM to ctredway Send a message via Yahoo to ctredway
I have a powerpoint presentation that I did for our local user group that I will convert and post it.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Article Discussion: Jump Start To ColdFusion MX


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 | 
  
 

Iron Speed




© 2003-2