[PHP] Re: PHP vs ASP .NET
Search for PHP defense in the subject line for a thread that is/was running since a few days ago. Satyam Reynier Perez Mira [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response ? Regards Reynier Pérez Mira 3ero. Ing. Informática Entre más inteligente me siento, más me doy cuenta de lo ignorante que soy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP vs. ASP
this is addressed in quite a few dedicated articles in php sites. For me some of the big pros of PHP: - the active community behind it - associated open source products (such as phpMyAdmin and the Smarty template engine) - the ease and power behind coupling it with MySQL databases (ASP has of course got lots of hooks into databases but I find this aspect of PHP to be much cleaner and simpler) - is natively hosted on a Unix type platform D. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP vs. ASP
Anthony Rodriguez [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How does PHP differs from ASP? search google on php vs asp ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php vs asp
Liz Lynch wrote: can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php Yes it can be used - no there are no real drawbacks other than that most documentation for ASP work assumes SQL Server or Access, so many tutorials won't be directly usable. Michael Kimsal http://www.tapinternet.com/php PHP Training Courses 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] RE: PHP vs. ASP
Typically, when people talk about 'native' database access, they're referring to accessing the database using the database's native interface, not that the language directly supports the database. (i.e.: not limiting everything to the lowest common denominator). The advantage you get from native access is speed. The disadvantage you get is having to change code to access a different database. It's similar to you speaking to a foreigner in their native tongue, versus using an interpreter who knows a language you all know, but isn't native to any of you. Communication will happen faster if you and the foreigner don't have to talk to somebody else to talk to each other, and it will happen even faster if one of you is speaking the other's language. On the graphic creation topic, the difference between the gd DLLs (which come with PHP) and the equivalent DLLs for ASP (which don't come with ASP), is that the PHP DLLs are 'first party' (provided by the same group which provides the language), while the ASP DLLs are 'third party' (provided by a different group than that which provides the language). Also note the fact that you don't HAVE to compile PHP's gd support as a DLL. It's completely possible to compile PHP in such a way that it contains the php-provided gd interface code instead of creating a seperate library. (Don't really know why you'd want to always have the gd code active and taking up memory if you don't want to use it, but that's a different story.) - Theo -Original Message- From: Michael Kimsal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:10 PM To: Philip Hallstrom Cc: Robert Klinkenberg; [EMAIL PROTECTED] Subject: Re: PHP vs. ASP Philip Hallstrom wrote: I don't want to start a war, but last time I looked PHP had native support for every database I'd ever heard of including Oracle, SQLServer, etc... Just don't want the guy doing the report that php is database limited... Native support can mean different things, I think. Native to the language? Not really - there are wrapper functions which can be compiled in which wrap around third party libraries to give PHP access to those libraries. The windows port comes with many DLLs, but that's just it - they are DLLs. If I use a DLL to create a graphic in ASP, everyone points out that you have to use all these third party modules whereas PHP can do it 'natively', which is at best an unfair comparison. If PHP had 'native' support for SQLServer, I wouldn't have to go fetch and compile the freetds library to get SQLServer connections to work under Linux. Michael Kimsal http://www.tapinternet.com/php/ PHP Training Courses 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
Just a couple of thoughts here: 1. Now() outputs the date, so ASP does have that. 2. I hate the concept of saying that one of these products is superior to the other. Why not just lay out the technical points of both, and let the reader decide. I'm okay with somebody choosing ASP (or PHP) as long as they are basing it on the facts and there particular needs; what I don't like are advocates (read a**holes) turning this into a heated debate devoid of any facts or basis in reality. BTW, I use both and have used both. I'm more concerned with results, not egos. John Meyer Q: What do you do if your linux server crashes. A: First, find a candle...*G* Original Message Follows From: Mike Eheler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP vs. ASP Date: Wed, 09 Jan 2002 10:57:27 -0800 Well being a former ASP programmer and a current PHP programmer I think I can help you there. The key point is ease of use. PHP provides far more functionality than ASP (try finding a function to print out the date in ASP.. yeah, I thought so), while at the same time giving you access to low-level areas of the language so that you can really make it do whatever you want. Oh yeah, and it's OpenSource. Make it do what you want, and if that doesn't suit your fancy, then change it :) ASP costs -- the server (be it Windows or Unix-based) is gonna cost ya, any extensions to do more advanced things (such as creating images on the fly) is gonna cost ya.. cost cost cost. With ASP I was constantly running into roadblocks because of the way it works. Let's take form submission.. or beyond that.. uploading FILES. You can do it the long, hard way (write your own MIME handler and parse the incoming binary data), or the easy way (shell out $$$ to pay for a professional activex com object to do the job for you). And if that wasn't enough. ASP is just plain slower. Well, that's my 2 cents. There's plenty of more points that could be said, but I think this should give you some good arguments to start with. Mike Jake wrote: Hello there, I need some help. I have to do a technical report(about 2200 words) comparing PHP to ASP. I have already decided to make PHP the winner becasue it is superior. But I am kinda stumped on what areas to compare the two. If you could help me out in suggesting some possible areas of comparison. Keeping in mind that I need about the same amount of info on both PHP and ASP. Also if you could point me in the right direction by including some web links that deal with the topic. Thank You, Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: PHP vs. ASP
Database is a good point. PHP has native support for several, while I believe ASP do not (through ODBC). Modules, and their price. At least I heard in ASP you have to pay for some of them (well, more than those on PHP). Typecast? I am not sure if in ASP you have to, I remember I heard somewhere. Like int var = 10 Overall, how fast developers fix bugs is also a good thing... I remeber I have seen bugs corrected on PHP only after 15 being reported.. I have never programmed on ASP, these are just stuff I heard in some places... So sorry for the lack of objectiveness (spelling on that? :-)). -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: PHP vs. ASP
Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. The development tools. Definately a win for ASP (with vb.net C# and C++ you have a complete IDE and with Dreamweaver Ultradev you can pretty much point and click. SO you can choose whatever tool you like. PHP has very limited IDE's. Price. ASP solutions are mostly build with Windows 2000 Server and MS SQL Server or Oracle and an expensive IDE. So it's pretty expensive to build. PHP is mostly used with Linux, Apache and MySQL and is a lot cheaper (you only need to buy the hardware and the software is virtually free) Programming language: This is off course a personal taste but with ASP (.net) you can use VB/C++/C#. So if you are used to VB or C++ it's a bit easier to start with. Modules. Both have a lot of free tools available. However I personally find the PHP modules more usefull. (With the exception of the Crystal Report generator in .net, pretty usable reports without a lot of work). It's a bit easier for a novice to get started with ASP as with PHP, and it's pertty easy to make the project look good. So, if you have the cash and some inexperienced programmers working for you ASP is the save bet. If you have a small company, are a student, depend on webhosting or are a pretty experienced programmer, PHP might be a better choose. Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
I am a newbie to programming, ASP is easier to learn? I heard PHP was At 04:48 PM 1/9/2002 +0100, Robert Klinkenberg wrote: Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. The development tools. Definately a win for ASP (with vb.net C# and C++ you have a complete IDE and with Dreamweaver Ultradev you can pretty much point and click. SO you can choose whatever tool you like. PHP has very limited IDE's. Price. ASP solutions are mostly build with Windows 2000 Server and MS SQL Server or Oracle and an expensive IDE. So it's pretty expensive to build. PHP is mostly used with Linux, Apache and MySQL and is a lot cheaper (you only need to buy the hardware and the software is virtually free) Programming language: This is off course a personal taste but with ASP (.net) you can use VB/C++/C#. So if you are used to VB or C++ it's a bit easier to start with. Modules. Both have a lot of free tools available. However I personally find the PHP modules more usefull. (With the exception of the Crystal Report generator in .net, pretty usable reports without a lot of work). It's a bit easier for a novice to get started with ASP as with PHP, and it's pertty easy to make the project look good. So, if you have the cash and some inexperienced programmers working for you ASP is the save bet. If you have a small company, are a student, depend on webhosting or are a pretty experienced programmer, PHP might be a better choose. Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
Well, I don't know ASP, but I fonud that learning PHP was really easy when you already know C, C++ And no variables types, pointer, etc ... is great !!! Le Mercredi 9 Janvier 2002 17:01, Dean Ouellette a écrit : I am a newbie to programming, ASP is easier to learn? I heard PHP was At 04:48 PM 1/9/2002 +0100, Robert Klinkenberg wrote: Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. The development tools. Definately a win for ASP (with vb.net C# and C++ you have a complete IDE and with Dreamweaver Ultradev you can pretty much point and click. SO you can choose whatever tool you like. PHP has very limited IDE's. Price. ASP solutions are mostly build with Windows 2000 Server and MS SQL Server or Oracle and an expensive IDE. So it's pretty expensive to build. PHP is mostly used with Linux, Apache and MySQL and is a lot cheaper (you only need to buy the hardware and the software is virtually free) Programming language: This is off course a personal taste but with ASP (.net) you can use VB/C++/C#. So if you are used to VB or C++ it's a bit easier to start with. Modules. Both have a lot of free tools available. However I personally find the PHP modules more usefull. (With the exception of the Crystal Report generator in .net, pretty usable reports without a lot of work). It's a bit easier for a novice to get started with ASP as with PHP, and it's pertty easy to make the project look good. So, if you have the cash and some inexperienced programmers working for you ASP is the save bet. If you have a small company, are a student, depend on webhosting or are a pretty experienced programmer, PHP might be a better choose. Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- ( * Nicolas Costes, //\\ IUT de La Roche / Yon ( \/ ) [EMAIL PROTECTED] http://luxregina.free.fr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: PHP vs. ASP
I don't want to start a war, but last time I looked PHP had native support for every database I'd ever heard of including Oracle, SQLServer, etc... Just don't want the guy doing the report that php is database limited... On Wed, 9 Jan 2002, Robert Klinkenberg wrote: Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. The development tools. Definately a win for ASP (with vb.net C# and C++ you have a complete IDE and with Dreamweaver Ultradev you can pretty much point and click. SO you can choose whatever tool you like. PHP has very limited IDE's. Price. ASP solutions are mostly build with Windows 2000 Server and MS SQL Server or Oracle and an expensive IDE. So it's pretty expensive to build. PHP is mostly used with Linux, Apache and MySQL and is a lot cheaper (you only need to buy the hardware and the software is virtually free) Programming language: This is off course a personal taste but with ASP (.net) you can use VB/C++/C#. So if you are used to VB or C++ it's a bit easier to start with. Modules. Both have a lot of free tools available. However I personally find the PHP modules more usefull. (With the exception of the Crystal Report generator in .net, pretty usable reports without a lot of work). It's a bit easier for a novice to get started with ASP as with PHP, and it's pertty easy to make the project look good. So, if you have the cash and some inexperienced programmers working for you ASP is the save bet. If you have a small company, are a student, depend on webhosting or are a pretty experienced programmer, PHP might be a better choose. Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: PHP vs. ASP
Philip Hallstrom wrote: I don't want to start a war, but last time I looked PHP had native support for every database I'd ever heard of including Oracle, SQLServer, etc... Just don't want the guy doing the report that php is database limited... Native support can mean different things, I think. Native to the language? Not really - there are wrapper functions which can be compiled in which wrap around third party libraries to give PHP access to those libraries. The windows port comes with many DLLs, but that's just it - they are DLLs. If I use a DLL to create a graphic in ASP, everyone points out that you have to use all these third party modules whereas PHP can do it 'natively', which is at best an unfair comparison. If PHP had 'native' support for SQLServer, I wouldn't have to go fetch and compile the freetds library to get SQLServer connections to work under Linux. Michael Kimsal http://www.tapinternet.com/php/ PHP Training Courses 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
I agree about not starting a war between PHP and ASP. We already have one going on that is out of hand between Linux and Windows :-) I do think it is up to how you view things. When I think of support being native I think of that meaning that something can perform a task using only its own internal capabilities. So in the case of PHP and say Oracle this would mean that PHP could connect to and utilize data in an Oracle database using only functionality that is built into PHP itself. But if you look at http://www.php.net/manual/en/ref.oci8.php you will find that you need to install the Oracle 8 Client Libraries if you want to use the Oracle 8 PHP functions. So is this really native support? You can make your own decision on that one :-) I am a professional web application developer and the consulting firm I work for leans heavily toward the Microsoft side so I am very familiar with ASP. I also do PHP on the side and have had one assignment doing PHP on my job. * My personal preference is PHP because the language is so elegant and I like the cross-platorm aspect of PHP as well. * PHP seems to be supported MUCH better than ASP. * The PHP development cycle is more current. * Possibly the biggest thing I like about PHP over ASP is dynamic includes. Those developers out there know what I mean about this one. Including a file dynamically say from a database field or some other approach. Believe it or not this really opens up a lot of doors in your development. Just my personal opinions and you will find probably everyone on this list will have their own. But that is fine too. It my be best to look at the problem to be solved then choose the platform and language that will best solve it. Original Message Follows From: Philip Hallstrom [EMAIL PROTECTED] To: Robert Klinkenberg [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: [PHP] Re: PHP vs. ASP Date: Wed, 9 Jan 2002 08:51:40 -0800 (PST) I don't want to start a war, but last time I looked PHP had native support for every database I'd ever heard of including Oracle, SQLServer, etc... Just don't want the guy doing the report that php is database limited... On Wed, 9 Jan 2002, Robert Klinkenberg wrote: Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. The development tools. Definately a win for ASP (with vb.net C# and C++ you have a complete IDE and with Dreamweaver Ultradev you can pretty much point and click. SO you can choose whatever tool you like. PHP has very limited IDE's. Price. ASP solutions are mostly build with Windows 2000 Server and MS SQL Server or Oracle and an expensive IDE. So it's pretty expensive to build. PHP is mostly used with Linux, Apache and MySQL and is a lot cheaper (you only need to buy the hardware and the software is virtually free) Programming language: This is off course a personal taste but with ASP (.net) you can use VB/C++/C#. So if you are used to VB or C++ it's a bit easier to start with. Modules. Both have a lot of free tools available. However I personally find the PHP modules more usefull. (With the exception of the Crystal Report generator in .net, pretty usable reports without a lot of work). It's a bit easier for a novice to get started with ASP as with PHP, and it's pertty easy to make the project look good. So, if you have the cash and some inexperienced programmers working for you ASP is the save bet. If you have a small company, are a student, depend on webhosting or are a pretty experienced programmer, PHP might be a better choose. Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Re: PHP vs. ASP
You should probably consider ASP.NET. Visual Studio .NET is out in early Feb and ASP.NET makes an enormous leap in functionality. It should almost be considered a new web development environment. It allows development in any CLR compliant language (straight VB.NET, C#, managed C++ etc..) It cleanly separates UI and program logic Has better OO implementation than PHP Has easier web design (web forms) Has embedded state managment (run at server tags for form fields) Allows for easily extending and creating .NET complient form controls For me the biggest attraction is the ability to use and mix and match any CLR compliant language. You can now develop a windows client app and as long as you cleanly separate the business layer from the UI layer you can re-use the same business layer in your web apps. Indeed MS are currently working on the Universal Canvas, which 'may' lead to re-usable windows/web UIs. Big downside? Has to run on MS platform. -Original Message- From: Stephen Abshire [mailto:[EMAIL PROTECTED]] Sent: 09 January 2002 17:27 To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP vs. ASP I agree about not starting a war between PHP and ASP. We already have one going on that is out of hand between Linux and Windows :-) I do think it is up to how you view things. When I think of support being native I think of that meaning that something can perform a task using only its own internal capabilities. So in the case of PHP and say Oracle this would mean that PHP could connect to and utilize data in an Oracle database using only functionality that is built into PHP itself. But if you look at http://www.php.net/manual/en/ref.oci8.php you will find that you need to install the Oracle 8 Client Libraries if you want to use the Oracle 8 PHP functions. So is this really native support? You can make your own decision on that one :-) I am a professional web application developer and the consulting firm I work for leans heavily toward the Microsoft side so I am very familiar with ASP. I also do PHP on the side and have had one assignment doing PHP on my job. * My personal preference is PHP because the language is so elegant and I like the cross-platorm aspect of PHP as well. * PHP seems to be supported MUCH better than ASP. * The PHP development cycle is more current. * Possibly the biggest thing I like about PHP over ASP is dynamic includes. Those developers out there know what I mean about this one. Including a file dynamically say from a database field or some other approach. Believe it or not this really opens up a lot of doors in your development. Just my personal opinions and you will find probably everyone on this list will have their own. But that is fine too. It my be best to look at the problem to be solved then choose the platform and language that will best solve it. Original Message Follows From: Philip Hallstrom [EMAIL PROTECTED] To: Robert Klinkenberg [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: [PHP] Re: PHP vs. ASP Date: Wed, 9 Jan 2002 08:51:40 -0800 (PST) I don't want to start a war, but last time I looked PHP had native support for every database I'd ever heard of including Oracle, SQLServer, etc... Just don't want the guy doing the report that php is database limited... On Wed, 9 Jan 2002, Robert Klinkenberg wrote: Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. The development tools. Definately a win for ASP (with vb.net C# and C++ you have a complete IDE and with Dreamweaver Ultradev you can pretty much point and click. SO you can choose whatever tool you like. PHP has very limited IDE's. Price. ASP solutions are mostly build with Windows 2000 Server and MS SQL Server or Oracle and an expensive IDE. So it's pretty expensive to build. PHP is mostly used with Linux, Apache and MySQL and is a lot cheaper (you only need to buy the hardware and the software is virtually free) Programming language: This is off course a personal taste but with ASP (.net) you can use VB/C++/C#. So if you are used to VB or C++ it's a bit easier to start with. Modules. Both have a lot of free tools available. However I personally find the PHP modules more usefull. (With the exception of the Crystal Report generator in .net, pretty usable reports without a lot of work). It's a bit easier for a novice to get started with ASP as with PHP, and it's
[PHP] RE: PHP vs. ASP
Off course PHP does support Oracle and the like. What I wanted to say is that PHP support most common databases, but if your company needs support for some strange database you can't access it very fast and easily (especially when you use PHP on Unix). On the other hand with ASP you can access anything that has an ODBC driver with a reasonable speed. And there are a whole lot more databases out there than the say 10-20 PHP supports directly. However, the support in PHP works pretty well 95% of the time for me, but this is something where Microsofts size is an advantage, they can (and have with ODBC) create an industry standard, and database vendors actively spend time and resources to create a stable and fast interface to Microsoft products. By the way, you can use iODBC in PHP to access ODBC databases but it is a bit slow for me :-( Robert Klinkenberg -Oorspronkelijk bericht- Van: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Verzonden: Wednesday, January 09, 2002 5:52 PM Aan: Robert Klinkenberg CC: [EMAIL PROTECTED] Onderwerp: Re: PHP vs. ASP I don't want to start a war, but last time I looked PHP had native support for every database I'd ever heard of including Oracle, SQLServer, etc... Just don't want the guy doing the report that php is database limited... On Wed, 9 Jan 2002, Robert Klinkenberg wrote: Well, I personally prefer PHP over ASP because better support from webhosting companies, but ASP has some good points. This is especially the case if you can setup the complete hosting environment yourself and have some money to spend. First of all databases. PHP has support for a limited but interesting list of databases, especially the support for mysql and postgres is handy for a webserver. On the other hand, ASP has good support for most bussiness servers (ORACLE MS SQL Server,) with OLE-DB and a lot more databases with ODBC. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: PHP vs. ASP
Well being a former ASP programmer and a current PHP programmer I think I can help you there. The key point is ease of use. PHP provides far more functionality than ASP (try finding a function to print out the date in ASP.. yeah, I thought so), while at the same time giving you access to low-level areas of the language so that you can really make it do whatever you want. Oh yeah, and it's OpenSource. Make it do what you want, and if that doesn't suit your fancy, then change it :) ASP costs -- the server (be it Windows or Unix-based) is gonna cost ya, any extensions to do more advanced things (such as creating images on the fly) is gonna cost ya.. cost cost cost. With ASP I was constantly running into roadblocks because of the way it works. Let's take form submission.. or beyond that.. uploading FILES. You can do it the long, hard way (write your own MIME handler and parse the incoming binary data), or the easy way (shell out $$$ to pay for a professional activex com object to do the job for you). And if that wasn't enough. ASP is just plain slower. Well, that's my 2 cents. There's plenty of more points that could be said, but I think this should give you some good arguments to start with. Mike Jake wrote: Hello there, I need some help. I have to do a technical report(about 2200 words) comparing PHP to ASP. I have already decided to make PHP the winner becasue it is superior. But I am kinda stumped on what areas to compare the two. If you could help me out in suggesting some possible areas of comparison. Keeping in mind that I need about the same amount of info on both PHP and ASP. Also if you could point me in the right direction by including some web links that deal with the topic. Thank You, Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: PHP vs. ASP
Sorry, corrected on PHP only after 15 being reported.. should read: corrected on PHP only after 15 minutes being reported.. That was a good thing I saw. I still remember, some exec() problems with slashes and some letters on a specific plataform. Stunned me how fast the bug was solved. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
ASP function to print out the date: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctformatdatetime.asp --- START SAMPLE CODE --- Function GetCurrentDate ' FormatDateTime formats Date in long date. GetCurrentDate = FormatDateTime(Date, 1) End Function --- END SAMPLE CODE --- Original Message Follows From: Mike Eheler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP vs. ASP Date: Wed, 09 Jan 2002 10:57:27 -0800 Well being a former ASP programmer and a current PHP programmer I think I can help you there. The key point is ease of use. PHP provides far more functionality than ASP (try finding a function to print out the date in ASP.. yeah, I thought so), while at the same time giving you access to low-level areas of the language so that you can really make it do whatever you want. Oh yeah, and it's OpenSource. Make it do what you want, and if that doesn't suit your fancy, then change it :) ASP costs -- the server (be it Windows or Unix-based) is gonna cost ya, any extensions to do more advanced things (such as creating images on the fly) is gonna cost ya.. cost cost cost. With ASP I was constantly running into roadblocks because of the way it works. Let's take form submission.. or beyond that.. uploading FILES. You can do it the long, hard way (write your own MIME handler and parse the incoming binary data), or the easy way (shell out $$$ to pay for a professional activex com object to do the job for you). And if that wasn't enough. ASP is just plain slower. Well, that's my 2 cents. There's plenty of more points that could be said, but I think this should give you some good arguments to start with. Mike Jake wrote: Hello there, I need some help. I have to do a technical report(about 2200 words) comparing PHP to ASP. I have already decided to make PHP the winner becasue it is superior. But I am kinda stumped on what areas to compare the two. If you could help me out in suggesting some possible areas of comparison. Keeping in mind that I need about the same amount of info on both PHP and ASP. Also if you could point me in the right direction by including some web links that deal with the topic. Thank You, Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
Databases - although PHP 'supports' many databases natively, the support is in the form of 3rd party libraries with PHP wrapper functions. Nothing inherently wrong with that, but the current method dictates that to use oracle you use oci_ functions, for mysql you use mysql_ functions, etc., giving rise to the 'database portability' issue. Yes, there are db abstraction classes available in PHP, but nothing is native to the language, and that extra layer slows things down (just like ODBC can slow things down in the Windows world). Don't go throwing 'native db' support around too much without backing it up with solid argument. Michael, see ext/dbx - the abstraction doesn't get any more native than that. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
Rasmus Lerdorf wrote: Databases - although PHP 'supports' many databases natively, the support is in the form of 3rd party libraries with PHP wrapper functions. Nothing inherently wrong with that, but the current method dictates that to use oracle you use oci_ functions, for mysql you use mysql_ functions, etc., giving rise to the 'database portability' issue. Yes, there are db abstraction classes available in PHP, but nothing is native to the language, and that extra layer slows things down (just like ODBC can slow things down in the Windows world). Don't go throwing 'native db' support around too much without backing it up with solid argument. Michael, see ext/dbx - the abstraction doesn't get any more native than that. I actually was going to mention it, because I know it's being worked on - last I read it was 'beta' or something similar, and only supported a handful. My understanding was that even it was still a wrapper system, but it's definitely a welcome (huge) step in the right direction, in our estimation here. :) The site says 'experimetal' - any ideas as to what might change in the future to cause backwards compatibility problems? Or is it too early to tell yet? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: PHP vs. ASP
I actually was going to mention it, because I know it's being worked on - last I read it was 'beta' or something similar, and only supported a handful. My understanding was that even it was still a wrapper system, but it's definitely a welcome (huge) step in the right direction, in our estimation here. :) Every abstraction layer is by definition a wrapper. I am sure everyone by now has heard my opinion on db abstraction layers though. As far as I am concerned they are pointless. It is the wrong place to do things. The right way to do database abstraction is at the functional layer. ie. write a function that implements a certain database action your application needs. get_user_record(), for example. Then write this function for each database your application needs to support. Anything short of this and you end up with a nearly useless system that is only capable of using generic or lowest-common-denominator SQL statements. For really simple applications that is ok, I guess, but for anything substantial you are going to have to use DB-specific SQL to take advantage of each database properly. See Oracle's DECODE() statement for a blatant example of this. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]