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. Which Web environment?

Which Web environment?

Scheduled Pinned Locked Moved The Lounge
questioncsharpphphtmlhelp
33 Posts 12 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.
  • R RichardS

    Thanks. What is the difference between AJAX and ASP.NET?

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

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

    ASP.NET is a server side environment - all the scripts run on the server, and look to the web browser like regular static HTML AJAX stands for Asynchronous Javascript and XML - this has Javascript that runs on the client browser that requests server side scripts for new information (So the Javascript refreshes and rebuilds the page contents, rather than requesting a whole new page from the server)

    -- Help me! I'm turning into a grapefruit! Buzzwords!

    1 Reply Last reply
    0
    • R RichardS

      The javascript one (as this is closer to my current knowlegde base). As mentioned in the original post, but each step has to be on a different page as each one has different graphics associated with it, mixing the graphics would cause a less nice display.

      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

      B Offline
      B Offline
      benjymous
      wrote on last edited by
      #18

      If you're good with javascript, I'd recommend you have a play with the mootools framework: http://www.mootools.net/[^] Here's an example combining server side PHP with an ajax front end for dealing with forms: http://demos.mootools.net/Ajax.Form[^]

      -- Help me! I'm turning into a grapefruit! Buzzwords!

      R 1 Reply Last reply
      0
      • R RichardS

        The javascript one (as this is closer to my current knowlegde base). As mentioned in the original post, but each step has to be on a different page as each one has different graphics associated with it, mixing the graphics would cause a less nice display.

        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

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

        You are looking for a server side system then (like PHP, ASP.net) or a hell of a complicated Ajax system,.


        Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

        R B 2 Replies Last reply
        0
        • B benjymous

          If you're good with javascript, I'd recommend you have a play with the mootools framework: http://www.mootools.net/[^] Here's an example combining server side PHP with an ajax front end for dealing with forms: http://demos.mootools.net/Ajax.Form[^]

          -- Help me! I'm turning into a grapefruit! Buzzwords!

          R Offline
          R Offline
          RichardS
          wrote on last edited by
          #20

          Thanks for the links

          "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

          1 Reply Last reply
          0
          • B Bradml

            You are looking for a server side system then (like PHP, ASP.net) or a hell of a complicated Ajax system,.


            Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

            R Offline
            R Offline
            RichardS
            wrote on last edited by
            #21

            For the sounds of it the server side ASP.NET is the most flexable.

            "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

            B 1 Reply Last reply
            0
            • R RichardS

              For the sounds of it the server side ASP.NET is the most flexable.

              "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

              B Offline
              B Offline
              Bradml
              wrote on last edited by
              #22

              Hmm. No. Flexibility is not something you can tag ASP.net with. For a simple system like this either system will do. PHP does have a performance advantage over ASP.net, but you won't notice this on such a low level project.


              Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

              R 1 Reply Last reply
              0
              • B Bradml

                You are looking for a server side system then (like PHP, ASP.net) or a hell of a complicated Ajax system,.


                Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                B Offline
                B Offline
                benjymous
                wrote on last edited by
                #23

                I've actually found using mootools that Ajaxy stuff becomes incredibly easy. - Look at the example I posted - you basically just add an event to the form that intercepts the regular submit, and sends the submit via ajax instead, piping the output from the server side php into the div of your choice on the existing page. To chain a set of pages, all you'd need to do is have each form submit the load of the next form, and refresh the main div on the page.

                -- Help me! I'm turning into a grapefruit! Buzzwords!

                R B 2 Replies Last reply
                0
                • C Christian Graus

                  I have had pretty much 100% success in moving people from asp to ASP.NET, and from VB.NET to C#.

                  Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  P Offline
                  P Offline
                  Psycho Coder Extreme
                  wrote on last edited by
                  #24

                  Christian Graus wrote:

                  I have had pretty much 100% success in moving people from asp to ASP.NET

                  Take my current client, they have had this host for so long (they don't even have classic ASP support, just the likes of PHP) he wont change, even though I found him a good host for less than he's paying now (hell his current host doesn't even offer him POP3 mail account with his domain so he has a single @aol.com address for his business email), this new host runs Windows servers, .Net 2.0, SQL 2000/2005 and with it I could create all the "cool stuff" (as he calls it) he wants in his online presence, but I still cannot get him to switch. Hell I even said I would do all the DNS transfers, account setup and managing of the account so he didn't have to do anything. I went through the whole schpeel(sp) that I could setup all his business POP3 accounts, uch as sales@ramengine.com, services@ramengine.com, etc., I even let him know how unprofessional it was to have an @aol.com address for his business, especially considering he has his own domain. I guess a lot of his hesitance comes from the experience he went through when he first got his website , it's truly the ugliest website I've ever seen in my life, have a look here[^] and you'll see what I mean (View it in FireFox and you'll get a real idea of this "professional" website). The person who initially created it told them it was "state of the art" and charged them out the a** for it. I've made some "mock-ups" of the stuff I can offer him with his online presence on my website as a last ditch effort to convince him to change hosts and let me bring his company into the current web era. As of now, with his current host I am pretty much forced to create him a static HTML with some JavaScript and CSS styling. I've done business with this company for sometime now and really want to offer them a professional online presence, but with the experience of his last website fiasco it's not going to be easy. Christian, got any pointers for me?

                  "Let's face it, the average computer user has the brain of a Spider Monkey." Bill Gates

                  B 1 Reply Last reply
                  0
                  • B Bradml

                    Hmm. No. Flexibility is not something you can tag ASP.net with. For a simple system like this either system will do. PHP does have a performance advantage over ASP.net, but you won't notice this on such a low level project.


                    Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                    R Offline
                    R Offline
                    RichardS
                    wrote on last edited by
                    #25

                    Thanks, did not know that. I have been looking at the mootools site and they seem to have some nice code for this sort of stuff, so I might not need much server side stuff in the mix.

                    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

                    B 1 Reply Last reply
                    0
                    • B benjymous

                      I've actually found using mootools that Ajaxy stuff becomes incredibly easy. - Look at the example I posted - you basically just add an event to the form that intercepts the regular submit, and sends the submit via ajax instead, piping the output from the server side php into the div of your choice on the existing page. To chain a set of pages, all you'd need to do is have each form submit the load of the next form, and refresh the main div on the page.

                      -- Help me! I'm turning into a grapefruit! Buzzwords!

                      R Offline
                      R Offline
                      RichardS
                      wrote on last edited by
                      #26

                      That sounds quite nice (the AJAX demos look quite nifty). I assume that the server could run ASP.NET or PHP?

                      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

                      B 1 Reply Last reply
                      0
                      • R RichardS

                        Thanks, did not know that. I have been looking at the mootools site and they seem to have some nice code for this sort of stuff, so I might not need much server side stuff in the mix.

                        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

                        B Offline
                        B Offline
                        Bradml
                        wrote on last edited by
                        #27

                        Perhaps.


                        Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                        1 Reply Last reply
                        0
                        • B benjymous

                          I've actually found using mootools that Ajaxy stuff becomes incredibly easy. - Look at the example I posted - you basically just add an event to the form that intercepts the regular submit, and sends the submit via ajax instead, piping the output from the server side php into the div of your choice on the existing page. To chain a set of pages, all you'd need to do is have each form submit the load of the next form, and refresh the main div on the page.

                          -- Help me! I'm turning into a grapefruit! Buzzwords!

                          B Offline
                          B Offline
                          Bradml
                          wrote on last edited by
                          #28

                          Yeah quite snazzy.


                          Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                          1 Reply Last reply
                          0
                          • R RichardS

                            That sounds quite nice (the AJAX demos look quite nifty). I assume that the server could run ASP.NET or PHP?

                            "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

                            B Offline
                            B Offline
                            benjymous
                            wrote on last edited by
                            #29

                            Yeah, the framework doesn't care what you use for your backend (I've successfully used it to modify old perl-based scripts without problems) As long as it can parse arguments from a http POST or GET, and display html back, it'll work. You can even just make it load static pages

                            -- Help me! I'm turning into a grapefruit! Buzzwords!

                            1 Reply Last reply
                            0
                            • P Psycho Coder Extreme

                              Christian Graus wrote:

                              I have had pretty much 100% success in moving people from asp to ASP.NET

                              Take my current client, they have had this host for so long (they don't even have classic ASP support, just the likes of PHP) he wont change, even though I found him a good host for less than he's paying now (hell his current host doesn't even offer him POP3 mail account with his domain so he has a single @aol.com address for his business email), this new host runs Windows servers, .Net 2.0, SQL 2000/2005 and with it I could create all the "cool stuff" (as he calls it) he wants in his online presence, but I still cannot get him to switch. Hell I even said I would do all the DNS transfers, account setup and managing of the account so he didn't have to do anything. I went through the whole schpeel(sp) that I could setup all his business POP3 accounts, uch as sales@ramengine.com, services@ramengine.com, etc., I even let him know how unprofessional it was to have an @aol.com address for his business, especially considering he has his own domain. I guess a lot of his hesitance comes from the experience he went through when he first got his website , it's truly the ugliest website I've ever seen in my life, have a look here[^] and you'll see what I mean (View it in FireFox and you'll get a real idea of this "professional" website). The person who initially created it told them it was "state of the art" and charged them out the a** for it. I've made some "mock-ups" of the stuff I can offer him with his online presence on my website as a last ditch effort to convince him to change hosts and let me bring his company into the current web era. As of now, with his current host I am pretty much forced to create him a static HTML with some JavaScript and CSS styling. I've done business with this company for sometime now and really want to offer them a professional online presence, but with the experience of his last website fiasco it's not going to be easy. Christian, got any pointers for me?

                              "Let's face it, the average computer user has the brain of a Spider Monkey." Bill Gates

                              B Offline
                              B Offline
                              blackjack2150
                              wrote on last edited by
                              #30

                              Psycho-*Coder*-Extreme wrote:

                              I guess a lot of his hesitance comes from the experience he went through when he first got his website , it's truly the ugliest website I've ever seen in my life, have a look here[^] and you'll see what I mean (View it in FireFox and you'll get a real idea of this "professional" website)

                              Damn, it's ugly!!

                              1 Reply Last reply
                              0
                              • R RoswellNX

                                The best way to go about this would probably be to use JavaScript and an HTML form, where the script would dynamically show or hide form radio buttons and their corresponding questions, depending on user's selection, using the CSS attribute display, and setting it to none and later to block, which you can tie to a boolean in the script, which saves you from redrawing the screen after each selection. The script would also keep score and after the user has completed each step, display the result. Roswell

                                "Angelinos -- excuse me. There will be civility today."
                                Antonio VillaRaigosa
                                City Mayor, Los Angeles, CA

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #31

                                I don't know why you keep getting voted 1's. With my less than limited Web development knowledge you could be speaking Greek (except enough I my in-laws speak Greek for me to know better) but it sounds convincing. You impress me with your knowledge and seeing your bio and at only 17 even more so. No people I am not blowing sunshime up her arse or looking for some. I'm more than double her age and coming up to my 16 wedding anniversary. I truly think she really knows her shit.

                                Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                                1 Reply Last reply
                                0
                                • C Christian Graus

                                  THe answer is always ASP.NET.

                                  Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                                  W Offline
                                  W Offline
                                  WillemM
                                  wrote on last edited by
                                  #32

                                  Agreed, it's a great technology.

                                  WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson My blog

                                  1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    I have had pretty much 100% success in moving people from asp to ASP.NET, and from VB.NET to C#.

                                    Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                                    M Offline
                                    M Offline
                                    mr_lasseter
                                    wrote on last edited by
                                    #33

                                    Christian Graus wrote:

                                    VB.NET to C#

                                    How does this make sense from a business prespective?

                                    Mike Lasseter

                                    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