Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP 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 Display Modes
  #1 (permalink)  
Old January 15th, 2009, 02:44 AM
Authorized User
 
Join Date: Dec 2007
Location: greaternoida, u.p, India.
Posts: 66
Thanks: 9
Thanked 2 Times in 2 Posts
Send a message via AIM to sandeepgreaternoida Send a message via MSN to sandeepgreaternoida Send a message via Yahoo to sandeepgreaternoida Send a message via Skype™ to sandeepgreaternoida
Exclamation difference between php and .net

what is the basic difference between php and .net ....i personally feel that most of the people use php rather .net.
which is good and easy to learn
Reply With Quote
  #2 (permalink)  
Old January 15th, 2009, 05:35 PM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,652
Thanks: 3
Thanked 141 Times in 140 Posts
Default

What's the difference between English and Hindi?

They are both languages. There are a few root words and root grammatical concepts in common. But to be fluent in either one you have to learn it from the ground up.

Perhaps the biggest difference is that ASP.NET is built on top of a framework (that is, the .NET framework) whereas PHP "grew up" from an unstructured non-object-oriented language and doesn't inherently depend on any one framework. (Though there are clearly various frameworks in use by the PHP community today.)

And with .NET, even the languages *CAN* be very different. Clearly VB.NET and PHP have very very little in common. (Again, maybe as much as English and Hindi?) Whereas C# and PHP at least use MOSTLY the same "alphabet" (maybe like Hindi and Bengali??) but have many "words" that are very different.

And of course you neglected to mention JSP (which is sort of midway between PHP and C#/ASP.NET) and ASP and Cold Fusion and...
Reply With Quote
  #3 (permalink)  
Old March 5th, 2009, 04:53 AM
Authorized User
 
Join Date: Feb 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default

.Net is not a language; it is a framework that can incorporate multiple languages. Source code is first pre-compiled into something called MSIL (Microsoft Intermediate Language) and then translated into actual executables. Out of the box, .Net supports VB.Net, JScript.Net, C#, and C++. Third-party products are available to extend .Net to supporting other languages, including Perl, Python, and PHP.

Advantages (when it comes to Web application development, that is) are very clear.

* PHP is much easier to learn, partly because it requires no adherence to a particular programming style; .Net languages and Java tend to require object-oriented programming.

* PHP runs on virtually any operating system (including Linux and FreeBSD, the workhorses of affordable Web hosting) and HTTP server (which means that you can develop on WIndows/IIS and host on BSD/Apache); .Net runs only on Windows/IIS, while Java requires an application server (Tomcat, WebSphere, WebLogic, etc.), some of which are OS-dependent. Additionally, Java code may not always be portable between different application servers.

* PHP is free, so instead of spending money on software licenses, you can upgrade your hardware.

* PHP natively integrates with a large array of database engines, both open-source (MySQL, PostgreSQL, SQLite) and commercial (Oracle, MS SQL Server); .Net tends to work better with MS SQL Server and draw on ODBC for database connectivity with other engines, while Java relies on JDBC drivers for database connectivity.
Reply With Quote
Reply


Thread Tools
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
Difference between VB.Net and Visual Basic 2005 dotnetDeveloper Visual Basic 2005 Basics 1 June 27th, 2008 07:51 AM
Difference between ASP.NET programmer v/s C# prog myquery General .NET 1 October 20th, 2007 06:43 AM
Functional Difference Between VB .net And C# Amitchoudhary .NET Framework 2.0 7 September 15th, 2006 08:06 AM
Difference between VB6.0 and VB.Net-illustrational ramk_1978 General .NET 1 December 31st, 2004 12:57 PM
Difference between two dates in Vb.net bimal VS.NET 2002/2003 5 August 15th, 2004 11:32 PM



All times are GMT -4. The time now is 09:23 AM.


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