oracle article: "PHP vs. ASP.NET"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terence

    oracle article: "PHP vs. ASP.NET"

    These comparrison articles are always fun :)

    Access cloud trials and software downloads for Oracle applications, middleware, database, Java, developer tools, and more.

  • Kevin Thorpe

    #2
    Re: oracle article: "PHP vs. ASP.NET"

    Terence wrote:[color=blue]
    > These comparrison articles are always fun :)
    >
    > http://otn.oracle.com/pub/articles/hull_asp.html[/color]

    Especially when they disappear before anyone can read them ;-)

    Comment

    • Jerry Gitomer

      #3
      Re: oracle article: "PHP vs. ASP.NET"

      On Thu, 01 Apr 2004 11:15:35 +0100, Kevin Thorpe wrote:
      [color=blue]
      > Terence wrote:[color=green]
      >> These comparrison articles are always fun :)
      >>
      >> http://otn.oracle.com/pub/articles/hull_asp.html[/color]
      >
      > Especially when they disappear before anyone can read them ;-)[/color]

      It is still there. I just read it.

      Jerry

      Comment

      • Justin Koivisto

        #4
        Re: oracle article: "PHP vs. ASP.NET"

        Kevin Thorpe wrote:
        [color=blue]
        > Terence wrote:
        >[color=green]
        >> These comparrison articles are always fun :)
        >>
        >> http://otn.oracle.com/pub/articles/hull_asp.html[/color]
        >
        > Especially when they disappear before anyone can read them ;-)[/color]

        I saw it just fine... Here's the bottom line on it:

        (quoted from http://otn.oracle.com/pub/articles/hull_asp.html)

        Making the Choice

        Without assuming you've already decided to go with PHP, I'll conclude
        that its strengths far outweigh its weaknesses. (See the summary in
        Table 1.) It boils down to price, speed and efficiency, security,
        cross-platform applicability, and open-source opportunity. Its only
        weakness is its lack of a pure and perfect OOP implementation; however,
        this is a minor drawback. Though language constructs do help,
        ultimately, good coding is a matter of practice, execution, good habits,
        and discipline.

        Table 1
        PHP 4 PHP 5 ASP.NET
        Software price free free free
        Platform price free free $$
        Speed strong strong weak
        Efficiency strong strong weak
        Security strong strong strong
        Platform strong strong weak (IIS only)
        Platform any any win32 (IIS only)
        Source available yes yes no
        Exceptions no yes yes
        OOP weak strong strong

        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—li braries 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.

        Speed and efficiency. As I mentioned earlier, ASP.NET is a framework
        allowing you to use various programming languages. In addition, it is
        touted as having a great object-oriented model. All this is true, but it
        becomes a detriment as far as speed is concerned. For all that
        advantage, there is a lot more code to run through to execute the same
        ASP page than you have to execute in the PHP engine for an equivalent
        PHP page. PHP is the quick-and-dirty type of solution, the one to get
        the job done. And though a lot of robustness has been added to it since
        its 2.0 and 3.0 days, it still retains that core optimized high-speed
        approach.

        Speed is not the only consideration. Memory usage is also important.

        Security. ASP.NET runs on IIS, which has been compromised innumerable
        times, as evidenced by IT news reports every other week. It has become
        such a liability, in fact, that in spite of all the marketing dollars
        spent on it, many IT professionals refuse to have their networks exposed
        with an IIS Web server. PHP, however, works with Apache, which has a
        proven track record of speed, reliability, and hardened security. Check
        www.securityfocus.com for more information.

        Cross-platform applicability. ASP.NET runs on IIS and is starting to run
        on Apache, which can run on a whole host of platforms. PHP has been
        designed to work with Apache from the beginning, so you have many proven
        and reliable server platforms to choose from.

        Open source opportunity. Open source is not just some philosophical
        torch idealistic programmers, or companies wanting to save a few bucks
        on licensing costs, are carrying. When you're dealing with bugs in the
        software itself, open source can be a serious godsend.

        In either case, with PHP or ASP.NET, you have a large user base using
        the software and possibly encountering bugs. With ASP.NET, those bugs
        have to go through a bureaucratic process to get acknowledged, fixed,
        tested, and rolled out in a new patch or release. PHP fixes, however,
        can get fixed quickly and rereleased. Anyone who has watched open-source
        development knows new releases and patches often come out in days rather
        than in weeks or months, as with commercial software. If that's not fast
        enough, you can always fix a problem yourself if you have to.

        --
        Justin Koivisto - spam@koivi.com
        PHP POSTERS: Please use comp.lang.php for PHP related questions,
        alt.php* groups are not recommended.
        SEO Competition League: http://seo.koivi.com/

        Comment

        • Kevin Thorpe

          #5
          Re: oracle article: "PHP vs. ASP.NET"

          > I saw it just fine... Here's the bottom line on it:[color=blue]
          >
          > (quoted from http://otn.oracle.com/pub/articles/hull_asp.html)
          >
          > Making the Choice[/color]

          Thanks, it had disappeared earlier on but then the 'net has been
          somewhat flaky today.

          It looks like I chose the right solution in the first place, but then
          from my perspective it was a no-brainer (no budget).

          Comment

          • Phil Roberts

            #6
            Re: oracle article: "PHP vs. ASP.NET"

            With total disregard for any kind of safety measures Terence
            <tk.lists@fastm ail.fm> leapt forth and uttered:
            [color=blue]
            > These comparrison articles are always fun :)
            >
            > http://otn.oracle.com/pub/articles/hull_asp.html[/color]

            Dang, an article where PHP actually /beats/ ASP.NET? Thats a rare and
            beatiful thing.

            I have to say that the way Oracle seems to be coming out rooting for
            PHP is quite heartening after such a long period of silence over the
            issue.

            --
            Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/

            Comment

            • Terence

              #7
              Re: oracle article: &quot;PHP vs. ASP.NET&quot;

              Phil Roberts wrote:
              [color=blue]
              > With total disregard for any kind of safety measures Terence
              > <tk.lists@fastm ail.fm> leapt forth and uttered:
              >
              >[color=green]
              >>These comparrison articles are always fun :)
              >>
              >>http://otn.oracle.com/pub/articles/hull_asp.html[/color]
              >
              >
              > Dang, an article where PHP actually /beats/ ASP.NET? Thats a rare and
              > beatiful thing.
              >
              > I have to say that the way Oracle seems to be coming out rooting for
              > PHP is quite heartening after such a long period of silence over the
              > issue.
              >[/color]

              Near the beginning of the article basically invalidate the comparrison
              itself by saying that PHP is a language technology and ASP.net is more
              of a framework technology. These sorts of things are not really all that
              comparable. ASP.net needs to be compared to higher level web frameworks
              like Java Server Faces (Sun's new web framework that runs on top of
              their Servlets/JSP specification), Apache Struts (Java), Apache Cocoon
              (Java/XML), or Popoon (PHP5/XML), Krysalis(PHP/XML), or XAO-PHP(PHP/XML).

              I'm not an ASP.NET expert but from what I've seen, it has it's good
              points. Personally, I find it too prescriptive. My favourite framework
              is Cocoon, it is the most flexible and the most powerful and leaves
              asp.net stone dead in the water. There is a PHP port of Cocoon called
              Popoon, but I don't know that a direct port of that Java framework will
              preserves the advantes inherint in the PHP language. The XAO-PHP
              framework was written by yours truly but I haven't had the time to
              finish it and issue a final release -- although I still believe in the
              concept. It's worth checking out the framework stuff by Tony Masterton
              as well. He has done some sterling work based on many years of
              programming experience. I only endorse frameworks which centralise on
              XML-based transport layers since interoperabilit y is a paramount concern.

              REFERECNES:
              JSF home

              Sun's new IDE featuring JSF tools


              Apache Struts web framework

              Apache Cocoon publishing framework (XML pipelines)


              Bitflux Popoon (Cocoon port)

              I haven't checked this one out yet. They are upgrading the port to PHP5.

              PHP Framework for XML/XSL/SOAP

              Haven't checked this one out yet (I really should)

              Tony Masterton's work (comp.lang.php junkie ;)

              (I've read through this. looks good to me. Some very original ideas.)

              XML Application Objects (Object Oriented DOM-XML framework with XSL)

              I need to spend some time finalising it - although everything works.
              (when I'm not designing FarCry missions)

              Comment

              Working...