Reply
Old 06-27-2007, 07:50 AM PHP or ASP
Skilled Talker

Posts: 60
Name: bilton
Trades: 0
whch is the best programming language ASP or PHP for web applications. I some where read that u can do without PHP but cant be in the field withouot ASP.
comments pls
with rgds
bil
niceguy_81333 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 06-27-2007, 09:07 AM Re: PHP or ASP
chrishirst's Avatar
Super Moderator

Posts: 22,277
Location: Blackpool. UK
Trades: 0
Depends on what web applications you are thinking of

but for 99.9% of web apps, either will do equally well
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-27-2007, 11:44 AM Re: PHP or ASP
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,943
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Exactly. Both can work, depending on what you're doing. Some things are more suited to ASP (anything on a Windows server or requiring MS Access for example) and some PHP (anything MySQL for example.)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-27-2007, 01:06 PM Re: PHP or ASP
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,674
Name: John Alexander
Trades: 0
Quote:
Originally Posted by niceguy_81333 View Post
I some where read that u can do without PHP but cant be in the field withouot ASP.
That's probably true for non-tech corporate jobs in the USA. A lot of smaller tech companies run PHP because it's cheaper, but most companies that don't sell something to do with the internet, but have an intranet site, tend to run ASP, at least that's been my experience.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 06-28-2007, 01:41 AM Re: PHP or ASP
Experienced Talker

Posts: 37
Trades: 0
I think MS did a good job implementing ASP.NET. I was hooked the day I saw a developer using breakpoints in a web form. Our company uses .NET for all internal applications and jsp for the extranet.
c0ry is offline
Reply With Quote
View Public Profile
 
Old 06-28-2007, 03:27 AM Re: PHP or ASP
davet's Avatar
Extreme Talker

Posts: 163
Name: David Tanguay
Location: Tampa, FL
Trades: 1
I tend to stick with php since there are many open source solutions out there that use php/mysql. I try to stick with open source solutions if/when i can to keep costs low, but i do also run asp on certain sites. It really depends on what type of site and or software you are trying to run.

What type of application are you thinking of developing?
davet is offline
Reply With Quote
View Public Profile Visit davet's homepage!
 
Old 06-30-2007, 05:04 AM Re: PHP or ASP
Skilled Talker

Posts: 60
Name: bilton
Trades: 0
i want to develp a b2b site for electronics modules/compoents. WHere foreign distributors offering the products, can be supplied to local labs/companies. This should be web interactive to both foreign distributors and local companies wher they can select a product, its specifications and add to the cart. For distributors they can add the newly launched products whre only Admn panel can view and then can be displayed on home page after being okeyed with ammendments.
with rgds
bil
niceguy_81333 is offline
Reply With Quote
View Public Profile
 
Old 06-30-2007, 12:49 PM Re: PHP or ASP
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,943
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
That can be done with either programming language. The key to what you want isn't the language, but how it's developed.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-30-2007, 02:24 PM Re: PHP or ASP
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Adam just nailed the answer.

If you want to rank programming languages, it's basically assembly on one end and visual basic on the other.

Assembly is "petal to the metal," the text version of machine language. You can't write anything that will run faster. And you'll have a hard time finding a language that's slower to develop in ... the web application you described might need 50 million lines of assembly.

Visual basic, in some cases, isn't even compiled, just interpreted on the fly, with all kinds of implicit type conversions, and, basically, it doesn't run very fast. But it's been called the most efficient language to write ... I don't think that's actually true, but it is very fast to pound out working VB code.

There are a million other languages you could choose from, but the point is easier to grasp if we just look at two. Say you want to write a textbook example program that displays "Hello world" to the screen. It really doesn't matter what language you use, the implementation will be roughly the same across the board. But if you want to do anything more than that, something "non-trivial" you start running into all kinds of choices. You need to accomplish X, and there are five ways to make it happen, each of which has side effects somewhere else in your app. That's going to be the case no matter what language you choose.

And it's how you deal with those forks in the road that separates a good app from a bad one, not which language it's written in. I've used horrible software written in the best languages, and very good software written in ways a lot of coders would think are "below" them.

If you already know one or the other, go with the one you know. If you'll be learning either platform, then look at other factors. And, for the record, there are a million open source code samples in the two frameworks you're looking at.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 07-09-2007, 04:08 AM Re: PHP or ASP
Novice Talker

Posts: 9
Name: salu
Trades: 0
i think php is best.it has good demand in jobs as well.
__________________
Free PHP Mysql Hosting
s4salman is offline
Reply With Quote
View Public Profile
 
Old 07-10-2007, 03:02 PM Re: PHP or ASP
Novice Talker

Posts: 14
Name: John
Trades: 0
Hi,

I may be talking absolute rubbish, so if that's the case please let me know.

When I started with ASP a number of years ago, there was no built in support for file upload. In other words, if you wanted a user of your website to be able to upload files to your server in ASP, you had to buy a component which could get quite expensive, and on a shared host, your ISP may not even allow you to install components.

PHP on the other hand has always (at least since I started) had built in file upload capabilities.

For the kind of site you want to do where users can upload their own product info, this may be important as the user may want to upload an image, or a manual or something.

Other than that I guess its preference, mine is PHP, but I use both.

As I said, maybe ASP now does have built in file upload???

Regards,

John
__________________
http://www.experts-exchange.co.za - Forum for Software and Web Developers
jsmcm is offline
Reply With Quote
View Public Profile Visit jsmcm's homepage!
 
Old 07-10-2007, 07:28 PM Re: PHP or ASP
Ultra Talker

Posts: 262
Trades: 0
Even though i still work with ASP, but strongly support PHP due to its open-source nature.
jbladeus is offline
Reply With Quote
View Public Profile
 
Old 07-10-2007, 09:10 PM Re: PHP or ASP
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Converting Video For YouTube
Posts: 2,556
Name: Keith Marshall
Location: West Hartford, CT
Trades: 0
Whatever you are most comfortable in working with the most. For example - I have no clue or knowledge of ASP but I can perform well in PHP
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-11-2007, 08:33 AM Re: PHP or ASP
Affnice's Avatar
Skilled Talker

Latest Blog Post:
Medifast Review
Posts: 58
Trades: 0
of course PHP, and use dreamweaver RAD to make it easy
__________________
Notebooks
Deals Offer
Affnice is offline
Reply With Quote
View Public Profile Visit Affnice's homepage!
 
Old 07-11-2007, 11:27 AM Re: PHP or ASP
ablaye's Avatar
Ultra Talker

Posts: 430
Location: WebmasterGround.com
Trades: 5
Pretty much everything you can do with PHP, you can do with ASP.
However, if I had to choose which one to learn and choose, I would go with PHP simply because it is more popular, it is open-source, and it is relatively easy to learn compared to ASP.
ablaye is offline
Reply With Quote
View Public Profile Visit ablaye's homepage!
 
Old 07-12-2007, 12:13 PM Re: PHP or ASP
Mattmaul1992's Avatar
Ultra Talker

Posts: 485
Name: Matt
Trades: -1
These flame-bound topics never get old :P. You see a few pop up every month all with the same answers.
Try them out and find out for yourself. Everyone here is mostly biased as most people here only know one of the two. I'm branching off into both and I must say PHP does seem to have more functions but ASP can do a few things PHP just wasn't meant for. They both just like everything else in this world have strong and weak points.
Biggest difference is the '{}' brackets aren't implemented like they are in PHP and ASP is from Microsoft while PHP is open source.
That solves it.
__________________
PHP Code:
$talkupation++; 
http://www.forum-front.com/ - Free IPB forum hosting (releasing today!!!), no ads, free modifications
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 07-12-2007, 01:15 PM Re: PHP or ASP
Novice Talker

Posts: 14
Name: John
Trades: 0
Hi everyone, but in particular ablaye and Mattmaul1992. As I said in my previous post, I also use both quite alot. You guys mentioned that PHP can do some things ASP can't. In my previous post I mentioned the ability to do file uploads which was lacking in pure ASP without a component. Is this still the case, or has ASP added this somewhere along the line?

Also, Mattmaul1992 mentions that ASP can do some things that PHP can't. The only thing I can think of (and then I'm not even sure if this is right) is that ASP can call DLL's whereas PHP can't. Is this correct, or were you talking about something else?

Just curious about....

Regards,

John
__________________
http://www.experts-exchange.co.za - Forum for Software and Web Developers

Last edited by jsmcm; 07-12-2007 at 01:16 PM..
jsmcm is offline
Reply With Quote
View Public Profile Visit jsmcm's homepage!
 
Old 07-12-2007, 01:19 PM Re: PHP or ASP
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,943
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Not in ASP, no. But I believe there are free components out there that will accomplish the same thing.

John/Learning Newbie would know more about this, but I think they dealt with this issue in ASP.NET.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-06-2007, 12:53 PM Re: PHP or ASP
Novice Talker

Posts: 9
Name: Jony
Trades: 0
In php you will find lots of builtin functions & thousands of open source third party applications like forums, affiliates, blogs etc... While in ASP finding Free & complete applecations with code is difficult. Also PHP has big advantage that it runs on linus servers, which are also considered more secure and rebust ooperating systems.
jony5555 is offline
Reply With Quote
View Public Profile
 
Old 09-06-2007, 03:09 PM Re: PHP or ASP
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,674
Name: John Alexander
Trades: 0
  1. You need exactly two mouse clicks to set up a file upload on a page in ASP.NET. It works out of the box. You don't even have to put together the input and submit button. This is all done for you.
  2. I've never had any trouble at all finding code samples or even whole components for ASP.NET. To do much more useful things than I've seen with PHP even.
  3. The { and } work just like you expect if you use C# or C++ for your ASP.NET code. That's a handy advantage for ASP.NET that PHP people like to pretend doesn't exist, and then complain about. You can write your web server code in Visual Basic, C, Java, even freaking Lisp if you want to under ASP.NET. You can take advantage of whatever language skills you already have, instead of being limited to just PHP and it's funky ways.
  4. There's plenty of open source ASP.NET code out there. Just look around. Hint: DotNetNuke for starters, is a complete framework. Look around on codeproject and you'll find controls and all kinds of widgets.
  5. The built-in support for XML is drastically better in ASP.NET.
  6. More jobs for ASP.NET than PHP by far, all up and down the West Coast of America. They pay better, too. Which makes sense because they're through companies with tech budgets.
  7. More choices of database backend in ASP.NET. You can use MySQL, SQL Server, MS Access, Oracle, or XML files. You can use MySQL if you want to, but you aren't limited to it.
  8. HttpHandlers are easier and more powerful than Mod Re-Write for Apache. They also take less server power.
  9. ASP.NET is 100 % OOP or Object Oriented Programming.
  10. ASP.NET can do things PHP was never intended to do, and some of them help you write drastically more scalable applications. It's not a scripting language, it's a programming language for the server. You can do all of your logging and instrumentation and everything else on a dedicated thread using fire and forget semantics and let your client pages render more quickly, for example. And because ASP.NET is compiled instead of interpreted, it's not only faster, but more reusable. Simply grab the DLL files all the business objects in a totally different application live in, and re-use them.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP or ASP

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.22561 seconds with 13 queries