Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 18th, 2006, 09:15 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Asp.net v php

hello,
I am starting my 3rd year degree in computing at uni and I am writing a dissertation on php versus asp.

I was hoping you could share some of your expertise please, and share some of your knowledge by answering some

of the following questions. Please note that this is purely for my own

project to achieve my degree. The answers you give me will only be used in

my dissertation and referenced according,

When considering a server-side scripting language, what would you consider
the main points you look for.
Is Cost an issue(Obviously PHP free ) Asp.net ?Business use etc...
What can one language do that the other cant?
What can one language do more efficiently than the other?
What features does one language have over the other?
I basically need to get together some strong arguments that can be put together.
I need to be able to compare the language like for like and work out which
one has more advantages over the other in a constructive manor.

 Any help would be greatly appreciated.

One other option is to create a questionare and either post it on the site or if any individuals are willing to take part I will email the questionaire
again because of Plagiarism the information will be referenced accordingly.

Thank you very much

Paul

p.s I hope this is not irregular practice if so my apologies, just trying to use my initative and ask the people who are experts in the field

Thanks again


 
Old October 18th, 2006, 06:08 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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]
 
Old October 19th, 2006, 04:27 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Adam
Thanks for your reply
Your help is much appreciated
Thanks again
all the best


 
Old October 23rd, 2006, 11:07 AM
Friend of Wrox
 
Join Date: Feb 2006
Location: , , USA.
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I use ASP.NET every day and it is my employers development server technology of choice.

My biggest critisism of it, is that in abstracting developers from that client layer, meaning from the actual javascript and the actual HTML that browsers run with), it encourages some deterioration of client programming skills, and in some cases it allows for developers to never learn the actual client side code at all. This layer of abstraction with server side controls can make development faster, but at the cost of potentially some ignorance, which can in many instances be costly in time debugging. Also if you actually do get into the client code the server controls produce, you will find the code it produces can be ugly to the human eye. Call me vain but I do appreciate elegant looking code to work with and I do spend time towards that effort where possible.

I haven't yet worked with the ASP.NET AJAX controls (which is still in Beta) but I fear this may only get worse as clients become thicker with the demand to provide more windows-like application interfaces in web applications.

I have a couple of ideas for improving this but thats beyond the scope of what you are looking for. Hope this helps.






Neil Timmerman
Programmer
Veris Consulting




Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP VS ASP.net nandar_hayhay ASP.NET 1.0 and 1.1 Professional 1 January 5th, 2008 03:22 PM
How to integrate the PHP Module with Asp.Net amit_avesh@yahoo.co.in ASP.NET 1.0 and 1.1 Professional 2 September 5th, 2006 01:30 PM
integrate the php module with asp.net amit_avesh@yahoo.co.in VS.NET 2002/2003 0 September 5th, 2006 05:31 AM
ASP.NET vs. PHP Aaron Edwards ASP.NET 2.0 Basics 0 May 6th, 2006 12:51 PM
ASP.NET and PHP Prabhakar_dt VB Components 0 September 9th, 2005 04:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.