Slashdot Mirror


PHP 5.0 Goes For Microsoft's ASP-dot-Net

Dozix007 writes "Uberhacker.Com reports : Zend Technologies quietly announced last week the final release of the open source PHP version 5. An interesting article reports the different strengths and weaknesses of ASP vs. PHP, and it becomes quite clear that with the release of PHP5, Zend has taken a shot at ASP's heart. The differences from PHP4 to 5 has created a clear advantage for the new preprocessor over Microsoft's proprietery ASP."

24 of 478 comments (clear)

  1. How about we post to a MS whitepaper instead? by strictnein · · Score: 5, Insightful

    Interesting how the head-to-head with PHP 5.0 and ASP.NET is hosted on Oracle's site. I guess it's not like Microsoft and Oracle make competing products or anything.

    We might as well Get the Facts on Windows and Linux.

  2. Ok, here is where I object: by Bold+Marauder · · Score: 5, Insightful
    Price. Here, we must consider not simply the price tag of the initial investment, which, in the case of PHP, is obviously free, but also the implementation, maintenance, and debugging costs. In the case of PHP, you may invest in the Zend optimization engine. With ASP, however, you're investing from the very beginning, and you're spending for add-on technologies--libraries for doing graphics manipulations, for instance. But, in the long term, PHP isn't going to press you to upgrade and collect more licensing fees. Everyone who has dealt with complex licensing also knows that companies spend time and money just ensuring they are compliant. Furthermore, you have a difference in response when getting bugs fixed. This, of course, translates to time, which translates to cost for overall development.


    So...I have to pay for features that I can get from the competitor for free, I have to pay (my employees) to insure that I am paying what I need to (for a product wich offers comparable services as the competitor) and I get to continually be pressed to upgrade and give them more money in licensing fees.

    [sarcasm]Gee whiz, mister; where do I sign up?[/sarcasm]
    1. Re:Ok, here is where I object: by SpaceLifeForm · · Score: 5, Funny

      Yes, dealing with MS is a pain in the ASP.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    2. Re:Ok, here is where I object: by Bold+Marauder · · Score: 5, Insightful
      Funny how putting people out of work is only bad when MS does it. If a bunch of college kids do it in the name of 'free software' it's just peachy.

      When MS does it, the tools they use to put people out of work with are hidden behind a wall of EULAs, patents and lawyers. When "college kids" (or professionals working in their spare time, or professionals working for a company such as IBM) do it, they release the product out into the community, where other people who are working are free to pick up on the source and either charge to customise it, or charge for support it. Of course, if that 'free software' is under the GNU License, it's perfectly ok to sell it.

      So, to summarise; when MS puts people out of work with their products, only they benefit. When "free software" does it, the entire computing community benefits, as does the economy (eg, people working for Sun, IBM, Novell who work on OSS projects).
    3. Re:Ok, here is where I object: by kpansky · · Score: 5, Funny

      ASPs... very dangerous..... You go first.

      --

      --Kevin
    4. Re:Ok, here is where I object: by robertjw · · Score: 5, Insightful

      Shallow labor pool == expensive labor pool

      Sure, but I can pay more for a developer when I'm saving money in license fees.

    5. Re:Ok, here is where I object: by Bedouin+X · · Score: 5, Informative

      I understand licensing issues but they just aren't as big a deal in ASP.NET as these posts (and the article) are making it out. To use ASP.NET you need a license for the server and that's it. Most add-on components are the same. There is also so much ASP.NET sample code out there that there isn't a lot that you can't figure out for free using the same methods that you would use for PHP code.

      Licensing issues get a little more complex when dealing with database servers and the like, but using Oracle isn't going to change that and it's not like you can't use MySQL with ASP.NET.

      I'm all for the advantages of OSS and PHP does have advantages, but let's not cloud the issue unnecessarily.

      --
      Dissolve... Resolve... Evolve...
  3. It's Visual Studio, not the languages! by Cavio · · Score: 5, Insightful

    As a former PHP hacker now forced by the corporate world to program in ASP.NET, the article is forgetting the number one advantage ASP has over PHP. A killer IDE.

    I really dislike ASP and Visual Studio, but PHBs tend to like pointly clicky interfaces. It makes them feel like if they have to fire the whole development staff, they can take over coding; after all, it is just a GUI.

    Visual Studio is Microsoft's real killer app. That is what Monkey Boy was dancing around screaming developers about. Most developers are mediocre, and if you give them a handholding tool that keeps them from doing anything too stupid (or too great), they will love you for giving them some job security.

    Alright PHP guys, can you give us that? Can you save us from having to think for ourselves? I may have filled my last remaining unallocated brain cells reading the man page for gcc.

    --

    Please bid on this Karmann Ghia! Please pleas

    1. Re:It's Visual Studio, not the languages! by jcrash · · Score: 5, Insightful

      Yes, this is where Microsoft scores time and time again.

      I code ASP (always) and ASP.NET (sometimes) in textpad - but the PHB's love the VS interface and the weaker developers have no idea how to code without it.

      Similarly, SQL Server has grown to where it is not because it performs better, but because developers and DBA's have a built-in interface in Enterprise Manager and i-SQL (now query analyzer). Oracle never understood the need to release a complete product. Managing an Oracle database - shoot even coding in one - is like night and day compared to SQL Server.

      --
      I do not fear computers. I fear the lack of them. Isaac Asimov (1920 - 1992)
    2. Re:It's Visual Studio, not the languages! by angst7 · · Score: 5, Informative

      I've been using Zend Studio for about a year and a half now, and it's a great IDE for doing PHP stuff. It has code completetion, a nice debugger, good integrated documentation, and a host of other nice features. I run it on both my Windows and Linux boxen, and I absolutely love it.

      --
      StrategyTalk.com, PC Game Forums
    3. Re:It's Visual Studio, not the languages! by Vaginal+Discharge · · Score: 5, Insightful

      I agree that VS.NET is a great killer app. But I don't buy that it's only for PHB or weaker developers. The one thing great about it is increased productivity, where it takes care most of the mundane details where you can just focus on the problem itself. No matter how great a programmer you are, if you don't use an IDE to increase productivity, then you're just plain missing the point.

      I don't for a moment believe that writing all your code using 'cat' means that you're better than everyone else.

      --
      "Glory is fleeting but obscurity is forever" - Napoleon Bonapart.
  4. This says it all by d_jedi · · Score: 5, Insightful

    In this article I'll focus on PHP, the technology Oracle has chosen to incorporate into its products, and ASP.NET.

    Yup, I expected a completely unbiased article after reading this in the second paragraph..

    --
    I am the maverick of Slashdot
    1. Re:This says it all by EllisDees · · Score: 5, Interesting

      >4.) Unified coding model. No more fiddling with half the code in JavaScript and half on whatever you use on server side.

      I call complete Bullshit on that comment. I use ASP.net on a daily basis, and if you want to do anything - and I mean *anything* - outside of the little tool box Microsoft has given you, you will have to use javascript on the client side and various tricks on the server side.

      --
      -- Give me ambiguity or give me something else!
  5. Another article by jacoplane · · Score: 5, Informative

    There was an article detailing the zend release on kuro5hin a few days ago. Quite a good read...

  6. After reading the FA ... by cablepokerface · · Score: 5, Interesting

    ... I had to conclude the writer barely knows what he is talking about. I am not flaming him, but someone who mentions only the ODBC drivers for ASP.NET and has never even heard about a Managed Provider, additionally puts this in a summary table:
    Speed:
    PHP4: strong PHP5: strong ASP.NET: weak
    Efficiency:
    PHP4: strong PHP5: strong ASP.NET: weak
    has some serious reading to do ...

    1. Re:After reading the FA ... by stratjakt · · Score: 5, Insightful

      Well, seeing as how this "interesting article", as the submitter calls it, is hosted on Oracle's site, you'd think the cynics here at slashdot would instantly recognize it as the typical marketing horseshit you'd find on any corporate page.

      Yeah, according to Oracle, Oracle+PHP5 (and oracle specific application development) is the bomb-diggity, ASP.Net and SQL Server are teh suck. I'm sure MSFT would tell you the opposite.

      This "article" has as much credibility as the MS-published Windows v. Linux TCO studies.

      But - of course - marketing horseshit is Gospel here at slashdot, just so long as it says MS sucks.

      --
      I don't need no instructions to know how to rock!!!!
  7. Microsoft's default .NET programming language by dalleboy · · Score: 5, Insightful

    The article states that Visual Basic .NET is Microsoft's default .NET programming language. I've always thought it was C#, because VB.NET lacks some of the features in C#.

  8. Performance Claims by DJ-Dodger · · Score: 5, Insightful

    Why do people think they can write these sort of articles and make performance claims in them without any sort of supporting evidence? Some quick numbers? A link to a study? Anything?

  9. PHP vs. ASP by iamdrscience · · Score: 5, Insightful

    For me, the choice is clear. You can compare the relatively minor pros and cons of PHP and ASP for days, but really they're both very similarly capable and you'd do about as well with one as with the other. The big difference I see is that PHP is cross platform and ASP is not. To me, that makes PHP the "winner", hands down. It makes it so that you can change platforms with your application later on and if you're writing code for other people to run then it means more people will have the opportunity to use it (whether this is an open source project or a commercial project you're doing).

    ASP runs on Windows and really only runs well with IIS. PHP runs on pretty much any platform you would ever want to run it on (and plenty of platforms you wouldn't) and works just as well with any webserver I've ever considered using.

    So while there may be small areas where ASP excels or where PHP is deficient, I think that those points are largely insignificant when you realize the platform limitations of ASP. Oddly enough though, I'm not sure I've ever heard anyone cite this as an advantage of PHP, whereas I come across an article comparing esoteric differences every few weeks.

  10. FUD? by Banshee99 · · Score: 5, Insightful

    Looks like this article is full of it. Slow .NET code? ASP.NET can be compiled into DLLs, and at my old job we upgraded many of our ASP and PHP projects to .NET with a large speed increase. Only works on IIS? Try out the mono project.

    Also seems like everyone is complaining about ASP. ASP and ASP.NET are two completely different beasts. ASP was buggy and a pain in the rear to work with. ASP.NET, however, was amazingly simple to use with an amazing debugger (VS.NET). Please keep on the subject and leave out ASP.

  11. ASP.NET inaccuracies by Burb · · Score: 5, Informative
    A few comments from an ASP.NET user:

    The article implies that CLR code is interpreted. All .NET runs compiled code, either JIT or AOT compiled. And there's an unsubstantiated remark about efficiency and "Long code paths". That looks like FUD to me, and without something substantial it seems suspicious.

    --

  12. lies lies and more untruths by pc-0x90 · · Score: 5, Interesting

    I do a substantial amount of ASP.Net coding and they seemed to just give a weak gloss over the actual technology they were comparing here. First, IIS & Win32 are *not* the only places where you can run ASP.Net. The mono project is getting better and better fairly quickly. This is mentioned briefly in their "security" section.. which is also a load of crap. Price: PHP has a habit of becoming very perl-esque over time because of the language. Maybe 5 changes this, but I doubt it's enforced. So an IDE that's going to clean your code vs. cost in man-hours spent debugging some "super efficient php code" (read: "looks like perl") bleh.. I'll take the IDE The database code samples *Don't do the same thing* .. but they DO show the people who wrote the article don't know ASP.Net, because they're using the old and insecure form of database connections as opposed to parameterized queries. Nice to know that both sides of the fence are as equally capable of FUD.

  13. Re:It's Visual Studio .. PHP Editor Galores! by Phiu-x · · Score: 5, Informative

    Need to find a good PHP Editor ?


    All of them (commercial,free,OSS) reviewed and classified: http://www.php-editors.com/

    My personnal (and free) favorite : PHP EDIT: http://www.waterproof.fr/

    Need a PHP Debugger? DBG can do remote debugging and it can be integrated with the PHP Edit IDE, which is very nice : http://dd.cron.ru/dbg/

    Now, who need Visual Studio? Almost every (php) editors now has code insight, integrated help, code completion, skins and whatnot. Hell, I sometimes go back to Notepad for quick fixes because its faster to fire up. But if you said PHP need an IDE, I think that you have not looked around very much.

    Now people start your eng-uh editors and go code some PHP!

    --
    This is a stolen sig.
  14. Total hearsay FUD by abelikoff · · Score: 5, Insightful
    I've been doing ASP.NET development for relatively little time, compared to about 3 years of PHP programming (nothing of production quality though) but I have to say - this article is total BS.

    It is actually quite sad to see such superficial attempts to justify an open-source product merely on the "merits" of not being produced by Microsoft. I mean, using criteria like "strong", "weak", "$$" is not what I would consider professional. I good way to compare products actually would be to get the experts to implement a relatively real-life project (like the famous Pet Store) in both languages and then compare the development time, speed, code metrics, scalability, and potential for extensions. That would be a true comparison, not the "metrics" used in the article.

    Now back to personal preferences. Being a UNIX programmer with about 16 years of experience, I can assure you ASP.NET blows any other Web framework out of the water. Yes, it is that good. You get a very nice and consistent object model with full .NET power behind it. JSP and servlets shouldn't bother either as all HTML is generated transparently - in many cases you don't have to write a single line in HTML! As a result, you write less code, it is easier to maintain, with fewer opportunities for bugs or security holes. All are considered best practices in my book. I'd love to see PHP mature to the ASP.NET level but it is simply not there yet and even the attempts of PHP 5 to tackle these problems is a step in right direction, there is still a very long way to go.