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. C++ Web Apps

C++ Web Apps

Scheduled Pinned Locked Moved The Lounge
c++question
28 Posts 18 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.
  • B Offline
    B Offline
    basementman
    wrote on last edited by
    #1

    Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

    S C J N M 11 Replies Last reply
    0
    • B basementman

      Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      Sure. Not the web bit though. The app part.

      ----

      Grease Paint and Monkey Brains

      1 Reply Last reply
      0
      • B basementman

        Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

        C Offline
        C Offline
        Chris Losinger
        wrote on last edited by
        #3

        i've done it in the past. i don't recommend it. Cleek | Image Toolkits | Thumbnail maker

        D 1 Reply Last reply
        0
        • B basementman

          Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

          J Offline
          J Offline
          Jon Sagara
          wrote on last edited by
          #4

          I did that about 5 years ago, but it was a simple CGI app. Nothing too fancy. Jon Sagara When I grow up, I'm changing my name to Joe Kickass! My Site | My Blog | My Articles

          1 Reply Last reply
          0
          • B basementman

            Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

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

            basementman wrote:

            how many out there are using unmanaged C++ to develop web apps?

            I am working on Logoport[^], which is really a bit more than a typical "web application". 100% pure unmanaged C++ on Linux :cool:


            My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

            B 1 Reply Last reply
            0
            • B basementman

              Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

              M Offline
              M Offline
              Maxwell Chen
              wrote on last edited by
              #6

              Unmanaged C++, but not web related.


              Maxwell Chen

              1 Reply Last reply
              0
              • C Chris Losinger

                i've done it in the past. i don't recommend it. Cleek | Image Toolkits | Thumbnail maker

                D Offline
                D Offline
                Dominik Reichl
                wrote on last edited by
                #7

                Why?


                _outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

                B C 2 Replies Last reply
                0
                • N Nemanja Trifunovic

                  basementman wrote:

                  how many out there are using unmanaged C++ to develop web apps?

                  I am working on Logoport[^], which is really a bit more than a typical "web application". 100% pure unmanaged C++ on Linux :cool:


                  My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

                  B Offline
                  B Offline
                  basementman
                  wrote on last edited by
                  #8

                  Looks nice. We developed our own web app server for W32 and have been using it for years now.  onwards and upwards...

                  1 Reply Last reply
                  0
                  • D Dominik Reichl

                    Why?


                    _outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

                    B Offline
                    B Offline
                    basementman
                    wrote on last edited by
                    #9

                    That is my question too. With the right framework and app server, you can be as productive, or even more productive than using JSP, ASP, ASPNET, etc. And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.  onwards and upwards...

                    P J J C 4 Replies Last reply
                    0
                    • B basementman

                      That is my question too. With the right framework and app server, you can be as productive, or even more productive than using JSP, ASP, ASPNET, etc. And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.  onwards and upwards...

                      P Offline
                      P Offline
                      Paul Watson
                      wrote on last edited by
                      #10

                      What would you consider to be the right framework and app server? I think it is pretty difficult to argue CGI and co. is more productive than Ruby on Rails, PHP, ASP.NET and co for web-apps. regards, Paul Watson Ireland Feed Henry!

                      Shog9 wrote:

                      eh, stop bugging me about it, give it a couple of days, see what happens.

                      B 1 Reply Last reply
                      0
                      • P Paul Watson

                        What would you consider to be the right framework and app server? I think it is pretty difficult to argue CGI and co. is more productive than Ruby on Rails, PHP, ASP.NET and co for web-apps. regards, Paul Watson Ireland Feed Henry!

                        Shog9 wrote:

                        eh, stop bugging me about it, give it a couple of days, see what happens.

                        B Offline
                        B Offline
                        basementman
                        wrote on last edited by
                        #11

                        CGI is certainly NOT more productive, nor does it perform as well. If you are interested, I can post docs on the app server. It has a declarative forms engine, code generator, client-side UI libraries, etc. I was just trying to gauge if people have totally abandoned using C++ for web development, whether it be as CGI, ISAPI or Apache modules.  onwards and upwards...

                        1 Reply Last reply
                        0
                        • B basementman

                          That is my question too. With the right framework and app server, you can be as productive, or even more productive than using JSP, ASP, ASPNET, etc. And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.  onwards and upwards...

                          J Offline
                          J Offline
                          Judah Gabriel Himango
                          wrote on last edited by
                          #12

                          When people ask, "why not write Vista in .NET?" I repsond with "you need to use the right tool for the job". This is one of those cases: C++ is a systems programming language. It is not meant for web development. Yes, you could do it. You could also write Vista almost entirely in managed code (see the Singularity kernel for more information). While there are legitimate arguments for both (for example, you argue you can be as productive as typical web frameworks given the right C++ frameworks, and people argue that with built-in code sandboxing, safe memory management, etc. managed code provides for a more secure operating system). But in the end, you're simply not using the best tool for the job, at least as the tools currently sit, simply because they weren't designed for that.

                          Tech, life, family, faith: Give me a visit. I'm currently blogging about: Is Jesus the Jewish Messiah? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                          1 Reply Last reply
                          0
                          • B basementman

                            That is my question too. With the right framework and app server, you can be as productive, or even more productive than using JSP, ASP, ASPNET, etc. And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.  onwards and upwards...

                            J Offline
                            J Offline
                            Jon Sagara
                            wrote on last edited by
                            #13

                            basementman wrote:

                            And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.

                            Yes, but no-one else has access to those libraries, and no-one has 15 years to build their own. In your case, it sounds like C++ web dev works well, but I'm guessing that for most developers it's far more efficient to jump in and use existing frameworks (.NET/Java/PHP/ROR/etc.) to build Web apps. Jon Sagara When I grow up, I'm changing my name to Joe Kickass! My Site | My Blog | My Articles

                            1 Reply Last reply
                            0
                            • D Dominik Reichl

                              Why?


                              _outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

                              C Offline
                              C Offline
                              Chris Losinger
                              wrote on last edited by
                              #14

                              when i did it in C++ (DCOM, specifically) we had to build our pages as strings in C++, then pass them back to the web server for delivery to the user. the C++ was always over here in this file, then over here in this DLL, and the web server was over there. but with something like PHP or ASP (or the .Net stuff), your code is closer to the actual HTML page. at least for me, being able to put code right inside the HTML (or in an HTML template) feels a lot more natural. Cleek | Image Toolkits | Thumbnail maker

                              1 Reply Last reply
                              0
                              • B basementman

                                Just curious, how many out there are using unmanaged C++ to develop web apps?  onwards and upwards...

                                M Offline
                                M Offline
                                Matt Gullett
                                wrote on last edited by
                                #15

                                I developed and maintain a survey system that uses a C++ based Windows service to generate all of the web pages and do all of the other work as well. There is an ISAPI interface to IIS as well as a light-weight ASP based "driver". The performance is much better than ASP or ASP.NET, but maintenance and code updates are more difficult as is having multiple "instances" of the web app running. It's a good fit for this particular situation, but I wouldn't recommend it for too many other situations. I don't forsee a need to port it to .NET (or any other platform) anytime in the forseeable future. Other than that, I have a reporting engine that is C++ based (service, console, GUI and web UI) that generates allot of HTML, but it does almost all of this through templates and an ASP-like scripting engine. For these 2 situations, I think C++ has been a good fit, but for all the other web apps I develop/maintain, it's either ASP or .NET. I still use some classic ASP for quick-n-dirty tasks.

                                L 1 Reply Last reply
                                0
                                • B basementman

                                  That is my question too. With the right framework and app server, you can be as productive, or even more productive than using JSP, ASP, ASPNET, etc. And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.  onwards and upwards...

                                  C Offline
                                  C Offline
                                  code frog 0
                                  wrote on last edited by
                                  #16

                                  basementman wrote:

                                  And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.

                                  Boy! I wish I felt as comfortable as you when I read the description on the back of packages before putting them back on the shelf. Sounds like a lot of marketing merged into two sentences. ;P


                                  The enemy's gate is down.:cool:
                                  Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                                  People who don't understand how awesome Firefox is have never used CPhog. The act of using CPhog alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                                  B 1 Reply Last reply
                                  0
                                  • C code frog 0

                                    basementman wrote:

                                    And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.

                                    Boy! I wish I felt as comfortable as you when I read the description on the back of packages before putting them back on the shelf. Sounds like a lot of marketing merged into two sentences. ;P


                                    The enemy's gate is down.:cool:
                                    Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                                    People who don't understand how awesome Firefox is have never used CPhog. The act of using CPhog alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                                    B Offline
                                    B Offline
                                    basementman
                                    wrote on last edited by
                                    #17

                                    code-frog wrote:

                                    And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.

                                    I actually wrote that off the cuff based on experience, but maybe I should pursue a career in marketing:cool:  onwards and upwards...

                                    C 1 Reply Last reply
                                    0
                                    • B basementman

                                      code-frog wrote:

                                      And at the end of the day, you can end up with an application that can run twice as fast on half the hardware. As well as utilizing all the code libaries that have been developed over the last 15 years.

                                      I actually wrote that off the cuff based on experience, but maybe I should pursue a career in marketing:cool:  onwards and upwards...

                                      C Offline
                                      C Offline
                                      code frog 0
                                      wrote on last edited by
                                      #18

                                      Well I was poking some fun 1/2 the hardware twice the speed... 4 full orders of magnitude. Sounded kind of funny. But hey, my dad is bigger than your dad so no big deal.:laugh:


                                      The enemy's gate is down.:cool:
                                      Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                                      People who don't understand how awesome Firefox is have never used CPhog. The act of using CPhog alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                                      B 1 Reply Last reply
                                      0
                                      • C code frog 0

                                        Well I was poking some fun 1/2 the hardware twice the speed... 4 full orders of magnitude. Sounded kind of funny. But hey, my dad is bigger than your dad so no big deal.:laugh:


                                        The enemy's gate is down.:cool:
                                        Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.

                                        People who don't understand how awesome Firefox is have never used CPhog. The act of using CPhog alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)

                                        B Offline
                                        B Offline
                                        basementman
                                        wrote on last edited by
                                        #19

                                        ;)  onwards and upwards...

                                        1 Reply Last reply
                                        0
                                        • M Matt Gullett

                                          I developed and maintain a survey system that uses a C++ based Windows service to generate all of the web pages and do all of the other work as well. There is an ISAPI interface to IIS as well as a light-weight ASP based "driver". The performance is much better than ASP or ASP.NET, but maintenance and code updates are more difficult as is having multiple "instances" of the web app running. It's a good fit for this particular situation, but I wouldn't recommend it for too many other situations. I don't forsee a need to port it to .NET (or any other platform) anytime in the forseeable future. Other than that, I have a reporting engine that is C++ based (service, console, GUI and web UI) that generates allot of HTML, but it does almost all of this through templates and an ASP-like scripting engine. For these 2 situations, I think C++ has been a good fit, but for all the other web apps I develop/maintain, it's either ASP or .NET. I still use some classic ASP for quick-n-dirty tasks.

                                          L Offline
                                          L Offline
                                          Larsenal
                                          wrote on last edited by
                                          #20

                                          Can you describe more details of your app? I am in the middle of reviewing the architecture of one of our critical systems. The challenge I have is that the app is serviced from some number-crunching FORTRAN code. Here is the life of a web request as it exists now: 1) Client makes request from Flash web client 2) Command transmitted over HTTP to ASPX page 3) ASPX page queries the computational engine somewhere in the app cluster over TCP/IP 4) (Application is written in C#) 5) App makes calls to methods in a compiled FORTRAN dll 6) results are written to a file (I know we need to fix this... If anyone knows how to return large amounts of text from FORTRAN to it's C# wrapper, lets talk!) 7) C# app reads file as results 8) C# app sends back to ASPX page over TCP/IP 9) response is formatted and sent as XML to Flash web client

                                          B 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