Slashdot Mirror


Sophistication in Web Applications?

whit537 asks: "Anyone who uses Gmail for 5 minutes can see that it's a pretty dern sophisticated web application. But just how sophisticated? Well, first of all, the UI is composed of no less than nine iframes (try turning off the page styles in Firefox with View > Page Style). But then consider that these iframes are generated and controlled by a 1149 line javascript. This script includes no less than 1001 functions, and 998 of these functions have one- or two-letter names! They're obviously not maintaining this script by hand in that form. So do they write human-readable javascripts and then run them all together, or have they developed some sort of web app UI toolkit in Python? Does Gmail need to be this complex or is the obfuscation a deliberate attempt to prevent reverse-engineering? And are there any other web apps that are this sophisticated?"

5 of 197 comments (clear)

  1. If they are smart, and they are, by QuantumG · · Score: 0, Flamebait

    they would write their web app in an object oriented language for maintainability and then have a compiler which produces javascript as output. Of course, at some point we all might wake up and put a virtual machine in the browser that doesn't take 30 seconds to load and enrich the platform.. of course, then we have compatability issues.

    --
    How we know is more important than what we know.
    1. Re:If they are smart, and they are, by QuantumG · · Score: 0, Flamebait

      and about as maintainable as Perl.

      --
      How we know is more important than what we know.
  2. Re:Yah, good for Javascript! by QuantumG · · Score: 0, Flamebait

    So the fact that there are absolutely no static type checking tools for Javascript has no affect on its maintainability? Get a grip sunshine.

    --
    How we know is more important than what we know.
  3. Re:On the subject of code maintenance.... by QuantumG · · Score: 0, Flamebait

    Wow, so unit tests, design documents, defect tracking, revision control, all that stuff we use to maintain software is just one big waste of time. All we need is to use interpreted languages cause then we can find the source code! Brilliant!

    --
    How we know is more important than what we know.
  4. Re:Just quick and easy by Zareste · · Score: 0, Flamebait

    You could just learn to program. Who's going to hire someone who can't remember a letter?

    --
    I am NOT a number! I am a - oh wait, I'm number 761710. Look! 761710!