SitePoint Sponsor |
|
User Tag List
Results 1 to 25 of 59
-
Nov 3, 2009, 18:46 #1
- Join Date
- Nov 2009
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Research for class: Reasons to go with PHP or ASP.NET
I have to write a project proposal for a class of mine and for it I need to do some "primary research" which requires me to get actual responses from people regarding something.
I am proficient in PHP and am learning ASP.NET. I am looking for responses from professionals or those in the know about the advantages and disadvantages of each.
Again, this is only for a class paper, but I am hoping for some good discussion on the topic. I appreciate your time.
Thanks,
Court
-
Nov 3, 2009, 19:36 #2
- Join Date
- Jul 2003
- Location
- Northeastern USA
- Posts
- 4,617
- Mentioned
- 56 Post(s)
- Tagged
- 1 Thread(s)
PHP is fairly easy to pick up and understand, due to it's straight-forward approach. It's also free, with most of the development tools and server tools being free as well, which can be used on a wide range of platforms (windows, linux, OSX). There are a large number of support forums available, plus lots of frameworks to choose from and a considerable amount of libraries and code examples.
ASP.NET (either the C# or VB variants) have a bit of a learning curve. While there are some free development tools available, the good ones cost some money (which you can usually get at a good price if you're a current student somewhere). ASP.NET requires IIS, the most recent of which can only be found on the newest version of a Windows Server O/S. You can install versions of IIS on domain-capable end-user Windows O/Ses (such as XP Pro--not XP Home), but are locked into a certain version. Unlike PHP, ASP.NET seems to have a smaller community, but there are still plenty of resources available.Visit The Blog | Follow On Twitter
301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
Can be hosted on and utilize your own domain
-
Nov 3, 2009, 19:43 #3
It will be impossible to state any solid advantages or disadvantages without knowing the environment it is going to be running in. Linux/Unix environment, Windows environment? In house development team? Or outsourced to some other company? What will the resulting application need to do? Will it be talking to some database backend? If so which database server will you be using?
-
Nov 4, 2009, 03:19 #4
- Join Date
- Nov 2005
- Posts
- 1,191
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You're sort of comparing apples with oranges there. PHP is comparable to VB or C#. .net is comparable with symphony, or yii. asp simply means active server pages, which applies to any server side scripted page.
-
Nov 9, 2009, 18:15 #5
- Join Date
- Nov 2009
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
The system I am proposing is to keep track of inventory across the 7 warehouses of a made up logistics and freight company. It will also handle all shipping and receiving to and from said warehouses as well as handle shipment tracking for anything that is on the companies trucks. The warehouses are geographically spread across the north east and freight can be shipped between warehouses and within a range of each. Honestly, I am making this entire scenario up so it may be a little vague. If anyone wants more details I would be happy to make them up for you. I apologize for the delay in getting back to this forum a well; it has been a hectic week. Thank you to everyone that has posted so far. Everything would be run in house, likely at the corporate offices. In terms of running server software, the ASP stuff would be in a windows server environment where as if I went with PHP, I would probably run a linux/apache setup.
-
Nov 9, 2009, 19:00 #6
Stop sending your cash to Bill Gates is reason enough, after all the frustration I encountered over the years of using Windows.
My project: Open source Q&A
(similar to StackOverflow)
powered by php+MongoDB
Source on github, collaborators welcome!
-
Nov 9, 2009, 19:27 #7
Your frustration does not equal another frustration. But I will give you the benefit of the doubt if you can come up with a better reason.
I do not see the need for a web application unless it must also be available on the web. I would personally go with .NET in this case. I would write it as a low level application and then create individual interfaces to that application. The interfaces could be a Windows application, an ASP.NET Application for the web. But each one would be built on top of the same core. Leaving you maintain a single code base for both.
But that is just me. (And yes the same thing could be done in PHP, but complied code as a lot of advantages to it.)
-
Nov 9, 2009, 20:34 #8
I like php because its not a compiled code, otherwise I would go with java.
Really, there is nothing that asp can do that cannot be done with php, especially with the most recent version of php.My project: Open source Q&A
(similar to StackOverflow)
powered by php+MongoDB
Source on github, collaborators welcome!
-
Nov 9, 2009, 23:50 #9
When you say ASP do you mean ASP Classic or ASP.NET which is really written in C# and/or VB? You will find that PHP is not all that capable compared to C#, not without huge headaches. And why is compiled code a bad thing? When dealing with high volume having it compiled gives a large boost to performance.
And I am a PHP developer for several years now. I know what it is capable of and what it is not capable of.
-
Nov 10, 2009, 07:04 #10
- Join Date
- Nov 2009
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Nov 10, 2009, 09:48 #11
- Join Date
- Nov 2009
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i love to use php
-
Nov 10, 2009, 12:32 #12
- Join Date
- May 2003
- Location
- Washington, DC
- Posts
- 10,653
- Mentioned
- 4 Post(s)
- Tagged
- 0 Thread(s)
If you had to choose one stack, .NET (or java) would be about your only choice here. Mainly because you'd need something that could serve web pages just as well as run on a handheld barcode scanner.
That said, for something as enterprisey, you really need not choose one stack. You'll need some centralized processing stuff to manage everything, but you could support hetrogenius clients using the right sorts of RPC technology.
-
Nov 10, 2009, 14:38 #13
- Join Date
- Sep 2005
- Location
- Sydney, NSW, Australia
- Posts
- 16,875
- Mentioned
- 25 Post(s)
- Tagged
- 1 Thread(s)
For someone who knows PHP and is looking at using a .NET environment PHP.NET is an obvious choice (unless there is one of the other languages that .NET supports that the person knows even better than they know PHP)..
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
-
Nov 10, 2009, 15:26 #14
- Join Date
- May 2003
- Location
- Washington, DC
- Posts
- 10,653
- Mentioned
- 4 Post(s)
- Tagged
- 0 Thread(s)
I'd really argue that syntax (eg--using PHP in a .NET environment) is a red herring. You should be able to pick up new syntax with ease. The kicker is understanding the framework and how things work, which don't translate to PHP at all.
-
Nov 10, 2009, 18:46 #15
- Join Date
- Sep 2005
- Location
- Sydney, NSW, Australia
- Posts
- 16,875
- Mentioned
- 25 Post(s)
- Tagged
- 1 Thread(s)
PHP runs on about three or four different frameworks and which it runs on generally doesn't make any difference to the PHP. You only really need to worry about the framework (.NET, CGI, etc) when configuring the server in the first place.
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
-
Nov 11, 2009, 03:09 #16
- Join Date
- Oct 2009
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Nov 11, 2009, 04:01 #17
- Join Date
- Jul 2001
- Location
- Scotland
- Posts
- 4,836
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Seriously, another discussion?
Let's tackle each incorrect comments...
While there are some free development tools available, the good ones cost some money (which you can usually get at a good price if you're a current student somewhere). ASP.NET requires IIS, the most recent of which can only be found on the newest version of a Windows Server O/S. You can install versions of IIS on domain-capable end-user Windows O/Ses (such as XP Pro--not XP Home), but are locked into a certain version. Unlike PHP, ASP.NET seems to have a smaller community, but there are still plenty of resources available.
Visual Studio, the full thing and the Web Express edition comes with a built-in webserver, so no need for IIS on XP.
PHP i think php is absolutely free and widely 3rd party framework , plugin and library for free
and very easier than ASP.net (in my opinion) to use
I've written more or less the exact system for a retailer a few years ago, and it was fairly simply with .Net. Being able to use the same language and tools across all platforms really helped get the project finsihed quickly by a very small team.
-
Nov 11, 2009, 10:36 #18
- Join Date
- Oct 2008
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
PHP is the best !!
-
Nov 11, 2009, 14:00 #19
-
Nov 12, 2009, 01:34 #20
- Join Date
- Oct 2001
- Location
- Vancouver BC Canada
- Posts
- 2,037
- Mentioned
- 5 Post(s)
- Tagged
- 0 Thread(s)
I think logic_earth kinda said this already but I would create a desktop version of the software that would track inventory, shipping/receiving across multiple warehouses and then use web services to provide remote access via web browsers. You could write tha app using Python, Java, .NET, etc... and then connect to the web services in PHP but it probably makes more sense to build it entirely on the .NET framework and take advantage of all that's available.
I'm a big fan of PHP but I can see the need to move in this instance to .NETAndrew Wasson | www.lunadesign.org
Principal / Internet Development
-
Nov 12, 2009, 01:54 #21
- Join Date
- Oct 2009
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
For me. now I go with PHP.
-
Nov 12, 2009, 07:00 #22
- Join Date
- May 2006
- Location
- Lancaster University, UK
- Posts
- 7,062
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Personally I'd use C++ for the desktop side of things and PHP for the web part of it, but that's not what you asked
Both have their advantages, really.
Sure, you can write a Desktop application and a Web application using the same language and base framework using .Net - but that doesn't necessarily give you an advantage. When it comes down to it, data is handled differently on the web and, as such, the differences between the web system and the desktop system would be large enough to consider handling the applications differently.Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
-
Nov 12, 2009, 08:52 #23
- Join Date
- Jan 2009
- Posts
- 63
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
First, I fully agree with dhtmlgod.
Anyone who feels that learning asp.net is more difficult than learning php has not put forth the needed effort to learn asp.net. For a novice, there are many tools and controls available that reduce (and sometimes eliminate) the overall lines of code needed to do routine things. For an expert, the framework + c# provide you with total freedom.
Besides, VisualStudio and/or Visual Web Developer happen to be the best IDE's that any developer will experience today (in my opinion).iiicreative.com - Louisiana Web Design
Innovation. Intuition. Imagination + Creative
Follow me on twitter!
-
Nov 12, 2009, 09:01 #24
- Join Date
- May 2003
- Location
- Washington, DC
- Posts
- 10,653
- Mentioned
- 4 Post(s)
- Tagged
- 0 Thread(s)
Sure, you can write a Desktop application and a Web application using the same language and base framework using .Net - but that doesn't necessarily give you an advantage. When it comes down to it, data is handled differently on the web and, as such, the differences between the web system and the desktop system would be large enough to consider handling the applications differently.
-
Nov 12, 2009, 09:24 #25
- Join Date
- May 2006
- Location
- Lancaster University, UK
- Posts
- 7,062
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
I see where you're coming from.
However, its not just how data is output. There's also where it comes from, how its accessed.
The web works via requests - single bursts of sending/requesting information. Desktop applications are more dynamic, multiple things can be happening at once, output can vary depending on the current application state and some data may be modified live whilst the rest is being edited.
A backbone that accepts both would be subject to inefficiencies.
At most you could keep the models and controllers - something which can be rewritten into a different language in very little time.Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
Bookmarks