PHP vs ASP, what do you think?
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
by 'ASP' do you mean VBScript ? stay far away from VBScript. it will corrupt your mind and give you warts. you can do JavaScript in ASP pages, though. and that's something worth learning.
image processing toolkits | batch image processing | blogging
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
This kind of discussion has been posted many times here already... Anyway, as usual, it all depends on what you have to do, and how, and what you have to operate with. PHP is very simple and lightweight, and therefore can be used with excellent results in many cases. ASP.NET is way more complex, but extremely powerful, and in my opinion is better for "big" web application (although I find it very good also in small contexts).
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (2.0 Beta is out)
-
This kind of discussion has been posted many times here already... Anyway, as usual, it all depends on what you have to do, and how, and what you have to operate with. PHP is very simple and lightweight, and therefore can be used with excellent results in many cases. ASP.NET is way more complex, but extremely powerful, and in my opinion is better for "big" web application (although I find it very good also in small contexts).
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (2.0 Beta is out)
Thanks for good answer. Only because of extreme power I want to use ASP in my work further...because sometimes i need to deal close with net connections or graphics...and in this case (and in many others) PHP is too simple. So you know PHP and ASP. Do you still use PHP at your work, or only ASP? And what about Template systems(as Smarty) for ASP.. i think the big problem of ASP is that its not so much for it? P.S. And other question for me, why so giants as YAHOO and Google using PHP? both are not small projects...
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
ASP is basically Microsoft's version of PHP. With ASP you must have a Microsoft server installed on your computer (which you have to pay for). But with PHP you have to install Apache web server (which is free). PHP has also been around a lot longer and has developed more. Plus, PHP is currently being rebuilt from the ground up, so you can count on a lot more features being added. Personally, I like PHP better, but you'd have to try each one out and see what you like better. -- modified at 17:24 Friday 12th January, 2007
Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.
-
Thanks for good answer. Only because of extreme power I want to use ASP in my work further...because sometimes i need to deal close with net connections or graphics...and in this case (and in many others) PHP is too simple. So you know PHP and ASP. Do you still use PHP at your work, or only ASP? And what about Template systems(as Smarty) for ASP.. i think the big problem of ASP is that its not so much for it? P.S. And other question for me, why so giants as YAHOO and Google using PHP? both are not small projects...
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
First you need to pay attention to the name, is it ASP or ASP.NET as there is a huge differense between them. ASP is an old Microsoft technology for building page centric scripted websites and usually require knowledge of VBScript (can insert a big Yuck here). I find PHP more like ASP with a focus on building sites as a group of "scripts" while ASP.NET is focused on websites as "applications" which is an entirely different focus. PHP is more of a cobbled together language as it has evovled over the years unlike the clean object oriented C#/.NET frameworks. From the mention of using C#, I will assume you mean ASP.NET which is quite powerful and has many RAD features to build sites out quickly and easily while still being very manageable. You can easily share code (typically backend code, data tiers business logic) between desktop and web applications as long as you pay close attention to "state" and object lifespan. ASP.NET brings a lot of functinality right out of the box not to mention the tons of third party controls and tools that are available. While other technologies such as ASP and PHP can do about the same thing, it usually requires much more code to accomplish the same tasks. Some will aruge that you have to pay more for ASP.NET sites for hosting, but nowadays there is usually not much of a difference if any at all. There are only three web technologies I would consider in today's world, ASP.NET, Java solutions or possibly Ruby on Rails (but I have only briefly looked at the later two). More than likely, if ASP.NET did not exist, I would probably be more involved in server side Java for web applications.
Rocky <>< Latest Code Blog Post: SQL Server Express Warnings & Tips Latest Tech Blog Post: Microsoft doing it again!
-
Thanks for good answer. Only because of extreme power I want to use ASP in my work further...because sometimes i need to deal close with net connections or graphics...and in this case (and in many others) PHP is too simple. So you know PHP and ASP. Do you still use PHP at your work, or only ASP? And what about Template systems(as Smarty) for ASP.. i think the big problem of ASP is that its not so much for it? P.S. And other question for me, why so giants as YAHOO and Google using PHP? both are not small projects...
Monin D. wrote:
So you know PHP and ASP. Do you still use PHP at your work, or only ASP?
I've dropped PHP three years ago.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (2.0 Beta is out)
-
ASP is basically Microsoft's version of PHP. With ASP you must have a Microsoft server installed on your computer (which you have to pay for). But with PHP you have to install Apache web server (which is free). PHP has also been around a lot longer and has developed more. Plus, PHP is currently being rebuilt from the ground up, so you can count on a lot more features being added. Personally, I like PHP better, but you'd have to try each one out and see what you like better. -- modified at 17:24 Friday 12th January, 2007
Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.
I suspect he means ASP.NET
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
The difference between ASP and PHP is the difference between a brain tumour and prostate cancer. But, it seems you mean ASP.NET. I'd go with ASP.NET, for sure.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
ASP.Net (not ASP) do you will choose the preferred language (like c#, Vb.Net, Delphi, IronPython or until one managed php version (Phalanger) [^])
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:
-
First you need to pay attention to the name, is it ASP or ASP.NET as there is a huge differense between them. ASP is an old Microsoft technology for building page centric scripted websites and usually require knowledge of VBScript (can insert a big Yuck here). I find PHP more like ASP with a focus on building sites as a group of "scripts" while ASP.NET is focused on websites as "applications" which is an entirely different focus. PHP is more of a cobbled together language as it has evovled over the years unlike the clean object oriented C#/.NET frameworks. From the mention of using C#, I will assume you mean ASP.NET which is quite powerful and has many RAD features to build sites out quickly and easily while still being very manageable. You can easily share code (typically backend code, data tiers business logic) between desktop and web applications as long as you pay close attention to "state" and object lifespan. ASP.NET brings a lot of functinality right out of the box not to mention the tons of third party controls and tools that are available. While other technologies such as ASP and PHP can do about the same thing, it usually requires much more code to accomplish the same tasks. Some will aruge that you have to pay more for ASP.NET sites for hosting, but nowadays there is usually not much of a difference if any at all. There are only three web technologies I would consider in today's world, ASP.NET, Java solutions or possibly Ruby on Rails (but I have only briefly looked at the later two). More than likely, if ASP.NET did not exist, I would probably be more involved in server side Java for web applications.
Rocky <>< Latest Code Blog Post: SQL Server Express Warnings & Tips Latest Tech Blog Post: Microsoft doing it again!
-
by 'ASP' do you mean VBScript ? stay far away from VBScript. it will corrupt your mind and give you warts. you can do JavaScript in ASP pages, though. and that's something worth learning.
image processing toolkits | batch image processing | blogging
-
ASP.Net (not ASP) do you will choose the preferred language (like c#, Vb.Net, Delphi, IronPython or until one managed php version (Phalanger) [^])
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:
There's also Eiffel for ASP.NET. http://www.eiffel.com/products/eifaspnet/index.html[^] Currently still in .NET 1.1 though.
Kevin
-
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
I blogged about this the last time somebody asked. Here's the link. http://smoothjazzy.blogspot.com/2006/12/aspnet-vs-php-love-or-money.html[^]
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles. -
I know very well PHP and C#. As a language, C# is much more better as PHP... and as IDE Visual Studio is better than anything for PHP. I think now to learn ASP, because I like C# more. But I dont know...no one uses ASP...:) every one uses PHP. What disadvantages has ASP? I see only one, that its impossible to install it on Linux Server...is there anything else?
C# has nothing on PHP as a server side language. PHP has limitless posibilities for what it does on the server. I am not going to go too far into this as I could be here forever, but the key reasons for me are: + Expanability + Ease of use + Cross platform capability + Easy intergration + Amazing Java support + Performance + and finally, a very active and productive development community
Brad Australian -CAUTION- The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.