teob 0 Report post Posted February 9, 2005 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... 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 Share this post Link to post Share on other sites
Taupe 0 Report post Posted February 9, 2005 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... Share this post Link to post Share on other sites
teob 0 Report post Posted February 9, 2005 so does u mean i shouldn't start to learn ASP ? Share this post Link to post Share on other sites
bjrn 0 Report post Posted February 9, 2005 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. Share this post Link to post Share on other sites
webaurores 0 Report post Posted February 10, 2005 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. Share this post Link to post Share on other sites
karlo 0 Report post Posted February 10, 2005 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... 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 48473[/snapback] 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. Share this post Link to post Share on other sites
round 0 Report post Posted February 10, 2005 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 Share this post Link to post Share on other sites
solankyno1 0 Report post Posted February 11, 2005 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???????? Share this post Link to post Share on other sites
bjrn 0 Report post Posted February 11, 2005 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. Share this post Link to post Share on other sites
logophobia 0 Report post Posted February 12, 2005 Both have their advantages and disadvantages. PHPPros:-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.NETCons:-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 slowerasp.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 syntaxCons:-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 boxI 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. Share this post Link to post Share on other sites
teob 0 Report post Posted February 14, 2005 thanks for all of yr helps...^0^very detail...i guess i will surely get ASP out of mind from now on...and focus on PHP...Thanks again...^0^ Share this post Link to post Share on other sites
maddog39 0 Report post Posted February 15, 2005 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 Xisto 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. Share this post Link to post Share on other sites