Quote:
quote:
When considering a server-side scripting language, what would you consider the main points you look for.
|
Maintainability, Ease of future expansion, Usability (the language is intuitively useable and understandable), Object Oriented (based on a paradigm Iâm familiar with)
Quote:
quote:
Is Cost an issue(Obviously PHP free ) Asp.net ?Business use etc...
|
Cost is not an issue, both ASP.NET and PHP are free; the cost begins with the operating system and hardware. ASP.NET is generally run on Windows base machines, but can also be run on Linux (Apache with Mod Mono). PHP can also be run on either platform.
Quote:
quote:
What can one language do that the other cant?
|
Both languages are fairly mature. ASP.NET in my opinion facilitates Rapid Web Application Development better through its rich collection of server controls, and mature Integrated Development Environment. PHP is a loosely type language offering a little more flexibility, encapsulation, and a little more room for error.
Quote:
quote:
What can one language do more efficiently than the other?
|
Efficiency is negligible for most languages â with the abundance of cheap hardware and powerful processors, language efficiency is becoming less important. I believe Steve McConnell once said that â4% of the code accounts for 50% or more of a programs efficiency.â This suggests that we should focus less on efficiency and more on actually completing our applications.
Quote:
quote:
What features does one language have over the other?
|
ASP.NET applications can be compiled into modular components. ASP.NET applications have many rich controls and other widgets that can basically dragged and dropped into your website. Look into: DataGrids, Themes, Skins, SiteMaps, Breadcrumbs, ADO.NET, DataSets, DataTables, UIPAB, nUnit.
My two cents:
In the late 90âs ASP 3.0 and PHP were at par, when ASP.NET emerged in 2002 I was instantly won over by the code behind model and the many new features. Today, I still find PHP applications to be very script based (making them cryptic at times), whereas ASP.NET applications are more Object Oriented based. The Object Oriented paradigm makes code much easier to understand and maintain.
For more info see:
Advantages of ASP.NET over ASP:
http://en.wikipedia.org/wiki/Asp.net...P.NET_over_ASP
PHP Criticism:
http://en.wikipedia.org/wiki/Php#Criticism
- Adam Kahtava [
http://adam.kahtava.com]