Friday, April 19, 2013

ASP or PHP?

Hello and Hai,

After having our semester break which ended on 14th of April, our class has started as usual. This week, for authoring class we had been introduced to new topic, new knowledge and new media that can be used in teaching and learning. For past about 8 weeks, we had learn about Flash. Start this week which is week 10, we will learn about ASP and PHP which used in website development.

In class, we had been given handout which need to be done in class. Senang cerita adalah Class Activity. The handout is about the difference between ASP and PHP. So, let see what is the difference between ASP and PHP according to the article. :)

1. ASP: Active Server Pages
2. PHP: Hypertext Preprocessor.
- Both of this language are programming language. These languages are used to create websites.
- More dynamic which mean it allow users to interact and exchange information using the website's database.

Environment.
1. ASP
- Works with Microsoft alongside IIS or Internet Information Server.
- Need a Microsoft Server for the website to work.
- Just recently, ASP can run on LINUX with condition an ASP-Apache program is installed on its server.

2. PHP
- Runs using LINUX or UNIX server.
- Now, more updated PHP programs can run on an NT server.
- Also can run in Windows, Solaris, UNIX and LINUX.

Based Language
1. ASP
- Much similar to the syntax and interface of Visual Basic (VB) Programming because basically VB is correlated with Microsoft products.

2. PHP
- Uses C/C++ as base language.

Costing and Expenses
1.ASP
- Need to run on Windows with IIS installed so user will be need to purchase both of these components.

2. PHP
- Run in LINUX server which cost user for free.

Database
1.ASP
- Use MS-SQL as database which the product of Microsoft and user need to buy it.

2. PHP
- More flexible in terms of database connectivity.
- Can connect to several database and common database is MYSQL.
- MYSQL is free.

Loading Speed
1.ASP
- Slower than PHP as ASP uses an overhead server and is uses a COM based architecture.

2. PHP
- Code runs more quicker because it runs in its very own memory space.

Tools
1. ASP
- Might need to buy additional tools to work with its program.

2. PHP
- Tools associated with the program are mostly open source software and user will no need to pay for the additional tools.

Both ASP and PHP have its own advantage and disadvantage. Choosing a programming language is depend on the programmer. Some of the programmer maybe comfortable to use PHP because he or she is good in C++ or C language whereas programmer who is expert in Visual Basic will be comfortable to work with ASP. Apart from that, it will depend on the budget of the website development. If you have a limit budget you will try to seek something that can be get for FREEEEE.. Besides that, maybe you are concerns on website stability and speed. So, choosing a programming language will be depend on web programmer and needed.


*Windows NT
- Family of operating system (OS) produced by Microsoft, first version was released in July 1993.
- Powerful high-level-language-based, processor independent, multiprocessing, multiuser OS.
- Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Home Server, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8 and Windows Server 2012 are the members of the Windows NT family, even they are not branded using the names "Windows NT".

Love
-Vicki-

1 comments:

  1. Which one is your favorite? My personal preference would be ASP.NET as .NET is a Microsoft framework which is high in demand these days. People who have certification in any of the Microsoft technologies can grow their career very quickly.

    Best Regards,
    Crish Watson
    Pass Microsoft Certification Without Taking Exam

    ReplyDelete

If you have any questions please comment below.