Slashdot Mirror


Google Web Toolkit Now 100% Open Source

chrisd writes "When we first released the Google Web Toolkit (GWT) we were focused on building a great tool for people to build AJAX apps with. Now, we're happy to announce that all of the GWT source code is available, including the Java to JavaScript compiler and the debugging browser, under the Apache 2.0 license. If you'd like to see how we pulled off letting you avoid dealing with nasty browser quirks, you should take a look. More importantly, we're running this like a true open source project now: we'll be developing GWT completely in the open, as per our project charter. More info on the GWT blog."

47 of 173 comments (clear)

  1. A step in the right direction... by clifgriffin · · Score: 5, Insightful

    While I'm sure purists will decry anything that promises to automate the process, I think we need more tools like this.

    One of the problems with designing easy to use functional web applications is that the web is really structured to support it. What you end up with is a difficult balancing act with interactions between server side code, javascript, and anything else in between.

    It's nice to see Google sharing some of the tools they use because let's face it...Google's web apps (in particular gmail) are very impressive.

    1. Re:A step in the right direction... by clifgriffin · · Score: 2, Informative

      That should read "the web isn't really structured"....

      Sorry.

    2. Re:A step in the right direction... by dsginter · · Score: 4, Interesting

      While I'm sure purists will decry anything that promises to automate the process, I think we need more tools like this.

      The problem isn't that these new tools aren't useful - they are. Rather, the "purists" seem to hate it when education is made on assumptions.

      For example,

      Switching theory is considered the "calculus" of computer engineering. And like calculus, it is being dropped from many undergrad curriculum with the assumption that software can best manage this aspect of microprocessor and other digital design. Those who graduate without this knowledge are basically standing on a foundation of assumptions. This is the proverbial "box" outside of which one is supposed to think.

      The purists are just quick to point out that one should never found their decisions on assumptions. In the GWT example, the purist will quickly point out that it is safe to use, provided that the user have the knowledge to work under the hood, when necessary. In my switching theory example, what will happen to microprocessing once we are up against the very laws of physics? This will happen in the near future and those who don't know the basics will not be able to go back to them in order to move us beyond such limitations.

      Back in the '90s, when Y2K was the big worry, the FAA went to IBM for reconciliation. IBM's response?

      "We'll have to replace the whole thing. There isn't anyone left who understands the entire system."

      --
      More
    3. Re:A step in the right direction... by Mad+Merlin · · Score: 5, Insightful
      Well, since the current web standards are garbage...

      No, the current web standards aren't garbage. The browsers that don't even attempt to pretend to follow the standards are garbage (I'm looking at you, IE).

      The correct solution is to rip and replace IE, not the perfectly good web standards that it ignores.

    4. Re:A step in the right direction... by Shados · · Score: 2, Interesting

      Matter of opinion i guess. Having done internal apps that had to take full advantage of "the perfectly good web standards" (thus picking a single standard compliant browser..it was internal after all), I'm not confused by the difference between Microsoft's crappy implementation, and the standards themselves.

      In my opinion (which i guess is what I had forgotten to specify), the web standards are garbage. Fully implemented or not. (And well, in some cases, IE isn't the only one to blame... Safari's javascript implementation, I'm looking at you...)

    5. Re:A step in the right direction... by Fozzyuw · · Score: 4, Funny
      Switching theory is considered the "calculus" of computer engineering. And like calculus, it is being dropped from many undergrad curriculum with the assumption that software can best manage this aspect of microprocessor and other digital design.

      This has always been one of my pondering points of Star Trek. Where, in the development of the Earth, did they find the time to 'educate' students on the likes of Calculus and 'general education requirements' while also being able to teach them the intricacies of Quantum Mechanics, deflector dish re-alignment, and power coupling re-direction, all by the age of like 18 and flying around on a star ship!

      Calculus was pretty difficult enough, let alone the difficulties of studying as a teen-age when the temptations of a holo-suit are sitting in your own 'dorm'. There's enough addiction in games like WoW, I cannot imagine what it would be like on the Enterprise. =D

      Cheers,
      Fozzy

      --
      "The past was erased, the erasure was forgotten, the lie became truth." ~1984 George Orwell
    6. Re:A step in the right direction... by s4m7 · · Score: 4, Funny
      Eh, no it's not. The 'box' is the set of standard notions that are currently accepted as the way to do things.

      That's what you think the box is. I think it is an actual box, located 15 miles south of Champagne, IL.

      All kidding aside, please don't legitimize corporate doublespeak buzzwords by trying to claim they have an actual definition. It's an insult to those of us who are not marketroids.

      --
      This comment is fully compliant with RFC 527.
    7. Re:A step in the right direction... by breadbot · · Score: 2, Funny

      You mean Champaign , Illinois? I'm typing this from Urbana, right next door to Champaign (and just down the highway from storied Peoria), although as a child I lived in the the one and only Oblong, IL.

      Ha! A chance to be pedantic! How often does that happen?

      Auugh! No, not the off-topic button! The Midwest really does exist! It's made of peeeeeooople!

    8. Re:A step in the right direction... by rmerry72 · · Score: 2, Insightful
      Do you need to know how assembly is compiled into machine code then put into memory and fetched by the CPU (with lots of nop in the case of x86 :)?

      Actually sometimes you do. I remember a bug a couple of years ago that was traced down to the compiler incorrectly compiling a few lines of C++ code. Yup, a nasty compiler bug (hey, compilers a programs too). One of our guys not only detected this, hey found out why and how and wrote the embedded assembler to fix it. None of the rest of us knew assembler so we were in the dark.

      So, whilst you don't need to know such things in your day to day workings its good to have a familiarity with them so that when a problem like ours falls "outside of the box" (ie. compilers don't have bugs) you can grasp that thread of thought and follow it down to a solution, learning more intricate detail as you go. Else your quickly become stuck at "but compilers don't do that" and get nowhere to fixing your problem.

      Even though calculators are cheap and generally in easy reach it's still good to be able to do some math by hand. And even though third-level languages are prevalent, its good to get under the covers occasionaly so you understand what really happens not what's suppossed to happen.

      --
      We do not inherit the Earth from our parents. We borrow it from our children.
    9. Re:A step in the right direction... by Red+Alastor · · Score: 2, Informative

      You might be interested by this project that aims to create a tool just like GWT but for Python. http://pyjamas.pyworks.org/

      Their goal for 0.1 was all Google examples at least mostly working on Firefox and this is what they released. Their goal for 0.2 is all Google examples, completely working on all browsers.

      I wouldn't use it yet in my projects but I'll keep an eye on it. I tried GWT and despite being Java, it's very sweet. I'm eager to be able to do the same thing with python.

      --
      Slashdot anagrams to "Sad Sloth"
  2. Ready for professional use? by namityadav · · Score: 5, Interesting

    I mostly work on business layer / mediation tier, and have never been too good with the web tier. So GWT, at first, looked like a god-send to me. But after implementing my first GWT based test-solution, I realized that maintaining a GWT based solution will be many folds more difficult than a traditional Javascript based solution. So, my personal opinion is that although GWT is good for personal projects, it still needs to prove itself for professional development.

    1. Re:Ready for professional use? by david.given · · Score: 5, Insightful

      From what I've seen, the big advantages to using GWT are:

      • You get to write your logic in a language other than Javascript --- that is, one with type safety, compile time checking, sane syntax, and a reasonably consistent implementation.
      • You get to use the same form verification logic on the client and on the server, which means you don't have to implement it twice, which makes it much harder to get it wrong.
      • You completely avoid the horrific browser inconsistencies.
      • You get a real debugger.
      • For most tasks, the pain of connecting your front end to your back end is done for you.

      I wouldn't say that GWT is a particularly nice solution to the problem --- it's doing some pretty damned foul things behind the scenes, you should look at the code it generates some time --- but it hides the foulness rather effectively. It basically lets me get the job done far more easily than I could otherwise, which makes it valuable to me.

    2. Re:Ready for professional use? by namityadav · · Score: 2, Insightful

      Well, for one, the Javascripts produced by this tool are nowhere as simple and easy to understand as the ones written by the Javascript expert (Sitting in the next cubicle) who understands the product better. And how do you debug a problem now? First you'll have to find the problem in the automatically produced Javascript, then find out how that relates to your Java files that were used to produce the Javascript. What if the tool has a bug? It'll take you a very long time realizing that. Then, most of the times it's much more difficult to maintain a solution which depends on a framework producing files for you at compile time. And finally, how do you deal with mixing some manually written Javascripts with some GWT produced Javascripts? I am sure web-tier people can come up with more technical problems that they see in GWT based solutions.

    3. Re:Ready for professional use? by NoOneInParticular · · Score: 2, Insightful
      Then, most of the times it's much more difficult to maintain a solution which depends on a framework producing files for you at compile time.

      And how is this different from a compiler? Whether it's object files or class files, it's probably worse to debug the raw assembler/byte code then it is to wade through generated javascript. And yes, compilers make errors. Apparently, GWT is a compiler, with the only twist that it generates javascript rather than raw machine language or a (different) virtual machine. Find an error, file a bug report and trust that your compiler builder will fix the bug. In the meantime, write your logic differently so that the bug goes away.

    4. Re:Ready for professional use? by breadbot · · Score: 3, Interesting

      There's a good answer to that: the compiler can be invoked in two modes. Production mode generates compressed, obfuscated (as a side effect of compression) JavaScript, with function names like a3(). Development mode, though, generates incredibly verbose JavaScript, with Java packages and class names and method names visible everywhere, that is encredibly easy to trace back to your original code.

    5. Re:Ready for professional use? by larry+bagina · · Score: 2, Insightful

      having debugged both "raw assembler/byte code" and obfuscicated javascript/generated perl/etc, I find it easier to debug binary code. With assembled code, you can specifically pinpoint an error. With intepreted half languages, the error may be in the compiler, the javascript interpreter, the javascript libraries/dom support, JIT compiler, etc, etc.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    6. Re:Ready for professional use? by larry+bagina · · Score: 2, Funny

      The Macintoth port allowth you to talk with a lithp.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

  3. Kudos on the licenses by Anonymous Coward · · Score: 4, Insightful

    I am glad to see smart companies and developers using developer friendly licenses like Apache and Mozilla. I've been burned early in my career by using the GPL and I'll never do it again for any software I write. I hope more developers use good solid community licenses like Apache 2 and MPL.

    1. Re:Kudos on the licenses by maxume · · Score: 2, Informative

      If you are in a situation where you are working on a code base that you initiated but it has become a 85% you, 15% contributed situation, your ability to 'go binary' becomes pretty limited, depending on how that 85% is spread about. That's the point of the GPL of course, but if you start using it without realizing the implications, I can see how you would feel burned.

      --
      Nerd rage is the funniest rage.
    2. Re:Kudos on the licenses by david.given · · Score: 3, Interesting

      As someone who has contributed bits and pieces of code here and there, and considering some bigger ideas to be released as GPL, I'm interested in why you'd prefer Apache 2 and MPL. It's all rather murky to me what the differences are. Mind elaborating?

      If I'm a company, then if I use GPL software, I cannot modify it. This rather defeats the purpose of using open source software.

      The reason why I can't modify GPL'd software is fairly simple: releasing in-house software as GPL is expensive. It requires legal oversight to make sure that we can relicense it, it requires infrastructure to allow us to give customers access to it, it requires us to support those customers --- if you're a real company, you can't get away with telling customers to piss off when they ask you questions --- it requires us to religiously differentiate between the GPL'd code and the non-GPL'd code to prevent license poisoning, and above all, it requires the process to manage the above. Using GPL'd software involves an entire management chain from legal downwards. Using BSD software doesn't.

      Frequently, it's not worth the effort. It would be cheaper for us to find some sub-par non-GPL code and fix the bugs, or to write our own version from scratch. When I'm wearing my corporate hat and I'm looking for code, I'll frequently not even bother looking at it if it's GPL'd.

    3. Re:Kudos on the licenses by Anonymous Coward · · Score: 5, Informative

      GPL primarily has distribution restrictions. If you are just using modified GPL code internally, that is not a problem. If you are re-distributing (selling) the software, you need to provide the source code, including your modifications. I don't see the problem.

      Your company doesn't want to "support" the software? Why would anyone want to purchase software from your company?

  4. Dang it. by Anonymous Coward · · Score: 2, Funny

    Stuff like this makes me wish I could code. :(

  5. Only if you promise to think about the irony by Ed+Avis · · Score: 5, Funny

    So... you can write your application in Java, but then compile it to Javascript to run inside a web browser?

    --
    -- Ed Avis ed@membled.com
  6. Yes please :) by growse · · Score: 2, Interesting

    I've always been of the "build it yourself" philosophy in the past, when I first coded my website (4 years ago), I built the blog, the guestbook, the cms, everything. I don't have a CS degree, and this proved to be a valuable way to learn some programming skills.

    Even today, I start new projects, I look at existing offerings, reject them and try and put it together myself. I'm currently some way through building an AJAXy online photo-management tool. It's fun stumbling across a bunch of unanticipated problems and figuring out how to fix them. At the end of the day though, with this particular project, I just want something that's asynchronous, but as reliable and cross platform as gmail.

    When the people who make the application whose standards you're trying to match release a toolkit that helps you do that, I'm having me some of that.

    --
    There is nothing interesting going on at my blog
    1. Re:Yes please :) by growse · · Score: 4, Interesting

      It doesn't. You missed the point. I tend to think in the "build it yourself" mindset, but I don't write my own compiler, or my own XML parser plugin for Perl. Sometimes, it just doesn't make sense to build something when there's a tool out there that helps you achieve the ultimate goal. Sure, I don't learn about how to get around browser specific JS bugs with the GWT, but on the upside, I get to learn Java. Bigger benefit.

      --
      There is nothing interesting going on at my blog
  7. Um ya...... by jrwr00 · · Score: 3, Informative

    Found this under the GWT FAQ:

    Does Google Web Toolkit send any information about me back to Google's servers?

    When you use the Google Web Toolkit's hosted web browser, the application sends a request back to Google's servers to check to see if you are using the most recent version of the product. As a part of this request, Google will log usage data including a timestamp of the date and time you downloaded the Google Web Toolkit and the IP address for your computer. We won't log cookies or personal information about you, and we will use any data we log only in the aggregate to operate and improve the Google Web Toolkit and other Google Services. Please see the Google Privacy Policy for more information.

    1. Re:Um ya...... by Anonymous Coward · · Score: 4, Insightful

      You have the sources, so you can just cut out that functionality.

  8. Re:Just as Sun release Java SE 6 by nuzak · · Score: 2, Informative

    There is no overlap. In fact, the GWT only works with the Java 1.4 subset of the language (though you can run it on any 1.4 and up JVM, you just have to use -source 1.4). No generics, no enhanced looping, etc.

    Java 6 SE includes Rhino (without E4X) which I suppose could be used as a target of the GWT for the server side, but it seems a tad pointless except maybe for validation of generated code.

    --
    Done with slashdot, done with nerds, getting a life.
  9. Re:Wither AJAX by chill · · Score: 5, Insightful

    No, the reason Java didn't take off for web stuff is the massive hit you take when first firing up the JVM. The first time the JVM initializes you can add 3-10 seconds to the web page load. It also chews memory disproportional to what it was used for -- little applets.

    Don't get me wrong, for larger programs and projects Java can be an excellent tool. When you fire up the JVM with system boot, or once a week or so, then no problem. But using Java to give you an automatic clock, roll-over buttons, or pretty water effects on pictures is just wrong on so many levels.

    --
    Learning HOW to think is more important than learning WHAT to think.
  10. Devil's Advocate by wralias · · Score: 5, Informative
    From TFA:
    Writing dynamic web applications today is a tedious and error-prone process; you spend 90% of your time working around subtle incompatibilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.
    Anyone who has done heavy work in JavaScript can attest to it's modularity; in fact, it is a very beautiful, expressive, and misunderstood language. Some folks claim that it is not object-oriented - but that is simply not true. It supports inheritance, static members, etc. - you just have to conceptualize them differently. I hesitate to trust the output or business logic of a program that "compiles" in javascript from another language, even if it is something so similar syntactically as Java is. I guess if you don't know JavaScript and you're uncomfortable with browser quirks, and you are a Java person, then this framework is for you. Bad news, though - you'll still need to figure out CSS, and that is a mind-fuck in and of itself.
    1. Re:Devil's Advocate by abes · · Score: 5, Insightful

      It's a first that I've seen someone call Javascript beautiful. Javascript, for what it was first conceptualized for, got the job done (back when it was Livescript). The misunderstood part of Javascript, is that it is prototype-language, which is unlike most other languages. That is, you can create object types on the fly due to how the associative arrays work. foo.bar is the same as foo['bar']. From that you can get all the OOP you want (note: although Python is much more of an OOP'd language, it can also be used as a prototype-language).

      But this is definitely where the beauty is in the eye of the beholder comes into play. Is this some quick syntactical sugar that gives the impression of structure, or is there indeed a well thought out design to the language. Of course, the fact it's been a slowly evolving/hacked together language would point more towards the former in my book.

      Personally, I've never been a fan of the Javascript method of doing things, and prefer a much stronger structure in the language. Python does a great job of it, I like what little I've seen on Ruby (especially Rails), and there is of course my personal favorite C++ (yes, flame all you want, but *know* the language first before you complain about it).

      Prototyping languages, from what I've seen so far, are great for hacking together small projects, but get messy when you try to do anything on a larger scale. This is where strong language structure comes nicely into play.

      While Java is not my favorite language (I usually refer to it simply as, 'that bastardized c++ language'), I am excited about trying this out. I'm curious as it will compare against RoR, Django, etc. The prospect of being able to write a well maintained library for web interfaces that is easily extendable is a much worked on and much needed item in the world of webs.

    2. Re:Devil's Advocate by macshit · · Score: 2, Informative

      They aren`t quite objects if you need to conceptualize them in a different way...

      The phrase "object oriented" does not refer to single implementation technique, it refers to a general category of languages. Perhaps the majority of people are more familiar with C++/java style class-based designs, but there are many others. One of the most famous (in the research community at least) is "prototype based" languages, of which the "Self" language is the most well-known example. Javascript, it would seem, is a Self-style prototype-based language.

      --
      We live, as we dream -- alone....
    3. Re:Devil's Advocate by kubalaa · · Score: 3, Insightful

      You cannot package javascript up in a module which ensures that there will be no namespace collisions Sure you can, if you are willing to accept the risk of collisions in module names (after all, what happens if two Java packages use the same name)?

      // define a new module
      org_slashdot_moduleX = new function() {
      var module_private_variable = ...
      function private_function() {
      ...
      }
      this.public_function = new function() {
      ...
      }
      } // end module org_slashdot_moduleX
       
      // import the module as "mX":
      var mX = new org_slashdot_moduleX();
      mx.public_function();
      You can even parameterize modules to create ML-style functors.
      --

      "If you look 'round the table and can't tell who the sucker is, it's you." -- Quiz Show

  11. Re:Wither AJAX by whargoul · · Score: 2, Informative

    With Java 7 under GPL, why would anyone develop an AJAX application instead of a signed Java applet? The reasons Java applets never took off were security concerns and limited consumer bandwidth. Both of these are less of a concern now and no more of a concern than running rich apps directly in the browser.

    Time to make like it's nineteen-ninety-eight. Again. I avoid Java applets as much as I can. Not because of security or bandwidth, but because they take so damn long to load and often cause the browser (IE or FF) to freeze until they're done loading.
  12. Re:"JavaScript's lack of modularity" ? by curunir · · Score: 2, Informative

    The modularity lacking in Java is packaging and importing. As another poster mentioned, toolkits create the illusion that JavaScript has these, but it really doesn't. Somewhat less important is that there really isn't a true inheritance model. You can inherit another object's prototype, but that doesn't give you the same flexibility as true inheritance.

    --
    "Don't blame me, I voted for Kodos!"
  13. Re:Wither AJAX by iabervon · · Score: 4, Insightful

    Because it's really hard to write a Java applet that doesn't break user expectations for content inside the browser window. If you do it all with a Java applet, you break the "text size" menu items, the back button, bookmarks, the print menu item, and so forth. If you use AJAX correctly, all of these work (better even than without AJAX, because it makes "next" and "previous" buttons on a big list act like scrolling through it, rather than being additional history items). People want to use web sites like web sites, but with extra-clever controls, not like desktop applications. Java applets are inherently objects embedded in web pages, not integrated with the browsing interaction.

  14. Re:Just as Sun release Java SE 6 by nuzak · · Score: 2, Interesting

    > Almost all Java dev on the server side takes place on 1.4.2-level syntax.

    Sadly true ... most java dev is using hopelessly archaic junk. Thank god my Java projects aren't driven by glacial rollout schedules and fear of new things, so I quite happily use things like Seam, which is chock full of Tigerisms like annotations. It's the only I can get myself to stand working in Java at all.

    I suspect a platform like .NET that carries less encumbrance of big legacy deployments must be a bit more liberating. I suppose it all depends on the work environment.

    --
    Done with slashdot, done with nerds, getting a life.
  15. Debugging by da_flo · · Score: 3, Interesting

    And how do you debug a problem now? First you'll have to find the problem in the automatically produced Javascript, then find out how that relates to your Java files that were used to produce the Javascript. What if the tool has a bug? It'll take you a very long time realizing that.
    Well, according the the GWT website, that's not true. One of the big advantages of GWT, or so is it advertised, is that you can develop *and* debug your app directly in Java, not having to mess with the Javascript at all.

    From the GWT overview :

    Google Web Toolkit (GWT) is an open source Java development framework that lets you escape the matrix of technologies that make writing AJAX applications so difficult and error prone. With GWT, you can develop and debug AJAX applications in the Java language using the Java development tools of your choice. When you deploy your application to production, the GWT compiler to translates your Java application to browser-compliant JavaScript and HTML.

    Here's the GWT development cycle:

    1. Use your favorite Java IDE to write and debug an application in the Java language, using as many (or as few) GWT libraries as you find useful.
    2. Use GWT's Java-to-JavaScript compiler to distill your application into a set of JavaScript and HTML files that you can serve with any web server.
    3. Confirm that your application works in each browser that you want to support, which usually takes no additional work.
  16. Re:Tapestry Integration? by Valdukas · · Score: 2, Informative

    If you are using Tapestry, depending on Tapestry's version it either has AJAX functionality built-in (v4.1) or available through add-on components (e.g. Tacos)

  17. Re:Wither AJAX by zlogic · · Score: 2, Interesting

    When you need a 12-meg download to run a 160k applet, users will probaply turn away. Remember how it was difficult to redistribute .NET Framework apps because noone would install a 50 meg library just to run the small program they've downloaded? Or even worse, requiring asministrator priveleges, the latest service pack and Internet Explorer to be installed? That just like the problem when nobody writes Linux games because there aren't a lot of Linux gamers because there aren't a lot of Linux games.
    And big Java applications like Matlab and Maple and Oracle JDeveloper keep their own version of JRE installed which is invisible to other apps, something to do with compability. That's right, I have 4 independent copies of JRE: one for Maple, one for Matlab, one from JDK and one for everything else.
    What I'm trying to say that until Java gets installed on every PC out there, it would be hard to convince users to install it. However since Microsoft seems to be abandoning ActiveX Java has a chance.

  18. ZK by Dan+Farina · · Score: 2, Informative

    This is good news, but I would highly suggest anyone looking at a tool such as GWT also look at ZK ( http://www.zkoss.org/ ).

    While not technically competitors (GWT is all client side, ZK provides a way to handle AJAX requests automatically on the server side) they fill many of the same niches. There is an informative interview available ( http://blogs.pathf.com/agileajax/2006/06/an_interv iew_wi.html )

    If you want to jump straight into the ZK demo, check out http://www.zkoss.org/zkdemo/userguide/

  19. You were doing WHAT now!? by Anonymous Coward · · Score: 5, Insightful

    > The reason why I can't modify GPL'd software is fairly simple: releasing in-house software as GPL is expensive. It requires legal oversight to make sure that we can relicense it, it requires infrastructure to allow us to give customers access to it, it requires us to support those customers --- if you're a real company, you can't get away with telling customers to piss off when they ask you questions --- it requires us to religiously differentiate between the GPL'd code and the non-GPL'd code to prevent license poisoning, and above all, it requires the process to manage the above. Using GPL'd software involves an entire management chain from legal downwards. Using BSD software doesn't.

    Well, if you're using GPL'd software as part of your proprietary software, you were barking up the wrong tree to begin with--the whole point of the GPL is to promote free (libre) software.

    As for the relicensing bit, you can only license things you own. If you're not using code you own, you have your own problems right there, GPL or not.

    And if it was for simple in-house *use* (the GPL covers *distribution* as you can see from the preamble section), well, you didn't really have to release anything, anyhow, so there couldn't have been anything to vet to begin with.

    Honestly, it sounds to me like you grabbed a screwdriver and were disappointed because you couldn't make a very good hammer out of it.

  20. Re:Umm... by EvilKevin · · Score: 5, Informative

    Yes, we do use this in some of our apps, the most recent of which is described here: http://googlebase.blogspot.com/2006/12/plastic-sur gery.html

  21. Omitted the NOSCRIPT tag - Disabling JavaScript by littlewink · · Score: 3, Interesting

    Once again a Web 2.0 Javascript framework that doesn't gracefully fail for those who disable JavaScript.

    IMO this is nice-looking but a non-starter.

    1. Re:Omitted the NOSCRIPT tag - Disabling JavaScript by soliptic · · Score: 2, Insightful
      Once again a Web 2.0 Javascript framework that doesn't gracefully fail for those who disable JavaScript.
      If you just searched for <NOSCRIPT> and didn't find it, and assume this means it won't gracefully fail with js off - you could be wrong.

      You can do graceful degradation that way. OR, you can output a page that works without javascript, all the links being traditional serverside "do_something.php?action=foo&id=foo" stuff. And then, the body onload() goes through your DOM and replaces all the links with javascript hooks to do things via the AJAXy method. So, if js is switched off, onload() doesn't happen, nothing gets replaced.

      This latter method (often termed "progressive enhancement" - basically looking at things backwards to "graceful degradation" - defaulting to the basic version and dynamically improving it where possible, as opposed to defaulting to the flashiest version and having a basic fallback) seems to be the more fashionable "best practice" among your 'standardista' web developers these days.

      So it's possible that's how this framework handles graceful degradation - workable without js and not a <NOSCRIPT> in sight.

      NB: I haven't actually looked at it, so I'm not saying it does do this and hence you're wrong; just saying it's a possibility.
  22. TheServerSide presentation by tedgoddard · · Score: 2, Informative

    A "tech talk" on GWT is posted on TheServerSide. Of course, if you're generally interested in Ajax you should also check out the tech talk on Ajax Push with ICEfaces just below the GWT talk. In keeping with allowing the developer to write Ajax applications in pure Java, ICEfaces also promotes Ajax development without JavaScript.

  23. If you prefer C++ ... by ohell · · Score: 2, Interesting

    try Wt. It is like GWT without Java - uses standard C++ and the only essential dependencies are boost & Xerces. Doesn't have Google pushing it, but is being actively developed. I bet it can beat the pants off GWT for server-side performance, besides being architecturally modern (uses boost signal-socket library for both client and server based event handling). Another nice feature is that it degrades gracefully - defaults to DHTML if browser can't do AJAX.

    --
    Three o'clock is always too late or too early for anything you want to do. - Jean-Paul Sartre