|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is it just the websites i browse to or is it that more web sites use php/mysql than .NET(aspx)/M$ SQL?
__________________
regards, Fulton |
|
#2
|
|||
|
|||
|
Yeah more sites use php...
but...i noticed that sites like americanexpress use aspx... i think php is used by smaller sites. Or at least sites that aren't connected to their internal biz systems.
__________________
Regards, James Yang .NET Developer / Network Engineer MCSE, MCDBA, MCSA, CCNA http://www.yellowpin.com/ http://www.opentechsupport.com/ |
|
#3
|
|||
|
|||
|
PHP is used quite a bit for ecommerce. The main reason so many massive sites use ASP or ASP.NET is because they can get support contracts on the software through Microsoft Certified Partners that aren't as easy to get on Open-Source based apps. There are also a lot of good ATL components for Windows that you can just buy and plug in and have access to a new object model for your commerce site. Lastly, big companies like to use established, well known vendors, like Microsoft, for software. The problem with the whole open source thing is that there isn't anyone doing that... you have Sun, but no one uses Java for commerce =(
and don't forget... PHP is installed on over 90% of all servers on the internet. Less than 25% of all servers on the internet run Windows. |
|
#4
|
|||
|
|||
|
I would say, PHP is harder to maintain that ASP.NET sites. PHP is still procedural language and businesses tend to go for OO platform.
Another problem with PHP is its speed. Another ones its integration with other systems. So if ur company runs microsoft servers, then using asP.net allows u to tighly integrate ur site AND ur company network. I don't think PHP can integrate that easily with linux directory. ASP.NET has native support for active directory operations and maintanence. PHP is installed on over 90% of all servers on the internet . Less than 25% of all servers on the internet run Windows. |
|
#5
|
|||
|
|||
|
I have to disagree with that statement. There are several large companies using PHP, ranging from Air Canada, to Ericsson, Fujitsu, Ikea, RiteAid, Sony and many more...
As far as why large corporations DO use ASP.NET, is mainly because of the support factor that CrazyTrain mentioned. Companies would rather have their support done by a 3rd party company (with partnerships to Microsoft) rather than hiring their own knowledgeable staff, or even hiring a firm who specializes in PHP support. As for OO capabilities, right now... YES. In the future... NO. PHP5's release is slated to have full support for OOP (abstract classes, private methods and members, etc.) which will allow full Object Oriented applications to be built. James, many companies are using Java technology for commerce. JSP may not be a big thing in small-medium sized businesses, but large corporations have much of their time and money invested into J2EE. The speed factor is also debatable. By using caching systems, PHP can be as fast, if not faster, than ASP-based applications. It's all relative, in my opinion. But PHP is a definite contender in the corporate environment. It just doesn't have the multi-billion dollar ad campaigns that some companies have! ![]()
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#6
|
|||
|
|||
|
Actually - talking about speed, 95% of php users don't realize the benefit of using the zend encoder - when the zend encoder is mentioned to them, the first thing they think of is script encryption. Well, hang on to your hats, theres much more to the encoder than meets the eye.
When a php script is run, it is first compiled to the zend byte code at run time then sent to the parser for execution. When using the zend encoder, not only does it encode the script to make it unreadable, it converts it to the zend byte code. So, when the script is called, it is sent directly to the parser for generation, thus outperforming an unencrypted (by not using the zend encoder) script by 5 times or more - even scripts running the zend accelerator. IMHO - there may be nothing on the market today as far as web scripting languages (and not talking about CF which isn't a langauge) that can get close to the speed of a zend encrypted script, as long as it is properly designed. Zend 2.0 will even take it further with more performance boosts. Only drawback is the price of the zend encoder - that can get pretty hefty with a whole team of developers in the office...
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#7
|
|||
|
|||
|
notice how i didnt' use the word big ? I said asp.net is used where integration between the inner system and web system is needed
![]() |
|
#8
|
|||
|
|||
|
hmm here it is again... php vs asp.net argument..
Im really sick of people who tries to attack asp.net whenever they can ! They speculate, and always use "if php can do taht , it will be faster" and also that darn PHP5..when is it going to come out? and stop..."well php5 can do that" statement. I said, asp.net is superior in integrating corporate system and web system not superior for corporate environment. Sony and all those sites you mentioned doesn't have the website connected to their internal system. so why are you mentioning them to support ur argument ? I also said large SITES not companies. a site that seels a product isn't a big site. Air canada just need to chk its database and sell...it isn't a big site. But on the other hand AMEX is a big site that allows ppl to manage their credit cards online. well as far as im concerned, pHP 5 does NOT have full implementations of OOP, well even if it is, its libraries are still written in non OOP way. Also PHP 5 isn't out yet. We are talking about current PHP and asp.net not PHP5. So it having OO features doesn't have anything to do with php's %usage. If it isn't the tested fact then dont use it as ur evidence! please avoid "better if it implements x" kind of statement. So if php hasn't been tested against .net with caching system (i dunno what that is yet..please explain), then dont say its faster. .NET has been tested to be as fast as C++ ISAPI. Can PHP do that ? I wanna see the evidence. As of Java, it doesn't especially relate to this thread as, the topic is...PHP/ASPX ratio...yeah sure java is awesome ! its clean, fast (well not really..java user groups test show that .net was faster than java)...but that's not the topic. Support? geez, the main arguments i heard so far about supporting view of php and linux was their uncomparable support from its developer community. Now, im wonderig about the validity of this argument. I said. yeah tehre are more sites with PHP..is that wrong? what did i say to make u disagree? Let me ask you this question? do you really think .NEt is inferior to PHP OR do you just hate MS ? It just makes me angry now when ppl just give the typical "php is better " post .. its not interesting anymore so let's avoid this controversal topic. But if u decide to continue, please have ur evidences ready and read my post properly. |
|
#9
|
|||
|
|||
|
Hmm - i am hoping that is not intended for me, as I don't believe that I have ever said one langauge is better than another - not even on devshed. The only thing that I mentioned was the speed factors, which I can provide proof on as I have access to the encoder - so if one wants to design a web app in .net and show the code to ensure the benchmark is not padded, I will also do the same in php and we can compare the two.
Just let me know if any .net guys are up to the challenge as it would take me a couple weeks before I could start such a thing as I am slammed with 4 jobs at the moment. But yes, no problem as everyone knows the proof is in the pudding .Also, trust me, I am not a hater - I will accept the cash in hand off a microsoft job just as quickly as an open source job... |
|
#10
|
|||
|
|||
|
JPenn,
that wasn't meant for you.. it was for franky... nothing personal franky...but ive been faced with this argument too many times that its not funny anymore. Both .NET ppl and PHP ppl got to come up with new arguments. Though there are concrete facts atm. .NET IS faster than PHP. NOT PHP5, not PHP with encoding, not PHP with extra stuff on it. PHP ..the way u download it! the way MOST ppl use it. .NET has better integration with directory services. Whether that is active directory or ndis. PHP wasn't meant for that! .NET also allows easier integration with internal business systems, wheter that is to SQL server, application center etc. MySQL just won't cut it forthat ..plus ppl are saying MySql sux now..bcuz its not going to be free anymore...what happened to all those loyal users? who argued mysql was better than oracle, sqlk server, etc? they are saying mysql sux...what changed ? price...not its performance. As with the test, provide me with evidence and I'll believe it. Don't speculate. JPenn, use that pet shop example. Try to make the same app with PHP with mysql,and test it. Make sure u use 2 tier architecture. don't shove everything into one machine. Oh yeah..use sql server not MSDE. then test it... |
|
#11
|
|||
|
|||
|
Okay guys yeah php is great but .net is far superior to php and by the way .net is NOT a microsoft product geniuses, there happens to be a version of the sdk for FREEBSD which last time i checked was a unix platform not windows. So if anyone is open-minded you might want to try out the better technology first before saying that it sucks.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > PHP/ASPX ratio |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|