Discuss New Concept,New Technic,New Tools, Including EAI,BPM,SOA,Tibco,IBM MQ,Tuxedo, Cloud,Hadoop,NoSQL,J2EE,Ruby,Scala,Python, Performance,Scalability,Distributed,HA, Social Network,Machine Learning.

ASP

Nov 252011
 
 [repost ]PHP Vs. JSP Vs. ASP  November 25, 2011  Posted by on November 25, 2011 at 8:57 am ASP, J2EE-Other, PHP-Basic Tagged with: , ,  No Responses »

original:http://www.tutkiun.com/2009/09/php-vs-jsp-vs-asp.html

Recently I was searching on languages for my project purpose. I was little confused about which technology I should use for designing effective front end. So I crawl through some pages and observed this difference between these user interface designing languages.

Sr. No.
Function / Feature
JSP
PHP
ASP .NET
1.
ProgrammingApproach
Completely object oriented
Advantage: Clean code
Disadvantage:
Too descriptive
Scripting with object oriented support
Advantage: Functional and quick coding, you can use OOP practices at your convenience
Disadvantage: May get clumsy
ASP is a server side script and it can perform many backend processing jobs for a web site, same way it can’t do many things particularly the client end operations as it has no control over the client end events or user controls.
Advantages: Cheap and cheerful, No client-side constraints, Very fast to put together, Fast execution (for a script), ODBC links to any data source
Disadvantages: ASP ties us to Microsoft and NT on the server-side, the concepts and DB interface easily translate to, say, Java), Bad interaction between server and developing code
2.
String and data manipulation
Rich library, too much descriptive and object oriented code
Rich functionality. Functional and easy coding.
Rich functionality. Functional and easy coding.
3.
Web Oriented features
  1. Includes
  2. Mails
  3. File Uploads
  4. Form Handling
  5. Sessions
Almost everything is built in or supported by libraries. Complicated and too much of code.
Inbuilt functionality. Easy to use functions, written for the specific tasks
Easy to use functions, written for the specific tasks
4.
Database Access features
Standard JDBC structure/ Use EJB/ Struts framework built over JDBC. Descriptive and too much overhead or boiler plate code involved. Uses the same API for all databases using JDBC drivers
Dedicated inbuilt libraries for most of the commonly used databases. Very tight integration with MySQL and PostGRESQL. Very minimal boiler plate code required. The libraries and results are straight forward and easy to use.
Tightly integrated with SQLserver.
5.
XML/XSL/XPATH
Use standard SAX/DOM parsers. Too much boiler plate code involved. Well defined APIs and stable implementations are available for XSL and XPATH
SAX and DOM parsers available are easy to use and to the point. Another library, Simple XMLprovides very easy OO approach to handling XML data. XSL and XPATH functionality is also built in.
ASP.NET supports XMLWeb services. An XML Web service is a component containing business functionality that enables applications to exchange information across firewalls using standards like HTTP and XML messaging. XML Web services are not tied to a particular component technology or object-calling convention.
6.
Extensibility
Java Classes and Libraries. Runs in sandbox and hard JNI approach needed to integrate with server programs.
PHP/C/Any thing executable by the underlying OS platform. Can very easily interact with programs on the server. Very good support for native code.
Microsoft has released some extension frameworks that plug into ASP.NET and extend its functionality
7.
Dynamic Graphics/PDF and bells and whistles
Almost everything has a readymade library
Supported internally or though libraries.
Supported internally or though libraries.
8.
Web Services/SOAP
Add-on Libraries like Axis, JAX-WS, etc.
In Built
In Built.
9.
Portals
Spec JSR-168 and 286
Many different Portal frameworks
Many different Portal frameworks




Conclusion:
                So there are many advantages and disadvantages of using any front end technology. But based on the application you are building languages vary according to it. For example If you want the platform independent environment then you can go with JSP and if you are viewing your page mostly on windows platform then ASP .NET is generally proffered. But if you ask me then I will recommend using PHP. There are many advantages of using PHP like its free of cost and most widely used. It also support Linux based systems.So you can view Linux web pages anywhere and on any platform.

Related posts:

  1. How to pick a programming language?