Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 6th, 2010, 05:13 PM
Authorized User
 
Join Date: Oct 2010
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default while people say that PHP is easier than ASP.NET?

Hi,

I want to know why people keep saying that PHP is easier than ASP.NET, I tried Imar book and it seems that ASP.NET is easier for me. Or will be complicated when I grow learning in asp.net comparing to PHP? I want to understand the point that PHP is easier than ASP.NET!
Reply With Quote
  #2 (permalink)  
Old November 7th, 2010, 05:44 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

That's so good to hear. That means my book makes ASP.NET easier to learn than PHP! ;-) I see that as a big compliment.

In general, PHP is more accessible to people. It doesn't require you to download 2 Gig of development tools, wait for a day until everything is installed, and then find out you need to know more about object orientation, page life cycles and what more.

Especially in the beginning, PHP is easier to begin with. The first Hello World example can be done in seconds or minutes, rather than hours or days.

After that, it all depends on how you pick up things, and what you prefer. Obviously, I prefer ASP.NET.....

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #3 (permalink)  
Old November 14th, 2010, 09:27 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

I would add that in general you still have to install PHP and an Apache server at the bare minimum to get anything done with PHP. You probably have to set up MySQL too. In that respect you can do some lite DB work in Visual Studio without a separate install. The express editions are free like PHP, and there is one location, www.asp.net where you can download everything you need. PHP you have to choose from an assortment of packages on the official website, and many people prefer a single installation stack. While easier to install, you can end up spending a significant amount of time research which one you are going to choose. As you can tell, I hate the server admin part of web development, and on that score I find PHP no better, and probably more difficult than .NET.

On the other side, PHP is so flexible that you can accomplish what you want to do in almost any way you want to do it. Many people like this in PHP, and it does make it easier to get started coding. However, it also allows people to wildly violate best practices. I should be clear, I know many PHP developers who are truly top flight and I have a lot of respect for them. However, OOP was developed and introduced in 1979 by some brilliant procedural developers who were intent on improving significant faults in the language. 30 years later it's adoption is still an invitation to a flame war on some PHP forums and mailing lists. I respect that OOP is not necessary for a short two line script, but it's superiority for application development is uncontestable after all this time. In that respect, there are parts of the learning curve of quality C# development that are not about learning this system vs. that system, but learning to develop professionally vs. hacking away at amateurish code. It's certainly possible to write bad .NET code, but the aggressiveness of the C# compiler on its default settings is a fantastic way to learn and require yourself to learn what you're doing and some of the fundametal principles you need on your professional journey. That's absolutely something I like about .NET.

And of course, Imar rocks at explaining it clearly. :)
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 6 - where is the file people.php? Arjan BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 6 April 7th, 2017 01:14 PM
more easier kulfi BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 0 July 25th, 2010 01:48 AM
PHP VS ASP.net nandar_hayhay ASP.NET 1.0 and 1.1 Professional 1 January 5th, 2008 03:22 PM
Asp.net v php Ducca571 ASP.NET 2.0 Professional 3 October 23rd, 2006 11:07 AM
ASP.NET vs. PHP Aaron Edwards ASP.NET 2.0 Basics 0 May 6th, 2006 12:51 PM



All times are GMT -4. The time now is 08:20 AM.


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