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. Web Development
  3. ASP.NET
  4. ASP.NET and Valid Code

ASP.NET and Valid Code

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestiondiscussionannouncement
13 Posts 8 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.
  • D DFU23

    HTML ... XHTML Your basic W3C standards ...

    Wally Atkins
    Newport News, VA, USA

    O Offline
    O Offline
    OMalleyW
    wrote on last edited by
    #4

    XHTML... This just means that all tags get closed even though there may not be a closing tag needed. Ex
    XHTML uses XML formatting for read-ability. I could be wrong but... All tags that VS creates are of a XHTML flavor. If you are having cross browser issues then that is one thing, I am sure that you know that there are some browsers that do not support XHTML. So I guess I am still confused. Exactly what are you talking about?

    D 1 Reply Last reply
    0
    • O OMalleyW

      XHTML... This just means that all tags get closed even though there may not be a closing tag needed. Ex
      XHTML uses XML formatting for read-ability. I could be wrong but... All tags that VS creates are of a XHTML flavor. If you are having cross browser issues then that is one thing, I am sure that you know that there are some browsers that do not support XHTML. So I guess I am still confused. Exactly what are you talking about?

      D Offline
      D Offline
      DFU23
      wrote on last edited by
      #5

      Reference #1[^] Reference #2[^] Reference #3[^] Reference #4[^] I think the best discussion is the last one which was on the www.asp.net forums. If producing standard code is a project requirement ... good luck achieving this with ASP.NET.

      Wally Atkins
      Newport News, VA, USA

      O 1 Reply Last reply
      0
      • D DFU23

        Reference #1[^] Reference #2[^] Reference #3[^] Reference #4[^] I think the best discussion is the last one which was on the www.asp.net forums. If producing standard code is a project requirement ... good luck achieving this with ASP.NET.

        Wally Atkins
        Newport News, VA, USA

        O Offline
        O Offline
        OMalleyW
        wrote on last edited by
        #6

        Quote From Reference 1 I'll never use .NET for freelance websites or projects so people don't have to buy SQL or W2K Server and licenses Ever hear of MSDE: Microsoft Desktop Engine? Free version of SQL Server just go GIU.. What a crock! This article tries to attack the Server controls form Microsofts dev environment. There is nothing that you cant do with the server controls, You can Attach CSS Styles, Attributes, Client Side events. You can also bind then to Data from the server "Something I might add that you could not do before", before you had to spend hours writing out ASP..yea thats a great idea lets go back to that.. Anyways... it is an opinion thing. I have been doing this for well over 4 years and I really like the flexability and ease of use that VS ans ASP.NET gives me. No offence, I just disagree.. Will

        D 1 Reply Last reply
        0
        • O OMalleyW

          Quote From Reference 1 I'll never use .NET for freelance websites or projects so people don't have to buy SQL or W2K Server and licenses Ever hear of MSDE: Microsoft Desktop Engine? Free version of SQL Server just go GIU.. What a crock! This article tries to attack the Server controls form Microsofts dev environment. There is nothing that you cant do with the server controls, You can Attach CSS Styles, Attributes, Client Side events. You can also bind then to Data from the server "Something I might add that you could not do before", before you had to spend hours writing out ASP..yea thats a great idea lets go back to that.. Anyways... it is an opinion thing. I have been doing this for well over 4 years and I really like the flexability and ease of use that VS ans ASP.NET gives me. No offence, I just disagree.. Will

          D Offline
          D Offline
          DFU23
          wrote on last edited by
          #7

          Hey, Don't get me wrong, ASP.NET is a great leap from the days of Classic ASP and the whole .NET Framework idea is a great rip off of the Java Virtual Machine ... I just love the part where Microsoft helps (sits on the committees) with defining the standards that the W3C issues and then produces invalid code with their latest technologies. I think things are moving in the right direction ... but when MS revamped ASP into ASP.NET don't you think producing standards compliant code should have been among the items at the top of the list? :~ One word: dissappointed. :sigh:

          Wally Atkins
          Newport News, VA, USA

          L P R 3 Replies Last reply
          0
          • D DFU23

            Hey, Don't get me wrong, ASP.NET is a great leap from the days of Classic ASP and the whole .NET Framework idea is a great rip off of the Java Virtual Machine ... I just love the part where Microsoft helps (sits on the committees) with defining the standards that the W3C issues and then produces invalid code with their latest technologies. I think things are moving in the right direction ... but when MS revamped ASP into ASP.NET don't you think producing standards compliant code should have been among the items at the top of the list? :~ One word: dissappointed. :sigh:

            Wally Atkins
            Newport News, VA, USA

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

            Ok We could talk about this for the next 10 years bringing up points like. Look at Netscape, they took what could have been a really good browser and trashed it. The DOM is nothing when compaired to IE. And lets not forget about things like Opera and all the other "could have beens" As far as Java goes, if not for Microsoft's Virtual Machine Java would be nothing. And now Sun will realize that because, Microsoft is no longer packaging their Virtual Machine rather you will have to go with Suns memory hog... lol.. bad, bad move Sun.. but oh well As far as standards go, they can only be standard if all the Browsers use them. Ex CSS3 only IE is capable of using all or most of the elements described in the CSS3 white papers. I am not praising Microsoft but you do have to give them credit. They have always tried to help developers in creating rich dynamic content for on line applications. I can see your point, and I hope that you can see mine. Nice talking bro.. AIM chaos14235 I am on mostly on weekends, hit me some time.. Will

            M 1 Reply Last reply
            0
            • D DFU23

              Hey, Don't get me wrong, ASP.NET is a great leap from the days of Classic ASP and the whole .NET Framework idea is a great rip off of the Java Virtual Machine ... I just love the part where Microsoft helps (sits on the committees) with defining the standards that the W3C issues and then produces invalid code with their latest technologies. I think things are moving in the right direction ... but when MS revamped ASP into ASP.NET don't you think producing standards compliant code should have been among the items at the top of the list? :~ One word: dissappointed. :sigh:

              Wally Atkins
              Newport News, VA, USA

              P Offline
              P Offline
              Paul Ingles
              wrote on last edited by
              #9

              D2F3U wrote: the whole .NET Framework idea is a great rip off of the Java Virtual Machine The only similarity is garbage collection and the use of an intermediate language. The Java VM actually executes the code, with .NET it is compiled at run-time before being executed. D2F3U wrote: produces invalid code with their latest technologies It's server-side. You can get ASP.NET to spit out whatever you like. It's no different to PHP, ASP, ColdFusion, J2EE in that regard -- it just executes and pumps out whatever it renders. -- Paul "Put the key of despair into the lock of apathy. Turn the knob of mediocrity slowly and open the gates of despondency - welcome to a day in the average office." - David Brent, from "The Office" MS Messenger: paul@oobaloo.co.uk Download my PGP public key

              F 1 Reply Last reply
              0
              • P Paul Ingles

                D2F3U wrote: the whole .NET Framework idea is a great rip off of the Java Virtual Machine The only similarity is garbage collection and the use of an intermediate language. The Java VM actually executes the code, with .NET it is compiled at run-time before being executed. D2F3U wrote: produces invalid code with their latest technologies It's server-side. You can get ASP.NET to spit out whatever you like. It's no different to PHP, ASP, ColdFusion, J2EE in that regard -- it just executes and pumps out whatever it renders. -- Paul "Put the key of despair into the lock of apathy. Turn the knob of mediocrity slowly and open the gates of despondency - welcome to a day in the average office." - David Brent, from "The Office" MS Messenger: paul@oobaloo.co.uk Download my PGP public key

                F Offline
                F Offline
                fadee
                wrote on last edited by
                #10

                Paul Ingles wrote: The only similarity is garbage collection and the use of an intermediate language. The Java VM actually executes the code, with .NET it is compiled at run-time before being executed. hmm... there is one more difference... which creates major difference... consider a function X is called five times in java, jvm will interpret it and convert to native machine language five times. while, in case of clr, it will interpret it once and create native machine code... and use it again and again. Ref: Professional C#, Wrox. :zzz: --------------------- A gasp of breath, A sudden death: The tale begun. A rustled page Passes an age: The tale is done.

                P 1 Reply Last reply
                0
                • F fadee

                  Paul Ingles wrote: The only similarity is garbage collection and the use of an intermediate language. The Java VM actually executes the code, with .NET it is compiled at run-time before being executed. hmm... there is one more difference... which creates major difference... consider a function X is called five times in java, jvm will interpret it and convert to native machine language five times. while, in case of clr, it will interpret it once and create native machine code... and use it again and again. Ref: Professional C#, Wrox. :zzz: --------------------- A gasp of breath, A sudden death: The tale begun. A rustled page Passes an age: The tale is done.

                  P Offline
                  P Offline
                  Paul Ingles
                  wrote on last edited by
                  #11

                  That's what I said -- the JVM is a virtual machine, whereas .NET uses JIT compilation. -- Paul "Put the key of despair into the lock of apathy. Turn the knob of mediocrity slowly and open the gates of despondency - welcome to a day in the average office." - David Brent, from "The Office" MS Messenger: paul@oobaloo.co.uk Download my PGP public key

                  1 Reply Last reply
                  0
                  • D DFU23

                    Hey, Don't get me wrong, ASP.NET is a great leap from the days of Classic ASP and the whole .NET Framework idea is a great rip off of the Java Virtual Machine ... I just love the part where Microsoft helps (sits on the committees) with defining the standards that the W3C issues and then produces invalid code with their latest technologies. I think things are moving in the right direction ... but when MS revamped ASP into ASP.NET don't you think producing standards compliant code should have been among the items at the top of the list? :~ One word: dissappointed. :sigh:

                    Wally Atkins
                    Newport News, VA, USA

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

                    D2F3U wrote: the whole .NET Framework idea is a great rip off of the Java Virtual Machine ... Um... Wrong! First, how many languages use the Java Virtual Machine? You are confusing a compiler and a platform abstractor with .NET which is more of a rewrite of the Windows API in object form. It also allows calls to standard Win32 API and use of other DLLs along with COM components. We are not tied to a language but we are tied to the Microsoft Windows platform. The .NET framework can use C++, C#, VB.NET and many other langagues to write software for Window's based machines. As for ASP.NET, I was disappointed with the RAD development, I was expecting more code built for me automatically and less hand coding but that is it. But with the wealth of the .NET frameworks at my disposal for Web work, I do not care. I am sure there will be more code generators appear that will take more of the work away, but I would still rather be using ASP.NET than any of the other technologies available today. And yes, I have tried a few of the others. You mention that is does not generate 'standard' code. What parts are you using that it does not generate the proper code? Is it a certian server control? What standards are you comparing it to? ASP.NET is a tool to build sites utiltizing the .NET frameworks. It can produce any output you wish as long as you make it do so. Rocky Moore <><

                    1 Reply Last reply
                    0
                    • L Lost User

                      Ok We could talk about this for the next 10 years bringing up points like. Look at Netscape, they took what could have been a really good browser and trashed it. The DOM is nothing when compaired to IE. And lets not forget about things like Opera and all the other "could have beens" As far as Java goes, if not for Microsoft's Virtual Machine Java would be nothing. And now Sun will realize that because, Microsoft is no longer packaging their Virtual Machine rather you will have to go with Suns memory hog... lol.. bad, bad move Sun.. but oh well As far as standards go, they can only be standard if all the Browsers use them. Ex CSS3 only IE is capable of using all or most of the elements described in the CSS3 white papers. I am not praising Microsoft but you do have to give them credit. They have always tried to help developers in creating rich dynamic content for on line applications. I can see your point, and I hope that you can see mine. Nice talking bro.. AIM chaos14235 I am on mostly on weekends, hit me some time.. Will

                      M Offline
                      M Offline
                      mittalpa
                      wrote on last edited by
                      #13

                      good one William :) Pankaj Follow your goals, Means will follow you ---Gandhi---

                      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