0% found this document useful (0 votes)
2K views

ASP Vs PHP Vs JSP

The document compares and contrasts three web development technologies: ASP, PHP, and JSP. For each technology, it outlines what is required to use it, advantages, disadvantages, and example editors. It provides the most detailed information about ASP, describing what is needed to install and run it, including IIS web server, text editor, and optionally a database like Access. It also provides example "Hello World" code snippets for each technology.

Uploaded by

tigre73
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

ASP Vs PHP Vs JSP

The document compares and contrasts three web development technologies: ASP, PHP, and JSP. For each technology, it outlines what is required to use it, advantages, disadvantages, and example editors. It provides the most detailed information about ASP, describing what is needed to install and run it, including IIS web server, text editor, and optionally a database like Access. It also provides example "Hello World" code snippets for each technology.

Uploaded by

tigre73
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ASP vs PHP vs JSP

by ASP Source Community http://www.oasitech.it/asc Guide on the three most used technologies on the world for web applications; in add there are ASP.NET ColdFusion and Ruby & Rails. I have deeply used all the three technologies; although I like more JSP I have used extensively ASP for economical scopes and for its simplicity and now Im using its successor ASP.NET that one can learn simply starting by ASP. ASP.NET is the most powerful web technology on the world Dino Esposito Remember this when start to learn a technology, ASP is similar 100% ASP.NET Legend

5 7 8 10

Features/Technology Languages Interconnection Databases with

ASP
JScript, VBScript Good, great couple with MS Access IIS Weak, separation from HTML absent

PHP
PHP Good, used mainly with MySql Apache Weak, although there are many framework

JSP
Java Very Good

Web Server Language packaging and reusing

Editors free commercials Hosting popularity

or

Visual Studio, Primalscript(comm ercial) Very good, coupled with ASP.NET

Many, example Netbeans Extremely high, based on apache

44

Tomcat, JBoss Strong, Java is the best language on the world, packaging reusing and framework are all present Many, Netbeans is great develop tool Poor and expensive

Score

42

47

ASP
Stand for Active Server Pages. It was developed by Microsoft in the end of the 90s in conjunction with Visual Basic language and is still used by many websites all over the world. Languages: you must use scripting languages as VBScript or Jscript. VBScript is a limited version of VB6, Jscript is Microsoft implementation of Javascript. ASP is very similar to JSP, It use the same construct to build web pages, as directives inclusions and scriptlets <% %> An Hello World webpage in ASP is written as

<% Response.write hello world %>

What you need to run ASP Microsoft IIS webserver

If have windows XP professional Ed you have already this tool, from XP to win 7 you have already like well. A Text Editor, as Notepad or much better download Visual Studio 2012 express edition(visual studio for web); it support classic asp, simply save you pages with .asp extension and intellisense is enabled Optionally a Database engine, ASP is well coupled with Access, a tool present in Microsoft Office suite

Advantages: simplicity, hoster economical plans, MS Access coupling, you dont need optional databases, usually companies give the possibility to use any number of Databases instances and tables Disvantages: weak possibility to reuse the code as in JSP, no possibility usually to use dll libraries on the hoster (installation anymore permitted because it is not more supported, .NET technology is only supported) Links http://aspwebpro.com/tutorials.asp

Installation: 1. Install IIS by windows programs in Control panel installing also support for scripting languages 2. Enable ASP pages under IIS properties 3. If you use Visual Studio warning to set a right configuration to debug ASP Some ASP editor

Free MS Visual Studio for web 2012 http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-web Hap edit http://hapedit.free.fr

Commercial Primalscript http://www.sapien.com/software/primalscript

PHP
Stand for Hypertext preprocessor. PHP is the most widely used web technology on over the world, It is developed by an open source consortium. An hello world page in PHP can be written as: <?php Echo Hello World; ?> What do you need to use PHP Apache 2.2 web Server It can be installed on any PC downloading the installer or tar.gz package on the apache foundation website PHP language Downloading It by the php.net foundation website PHP web editor, many are present nowadays, example Netbeans open source editor, a great Java based editor released by Netbeans foundation website Optionally a Database engine system, MySql for example

Advantages: language simple to understand (C syntax), open source tools, numerous the hosting companies, windows or Linux based. Disvantages: boring to install sometimes, language dont have packaging, reuse is not so easy, so you have weak code reuse possibility, applications prone sometimes to errors because the continuos developing of the language; not present a company so there are some lacking of coordination.

Links http://www.apache.org http://www.php.net http://www.mysql.com http://www.apachefriends.org/it/xampp-windows.html http://www.wampserver.com

Some PHP editor Free Netbeans http://www.netbeans.org Eclipse PDT http://www.eclipse.org/projects/project.php?id=tools.pdt

Commercial Zend Studio http://www.zend.com/en/products/studio Delphi for PHP http://www.codegear.com/en/products/delphi/php Komodo http://www.activestate.com/komodo-edit

Installation You can install Apache, PHP &MySql separately or use a packaged version of all three tools, exampleXampp. For 1st method here is a very good guide http://www.geeksengine.com/article/install-php-on-windows.html

JSP
Stand for JavaServer Pages. It is Sun proprietary technology now acquired by Oracle company What do you need for this Tomcat web server (or another Servlet container) You can download It from apache foundation website JDK 1.7 You can download It for free by Oracle website Optionally a Database engine, many are present(MySql, Postgres, MS Sql server 2008..) An editor, many are present, example Open Source Netbeans developer tool, downloading It by Netbeans foundation website

Adavantages: Java language is Master language, it provides code reuse(JavaBeans classes), code separation(Servlet, Javabeans and more), Java syntax is clear and beautiful, JSP is structured as ASP, similar in all things(Microsoft useful take better things by other technologies, JSP is one of this) . Many editor you can use, many libraries open source are present all over the WWW, you can install libraries on your hoster simply uploading jar files. Disvantages: hosting companies are few and price is high. Links http://tomcat.apache.org http://www.oracle.com/technetwork/java/javase/downloads/index.html http://java-source.net http://www.neatbeans.org Some JSP editor Free Netbeans http://www.netbeans.org Eclipse http://www.eclipse.org Commercial JCreator http://www.jcreator.com

Installation 1. Download and install JDK 1.7 2. Download and install Netbeans (or Jcreator or other) 3. Install Apache Tomcat, this can be done during Netbeans installation

You might also like