Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

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:
Learn five alternative approaches for automating the delivery of Excel-based reports. Read all about it in the free whitepaper: “Automating Excel Reports: Five Approaches for Java DevelopersDownload Now!
  #1  
Old May 17th, 2002, 06:32 PM
Culpepper Culpepper is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: California
Posts: 3 Culpepper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Culpepper
Question What language is best? Shall I learn?

Ok, which is better? ASP, CFM, PHP, or what?

I read some article about this in one of those posts. But I need to know which language to learn.. Which do you think would be the best? That is Easy to learn, Fast, Easy Database Intergration(that is fast), Easy language to get the concept of... I know a little ASP and Cold Fusion, I couldnt grab the concept for ASP, and Cold Fusion was extremely easy to learn, but with the Databases and the ODBC connection, it ran way to slow.. and PHP has a ton of hosts for low costs, with MySQL support also., but I dont know the langauge. So I just wanted to get your feedback on what you would prefer. Either ASP, PHP, CFM, JSP, Perl, etc.

Just post with what you would think would be easier and faster, and also support your statement with come comments please. Thank you

Reply With Quote
  #2  
Old May 18th, 2002, 04:21 PM
phoenix_rizzen phoenix_rizzen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Kamloops, BC, Canada
Posts: 55 phoenix_rizzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
ASP is a Microsoft-only development platform. If you ever decide to change web servers or even server OS, then you will need to re-do everything from scratch. There are ASP implementations for non-MS platforms, but they are expensive and lagging behind in features/support.

Never heard of CFM. Anyone else care to comment??

JSP requires a hefty web server/Java application server to run. Also requires that you learn Java. This is not really a scripting "language" per se. I've never used it, so can't really comment on how easy/hard it is to use. Anyone else??

PHP is platform-neutral. It will run on Windows, Unix, probably MacOS, and several others. It's also web server agnostic. It's fairly easy to learn (I picked up enough to build a single-page website with collapsing nav menus in just over a week), and is quite fast.

Then there's Perl. I don't have anything nice to say about it, so I won't say anything.

The above are server-side scripting languages. Those are the ones you would be wise to concentrate on. Te beauty of server-side scripting is that the client web browser only ever sees standard HTML/XML. You don't have to worry about client compatibility -- just code to the standards are you're done. If anything doesn't render, then it's a client issue. Plus, the client will never see your scripts and won't really be able to figure out what your doing.

Java/ECMAScript and VBScript are client-side scripting languages. The entire script is downloaded to the client and executed there. This can lead to problems as each browser must implement their own Java/ECMAScript engine -- and there haven't been two browsers that render Java/ECMAScript the same way. Hell, there are problems with the Java/ECMAScript engines just between minor versions of some browsers (Navigator 4.77, 4.78, and 4.79 all have different JavaScript engines). This can lead to having to code multiple versions for multiple browsers and can seriously bloat your pages (nobody should have to download 100KB text files to see your homepage).

VBScript is similar, but only available on MS OS using MS browsers. Same issues as Java/ECMAScript.

IOW, your best bet would be to learn either PHP or Perl. My suggestion would be to learn PHP as it won't teach you as many (possibly) bas habits as Perl --> plus, it's easier to learn as PHP is strictly for scripting websites. Perl can be, and is, used for anything and everything.
__________________
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
-------
Have you read The Handbook yet?
How about The FAQ?
Have you searched the mailing lists?
Or read any of the man pages?
Have you searched the web for BSD resources?
In short, have you done your homework yet?

Reply With Quote
  #3  
Old May 20th, 2002, 04:18 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
CFM - Cold Fusion

Like you say, Cold Fusion is very quick, easy, and powerful (but like all others, it can run slow).
ASP runs best on MS products, and even then it's a bit touchy. So that leaves PHP,Python,Perl and a few besides. Personally I would say PHP as it's becoming de riguer as a server set up (*NIX/PHP/MySQL).
__________________
- Sorted!

www.ppfuk.com - Free Photo Sharing

Reply With Quote
  #4  
Old May 21st, 2002, 04:04 AM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
All else being equal, I agree with binky. PHP is fairly easy to learn, it's common, and it's a good place to start for branching to other languages with similar syntax (javascript, java, perl, c/++).
Otherwise, JSP can do some really amazing stuff, and if you're looking for skills that could lead to corporate employment, not free-lancing, I'd say JSP would be a very good learning investment.
I wouldn't touch ASP with a 10 foot pole. The only redeeming feature of the language is that it's easy for a VB programmer to learn (I'm not a VB programmer).
Cold Fusion is about the same as ASP for me. The server software is expensive and the deployment base limited. However, I have heard really good things about the language. You're looking for a first language, though, and I doubt you're wanting to go from CFM to HTML =)

Reply With Quote
  #5  
Old May 21st, 2002, 04:57 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
Occasionally though you may well be asked to use ASP (at work here we use ASP and PHP, though I concentrate on the PHP side, and many ASP people now think PHP is the way they want to go). So in the end, you may well have to learn enough to get by in both.

The thing to learn is that most languages follow the same content:

variable.command, or
action(variable).

Even VB and C++ aren't worlds apart. SQL on the other hand though...

Reply With Quote
  #6  
Old May 21st, 2002, 08:46 AM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,632 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 12 m 33 sec
Reputation Power: 76
Send a message via AIM to Hero Zzyzzx
Not starting a holy war, but:

If all you want to do is create web pages, PHP is great. That's what it's made for.

If you want to learn a mature, general purpose language that also happens to be very, very good for web programming, then learn perl.

Comparing the two and saying that one is better than the other is pointless, they have different foci. It's like saying a jet-ski is better than a cruiseliner, it depends on what you need.

I use both, I like both. It's newbies that tend to get in these language duels, without understanding that a language is a tool, and your tool should fit your need.

Reply With Quote
  #7  
Old May 21st, 2002, 09:01 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
But, a jetski is sooo much better than a cruise liner. One is a fun, fast and precarious mode of travel, while the other is ful of geriatrics and people doing cabaret... I know which I'd choose.

Good point re: Perl

Learn every language, it's more fun. And if you run out of new languages, then start on Spanish, French, German, Chinese etc...

Reply With Quote
  #8  
Old June 3rd, 2002, 02:56 PM
php_rocks php_rocks is offline
<?php
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Wyoming, USA
Posts: 41 php_rocks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
PHP Baby!

Definetly learn PHP. It's a good first programming language to learn.
__________________
"I speak English, can you type it?" -Everett_XML

Reply With Quote
  #9  
Old June 10th, 2002, 03:14 PM
Waltjp's Avatar
Waltjp Waltjp is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: NJ, USA
Posts: 91 Waltjp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 8 sec
Reputation Power: 6
My knowledge extends from Java to VB with some heavy HTML and SQL thrown in. I've done some ASP work but I don't like that it's platform dependent. One of the things I like about PHP is the ability to access Java classes.

Walt

Reply With Quote
  #10  
Old June 20th, 2002, 08:01 AM
Darth Evad Darth Evad is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Ontario, Canada
Posts: 56 Darth Evad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 2 sec
Reputation Power: 7
I just went through the same thing. I decided to go with PHP.
Why?
Quote:
PHP is platform-neutral. It will run on Windows, Unix, probably MacOS, and several others. It's also web server agnostic. It's fairly easy to learn (I picked up enough to build a single-page website with collapsing nav menus in just over a week), and is quite fast.

That's why.
I bought a book called BEGINNING PHP4. It is very good. Especially for someone who knows nothing (or very little) about other programming languages.
www.wrox.com

Reply With Quote
  #11  
Old June 20th, 2002, 08:55 AM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,632 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 12 m 33 sec
Reputation Power: 76
Send a message via AIM to Hero Zzyzzx
Quote:
Originally posted by Darth Evad
PHP is platform-neutral.


This is fine, but nearly all open-source web programming languages fit this description- perl and python certainly do. So does java. Some are even MORE agnostic than PHP- look at perl's very mature DBI.

PHP is a fine choice, but this is an incomplete reason to use it. It is, however, a reason to choose it over ASP.

By all means, add it to your toolbelt, but realize that it is just another tool.

Reply With Quote
  #12  
Old June 20th, 2002, 03:11 PM
res novus res novus is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: NH
Posts: 1 res novus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to res novus Send a message via AIM to res novus
Good beginner language

I agree totally that all languages are the same in that they are a tool. I first started learning programming about 2 years ago. I began with a language that is not exactly newbie friendly, but no too bad. I started with Java 2.
The ease of learning any language depends greatly on where you learn it. When you are new to programming, there are certain principles that are essential to even understand it. A good tutorial or book (preferrably a teacher) will ground you in these first.
After reading in on Java 2 for a couple months, I got to a place where I was totally confused. So I started learning another language- Javascript. This is, I admit, only for web page and internet use, but it helped me get some good principles down.
Any language you choose is good to learn, but the big ones like C and Java can be daunting to start out with. I hope this helps...If you want to learn some introductory languages like Javascript, check out URL I learned a lot from that site

Most of the languages that have been mentioned are great choices. However, don't limit yourself to one language. The more of them that you learn, the easier it is to learn new, more complex ones.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > What language is best? Shall I learn?


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
<