What Is The Different? Asp Vs Php

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #11) by maddog39 on Feb 15 2005, 12:57 AM. (Line Breaks Removed)
I have seen sooo many popular sites with ASP. But then again there are tons more that run PHP. Also since jsp seems to be getting in there and trap17 hosts jsp capability you might want to try that. But I have no knowledge of what it really is or anything abount it. Hope this helps.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

What Is The Different? Asp Vs Php

teob
i've learnt PHP for a while now...
but i always wondering the different between ASP and PHP...

after i started learning php, i find out that there is such thing as ASP ...
i mean , i want to find out more about ASP ...
if php is better, i dun really want to waste time to learn ASP....
but if ASP contained some goodies....that PHP dun have...
i might consider to use some ASP as well as PHP....

oobs... huh.gif should i post this in ASP part actually?

but anyway i think u guys can still help me out with this..
since it is just a general question....

here is some questions in mind ....hope u guys can ans them...thx...

1) Mysql- when i used php to access mysql...i think it is quite easy and handy...
so does ASP similar? harder? or easier? (i usually built site contained a lot of data...so this is quite important for me)

2)Speed- I always heard about and i felt it the same for myself, that php is quite slow sometimes... so does ASP does better on this?

3)Size-(follow the question about speed) PHP file size is quite small i guess...which is good...but also the reason for its slow speed...but what about ASP?

are there anything else? So should i learnt ASP while i continue learning PHP.?
or should I get total hang of PHP First ?

Thankyou

 

 

 


Reply

Taupe
I haven't got benchmarks to answer your questions, but you have to know that ASP is a proprietary language, plateform-specific, hardly compatible with webstandards, and which development has been stopped...

Reply

teob
so does u mean i shouldn't start to learn ASP ?

Reply

bjrn
I wouldn't bother learning ASP. If you have to use it sometime in the future it's really quite easy to pick up. But I wouldn't bother with it unless you have to.

I have to say that when it comes to making standards compliant sites it's not really a problem, ASP writes what you tell it to write. But when you want to do things like sending an email through ASP you'll have to either use a script in another language or buy a commercial ASP email component. Many other bits you can do without effort in PHP require commercial components in ASP.

If you want to use a MySQL db, I'd say PHP is easier than ASP.

I don't think the difference in speed is that big, but I really don't have any data to support me, I'm just guessing really. Remember that if you are executing a lot of queries that might be the cause of your page's slowness.

Reply

webaurores
I don't suggest you to waste your time learning ASP.

If you know PHP, you can do a lot of things... for free. And PHP is multi-plataform (Windows, Unix, Linux, etc.), can be run from CGI (Gateway Interface) and you
can use it as a command line interface.

Also, PHP brings you tons of modules and you can add many more downloading them for free.

Other great feature PHP has, is the databases support. If you have the database engine installed in your server (or your webhost has it), you can use many ones, like MySQL (the most popular one), mSQL, postgreSQL, sqLite, MBD, ODBC (a popular standard), etc.

Another great, but not so popular, thing about PHP is the XML handler. I'm trying to use XML as a database, and it's not too hard.

Reply

karlo
QUOTE(teob @ Feb 9 2005, 07:33 PM)
i've learnt PHP for a while now...
but i always wondering the different between ASP and PHP...

after i started learning php, i find out that there is such thing as ASP ...
i mean , i want to find out more about ASP ...
if php is better, i dun really want to waste time to learn ASP....
but if ASP contained some goodies....that PHP dun have...
i might consider to use some ASP as well as PHP....

oobs... huh.gif  should i post this in ASP part actually?

but anyway i think u guys can still help me out with this..
since it is just a general question....

here is some questions in mind ....hope u guys can ans them...thx...

1) Mysql- when i used php to access mysql...i think it is quite easy and handy...
so does ASP similar? harder? or easier? (i usually built site contained a lot of data...so this is quite important for me)

2)Speed- I always heard about and i felt it the same for myself, that php is quite slow sometimes... so does ASP does better on this?

3)Size-(follow the question about speed) PHP file size is quite small i guess...which is good...but also the reason for its slow speed...but what about ASP?

are there anything else? So should i learnt ASP while i continue learning PHP.?
or should I get total hang of PHP First ?

Thankyou
*



ASP, I think it's really difficult to code it... Because the codes are not well-organized. And ASP is not free... and PHP, may servers REALLY supports it... And it's really easy to use.

 

 

 


Reply

round
I agree(don't bother) the only reason i've had to deal with asp is that some old sites i've worked on were coded that way and people weren't willing to pay to have them redone. The same applies to cold fusion.
round

Reply

solankyno1
all the members have favoured php here. but i have one thing to say.
i have seen that php is becoming popular very fast but ASP and JSP still used in enterprises level. I have not found a single job in good software companies for php. But there are a lot jobs in ASP.NET or J2EE.
i think php is good for small websites and for personal pages.
any counter view????????

Reply

bjrn
QUOTE(solankyno1 @ Feb 11 2005, 12:14 PM)
i think php is good for small websites and for personal pages.

sourceforge.net uses PHP. And sourceforge has more traffic than any personal page can dream of having. But yes, I think many companies who use PHP to make public websites are targetting small and medium business sites.

Reply

timstokman
Both have their advantages and disadvantages.

PHP
Pros:
-free
-can do alot of stuff out of the box (some libs are commercial but most of them have free counterparts)
-pretty fast
-5.0+ has full support of OOP (object oriented programming)
-simple to learn
-doesn't force OOP like asp.NET

Cons:
-With some things it is slower then asp
-Its a scriptlanguage, not compiled. Distributing code can be a problem and its slower (Theres a commercial package called zend optimizer which does this on a limited scale, providing a speed boast, but its not free)
-Lack of advanced OOP in version lower then 5.0 (I think they still run 4.0.3 here)
-Bloated syntax (for example the syntax for accessing different kinds of databases is different etc)
-Working OOP makes it slower

asp.NET (most recent version of asp)
Pros:
-Much free developers software, most free tools are better then the commercial php IDEs
-With some stuff its faster then php (because its compiled where php is intepretended)
-Full OOP
-advanced features like templating
-Compiled
-You can use alot of languages with .NET, such as C# visual basic etc.
-Easy to learn when you know visualBasic
-Very clean OOP-oriented syntax

Cons:
-Works only on MS ISS (which has a history of security breaches)
-Server-side software costs alot, so cheap asp hosting is rare
-Complicated high level language, forced you to use OOP rather then making it optional like php. For quick&dirty stuff, php is better and it has OOP stuff when you need it
-For more then basic functionality you need to buy libraries, where php can do stuff like generate images, flash en pdfs out of the box

I personally like php. It is very basic & very powerfull but asp.net has its advantages too. But since I am on a limited budget I don't have a choice.

Reply

Latest Entries

maddog39
I have seen sooo many popular sites with ASP. But then again there are tons more that run PHP. Also since jsp seems to be getting in there and trap17 hosts jsp capability you might want to try that. But I have no knowledge of what it really is or anything abount it. Hope this helps. biggrin.gif

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Similar Topics

Keywords : asp php


    Looking for asp, php

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for asp, php

*MORE FROM TRAP17.COM*
advertisement



What Is The Different? Asp Vs Php



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE