PHP vs. ASP

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

    PHP vs. ASP

    I read somewhere that asp is much more better.if someone has plan to do more
    complex job (like web shop or with databases) than it is better for that
    person to learn asp.

    is that true? why?

    any experience


  • Chris Hope

    #2
    Re: PHP vs. ASP

    godfader wrote:
    [color=blue]
    > I read somewhere that asp is much more better.if someone has plan to do
    > more complex job (like web shop or with databases) than it is better for
    > that person to learn asp.[/color]

    I personally much prefer PHP over ASP because I find it's easier to code
    with, there's heaps of functions for doing just about anything (contrast
    with ASP which I have always found to be very limited), and there's a heap
    of free tools out there for doing stuff with PHP. Very generally, 3rd party
    tools, add ons and useful stuff in ASP costs you money.

    --
    Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/

    Comment

    • Leythos

      #3
      Re: PHP vs. ASP

      In article <co5q86$9or$1@b agan.srce.hr>, myemail314@yaho o.com says...[color=blue]
      > I read somewhere that asp is much more better.if someone has plan to do more
      > complex job (like web shop or with databases) than it is better for that
      > person to learn asp.[/color]

      There is no proper answer for this. Many people design on many platforms
      and can do the exact same thing in multiple languages. I personally like
      ASP and ASP.Net, but I also do PHP and ColdFusion, but I don't pick one
      as being better than the others.

      A deciding factor can be the back-end database and the platform the web
      server is running on.

      If you are going to choose ASP, use ASP.Net instead, longer support
      period, more robust, easier to pick a scripting language, tons of new
      ideas out there.

      --
      --
      spamfree999@rro hio.com
      (Remove 999 to reply to me)

      Comment

      • Sundial Services

        #4
        Re: PHP vs. ASP

        godfader wrote:[color=blue]
        > I read somewhere that asp is much more better.if someone has plan to do
        > more complex job (like web shop or with databases) than it is better for
        > that person to learn asp.
        > is that true? why?[/color]

        "When in Rome, do as the Romans do." In the Windows environment, the most
        common web-host is IIS and the tool-de-jour is some form of Visual Ba...
        ahh, that is, ASP.

        On the other hand, in Unix/Linux worlds you are not going to see ASP at all
        because (afaik) it doesn't run there.

        The power of the two languages is comparable, very loosely speaking, and
        their basic methodology for solving a problem is also comparable.

        Comment

        • Chris Hope

          #5
          Re: PHP vs. ASP

          Leythos wrote:
          [color=blue]
          > In article <co5q86$9or$1@b agan.srce.hr>, myemail314@yaho o.com says...[color=green]
          >> I read somewhere that asp is much more better.if someone has plan to do
          >> more complex job (like web shop or with databases) than it is better for
          >> that person to learn asp.[/color]
          >
          > There is no proper answer for this. Many people design on many platforms
          > and can do the exact same thing in multiple languages. I personally like
          > ASP and ASP.Net, but I also do PHP and ColdFusion, but I don't pick one
          > as being better than the others.
          >
          > A deciding factor can be the back-end database and the platform the web
          > server is running on.
          >
          > If you are going to choose ASP, use ASP.Net instead, longer support
          > period, more robust, easier to pick a scripting language, tons of new
          > ideas out there.[/color]

          I'd agree that it's better to learn asp.net over old asp. There's a steeper
          learning curve but it will pay off dividends in the long term. And unlike
          old asp there's heaps of functions for doing all sorts of stuff in the core
          libraries.

          --
          Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/

          Comment

          • Alvaro G Vicario

            #6
            Re: PHP vs. ASP

            *** godfader wrote/escribió (Fri, 26 Nov 2004 00:35:36 +0100):[color=blue]
            > I read somewhere that asp is much more better.if someone has plan to do more
            > complex job (like web shop or with databases) than it is better for that
            > person to learn asp.[/color]

            Well, first of all classic ASP is obsolete. We should be comparing ASP.NET
            vs PHP. Secondly, ASP.NET is designed for Windows platforms; there're
            probably third-party inventions to make it work under Unix but personally
            I'd never consider it for web site development under Unix.

            About the languages themselves, I believe they have different goals. PHP is
            a pretty simple language while ASP.NET requires learning more complex
            languages like C# or Visual Basic. I've also heard that writing simple apps
            in ASP.NET is rather complicated. My opinion is that PHP is the option for
            small to middle sized sites and amateur developers while large corporate
            sites could benefit from both.

            --
            -- Álvaro G. Vicario - Burgos, Spain
            -- Thank you for not e-mailing me your questions
            --

            Comment

            • Sundial Services

              #7
              Re: PHP vs. ASP

              Leythos wrote:[color=blue]
              > In article <co5q86$9or$1@b agan.srce.hr>, myemail314@yaho o.com says...[color=green]
              >> I read somewhere that asp is much more better.if someone has plan to do
              >> more complex job (like web shop or with databases) than it is better for
              >> that person to learn asp.[/color]
              > There is no proper answer for this. Many people design on many platforms
              > and can do the exact same thing in multiple languages. I personally like
              > ASP and ASP.Net, but I also do PHP and ColdFusion, but I don't pick one
              > as being better than the others.
              > A deciding factor can be the back-end database and the platform the web
              > server is running on.
              > If you are going to choose ASP, use ASP.Net instead, longer support
              > period, more robust, easier to pick a scripting language, tons of new
              > ideas out there.[/color]

              I think it's very enlightening to observe that "ASP is obsolete" only a few
              short years after its introduction ... and to use "new" ASP.Net, which is
              largely incompatible, you must buy a new version of the server. This may
              be the world's best argument for using PHP instead. The whole world simply
              does not "convert" and "rewrite" when Redmond asks them to; nor should they
              have to, just to be able to continue to run software that ran perfectly
              well before.

              Comment

              • Geoff Berrow

                #8
                Re: PHP vs. ASP

                I noticed that Message-ID: <co7al7$fqn$1@d omitilla.aioe.o rg> from
                Sundial Services contained the following:
                [color=blue]
                >The whole world simply
                >does not "convert" and "rewrite" when Redmond asks them to; nor should they
                >have to, just to be able to continue to run software that ran perfectly
                >well before.[/color]

                Whilst I'm no M$ fan can you say 'register globals'?

                --
                Geoff Berrow (put thecat out to email)
                It's only Usenet, no one dies.
                My opinions, not the committee's, mine.
                Simple RFDs http://www.ckdog.co.uk/rfdmaker/

                Comment

                • Alan Little

                  #9
                  Re: PHP vs. ASP

                  Carved in mystic runes upon the very living rock, the last words of
                  godfader of comp.lang.php make plain:
                  [color=blue]
                  > I read somewhere that asp is much more better.if someone has plan to
                  > do more complex job (like web shop or with databases) than it is
                  > better for that person to learn asp.[/color]

                  I'm going to assume you mean VBScript, since that's the most common ASP
                  language, and what most people mean when they say "ASP".

                  I have worked extensively in both PHP and VBScript. My VBScript code is
                  quite frequently studded with comments ranting about the language. It is
                  appallingly limited, awkward and clunky, and usually requires third-party
                  extensions (often not free) to do anything useful; things that other
                  languages do natively.

                  I can't speak for ASP.Net, as I've never worked with it (knock on wood).
                  But as someone else pointed out, how long before it's replaced with
                  ASP.Whatever.In compatible.Make BuxforMS?

                  PHP crosses platforms quite easily -- I've developed entire apps with it
                  on *nix and Windows, Apache and IIS. Chilisoft (now owned by Sun, I
                  believe) makes an ASP gateway for *nix, but I don't know how well it
                  works.

                  If you're working on a Windows platform and don't want to use PHP, try
                  Cold Fusion instead. It has its weaknesses, but is light years beyond
                  VBScript. Hell, Malbolge is light years beyond VBScript.

                  --
                  Alan Little
                  Phorm PHP Form Processor

                  Comment

                  • Alan Little

                    #10
                    Re: PHP vs. ASP

                    Carved in mystic runes upon the very living rock, the last words of Alan
                    Little of comp.lang.php make plain:
                    [color=blue]
                    > Hell, Malbolge[/color]

                    Er, no pun intended :)

                    --
                    Alan Little
                    Phorm PHP Form Processor

                    Comment

                    • Christian Caron

                      #11
                      Re: PHP vs. ASP


                      "Sundial Services" <info@sundialse rvices.com> wrote in message
                      news:co68i5$lgj $1@domitilla.ai oe.org...
                      [color=blue]
                      > On the other hand, in Unix/Linux worlds you are not going to see ASP at[/color]
                      all[color=blue]
                      > because (afaik) it doesn't run there.
                      >[/color]

                      Argh! Guess what?!? Sun supports ASP pages on their iPlanet/SunONE webserver
                      (Solaris)! Not that you want to try iPlanet/SunONE, or ASP on it...

                      Christian


                      Comment

                      • Chung Leong

                        #12
                        Re: PHP vs. ASP

                        "godfader" <myemail314@yah oo.com> wrote in message
                        news:co5q86$9or $1@bagan.srce.h r...[color=blue]
                        > I read somewhere that asp is much more better.if someone has plan to do[/color]
                        more[color=blue]
                        > complex job (like web shop or with databases) than it is better for that
                        > person to learn asp.
                        >
                        > is that true? why?
                        >
                        > any experience[/color]

                        I would stay away from plain old ASP since, in Microsoft's eyes, that's a
                        obsolete technology. The question should really be ASP.NET or PHP.

                        I have developed in both ASP.NET and PHP. The learning curve for the ASP.NET
                        is very steep, as others have noted. Although if you're an experienced
                        Windows programmer you'd probably feel quite at home in the event-driven
                        model. I wouldn't say that PHP is easy, but it's definitely much more
                        straight forward. For instance, in PHP most functionalities are encapsulated
                        in simple functions. To find out what a function does all you have to do is
                        look up the function name in the help system. In contrast, ASP.NET uses a
                        extremely--unnecessarily, if you ask me--complex object model. Everything
                        involves namespace, inheritance, and overloading. Using the help system at
                        times can feel like navigating through a maze.

                        Both technology is powerful enough for e-commerce sites. The advantage
                        ASP.NET has over PHP is scalability in terms of site traffic. A server could
                        handle far more concurrent requests running ASP.NET/MSSQL/IIS than
                        PHP/MySQL/Apache. Unless you're expecting millions of page hits per day that
                        probably won't matter though.



                        Comment

                        • Berislav Lopac

                          #13
                          Re: PHP vs. ASP

                          Alan Little wrote:[color=blue]
                          > If you're working on a Windows platform and don't want to use PHP, try
                          > Cold Fusion instead. It has its weaknesses, but is light years beyond
                          > VBScript. Hell, Malbolge is light years beyond VBScript.[/color]

                          Of course, you can always opt for using languages other than VBS on ASP.
                          Such as JScript, which is an implementation of one of the best programming
                          languages existing today.

                          Berislav


                          Comment

                          • pomasl

                            #14
                            Re: PHP vs. ASP

                            Geoff Berrow wrote:[color=blue]
                            > I noticed that Message-ID: <co7al7$fqn$1@d omitilla.aioe.o rg> from
                            > Sundial Services contained the following:
                            >
                            >[color=green]
                            >>The whole world simply
                            >>does not "convert" and "rewrite" when Redmond asks them to; nor should they
                            >>have to, just to be able to continue to run software that ran perfectly
                            >>well before.[/color]
                            >
                            >
                            > Whilst I'm no M$ fan can you say 'register globals'?
                            >[/color]
                            Apples and oranges.
                            Register Globals is a security issue AND you can turn it back on to make your
                            old scripts work correctly WHILE you are fixing them to close the security issue!!

                            --
                            Christopher J Pomasl Suse Linux 9.0
                            Senior Software Engineer Starband 360 4/68
                            Computer Associates SPEBSQSA, Lead/Bari, SOR
                            IBM Certified Specialist - DB2 UDB V6/V7 User
                            IBM Certified Solutions Expert - DB2 V7 Family Application Development
                            IBM Certified Solutions Expert - DB2 UDB Database Administration for OS/390
                            Always remember, you are unique...just like everyone else.

                            Comment

                            • Alan Little

                              #15
                              Re: PHP vs. ASP

                              Carved in mystic runes upon the very living rock, the last words of
                              Berislav Lopac of comp.lang.php make plain:
                              [color=blue]
                              > Alan Little wrote:[color=green]
                              >> If you're working on a Windows platform and don't want to use PHP,
                              >> try Cold Fusion instead. It has its weaknesses, but is light years
                              >> beyond VBScript. Hell, Malbolge is light years beyond VBScript.[/color]
                              >
                              > Of course, you can always opt for using languages other than VBS on
                              > ASP. Such as JScript, which is an implementation of one of the best
                              > programming languages existing today.[/color]

                              Again, not something I've worked with, so I can't say. But ASP is a
                              protocol, not a language, so when people say something like "ASP vs PHP"
                              they usually are referring to VBScript.

                              --
                              Alan Little
                              Phorm PHP Form Processor

                              Comment

                              Working...