» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > PHP Programming and Tips

PHP Programming and Tips Discuss about PHP programming and Share Tips. Ask questions about Scripting and Errors.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2006, 12:12 PM
russell russell is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
russell is on a distinguished road
Cool PHP or ASP.Net

Friends, please tell me and end my confusion

PHP or ASP.Net
Which one is best, coz I would like to know which one I should go all out for.
Also, can php do everything ASP.NET does? And how do I code my php seperately from my html, as that is the thing that I hate most about my code in php.

Really grateful to you -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 07-30-2006, 12:15 PM
phantom phantom is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
phantom is on a distinguished road
Default

PHP can do everything ASP.NET can. What you actually wanted to know is "Can everything ASP.NET does be done in PHP easily?" and the answer is no. It is all possible, but not very easy. ASP.NET is tailored toward RAD (Rapid Application Development). Which is why Microsoft offers VWD(Visual Web Designer) for free. As far as I know, there exist no free WYSIWYG PHP editors (feel free to correct me). ASP.NET applications also abstract the programmer from all the individual HTML widgets and renders what it wants to render with them. That includes an odd javascript mechanism to change what should be GET calls to POST calls, passing stored data from page to page to maintain state. And a host of things that ASP.NET does behind the scenes that you don't know about. PHP is a simple web language that really only does what you told it to. Because of this fact alone, I prefer PHP.

Here's the rub, you can't compare ASP.NET to PHP. That's like comparing a mercedes benz 300E to -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #3  
Old 07-30-2006, 12:17 PM
nirvana nirvana is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nirvana is on a distinguished road
Thumbs up

hi Buddy
It really depends on what you're using it for and the environment you're using it in. Phantom is right, you can't really compare the two since they are two different things.

The .NET framework does allow to do some great things, including being able to using an assortment of languages, server controls, etc. However, it does have some drawbacks - bloated code, performance, dependence on ISS and on Microsoft products in general. If you're in a corporate environment that's already surrounded by Microsoft technologies and have a large development team that may want to have the luxury of using several different languages to create one application, then .NET may be the best choice.

Personally, I chose PHP for many reasons. First and foremost, the language is open source, meaning you have the open source community helping you and working with you. Finding help for PHP I discovered is MUCH easier than finding help for .NET. People who are experts -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #4  
Old 07-30-2006, 12:20 PM
warne warne is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warne is on a distinguished road
Default

It depends on your environment. If you already have the Windows infrastructure then .NET can be a good choice as the namespace collection is quite extensive and logically easy to understand. It also does a lot for you. Things like web services is a piece of cake to do. And when I developed in .NET I never once used the visual aspect of Visual Studio as it only screwed things up for me. I could of coded C#.NET in notepad if I wanted.

In saying that I enjoy PHP. PHP is very forgiving, easy to work with, and it is cross-platform.

Cheers -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #5  
Old 07-30-2006, 12:23 PM
vikasrocks vikasrocks is offline
OSP Addicts
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 21
vikasrocks is on a distinguished road
Default

Mate, you have asked this question on the PHP forum, so u r bound to get biased answers. Try this question in the ASP forum and u will see the other side of the coin.

They are two completely different technologies, ASP.NET being a true platform while PHP a scripted language (yes you can say ASP.NET is interpereted too but they are done so in a much different manner). To get many of the functionality of ASP.NET in PHP you require 3rd party frameworks and significantly more time for higher end enterprise platforms, while ASP.NET has all of this already built in. Using tools like VS .NET 2005 you can create custom templates and frameworks in a fraction of the time that you could in PHP.

If you are looking to do small projects then I would say go with PHP, but for high traffic, high demand enterprise websites and web services, ASP.NET is your solution.

Different forums, different opinions -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #6  
Old 07-30-2006, 12:25 PM
007 007 is offline
OSP Addicts
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 21
007 is on a distinguished road
Default

Phantom And Nirvana
Kudos To You Both
Great Posts
Great Explanation -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gearworx Provides ASP.NET AJAX 1.0 Support outsourcingplans Web Hosting News 0 02-24-2007 03:25 AM
CrystalTech Announces Support for ASP.NET AJAX 1.0 outsourcingplans Web Hosting News 0 01-31-2007 03:20 AM
Getting MySQL & PHP to communicate JCH MySQL Forums 0 05-29-2006 02:52 PM
Re-invent Launches ASP.NET 2.0 Hosting outsourcingplans Web Hosting News 0 11-30-2005 04:45 PM
Re-invent Launches ASP.NET 2.0 Hosting outsourcingplans Web Hosting News 0 11-29-2005 02:53 PM


All times are GMT. The time now is 12:47 PM.