Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Php & Asp.net , Anybody?

Php & Asp.net , Anybody?

Scheduled Pinned Locked Moved The Lounge
16 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eytukan
    wrote on last edited by
    #1

    Anybody has good experience with both PHP & Asp.net? Can you share your experience? I was having a conversation :rolleyes: with my friend. I looked at PHP and read few lines and I could take that as I-hate-php. I'm not a full time web-developer. In fact, I've not done any big projects in Asp.net. But with my little experience with it, I could say, it could really be the fastest way to build a web application. C# & Visual studio just rock. The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much. If someone can say few words may be like- The biggest advantages and disadvantages from both the sides, It'll be nice. Please take up the mic :). *Leaves the stage*

    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

    R N P R R 5 Replies Last reply
    0
    • E Eytukan

      Anybody has good experience with both PHP & Asp.net? Can you share your experience? I was having a conversation :rolleyes: with my friend. I looked at PHP and read few lines and I could take that as I-hate-php. I'm not a full time web-developer. In fact, I've not done any big projects in Asp.net. But with my little experience with it, I could say, it could really be the fastest way to build a web application. C# & Visual studio just rock. The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much. If someone can say few words may be like- The biggest advantages and disadvantages from both the sides, It'll be nice. Please take up the mic :). *Leaves the stage*

      Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

      R Offline
      R Offline
      realJSOP
      wrote on last edited by
      #2

      PHP has the advantage of not being a Microsoft product, and it's still under development. On the other hand, it's much harder to code in because (while I was doing it) I couldn't "debug" it in the normal sense of the word. My first official .Net task was to convert some PHP single sign-on code to ASP.Net.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      E D 2 Replies Last reply
      0
      • R realJSOP

        PHP has the advantage of not being a Microsoft product, and it's still under development. On the other hand, it's much harder to code in because (while I was doing it) I couldn't "debug" it in the normal sense of the word. My first official .Net task was to convert some PHP single sign-on code to ASP.Net.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #3

        John Simmons / outlaw programmer wrote:

        it's much harder to code in becaus

        Should be. Except for those who are coding PHP from childhood. :)

        Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

        1 Reply Last reply
        0
        • R realJSOP

          PHP has the advantage of not being a Microsoft product, and it's still under development. On the other hand, it's much harder to code in because (while I was doing it) I couldn't "debug" it in the normal sense of the word. My first official .Net task was to convert some PHP single sign-on code to ASP.Net.

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          D Offline
          D Offline
          Dario Solera
          wrote on last edited by
          #4

          John Simmons / outlaw programmer wrote:

          On the other hand, it's much harder to code in because (while I was doing it) I couldn't "debug" it in the normal sense of the word.

          I myself dislike weak-typed languages, they are just more error-prone. That said, I used to do some PHP a few years ago, and I always thought it was "OK" (but I did not know ASP.NET at the time). The problems come when you have to build big applications, and you end up having extremely convoluted code (just take a look at WordPress or phpBB) which is, as you said, very hard to debug. The whole mess just doesn't "feel" right. You bend the architecture to a great extent in order to fit into the language's limits. On a side note, ASP.NET application tend to "feel" faster than PHP ones, at least without optimizers of some sort. On the other hand, in PHP you can dynamically load code files, achieving a great flexibility...

          If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

          J 1 Reply Last reply
          0
          • D Dario Solera

            John Simmons / outlaw programmer wrote:

            On the other hand, it's much harder to code in because (while I was doing it) I couldn't "debug" it in the normal sense of the word.

            I myself dislike weak-typed languages, they are just more error-prone. That said, I used to do some PHP a few years ago, and I always thought it was "OK" (but I did not know ASP.NET at the time). The problems come when you have to build big applications, and you end up having extremely convoluted code (just take a look at WordPress or phpBB) which is, as you said, very hard to debug. The whole mess just doesn't "feel" right. You bend the architecture to a great extent in order to fit into the language's limits. On a side note, ASP.NET application tend to "feel" faster than PHP ones, at least without optimizers of some sort. On the other hand, in PHP you can dynamically load code files, achieving a great flexibility...

            If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

            J Offline
            J Offline
            Johnny
            wrote on last edited by
            #5

            Dario Solera wrote:

            I myself dislike weak-typed languages, they are just more error-prone.

            Why? I use both and make no more errors in one than the other. The errors are just different.

            Dario Solera wrote:

            The problems come when you have to build big applications, and you end up having extremely convoluted code (just take a look at WordPress or phpBB) which is, as you said, very hard to debug

            Nonsense. As with any programming language you can shoot yourself in the foot if you try (or don't try). I'm sure there are many ASP.NET projects that are convoluted and messy.

            Dario Solera wrote:

            On a side note, ASP.NET application tend to "feel" faster than PHP ones

            Subjective. My subjective opinion is that ASP.NET sites tend to be sluggish and bloated (sorry, CodeProject)

            C T 2 Replies Last reply
            0
            • E Eytukan

              Anybody has good experience with both PHP & Asp.net? Can you share your experience? I was having a conversation :rolleyes: with my friend. I looked at PHP and read few lines and I could take that as I-hate-php. I'm not a full time web-developer. In fact, I've not done any big projects in Asp.net. But with my little experience with it, I could say, it could really be the fastest way to build a web application. C# & Visual studio just rock. The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much. If someone can say few words may be like- The biggest advantages and disadvantages from both the sides, It'll be nice. Please take up the mic :). *Leaves the stage*

              Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

              N Offline
              N Offline
              Nemanja Trifunovic
              wrote on last edited by
              #6

              VuNic wrote:

              The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much

              Are you looking to work together and can't decide on a platform? If that's the case, just pick something different. Maybe Seaside[^]?

              Programming Blog utf8-cpp

              E 1 Reply Last reply
              0
              • E Eytukan

                Anybody has good experience with both PHP & Asp.net? Can you share your experience? I was having a conversation :rolleyes: with my friend. I looked at PHP and read few lines and I could take that as I-hate-php. I'm not a full time web-developer. In fact, I've not done any big projects in Asp.net. But with my little experience with it, I could say, it could really be the fastest way to build a web application. C# & Visual studio just rock. The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much. If someone can say few words may be like- The biggest advantages and disadvantages from both the sides, It'll be nice. Please take up the mic :). *Leaves the stage*

                Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                P Offline
                P Offline
                puromtec1
                wrote on last edited by
                #7

                Very important factor: I find that in general the community of users surrounding asp.net--c# specifically, is much more 'intelligent' with regard to programming where it is treated more as a science or engineering venture rather than a coding exhibition. (i use quotes because this will be a point of contention among readers). This suggested phenomenon would yield more fruitful a resource when it comes to discussion forums and coding example articles. I'm NOT saying good PHP resources don't exist, it's just that there is a lot of noise or static out there in the PHP world IMHO from my experience that gets in the way.

                1 Reply Last reply
                0
                • J Johnny

                  Dario Solera wrote:

                  I myself dislike weak-typed languages, they are just more error-prone.

                  Why? I use both and make no more errors in one than the other. The errors are just different.

                  Dario Solera wrote:

                  The problems come when you have to build big applications, and you end up having extremely convoluted code (just take a look at WordPress or phpBB) which is, as you said, very hard to debug

                  Nonsense. As with any programming language you can shoot yourself in the foot if you try (or don't try). I'm sure there are many ASP.NET projects that are convoluted and messy.

                  Dario Solera wrote:

                  On a side note, ASP.NET application tend to "feel" faster than PHP ones

                  Subjective. My subjective opinion is that ASP.NET sites tend to be sluggish and bloated (sorry, CodeProject)

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #8

                  Johnny ² wrote:

                  I'm sure there are many ASP.NET projects that are convoluted and messy.

                  A'm also pretty sure. But it really depends on the average quality of the ASP.NET developer, I suppose. :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  1 Reply Last reply
                  0
                  • E Eytukan

                    Anybody has good experience with both PHP & Asp.net? Can you share your experience? I was having a conversation :rolleyes: with my friend. I looked at PHP and read few lines and I could take that as I-hate-php. I'm not a full time web-developer. In fact, I've not done any big projects in Asp.net. But with my little experience with it, I could say, it could really be the fastest way to build a web application. C# & Visual studio just rock. The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much. If someone can say few words may be like- The biggest advantages and disadvantages from both the sides, It'll be nice. Please take up the mic :). *Leaves the stage*

                    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                    R Offline
                    R Offline
                    Rama Krishna Vavilala
                    wrote on last edited by
                    #9

                    VuNic wrote:

                    C# & Visual studio just rock.

                    That's because you are used to it. There is no right or wrong answer to which is better? The question generally need ti be phrased as "Which is better given the circumstances?". One of the decisions that was made by my team here 10 years back was to develop a client with VB and server with C++. Now nobody did any VB programming before so the developer had to learn VB and then write the code. It is still easier to build UI in VB6 compared with MFC/C++. But whatever benefit you got from the speed got wasted in learning VB6. The same applies to PHP/ASP.NET. If someone is already familiar with PHP he can develop interfaces faster in PHP.

                    E 1 Reply Last reply
                    0
                    • N Nemanja Trifunovic

                      VuNic wrote:

                      The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much

                      Are you looking to work together and can't decide on a platform? If that's the case, just pick something different. Maybe Seaside[^]?

                      Programming Blog utf8-cpp

                      E Offline
                      E Offline
                      Eytukan
                      wrote on last edited by
                      #10

                      looks cool :)

                      Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                      1 Reply Last reply
                      0
                      • J Johnny

                        Dario Solera wrote:

                        I myself dislike weak-typed languages, they are just more error-prone.

                        Why? I use both and make no more errors in one than the other. The errors are just different.

                        Dario Solera wrote:

                        The problems come when you have to build big applications, and you end up having extremely convoluted code (just take a look at WordPress or phpBB) which is, as you said, very hard to debug

                        Nonsense. As with any programming language you can shoot yourself in the foot if you try (or don't try). I'm sure there are many ASP.NET projects that are convoluted and messy.

                        Dario Solera wrote:

                        On a side note, ASP.NET application tend to "feel" faster than PHP ones

                        Subjective. My subjective opinion is that ASP.NET sites tend to be sluggish and bloated (sorry, CodeProject)

                        T Offline
                        T Offline
                        ToddHileHoffer
                        wrote on last edited by
                        #11

                        Johnny ² wrote:

                        Dario Solera wrote: I myself dislike weak-typed languages, they are just more error-prone. Why?

                        Because in a weak type language you can reference an object as if it is of another type. If you try to do this in a strong type language it will not compile thus preventing errors. Back in the day, I used to code VB.Net and when we turned on option strict and option explicit the number of errors went down.

                        Johnny ² wrote:

                        Subjective. My subjective opinion is that ASP.NET sites tend to be sluggish and bloated (sorry, CodeProject)

                        If I am not mistaken codeproject was done in classic ASP and ported to .net. While I love codeproject. I agree it is bloated. But that has nothing to do with .net V PHP but rather the amount of content, scripts and links on each page.

                        As with any programming language you can shoot yourself in the foot if you try (or don't try). I'm sure there are many ASP.NET projects that are convoluted and messy.

                        I agree with you on this. As a matter of fact, I have found ASP.Net makes it extremely easy to shoot yourself in the foot. Because you can get very far with ASP.Net even with little knowledge. You could make an ASP.Net application without even knowing javascript, html, css or how the page life cycle works. But if you don't learn these things you will get burned eventually.

                        I didn't get any requirements for the signature

                        1 Reply Last reply
                        0
                        • R Rama Krishna Vavilala

                          VuNic wrote:

                          C# & Visual studio just rock.

                          That's because you are used to it. There is no right or wrong answer to which is better? The question generally need ti be phrased as "Which is better given the circumstances?". One of the decisions that was made by my team here 10 years back was to develop a client with VB and server with C++. Now nobody did any VB programming before so the developer had to learn VB and then write the code. It is still easier to build UI in VB6 compared with MFC/C++. But whatever benefit you got from the speed got wasted in learning VB6. The same applies to PHP/ASP.NET. If someone is already familiar with PHP he can develop interfaces faster in PHP.

                          E Offline
                          E Offline
                          Eytukan
                          wrote on last edited by
                          #12

                          Rama! You must be loyal to WPF & LINQ thing. Shouldn't you be? :rolleyes:

                          Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                          N 1 Reply Last reply
                          0
                          • E Eytukan

                            Rama! You must be loyal to WPF & LINQ thing. Shouldn't you be? :rolleyes:

                            Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                            N Offline
                            N Offline
                            Nish Nishant
                            wrote on last edited by
                            #13

                            VuNic wrote:

                            Rama! You must be loyal to WPF & LINQ thing.

                            Rama has not been particularly impressed with WPF.

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            My latest book : C++/CLI in Action / Amazon.com link

                            E 1 Reply Last reply
                            0
                            • N Nish Nishant

                              VuNic wrote:

                              Rama! You must be loyal to WPF & LINQ thing.

                              Rama has not been particularly impressed with WPF.

                              Regards, Nish


                              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                              My latest book : C++/CLI in Action / Amazon.com link

                              E Offline
                              E Offline
                              Eytukan
                              wrote on last edited by
                              #14

                              Looks like I'm cornered. Ok, it's time I take a PHP book, learn everything by myself, test samples, and blame it by my own words. :-\ hehe

                              Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                              1 Reply Last reply
                              0
                              • E Eytukan

                                Anybody has good experience with both PHP & Asp.net? Can you share your experience? I was having a conversation :rolleyes: with my friend. I looked at PHP and read few lines and I could take that as I-hate-php. I'm not a full time web-developer. In fact, I've not done any big projects in Asp.net. But with my little experience with it, I could say, it could really be the fastest way to build a web application. C# & Visual studio just rock. The problem is he has not worked in Asp.net and me not in Php. It doesn't makes much sense to talk much. If someone can say few words may be like- The biggest advantages and disadvantages from both the sides, It'll be nice. Please take up the mic :). *Leaves the stage*

                                Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                R Offline
                                R Offline
                                Rocky Moore
                                wrote on last edited by
                                #15

                                It has been a few years since I touched PHP, but at that time, I used it for a few sites. It really seemed like more of a hacked together language, but then you could write routines in C and add them to the platform. It's resources could not be compared to the massive .NET frameworks class library. Most of the time it appeared that developers would blend PHP with the HTML causing it hard to track out code and of course, leaves presentation and code tied together. While in the ASP.NET world, that can still be done or one many pages, may be done at some level, the new Code Behind model of ASP.NET really helped. Now, on the ASP.NET side, you have the ability to use the same programming language for both web and libraries not to mention most of the .NET frameworks at your finger tips. If you are a .NET developer it should be a fairly simply thing to build out web applications along with share code with desktop version. I have custom libraries I use on both Desktop apps and Web apps without any changes. Great time saver. Add to this the new ASP.NET MVC which allow for even greater separation of presentation from code, that can help to keep things even cleaner. There is also now Sivlerlight which allows for most of .NET to be run in the client. So now, you can take you .NET langauge of choice and your knowledge and build out desktop, web apps and client side rich apps without missing a beat. I think the biggest thing that pushes PHP is that it is not by Microsoft. If someone else would have come up with ASP.NET, no one would probably be using PHP today :)

                                Rocky <>< Recent Blog Post: Silverlight Domain Names up for grabs! Thinking about Silverlight? www.SilverlightCity.com

                                E 1 Reply Last reply
                                0
                                • R Rocky Moore

                                  It has been a few years since I touched PHP, but at that time, I used it for a few sites. It really seemed like more of a hacked together language, but then you could write routines in C and add them to the platform. It's resources could not be compared to the massive .NET frameworks class library. Most of the time it appeared that developers would blend PHP with the HTML causing it hard to track out code and of course, leaves presentation and code tied together. While in the ASP.NET world, that can still be done or one many pages, may be done at some level, the new Code Behind model of ASP.NET really helped. Now, on the ASP.NET side, you have the ability to use the same programming language for both web and libraries not to mention most of the .NET frameworks at your finger tips. If you are a .NET developer it should be a fairly simply thing to build out web applications along with share code with desktop version. I have custom libraries I use on both Desktop apps and Web apps without any changes. Great time saver. Add to this the new ASP.NET MVC which allow for even greater separation of presentation from code, that can help to keep things even cleaner. There is also now Sivlerlight which allows for most of .NET to be run in the client. So now, you can take you .NET langauge of choice and your knowledge and build out desktop, web apps and client side rich apps without missing a beat. I think the biggest thing that pushes PHP is that it is not by Microsoft. If someone else would have come up with ASP.NET, no one would probably be using PHP today :)

                                  Rocky <>< Recent Blog Post: Silverlight Domain Names up for grabs! Thinking about Silverlight? www.SilverlightCity.com

                                  E Offline
                                  E Offline
                                  Eytukan
                                  wrote on last edited by
                                  #16

                                  Rocky Moore wrote:

                                  I think the biggest thing that pushes PHP is that it is not by Microsoft

                                  Exactly.

                                  Rocky Moore wrote:

                                  t's resources could not be compared to the massive .NET frameworks class library.

                                  That's exactly my argument. There's a HUGE stock pile of ammunitions with Asp.net already. And MS keeps adding one everyday. Just like it's gone past 12,000 tested warheads already. People keep saying, "This one?, I can code the same in PHP". "A datagrid? I can do the same in PHP". But why one needs to do it? When there's already tested/Proven components available with the Dotnet framework. I really feel PHP to be pre-historic when compared to Asp.net. I heard there are few frameworks available for PHP too. But I'm sure it can never be compared to Asp.net. I would agree if it had evolved to the levels of J2EE. Where it looks meaningful to say "Dot.net vs J2EE". (Jps sucks btw). But Php Vs Dotnet looks like comparing an elephant to a dinosaur. [php-ers,Be proud I've called php - an elephant! :P]

                                  Rocky Moore wrote:

                                  you have the ability to use the same programming language for both web and libraries not to mention most of the .NET frameworks at your finger tips.

                                  Well said. That's one big point!

                                  Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups