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:
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 May 6th, 2002, 02:21 PM
Jael2222 Jael2222 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 12 Jael2222 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Best webscripting languages?

What are some of the reasons to choose one webscripting language over another?

I've heard lots of debate that PHP is better and ASP, and from personal experience I lean heavily toward PHP and pretty much detest Microsoft's ASP.

Now all that would be good, but on a lot of big-name websites like hp.com, dell.com, and others I've looked at, I hardly see any PHP. Most of the time, I see the .asp on their URL's, or a regular .htm extension (which confuses the hell out of me... how do they manage massive sites with no scripting, or is something going on I don't see). Why do so many independent coders seem to use PHP and commercial sites use something else?

Reply With Quote
  #2  
Old May 6th, 2002, 06:37 PM
feddman feddman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 4 feddman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First off, large companies are a little apprehensive to use a product that isn't commercial and doesn't have a traditionally line of technical support. Their loss, I think PHP parses web pages a whole lot faster than an IIS server can dish out Awfully Slow Pages (ASP).

The sites you mentioned are also heavy Microsoft clients. Of course they use ASP. There are a large number of corps using PHP, such as Mitsubishi, Redhat, Der Spiegel, MP3-Lycos, Ericsson and NASA.

Apache webserver can be, and often is, configured to parse PHP pages with a filename extension of .html or .htm rather than .php. They may be using PHP and you don't even know it; a great security benefit of PHP!

Reply With Quote
  #3  
Old May 6th, 2002, 09:12 PM
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 feddman
a great security benefit of PHP!


This doesn't have anything to do with PHP, given that this is dependent on the configuration of your web server. You can do this with perl, mod_perl, jsp, or whatever language you feel like, and probably any webserver too (though I'm only speaking from my experience with apache).

Reply With Quote
  #4  
Old May 7th, 2002, 04:06 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
Why do people use ASP instead of PHP... that's a tough question. Maybe PHP isn't taught at Universities.
Maybe ASP has better literary support.
Maybe people don't realise you can get PHP for Windows and IIS.
Maybe people are used to Visual Basic.
Maybe people have the Windows Os and think that ASP is more likely to integrate seamlessly than PHP.
Maybe it's because you can buy ASP modules more readily and they come with support.
Maybe they haven't heard of PHP.
Maybe one person in the company likes ASP, and that person is the boss.
Maybe people use SQLserver or Access and think ASP is the obvious partner.
Maybe the world has gone ASP mad.

Who knows why individual companies choose ASP over PHP. The thing you should be concerned about is why you should choose one, or both, of them (the current project I'm working on mixes and matches the two, so no winner there!). Don't worry that PHP is no good because big companies use ASP, big companies are very often MS orientated and therefore ASP is the only choice they'd consider.
__________________
- Sorted!

www.ppfuk.com - Free Photo Sharing

Reply With Quote
  #5  
Old May 13th, 2002, 03:04 AM
Datamike's Avatar
Datamike Datamike is offline
Web Developer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2001
Location: Finland
Posts: 719 Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 27 m 33 sec
Reputation Power: 9
There is no way to argue with is better, ASP, PHP, or perhaps Perl. Those are the debates that never end and only end up with bad endings. Why people use the other, is kinda like why people like different cars or like different cloths. They are both good, and actually I'd recomend you learn them both, if you really want to be into web programming.

Companies, safe really big companies, don't generally have their own web departments, but they hire web designer from another company. Sometimes the company says that they wish to use some exclusive technology; like MySQL, and PHP. But sometimes they tell us to make it in ASP or Perl. It depends a lot on what server their site will be running. If it is a unix system, then PHP or Perl will most likely be the right options.

As a last note, though often web sites use .php, or .asp prefix, it is not the law of universe. Check netscape or intel.com. Can you truly say what technology they are using just by looking at their sites? I can't...
__________________
-- Tomi Kaistila
-- Developer's Journal

The more you learn, the more you know.
The more you know, the more you forget.
The more you forget, the less you know.

Reply With Quote
  #6  
Old May 15th, 2002, 03:19 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
Bet you that Intel uses asp though. The wintel alliance would suggest such a move. And netscape, server side javascript? Not asp though, logically.

Reply With Quote
  #7  
Old May 15th, 2002, 10:53 AM
Fataqui Fataqui is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Location: Boston Ma.
Posts: 1,530 Fataqui User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 42 sec
Reputation Power: 0
Hi

Why choose one, use all of them!


Basic fact is that no one language, will do everything better than another language.....


The concept, of running a site on one language is rather lame to me. You should not design a back-end of a web site/service based on a language, but more so, on how safe and productive your service will be under that language! You will always find Perl does things better than PHP, for something's, and it goes the same way for PHP doing things better than Perl. It is like this no matter which type of language you use!

Each language has a place in the global infrastructure of the Internet today!


F!

Reply With Quote
  #8  
Old May 15th, 2002, 11:01 AM
peterg's Avatar
peterg peterg is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40 peterg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
How about Coldfusion ?

Well,

I was quite happy with PHP and Perl until a colleague suggested trying Coldfusion. Only problem was I couldn't afford the megabucks Macromedia want for the full version so am now running (free) Coldfusion Express on my Linux box.

I found that it's a quite nice to develop in - it's not as low-level as PHP so you can be creative quickly - good for a newbie to build confidence. It has an interface to MySql as well, although the MySql parameters need a bit of tuning for best results. What did surprise me was that the database search/return times in CFE and PHP were comparable.

As the Express version is feature-limited I had to revert to writing a Perl CGI to handle one particular aspect of a registration system I wrote. Apart from that I was pleased with it. I bought a language guide quite early on that has helped a lot. Apparently anything you write in CFE can be run by the full version without modification - very helpful. The nicest feature for the developer is the optional debugging info which can be displayed at the end of each page - this can be set by IP address - great for developers!

So, in summary I'd use PHP for my WAP development or where you have to send out special headers, Perl for when I need to do something unusual, and Coldfusion if I need to get something up and showing very quickly.

Hope this helps!

Reply With Quote
  #9  
Old May 16th, 2002, 02:59 AM
Datamike's Avatar
Datamike Datamike is offline
Web Developer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2001
Location: Finland
Posts: 719 Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 27 m 33 sec
Reputation Power: 9
Quote:
Originally posted by Fataqui
The concept, of running a site on one language is rather lame to me. You should not design a back-end of a web site/service based on a language, but more so, on how safe and productive your service will be under that language!

I agree that using multiple languages does give you great freedom and a lot of options. But when it comes to building a web service or a simple site, it makes not much sense that you mix multiple languages on the same site -- unless you have a good reason for it. For instance, mixing ASP and PHP on the same site or mixing Perl and PHP sounds rather unnecessery. I have yet to meet a problem in web programming that could not be done with either ASP, PHP, or Perl alone. Rather you should think which tool to use for each project.

Or that's how I see it at least.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Best webscripting languages?


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.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway