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. Monopolies unchecked.

Monopolies unchecked.

Scheduled Pinned Locked Moved The Lounge
csharpjavajavascriptphphtml
5 Posts 4 Posters 1 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.
  • M Offline
    M Offline
    Mariano J Padilla
    wrote on last edited by
    #1

    Just needed to rant and to open for discussion. MS - Monopoly split, AT&T - Monopoly split, MCI/Worldcom - Monopoly split, Google - Monopoly...... Ect. We can go on and on about what has been taken down and split. Now I ask why is it that JavaScript is the ONLY language left on most browsers for DOM access? Why can't we use C, C-script, C#, EMCA-XXX, CGI, PHP, or any other? MS was slapped with lawsuit when they added classes to Java. I can understand why they won't touch JavaScript/DOM. But please, as new frameworks and Web Technologies rise, we need to ALWAYS turn from the network choice of language that we use, back to JavaScript in order to access DOM elements. We are forced to use JavaScript, oh and only JavaScript to access DOM. Mind you there are DOM Implementations, APIs and other AddOns, but they are just that, AddOns. If you want to access you have to use JavaScript, or as other frameworks call it, an interop with JavaScript. WHY? :confused:

    D M 2 Replies Last reply
    0
    • M Mariano J Padilla

      Just needed to rant and to open for discussion. MS - Monopoly split, AT&T - Monopoly split, MCI/Worldcom - Monopoly split, Google - Monopoly...... Ect. We can go on and on about what has been taken down and split. Now I ask why is it that JavaScript is the ONLY language left on most browsers for DOM access? Why can't we use C, C-script, C#, EMCA-XXX, CGI, PHP, or any other? MS was slapped with lawsuit when they added classes to Java. I can understand why they won't touch JavaScript/DOM. But please, as new frameworks and Web Technologies rise, we need to ALWAYS turn from the network choice of language that we use, back to JavaScript in order to access DOM elements. We are forced to use JavaScript, oh and only JavaScript to access DOM. Mind you there are DOM Implementations, APIs and other AddOns, but they are just that, AddOns. If you want to access you have to use JavaScript, or as other frameworks call it, an interop with JavaScript. WHY? :confused:

      D Offline
      D Offline
      Daniel Pfeffer
      wrote on last edited by
      #2

      All Web pages have to use an agreed protocol so they can be interpreted by any/all browsers. For better or worse, this is html with various predefined sections (css, JavaSript, etc.). You are free to add any desired section to the html page, using any possible language, but bear in mind that browsers will not know how to interpret it.

      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

      1 Reply Last reply
      0
      • M Mariano J Padilla

        Just needed to rant and to open for discussion. MS - Monopoly split, AT&T - Monopoly split, MCI/Worldcom - Monopoly split, Google - Monopoly...... Ect. We can go on and on about what has been taken down and split. Now I ask why is it that JavaScript is the ONLY language left on most browsers for DOM access? Why can't we use C, C-script, C#, EMCA-XXX, CGI, PHP, or any other? MS was slapped with lawsuit when they added classes to Java. I can understand why they won't touch JavaScript/DOM. But please, as new frameworks and Web Technologies rise, we need to ALWAYS turn from the network choice of language that we use, back to JavaScript in order to access DOM elements. We are forced to use JavaScript, oh and only JavaScript to access DOM. Mind you there are DOM Implementations, APIs and other AddOns, but they are just that, AddOns. If you want to access you have to use JavaScript, or as other frameworks call it, an interop with JavaScript. WHY? :confused:

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #3

        Because JavaScript is a cross-browser/device supported language, not a monopoly. It seems to me that you're also mixing apples and oranges. The language (for example, a "thin" transpiler like TypeScript) vs. DOM element access, are two different things.

        Latest Article:
        Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain

        M 1 Reply Last reply
        0
        • M Marc Clifton

          Because JavaScript is a cross-browser/device supported language, not a monopoly. It seems to me that you're also mixing apples and oranges. The language (for example, a "thin" transpiler like TypeScript) vs. DOM element access, are two different things.

          Latest Article:
          Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain

          M Offline
          M Offline
          Mariano J Padilla
          wrote on last edited by
          #4

          Thank you for your input. Yes I am aware that it is a cross-browser/device supported language, but why not add one more? If I do a project with a framework in c#, I have to use an interop to get to DOM. If I use another framework, I have to always go back to JS. Seems a limitation rather than having the frameworks access DOM directly. It may seem that I have apples and oranges, but if we want to keep cross-browser/device functionality as you speak for one language applied to devices itself, then let us all use only Linux, or only Apple, or only PC. That is a whole different battle, but the heart of it all is the same. I like Apple, I use Apple; I like PC, I use PC. On that thought, for this example only, I like C# and am using a framework for developing a webapp, I use C#, but I also have to include JS. I am forced to include JS for DOM. So, I have to get another nuget, or addon, or plugin, or interop to have my C# code communicate with JS which then communicates with DOM and then DOM through JS give the desired response to my C# request/call/etc. What if I want to use C++, or the famous python? Plugins, nuget, addons galore. All browsers if they want to truly be cross/multi-platform should also be cross/multi language APIs to allow DOM access to what you are developing. Then you would be platform AND language independent thus giving the freedom to develop apps within the language that you choose.

          E 1 Reply Last reply
          0
          • M Mariano J Padilla

            Thank you for your input. Yes I am aware that it is a cross-browser/device supported language, but why not add one more? If I do a project with a framework in c#, I have to use an interop to get to DOM. If I use another framework, I have to always go back to JS. Seems a limitation rather than having the frameworks access DOM directly. It may seem that I have apples and oranges, but if we want to keep cross-browser/device functionality as you speak for one language applied to devices itself, then let us all use only Linux, or only Apple, or only PC. That is a whole different battle, but the heart of it all is the same. I like Apple, I use Apple; I like PC, I use PC. On that thought, for this example only, I like C# and am using a framework for developing a webapp, I use C#, but I also have to include JS. I am forced to include JS for DOM. So, I have to get another nuget, or addon, or plugin, or interop to have my C# code communicate with JS which then communicates with DOM and then DOM through JS give the desired response to my C# request/call/etc. What if I want to use C++, or the famous python? Plugins, nuget, addons galore. All browsers if they want to truly be cross/multi-platform should also be cross/multi language APIs to allow DOM access to what you are developing. Then you would be platform AND language independent thus giving the freedom to develop apps within the language that you choose.

            E Offline
            E Offline
            englebart
            wrote on last edited by
            #5

            This is why Node and the like have become popular. Same language on server and client: JavaScript!

            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