|
 |
|
|
|
06-27-2007, 07:50 AM
|
PHP or ASP
|
Posts: 60
Name: bilton
|
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
|
|
|
|
06-27-2007, 09:07 AM
|
Re: PHP or ASP
|
Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
|
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|
|
|
|
06-27-2007, 11:44 AM
|
Re: PHP or ASP
|
Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
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.)
|
|
|
|
06-27-2007, 01:06 PM
|
Re: PHP or ASP
|
Posts: 5,662
Name: John Alexander
|
Quote:
Originally Posted by niceguy_81333
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.
|
|
|
|
06-28-2007, 01:41 AM
|
Re: PHP or ASP
|
Posts: 37
|
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.
|
|
|
|
06-28-2007, 03:27 AM
|
Re: PHP or ASP
|
Posts: 164
Name: David Tanguay
Location: Tampa, FL
|
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?
|
|
|
|
06-30-2007, 05:04 AM
|
Re: PHP or ASP
|
Posts: 60
Name: bilton
|
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
|
|
|
|
06-30-2007, 12:49 PM
|
Re: PHP or ASP
|
Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
That can be done with either programming language. The key to what you want isn't the language, but how it's developed.
|
|
|
|
06-30-2007, 02:24 PM
|
Re: PHP or ASP
|
Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
|
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.
|
|
|
|
07-09-2007, 04:08 AM
|
Re: PHP or ASP
|
Posts: 9
Name: salu
|
i think php is best.it has good demand in jobs as well.
|
|
|
|
07-10-2007, 03:02 PM
|
Re: PHP or ASP
|
Posts: 14
Name: John
|
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
__________________
Please login or register to view this content. Registration is FREE - Forum for Software and Web Developers
|
|
|
|
07-10-2007, 07:28 PM
|
Re: PHP or ASP
|
Posts: 262
|
Even though i still work with ASP, but strongly support PHP due to its open-source nature.
|
|
|
|
07-10-2007, 09:10 PM
|
Re: PHP or ASP
|
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
|
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.
|
|
|
|
07-11-2007, 11:27 AM
|
Re: PHP or ASP
|
Posts: 437
Location: WebmasterGround.com
|
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.
|
|
|
|
07-12-2007, 12:13 PM
|
Re: PHP or ASP
|
Posts: 486
Name: Matt
|
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++;
Please login or register to view this content. Registration is FREE - Free IPB forum hosting (releasing today!!!), no ads, free modifications
|
|
|
|
07-12-2007, 01:15 PM
|
Re: PHP or ASP
|
Posts: 14
Name: John
|
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
__________________
Please login or register to view this content. Registration is FREE - Forum for Software and Web Developers
Last edited by jsmcm; 07-12-2007 at 01:16 PM..
|
|
|
|
07-12-2007, 01:19 PM
|
Re: PHP or ASP
|
Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
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.
|
|
|
|
09-06-2007, 12:53 PM
|
Re: PHP or ASP
|
Posts: 9
Name: Jony
|
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.
|
|
|
|
09-06-2007, 03:09 PM
|
Re: PHP or ASP
|
Posts: 5,662
Name: John Alexander
|
- 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.
- 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.
- 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.
- 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.
- The built-in support for XML is drastically better in ASP.NET.
- 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.
- 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.
- HttpHandlers are easier and more powerful than Mod Re-Write for Apache. They also take less server power.
- ASP.NET is 100 % OOP or Object Oriented Programming.
- 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.
|
|
|
|
|
« Reply to PHP or ASP
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|