Which scripting language to start with?

Reply

Join Date: Apr 2004
Posts: 353
Reputation: Asif_NSU is on a distinguished road 
Solved Threads: 3
Asif_NSU's Avatar
Asif_NSU Asif_NSU is offline Offline
Posting Whiz

Which scripting language to start with?

 
0
  #1
Jun 12th, 2005
I have realized that I should start learning some scripting language from now on. So where do I start? Perl, PHP, asp, javascript etc.
I mean which language would be better to start with?
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 21
Reputation: dewman is an unknown quantity at this point 
Solved Threads: 0
dewman dewman is offline Offline
Newbie Poster

Re: Which scripting language to start with?

 
0
  #2
Jun 13th, 2005
That all depends... what do you know already as far as coding goes (languages) and what exactly do you want to do with it.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 20
Reputation: vimkar is an unknown quantity at this point 
Solved Threads: 0
vimkar vimkar is offline Offline
Newbie Poster

Re: Which scripting language to start with?

 
0
  #3
Jun 17th, 2005
well the easier and the most used around the internet is php ....
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 353
Reputation: Asif_NSU is on a distinguished road 
Solved Threads: 3
Asif_NSU's Avatar
Asif_NSU Asif_NSU is offline Offline
Posting Whiz

Re: Which scripting language to start with?

 
0
  #4
Jun 18th, 2005
I was just looking for a place to start from, no special purpose.

php? hmmm, I was thinking the same. But what about perl? Isn't it a good place to start with too?
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 21
Reputation: dewman is an unknown quantity at this point 
Solved Threads: 0
dewman dewman is offline Offline
Newbie Poster

Re: Which scripting language to start with?

 
0
  #5
Jun 18th, 2005
Really any script language is usefull if you know what you are going to use it for. I mean no disrespect to vimkar, as he is entitled to his opinion, but php as with any script language really is useless if the server you are using doesn't support it. This is why I asked what you were wanting to do with it... what server support do you have... meaning what can you run? are you limited to just php? Or can you use any language and your server will handle it. If you just want to be able to alter the look of a page use xml and html. If you want to be able to do Database connectivity then you have different options. What you want to do and what choices you actually have ( support wise ) is what is really going to decide for you what you should be learning. Another thing that is going to influence the decision is are you a beginner or a seasoned programmer?

Myself I use ASP, JavaScript, DHTML, XML mainly because all the servers that I use are Windows Servers so it works well and there is no need for PHP or Perl (though knowing perl can help with expressions even in VBScript and JavaScript) since I can do it all without them.

Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 19
Reputation: ewomack is an unknown quantity at this point 
Solved Threads: 0
ewomack ewomack is offline Offline
Newbie Poster

Re: Which scripting language to start with?

 
0
  #6
Jun 19th, 2005
Javascript is a good place to start - it's still being used and introduces curly-brace syntax programming. It's pretty simple, also.

Perl is great, but it's intentionally too flexible for an absolute beginner. Javascript is more standardized.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 354
Reputation: Troy is an unknown quantity at this point 
Solved Threads: 5
Troy's Avatar
Troy Troy is offline Offline
Posting Whiz

Re: Which scripting language to start with?

 
0
  #7
Jul 2nd, 2005
Let's define "web development". A "web application" can mean a lot of things. My loose definition is any web page that DOES something. If the page content is altered based on user input, that's a web application.

Understand there is client-side and server-side coding. Which end of the transaction you choose to do the programming is based on a few factors. For example, if you simply want a user to enter 2 numbers into two text boxes, click an "Add" button and see the mathematical result, you could easily do this in client-side script. There would be no reason to do this server-side, although you could.

On the other hand, if you want to interact with a database or retrieve content from a third-party website, you'll need to use server-side script.

By far, the most common language used for client-side scripting is Javascript. Understand that Javascript is NOT a scripting subset of Java. The two programming languages are not even related except they share a C-like structure that many languages do. With IE on Windows, you can also use VBScript for client-side script. You can also use Java Server Applets that run on the client. (Again, Java is not Javascript.)

Your server-side programming language choices are much more varied. Some of the most popular in alphabetical order include:

  • ASP (VBScript or JScript)<<
  • ASP.NET (VB.NET, C#, etc.)<<
  • Cold Fusion<<
  • JSP (Java)<<
  • PERL (CGI - style)<<
  • PHP <<
ASP and ASP.NET are not really "languages" themselves. Instead, they are an architecture in which you use languages such as VBScript in ASP or C# in ASP.NET to program web apps. This is similar to CGI in that CGI is not a programming language. It is an architecture in which you can use languages such as PERL to do web dev.

Now for my quick opinions on what you should use. You may think you want to pick your language based on the "best" language or the "fastest and/or most efficient" language or the "most powerful" language. I'd argue, you want to go with what you think is most likely to land you jobs and make you money. Which one will give you the best return on your investment for the long haul?

"Classic" ASP, as it's now called since ASP.NET hit the scene, is Microsoft's "old" way of doing webdev. This means that it will be increasingly difficult to get support from Microsoft for ASP and VBScript. You'll start to see the amount of online code examples drying up. I really liked ASP, and I felt Microsoft abandoned me when they launched ASP.NET. Classic ASP is actually more like PHP than it is like ASP.NET.

ASP.NET. What do I like about ASP.NET? You get to use "real" programming languages such as VB.NET and C# to do web dev. So the language you learn lets you write not only web apps but full desktop apps, too. Actually there are a LOT of languages supported within the .NET architecture, so you can use Python, Cobol, and many others. However, I tried to apply my ASP experience to ASP.NET and found that just about NONE of it applied! I'm not kidding. Microsoft really confused web dev with .NET in my opinion.

Cold Fusion. Huh? Never heard of it? It's almost like that now. I don't know anybody using it. But I'm sure it has some fans out there. I never used it, but I believe it was very easy to use with nice features for quickly building data-driven web apps.

JSP is the Java way to do web dev. It has some of the same advantages I mentioned with ASP.NET. Personally, I'd pick Java over .NET..but of course we already established that I don't like .NET I've had JSP programmers tell me that setting up the server environment for JSP can be a daunting task. I don't really know. Java is definitely a great language, very popular, and since it is not a Microsoft language, it does not stand the chance that it will be abandoned in 8 months for the next "great" thing. You can make lots of money as a Java programmer....so return on investment is probably one of the best.

CGI (using PERL or otherwise) is "old school". I don't know of any advantages or reasons to keep using CGI when we have the newer integrated web development methods. It was great, but we have better methods now that offer better performance.

PHP is what I use now. I started web dev about 10 yrs ago doing CGI with the PL/B language. Then I moved to ASP/VBScript and SQL Server for many years. When Bill launched .NET, I reviewed ASP.NET, then quickly moved to PHP and MySQL! PHP won me over VERY quickly. I also enjoy that I can use PHP for all my shell scripting needs. PHP is a very popular webdev language and well supported. Oracle announced last year they are now including PHP in their products. PHP, unlike ASP/ASP.NET can be used on UNIX, LINUX, and Windows platforms.

Troy's Conclusions: If your goal is quickest path to powerful webdev with a language that will reward you for many years to come, PHP is an excellent choice. If your goal is powerful webdev, ability to also develop desktop applications, and to make as much money as possible, Java will reward you well.

DISCLAIMER: Opinions are like....well you know.
Troy Wolf is the author of SnippetEdit. "Website editing as easy as it gets." IX Web Hosting
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 69
Reputation: bkendall is an unknown quantity at this point 
Solved Threads: 0
bkendall's Avatar
bkendall bkendall is offline Offline
Junior Poster in Training

Re: Which scripting language to start with?

 
0
  #8
Jul 8th, 2005
I agree with some of the others, if you have limited programming skills and already know html well, then JavaScript is a pretty good starting place.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 353
Reputation: Asif_NSU is on a distinguished road 
Solved Threads: 3
Asif_NSU's Avatar
Asif_NSU Asif_NSU is offline Offline
Posting Whiz

Re: Which scripting language to start with?

 
0
  #9
Jul 8th, 2005
Thank you all specially Troy for his detailed explanation.
I actually do not have any specific purpose for learning scripting languages. I want to start with the one that will give me an in-depth understanding of web-dev and webapps. Also I have a plan for learning other languages once I start with one. I am not an absolute beginner in the sense that I have experience with C and C++.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 52
Reputation: m-soft is an unknown quantity at this point 
Solved Threads: 0
m-soft m-soft is offline Offline
Junior Poster in Training

Re: Which scripting language to start with?

 
0
  #10
Sep 19th, 2006
I knew some c/c++ and I start to learn PHP.

After 6 years I used the same, php
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the IT Professionals' Lounge Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC