Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

The Case Against Web Apps

Posted by timothy on Thu Jan 29, 2009 03:32 PM
from the only-as-strong-as-its-weakest-data-link dept.
snydeq writes "Fatal Exception's Neil McAllister offers five reasons why companies should re-consider concentrating their development efforts on browser-based apps. As McAllister sees it, Web apps encourage a thin-client approach to development that concentrates far too much workload in the datacenter. And while UI and tool limitations are well known, the Web as 'hostile territory' for independent developers is a possibility not yet fully understood. Sure, Web development is fast, versatile, and relatively inexpensive, but long term, the browser's weaknesses might just outweigh its strengths as an app delivery platform."
+ -
story

Related Stories

[+] Developers: Was Standardizing On JavaScript a Mistake? 525 comments
snydeq writes "Fatal Exception's Neil McAllister questions the wisdom of standardizing on a single language in the wake of the ECMA Committee's decision to abandon ECMAScript 4 in favor of the much less ambitious ECMAScript 3.1, stunting the future of JavaScript. Had the work continued, McAllister argues, it could have ushered in an era of large-scale application development that would ensure the browser's ability to meet our evolving needs in the years ahead. 'The more I hear about the ongoing efforts to revise the leading Web standards, the less convinced I am that we're approaching Web-based applications the right way,' McAllister writes. 'If anything, the more we talk about building large-scale Web applications, the more we should recognize that a single style of programming will never suit every job.' McAllister's simple truth: JavaScript will never be good for everything — especially as the Web continues to evolve beyond its original vision. His solution? 'Rather than shoehorning more and more functionality into the browser itself, maybe it's time we separated the UI from the underlying client-side logic. Let the browser handle the View. Let the Controller exist somewhere else, independent of the presentation layer.'"
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Decentralization? (Score:5, Insightful)

    by Anonymous Coward on Thursday January 29 2009, @03:37PM (#26658075)

    I thought decentralization was supposed to be a good thing, the whole motivation behind having personal computers to begin with but, in the age of web apps everywhere, we seem to be returning to the days of the totalitarian, you'll-do-it-our-way-and-like-it data center (mainframe) model.

    • Mod parent up. Web apps are a belated realization by all and sundry (seriously, almost everybody seems to be on this stupid bandwagon) that the internet up and went and stole not just a huge chunk of their revenue, but a huge chunk of their control.

      Remember "Push" technology or whatever that damn buzzword was back in '97? This is just another iteration.

      Now, not to say Web apps don't have a future. Being able to whip up a decent document, spreadsheet or presentation on the fly with nothing but an internet connection will be damn handy. But as a replacement for self-control? No frigging way.

      Tossing a bone to the fanboys: This is all Microsoft's fault anyway. If they hadn't decided to use Office as a raping and pillaging tool, there wouldn't be such a goddamn stampede away from them, and towards any cheaper alternative, whether it's good for you or not.

      Meanwhile, I'm happily using O.o and laughing at all of them.
    • by MightyYar (622222) on Thursday January 29 2009, @03:56PM (#26658387)

      I thought decentralization was supposed to be a good thing

      It has its good and bad points, like most things in life.

      the whole motivation behind having personal computers to begin with

      The original motivation was geeks playing around. The main reason they originally started showing up in businesses was VisiCalc, which simply wasn't available in any other form except chalk boards.

      we seem to be returning to the days of the totalitarian, you'll-do-it-our-way-and-like-it data center (mainframe) model.

      Except we aren't. Even a netbook is smarter than a TTY terminal. Plus, with the internet you aren't tied to a single mainframe. You can do your web email with Google, your web search with Yahoo, and your web word processing with Microsoft. The old mainframe way would be if Comcast supplied email, search, and document creation and you did not have a choice to go out and use other providers' services instead.

      What you are seeing is a move towards web apps where it makes sense (email, document sharing, social networking, etc.), and people sticking with local applications where it doesn't make sense to go to the web (video or photo editing, most office documents, etc.) - anything where the bandwidth or latency requirements become too much of a bottleneck.

      • I have yet to meet anybody that said their new web-based app whipped the llama's azz compared to the old thin-client or mainframe app

        Unsurprising. Even with AJAX techniques to avoid refreshing the page fully, and even using JSON (maybe gzip'ed) instead of XML to reduce the traffic, and even with HTTP keep-alive to reduce the connection times, the technology used in web-apps today is still more "expensive" in terms of performance/latency than the older client/server methods. You build a 2-tier Win32 client with a direct connection to the database, and you've got a pure binary stream, composed of useful data and little else (vs. verbose XML, particularly); you don't have extra layers of webservers, you don't have a connection that starts/stops constantly, etc. You have the ability for the server to notify the client that something has changed, whereas with web-apps, you at best have something like Comet, and more likely have some sort of polling AJAX call. And the client's probably compiled, running natively, using hWnd's and whatnot; with web-apps, you may have the wonder that is javascript performing DOM updates that have to be interpreted and re-rendered by a multipurpose browser.

        Of course it's less efficient. But as others have pointed out, that's not always the point. It's about control, it's about standardization, and ... oh, right, it's about control.

  • SQL? (Score:5, Insightful)

    by spikedvodka (188722) on Thursday January 29 2009, @03:37PM (#26658095)

    in this modern day-and-age, most stuff is just data anyways, and that is all database. Moving to a true client architecture, oh wait, all the data is still stored centrally, and most reports are all done via stored procedures.

    Even with true clients, much data processing is still done in the datacenter. maybe some advanced analysis is done on other machines with a data dump, but still... it's all data

    • Re:SQL? (Score:5, Insightful)

      by mabhatter654 (561290) on Thursday January 29 2009, @04:00PM (#26658431)

      But we can use Crystal Reports or Oracle Forms!!! Then we can install 1 Gig of software to be our "server" (in addition to the DB) and another Gig of software on the client... all to look at the SQL queries sitting on the DB server!

      But wait there's more!

      In most companies BIG IT supports databases and data centers. little it supports servers with department apps. It's all about the responsibility. An app that hogs a desktop PC and takes 5 minutes to start is the "users" or "it" problem, not management's. The same app in a datacenter serving 50 users poorly is now an "IT" manager problem.. and they'll demand the app fixed or toss the app out. Guess which group vendors like to sell to?

    • Re:SQL? (Score:5, Insightful)

      by bobetov (448774) on Thursday January 29 2009, @04:12PM (#26658565) Homepage

      in this modern day-and-age, most stuff is just data anyways, and that is all database. Moving to a true client architecture, oh wait, all the data is still stored centrally, and most reports are all done via stored procedures.

      I'm not sure what kind of work you do, but as someone who is developing a lot of web apps right now, I'll say straight up that the data is the easy part. The internals of any system are well understood and the border cases are easy to handle.

      What takes time, and what breaks, and what drives me nuts, is the UI - validation, layout, rendering quirks, etc., etc., etc.

      I've recently started playing around with Adobe's Webkit-based AIR framework for this reason. It lets me interact with the local file-system, have a data store that's not reliant on a network, and above all, has a consistent UI environment.

      "It's just data" is a data-centric way of looking at things, and is true in a sense. But the argument being made here is about the interface between the client and the data - not the data itself.

    • Re:SQL? (Score:5, Interesting)

      by Krater76 (810350) on Thursday January 29 2009, @04:29PM (#26658807) Journal

      Even with true clients, much data processing is still done in the datacenter. maybe some advanced analysis is done on other machines with a data dump, but still... it's all data

      True, and real client developers - those who have built many clients - will continually push processing to the server, keeping the client as thin as possible. A server can be upgraded or replaced, you don't necessarily know what a client is going to be running. My only complaint with TFA is that his first argument overestimates the power on a desktop.

      What I think he is really saying is that data validation is better handled by traditional desktop apps a lot better than web apps. Of course traditional apps include browser plugins like Flash and Silverlight, along with C, C++, C# and Java applications. In most web apps a user puts in info, presses next and then when something isn't right they be punted back to the same form with maybe a message explaining why. This validation can be handled instantly in traditional apps, giving the user more feedback and better interaction. Also, since most are just glorified wizards, web apps quickly become a productivity bottleneck for advanced users.

      Other than a simple form-type interaction, why bother with it in enterprise applications? A company can require the install of anything they want in their required configuration, so why not a rich client that follows UI standards?

      • Re:SQL? (Score:5, Interesting)

        by SanityInAnarchy (655584) <ninja@slaphack.com> on Thursday January 29 2009, @06:53PM (#26660613) Journal

        What I think he is really saying is that data validation is better handled by traditional desktop apps a lot better than web apps.

        Javascript was created specifically for the purpose of validating forms. I think it still does fine at that.

        In most web apps a user puts in info, presses next and then when something isn't right they be punted back to the same form with maybe a message explaining why.

        Bad app, not bad platform. In my web apps, you will often be punted back (because I'm lazy and haven't finished it), but there will always be a message explaining why. And in the fields which you might have to try frequently, like username, it will do that validation in realtime.

        But there's no reason you can't validate everything immediately. The main reason you see it done that way is it's more important to validate it on the server, so that's what gets done first. In far too many apps, desktop and web alike, it's done in the other order, so if you sniff the network traffic, you can do anything you want.

        since most are just glorified wizards, web apps quickly become a productivity bottleneck for advanced users.

        Again, that's a symptom of "most" web apps, not a warning away from the platform as a whole.

        For that matter, what kind of "advanced users" are we talking about here? A well designed web app will be RESTful, meaning it's trivial to develop a script that talks to it, or any kind of frontend you want. The savvier users might start developing and sharking Greasemonkey scripts. How, exactly, were you proposing to add scriptability to a desktop app?

        why bother with it in enterprise applications? A company can require the install of anything they want in their required configuration, so why not a rich client that follows UI standards?

        First, the browser is going to give you a lot of UI standards, nearly for free. Users used to web apps will start wanting things like a tabbed interface, a back button, bookmarks...

        Second, because you get some of the more important advantages of a thin client. If everything your users need to do is in a web app, this has several important effects: You're free of Microsoft (you can just give them a bare-bones Linux box that boots to Firefox), the machine is interchangeable (if it fails, just replace it with a fresh one and the user can simply login again), telecommuting is easier (just grab whatever you trust and open the app via SSL), and maintenance is much easier, just upgrade the app in one place and everyone gets the upgrade. As for upgrading the clients, much easier to push out a browser update and a few OS updates than all that plus a half-dozen custom application updates.

        Sure, it's easier in an enterprise environment, because you can mandate a browser. If your developers like Firebug, your users will use Firefox, end of story. But your comment assumes that there are advantages to a rich client...

        Speaking of which, the browser is much smarter than a VT or an X server. Just about anything you'd need to do in a business app -- especially a simple form-type interaction -- you can do client-side.

        Basically, you get all the advantages of a thin client, and all the advantages of a rich client, except for a few areas (extremely high-performance, 3d, or needing a lot of local disk storage) -- and those are being worked on (JS keeps getting faster, Flash supposedly has 3D now, and things like Google Gears and Adobe AIR are providing ways to access the local disk.

        For the vast majority of enterprise apps -- the kind that would work just fine as thick clients on 10-year-old computers, or even as DOS apps when that was the new thing -- the Web is pretty much all upside, if done right.

  • by BigHungryJoe (737554) on Thursday January 29 2009, @03:39PM (#26658107) Homepage

    Can we please, please go back to the Win32 API? It was such a joy to use, and I've got a Visual Studio 6 license laying around here somewhere.

  • by gweihir (88907) on Thursday January 29 2009, @03:44PM (#26658181)

    While I think the arguments against web-apps are valid, it is the newest trend and people will not listen. It will require a few very expensive catastrophies, before something happens. And then people will still not undterstand what the problem is, just that there were expensive catastrophies.

    By now I believe most technological trends are not rational.

    • by Hooya (518216) on Thursday January 29 2009, @09:34PM (#26661881) Homepage

      I hear what's being said but here's a scenario where anything other than a web delivered app is murder:

      - We are a small company 300,000 people in some cases
      - *All* of their employees use us exactly *once* a year.

      Imagine trying to install a desktop client across all continents (save for Antarctica), every year, for one use. (we do have feature upgrades that would call for redeployment).

      How much leverage would we have to get that done? in time? none.

      Web based? no problem. We get 5-10 calls for support. No additional deployment is needed since all their computers have browsers and access is controlled centrally by them.

      Like most things in life, there is good and bad with web delivered app. Is it *the* solution in some cases? Absolutely? Is the *the* solution in *all* cases? Absolutely not. Figuring out when to use what is what the gray thing between the ears is for.

  • ... and so what? (Score:5, Interesting)

    by ThousandStars (556222) on Thursday January 29 2009, @03:45PM (#26658199) Homepage
    Those all might true, but so what? The advantages outweigh the disadvantages, and web apps are improving all the time. Paul Graham already wrote about the issue in The Other Road Ahead [paulgraham.com], and Joel Spolsky wrote about them in How Microsoft Lost the API War [joelonsoftware.com]. He enumerates problems and things that, at the time of the article, you couldn't do with web apps:

    Create a fast drawing program
    Build a real-time spell checker with wavy red underlines
    Warn users that they are going to lose their work if they hit the close box of the browser
    Update a small part of the display based on a change that the user makes without a full roundtrip to the server
    Create a fast keyboard-driven interface that doesn't require the mouse
    Let people continue working when they are not connected to the Internet

    These are not all big issues. Some of them will be solved very soon by witty Javascript developers. Two new web applications, Gmail and Oddpost, both email apps, do a really decent job of working around or completely solving some of these issues. And users don't seem to care about the little UI glitches and slowness of web interfaces. Almost all the normal people I know are perfectly happy with web-based email, for some reason, no matter how much I try to convince them that the rich client is, uh, richer.

    And these issues shrink all the time. I agree with Joel regarding rich clients--I use Mail.app for e-mail, but virtually no one else I know does. Photoshop and Final Cut Pro aren't moving to the web anytime in the short to medium term, but other apps will, and it's hard to see this guy's ideas mattering. Sure, they might be true, but the web is still more convenient. For me, it's become a central repository for book and other commentary in the form of The Story's Story [wordpress.com] and write about grant writing at Grant Writing Confidential [seliger.com]. Yeah, I write my posts in Textmate, but most people don't--and most people aren't going to buy and install Textmate.

  • by LaminatorX (410794) <<sabotage> <at> <praecantator.com>> on Thursday January 29 2009, @03:49PM (#26658257) Homepage

    To my mind the biggest weakness of web apps is that you have a hard time doing any sort of schedualed reporting/exports to use in another application. It can be done, but you really have to have the stars line up just right, or use some 3rd party scripting of some sort. Doable, but painful. God forbid you want to share data between two web apps, especially when company A and company B both have it in their heads that the other should pay them for development assistance.

  • by sbillard (568017) on Thursday January 29 2009, @03:50PM (#26658273) Journal
    My biggest complaint about browser/web apps is the inconsistent or non-existent ability to navigate the app with the keyboard.
    While fat client apps can have messed up tab stops, they're generally better than their web-based counterparts. A CLI is even better allowing for things to be done in bulk/batch.

    I've got over 100 buttons right at my finger tips. I shouldn't need 2 more that roll around (FPS mouselook not withstanding). Let me ALT+whatever and TAB my way around.

    YMMV.
  • by ballwall (629887) * on Thursday January 29 2009, @03:52PM (#26658303)

    Right now web apps are king because they're always only the nearest computer away, and work on almost everything.

    We're getting close to devices that provide the same functionality in a mobile form factor. Once everyone has an iphone like device that has a standard development environment we'll likely see a resurgence of local apps. But that's probably a years away at best.

    Right now, you can either develop for the web, which will work everywhere, or write one app in Win32/.Net, one in Objective C for Mac, one in Java with Blackberry specific apis, one in Objective C for iPhone, one in [whatever palm is up to], one in .net for winmobile, etc, etc etc.

    The only reason client side apps were ever written was because you could be fairly sure windows was your target, or it simply wasn't feasible to centralize and so you forced a standard environment.

    There's no single platform anymore, and probably won't be for a while (and when it comes it'll look a lot like a web browser), so the only viable option is web based.

    Does it suck? Yes and no. It's definitely better than debugging an app on 40 different platform/cpu/os version combinations.

  • This story was previously posted to the L4C list. Here's the response I sent there:

    An interesting, albeit unoriginal, take on the problem of WebApps. Unfortunately, I do not find his arguments very compelling.

    What sense does [Thin Client technology] make when any modern laptop packs enough CPU and GPU power to put yesterday's Cray supercomputer to shame?

    Quite a bit, actually. First and foremost is the convenience of application access. There is no software to install and you can use your applications anywhere you have access to a web browser. In addition, the rise of web applications has spurred the rise of web services. Web services share out tremendous amounts of public information allowing developers to "mashup" (I hate that term) data sources to produce superior applications. Compare that to the desktop where just getting the programs on your system to cooperate is a challenge! (To say nothing of networking.)

    Concentrating computing power in the datacenter is fine if you're a Google or a Microsoft, but that approach puts a lot of pressure on smaller players.

    FWIW, the author is propagating a misconception about web applications. His belief appears to be that web apps MUST push computing power to the server. Nothing could be further from the truth. Web apps are "rich" clients rather than thin clients. Rich clients are more than capable of accepting a significant processing load. Whether that be Video Games [wiicade.com], Image Editors [pixastic.com], 3D Engines [xs4all.nl], Fractal Explorers [2tap.com], or other compute-intensive applications, the client is more than ready to pull its weight.

    I personally have written an application for my current employer that requires the client to dynamically sort a 100,000 record data set in nothing but client-side Javascript. Significant computer science had to go into creating an optimized, multi-threaded algorithm that would perform well on the lowest common denominator. (IE6) The next generation of browsers that are appearing (Chrome, Firefox 3.1, Opera 10, Safari 4) will have so much compute power that a problem like my 100,000 row sorter will become easy and commonplace. Furthermore, the standards are even adding true background threads to support long-running compute operations. (The standard is based on the Google Gears implementation, which is already available.)

    The Web's stateless, mainly forms-based UI approach is reliable, but it's not necessarily the right model for every application.

    The communications protocol is stateless. The UI is not. AJAX UIs know their state as well as any desktop application.

    Buttons, controls, and widgets vary from app to app.

    Anyone who lived through the development of GUI systems know that this is not a new issue. In fact, it used to be quite common for apps to eschew Windows controls in favor of something custom. Borland, for example, LOVED their custom controls. The rise of GNOME, KDE, Java, and .NET/Avalon/WFC have created just as many problems for the desktop.

    That being said, flexibility appears to occasionally improve applications. Using GMail as an example, the design would be gimped rather than helped by a "standard" Windows XP look. The clean lines of the GMail interface manage to communicate a great deal of information without creating the sort of 3D visual noise seen in applications like Outlook.

    Why give up the full range of languages, tools, and methodologies that systems programming has to offer? JavaScript has evolved into a respectable general-purpose language, but it can hardly be expected to be all things to all people.

    Javascript is only one component to a very lar

    • by serviscope_minor (664417) on Thursday January 29 2009, @05:35PM (#26659725)

      Quite a bit, actually. First and foremost is the convenience of application access. There is no software to install and you can use your applications anywhere you have access to a web browser. In addition, the rise of web applications has spurred the rise of web services. Web services share out tremendous amounts of public information allowing developers to "mashup" (I hate that term) data sources to produce superior applications. Compare that to the desktop where just getting the programs on your system to cooperate is a challenge! (To say nothing of networking.)

      When software installation is so easy, and one's package manager downloads stuff using http, there is no real advantage in this case. Instead of searching on google, and going to a website, you search in pacman or yum or apt or synaptic and click on a "page" to load. As a bonus feature, it's much faster next time.

      I personally have written an application for my current employer that requires the client to dynamically sort a 100,000 record data set in nothing but client-side Javascript. Significant computer science had to go into creating an optimized, multi-threaded algorithm that would perform well on the lowest common denominator. (IE6) The next generation of browsers that are appearing (Chrome, Firefox 3.1, Opera 10, Safari 4) will have so much compute power that a problem like my 100,000 row sorter will become easy and commonplace. Furthermore, the standards are even adding true background threads to support long-running compute operations. (The standard is based on the Google Gears implementation, which is already available.)

      Do you not find it alarming that in this day and age, a program to sord 100,000 records is deemed impressive? On my machine (an eee 900):

      time awk 'BEGIN{for(;;)print rand()}' | head -100000 | sort > /dev/null

      Takes 0.7 seconds. By removing the stringification, and obvious inefficiencies,it would run much faster. In C++ is is easy to sort hundreds of millions of records in a very short amount of time using nothing more than std::sort and a suitable comparison function. The fact that in this area it is deemed impressive (and I have little doubt that it is) is a testament to a large step backwards.

      Your other points stand, though.

  • Mixed response (Score:5, Insightful)

    by nine-times (778537) <nine.times@gmail.com> on Thursday January 29 2009, @03:53PM (#26658337) Homepage
    I think there are some valid points and some invalid points. My general response:
    • 1. It's client-server all over again: Yeah, it is. We keep running up against this because doing things on the client has some advantages, and doing things on the server has other advantages. The debate will continue, because it's really not an issue of one being absolutely better, but choosing the better solution for your specific application.
    • 2. Web UIs are a mess. & 3. Browser technologies are too limiting: These are really the same thing. Web apps suck. This may improve over time as the technology improves and new standards are put into place, but right now, they do kind of suck. If you can't deal with that, you don't want a web app.
    • 4. The big vendors call the shots: a real objection. Do I want my ability to access my own documents/information to be at the mercy of another company? That's a question. worth considering.
    • 5. Should every employee have a browser?: Meh, whatever. Every employee has a browser, and it's more trouble to remove them than it's worth. If you don't want people browsing the web, put up a firewall that can block/filter traffic. That's a better solution anyway.
  • by cthrall (19889) on Thursday January 29 2009, @04:19PM (#26658657)

    Note that many desktop apps hit web services or communicate via HTTP now, mostly because it's 1. easy and 2. SOA became the flavor of the month about a year or so ago.

    Also, many enterprise web apps, at least that I've used, have some sort of plugin/JVM requirement. Are they a desktop app? Web app? Some awesomely funky in-between?

    Personally, I think these "thick vs. thin" client discussions are a nice waste of time and excuse to get page impressions.

    Let's deconstruct, shall we?

    What sense does that make when any modern laptop packs enough CPU and GPU power to put yesterday's Cray supercomputer to shame?

    Running Outlook and Office will immediately slow that poor laptop to molasses. Add a nice shiny .NET app, or worse, Java, and you've got yourself a tarpit.

    Web UIs are a mess

    You, my friend, have never used internally developed VB6 apps. I say no more.

    Browser technologies are too limiting.

    For some applications, I completely agree. But not everybody needs to see dynamic fluid modeling or stock quotes for 3000 securities in a real-time heatmap.

    The big vendors call the shots.

    Good call, time to turn to Java and .NET, which aren't controlled by big vendors.

    Should every employee have a browser?...But if your internal applications are Web-based, you'll need to either host them onsite or maintain careful router or firewall rules to prevent abuse of your Internet services.

    Because deploying and maintaining desktop apps across thousands of machines is wicked easy.

  • by hellfire (86129) <deviladv.thedevilsadvocate@org> on Thursday January 29 2009, @04:56PM (#26659219) Homepage

    I'm a software support rep and not even a developer and I know this is a blowhard troll.

    1. It's client-server all over again.
    Web applications encourage a thin-client approach: the client handles UI rendering and user input, while the real processing happens on servers. What sense does that make when any modern laptop packs enough CPU and GPU power to put yesterday's Cray supercomputer to shame?

    Concentrating computing power in the datacenter is fine if you're a Google or a Microsoft, but that approach puts a lot of pressure on smaller players. Scaling small server farms to meet demand can be a real challenge -- just ask Twitter.

    Furthermore, security vulnerabilities abound in networked applications, and the complexity of the browser itself seemingly makes bugs inevitable. Why saddle your apps with that much baggage?

    First, it's not client server all over again, not in the way you mean it. Client/server like windows terminal server or citrix makes it easier to manage company wide systems by giving an IT guy a central point to manage, and that saves time, which translates to dollars. Web apps do the same thing, but they are benefit from even easier setup management and deployment. Terminal server is a pain in the ass when it comes to deploying an app, because it has several ways to do so, none of them web based. You could deploy it by giving everyone a desktop to the terminal server, but then the dumbass users can't figure out which is their PC desktop and which is their server desktop. You could publish the app, which requires changing settings on the server and deploying the proper shortcut to the user's desktop, which takes more knowledge, which not everyone has.

    Web apps are easier to deploy in that all you have to do is provide a web address. Everyone knows how to use a web browser and click on links. Citrix even recognized this and provides software to allow you to connect to the citrix box with a web interface!

    Siting a laptop is stronger than an old cray is a clever misdirection. The real question is, what's more beneficial for your business, 30 laptops that cost $1000 apiece? Or 1 very large server that costs $10,000 plus 30 laptops costing $500 apiece? I just saved you $5000 on hardware! Plus when a laptop dies, there's less downtime, because I could just hand you another machine and you just go to the web address again. No application reinstalls. Most mega servers these days cost less than a distributed environment and can handle processing quite nicely.

    As far as network vulnerabilities, that's just utterly nonsensical. How does that statement say that a webapp is less vulnerable than a distributed app? Data still has to travel over a network in a distributed app! Duh! Besides, most of the vulnerabilities these days dealt with IE specifically and those dealt with how it was integrated with Windows. Pick another web browser, viola, reduced vulnerabilities. Take it a step further and deploy the web app as an intranet app so it can't be accessed outside your local subnet. Network security is for the network professionals, let them take care of it. Provide encryption as needed in the app and access levels for the data but other than that, that's not a developer's domain.

    2. Web UIs are a mess.
    The Web's stateless, mainly forms-based UI approach is reliable, but it's not necessarily the right model for every application. Why sacrifice the full range of real-time interactivity offered by traditional, OS-based apps? Technologies such as AJAX only simulate in the browser what systems programming could do already.

    And while systems programmers are accustomed to building apps with consistent UI toolkits such as the Windows APIs, Apple's Cocoa, or Nokia's Qt, building a Web UI is too often an exercise in reinventing the wheel. Buttons, controls, and widgets vary from app to app. Sometimes the menus are along the top, other times they're off to the side. Sometimes they pop down when you roll over them, and s

  • by bjdevil66 (583941) on Thursday January 29 2009, @05:00PM (#26659285)

    "Sure, Web development is fast, versatile, and relatively inexpensive,"

    Did Internet Explorer suddenly disappear? I must've missed that today...

  • I am the sole IT person for a nonprofit, volunteer animal rescue. They don't have any money to pay for professional staff (preferring to spend it on the animals instead).

    All of our IT tools (a wiki, a bird tracking database, OTRS, our website, a chat server, etc) are webapps.

    The type of people, for the most part, who are willing to volunteer to do animal rescue are not geeks, techies or even "power users". For a long time our animal tracking database was a client application. 75% of the volunteers had so much trouble figuring out how to INSTALL IT and connect it to our database (even with written instructions) that they didn't even use it, and had to ask others to do all their data entry for them.

    It got to the point that each adoption coordinator had to be set up with a technically astute "data entry buddy".

    Now that our bird database is a webapp, all the coordinators can use it, because they CAN navigate to a website and use the tool.

    So, yeah, there's a place for thick client apps too, but without webapps we'd be screwed.

    • Re:No Shit. (Score:5, Insightful)

      by MightyYar (622222) on Thursday January 29 2009, @03:44PM (#26658187)

      The fact that the different browsers render basic sites differently should be warning enough.

      Why would switching to a native app help you here? If the user can't be persuaded to install a compatible web browser, what makes you think that they will install a standalone application?

      • because they HAVE to install your Win95-era GUI app and it will always be an easy to support Win95-era GUI app. Somebody still on IE6 versus Firefox 3 + greasemonkey could be drastically different.. and that confuses the minimum wage help-desk drones.

            • Re:No Shit. (Score:5, Insightful)

              by jbolden (176878) on Thursday January 29 2009, @04:18PM (#26658643)

              As one of those dweebs the reasons were simple. Cost of deployment. If you have a large potential user base with few actual repeat users (which is a very large group of apps) deployment costs per user can be intense.

              For example take 1m potential users and 200 daily (or weekly) users with 50 of them ever repeating within any given year. Do you deploy a million or do 150 deploys per day to essentially random desktops?

              • Re:No Shit. (Score:5, Insightful)

                by QRDeNameland (873957) on Thursday January 29 2009, @04:52PM (#26659173)

                While that may sound good in theory, I have yet to see in practice where any web-fronted application had shown any lower deployment/administration/maintenance costs than a comparable desktop app. What may be saved in deployment (and many good enterprise desktop apps manage deployment nearly as transparently as a web app) seems to get eaten up by slow response and flakiness for users, network issues, web server issues, browser issues, and security issues. Admittedly, in many cases this is a matter of badly designed web apps, but in the world of commercial enterprise software, the quality of browser-based apps seems to be worse than the already pretty dismal quality of enterprise desktop apps.

                Browser apps certainly have their place and can be the superior choice in the situations for which they are well-suited, but after the last decade of having way too many utterly painful browser apps forced upon me, I think the reasoning that led so many to the Kool-Aid tub needs to be reassessed.

                • Re:No Shit. (Score:4, Insightful)

                  by jbolden (176878) on Thursday January 29 2009, @05:04PM (#26659365)

                  Well you have two issues here.

                  1) Web apps are worse. Yes you are right they are. You take a definite hit on quality. The hope is that it doesn't matter too much.

                  2) Web apps are harder to deploy. That is simply false. Getting an app deployed in an enterprise can be tens to hundreds of thousands of dollars. Getting it deployed in a half dozen + home systems + laptops can be a million easy. I can easily pay for a few help desk people to work through the remaining issues with networking.

                    • Re:No Shit. (Score:4, Interesting)

                      by jbolden (176878) on Thursday January 29 2009, @10:38PM (#26662247)

                      I can certainly cite examples of costs like $80k + $13k / yr for $2.3m potential users. I've never developed and deployed a desktop app for $.03 a user.

                • Re:No Shit. (Score:4, Insightful)

                  by SanityInAnarchy (655584) <ninja@slaphack.com> on Thursday January 29 2009, @05:29PM (#26659657) Journal

                  seems to get eaten up by slow response and flakiness for users, network issues, web server issues, browser issues, and security issues.

                  All of which are every bit as problematic for standalone apps -- except browser issues, and you can always mandate that everyone install Firefox.

                  the quality of browser-based apps seems to be worse than the already pretty dismal quality of enterprise desktop apps.

                  Meh. Correlation, causation, etc...

                  I'll argue that it's still possible to build a good browser-based app on a similar budget as a good desktop app. On top of which, you get portability, the back button / a tabbed UI, easier maintainability (patch everyone at once), and thin-client goodness (your computer's down? Borrow a friend's), all pretty much for free.

                  The only technical advantages of a desktop app are performance (browser-based CAD is pretty primitive) and the ability to work offline. The former isn't usually needed -- premature optimization is the root of all evil, and unless you're really talking about CAD, the browser should be fast enough. And the latter is neatly solved with Google Gears, or possibly Adobe Air.

              • Re:No Shit. (Score:5, Informative)

                by Dolda2000 (759023) <fredrik@[ ]da2000.com ['dol' in gap]> on Thursday January 29 2009, @05:34PM (#26659713) Homepage

                That's why you have Java Web Start. It's as easy to deploy as a web application (it is just a couple of files on a web server), and you get the full goodness of a locally running application. And, since it's Java, it doesn't even take much effort to make sure it even runs on other clients than Windows desktops.

            • Re:No Shit. (Score:5, Insightful)

              by MightyYar (622222) on Thursday January 29 2009, @04:30PM (#26658819)

              I don't see why my comment doesn't apply? I know I went off on a bit of a tangent, but...

              I think people are forgetting what a PITA it was with installed apps. Obscure bugs, difficulty in making sure everyone had the latest version, locked-down desktops that required IT to install the app, off-site users being SOL, platform dependency, etc. And, the BIG one, everyone in the company thought they were a VB wizard, so you had a bunch of crazy VB and VBA apps floating around without any real central control. At least with web apps you know everyone is running the same version and using the same settings, and there's some accountability for who's in charge of the thing because SOMEONE has to run the server :)

              • by EgoWumpus (638704) on Thursday January 29 2009, @05:23PM (#26659581)

                I think you're going to see an explosion of standalone applications tethered to a web-based datasource or back-end. iPhone and Android basically do this already - taking their cue from email programs since the dawn of the internet. Programs like Steam allow you to install local, fat clients through a thin client interface. Each of those pieces has a reason for being fat or thin, and you want to take advantage of that.

                I think, in the end, the point is that you want to be confident your interface is usable where-ever, and that your backend can be swapped up without version issues, and that either way the program can do everything it needs to. The web is very good at the first two, it's just that the domain of problems it can manage has not yet expanded to the third. Is that anything but a matter of time?

          • Re:No Shit. (Score:5, Insightful)

            by hudsucker (676767) on Thursday January 29 2009, @08:50PM (#26661585)

            In my experience what happens is the opposite problem:

            1. Corporate IT department decrees that all machines will only run WIndows, and will only use Internet Explorer, because that way there is only one client version to target.

            2. Corporate IT develops (or buys from a vendor) a web based application. It becomes widely deployed.

            Needless to say, said web application only works with IE. Why should it work with anything else? See item #1.

            3. A new version of IE comes out. The widely deployed app won't operate with it, because it was designed to be dependent on ActiveX, and it is incompatible with IE version what-ever-we-have +1.

            4. So, corporate IT decrees that no one using this application can upgrade IE until the app has been fixed and tested.

            Which is why we are still using IE 6.

            Now the interesting question is, what happens when we need to use two web apps, each of which has different (and mutually exclusive) browser version requirements?

            The ironic thing is that if in step #1 they had said we can use any browser, on any O/S, then we wouldn't be in this mess, because the web apps wouldn't be browser version specific.

    • Re: (Score:3, Interesting)

      The last time I logged into a "real user" Windows desktop, all the apps I saw looked different. Even applications from the *same* Microsoft Office suite use different widgets, and behave in wildly differing ways---and let us simply not go into the details of the horridness of all instant messaging apps, all manufacturer-provided apps that deal with hardware, anti-virus, media players, and what not. "Completely different" is the new "good", judging from the evidence.

      I would be very surprised if, under a seri

    • Re:No Shit. (Score:5, Insightful)

      by nyvalbanat (1393403) on Thursday January 29 2009, @03:58PM (#26658411)
      You're not thinking multi-platform. There's more than one OS out there, each with a completely different set of UI api's. Browser discrepancies are a joke compared to that.
      • Re:No Shit. (Score:5, Insightful)

        by jbolden (176878) on Thursday January 29 2009, @04:15PM (#26658599)

        Not at all. There are are all sorts of very standard issues which render differently with AJAX based apps. Why do you think even the largest web app vendors like google and yahoo support certain features on say IE and firefox and not on Safari?

        • Re:No Shit. (Score:5, Funny)

          by Lennie (16154) on Thursday January 29 2009, @04:23PM (#26658731) Homepage

          Because IE is a mess

        • Re:No Shit. (Score:4, Interesting)

          by tholomyes (610627) on Thursday January 29 2009, @04:25PM (#26658755) Homepage

          Care to cite any specific examples? Are you sure that it's not just because it's easier to test on one or two standard browsers and have an official fallback of "oh, that's unsupported on $x"? A lot of time spent on quirksmode.org has taught me that things are pretty stable across the platforms, with the notable exceptions being older versions of IE and Opera.

        • by witherstaff (713820) on Thursday January 29 2009, @05:19PM (#26659531) Homepage
          That's why there are numerous ajax libs that give you a standard of cross browser support without having to worry about oddities. YUI [yahoo.com] is my favorite although there are others. All of their main controls work the same across all top browsers - very nice stuff.
          • by SanityInAnarchy (655584) <ninja@slaphack.com> on Thursday January 29 2009, @05:21PM (#26659559) Journal

            Because they shouldn't have to spend much time -- design it properly, and it should just work on any browser that does a good job with standard HTML.

            And because if you do test on all browsers, you'll end up with a more robust app -- not just against those versions, but against future versions. For example, if you only developed for Firefox and IE, you might easily be relying on a bug common to Firefox and IE.

            • Re:No Shit. (Score:5, Interesting)

              by tftp (111690) on Friday January 30 2009, @01:13AM (#26662987) Homepage

              By that logic - why not just go full win32 client-server and cater to a single OS and drop the browser entirely?

              And that's a very good question indeed. You do not even have to constrain yourself to Win32 - use Java, for example, delivered either over the Web through a browser or just downloaded and executed in whatever way the client wants. Then you lose nothing and gain a lot.

              Basically the question is: what value does a browser add to your application? I can see two: it is already present (and so requires no download) and it contains a set of UI controls that you don't have to write. Both advantages are minimal.

              Minimal advantage 1: If your app is net-based it can be safely presumed that downloading of a JAR (for example - it could be a Qt executable just as well) is not a problem. If the bandwidth is limited then you are actually far better off with a custom app because it can talk to the user on its own, and can buffer net packets. Then cost of one-time download of the app itself is dwarfed by savings on traffic and latency.

              Minimal advantage 2: prepackaged UI controls. That is really laughable. There are tens of UI libraries out there, and each of them is better than those pathetic forms that HTML offers. You also will be using a real language, not JS. Your application can be highly interactive, use widgets that browsers don't have, can do tons of local processing... in other words, it would be better, and it would be the same on every computer, since the browser is out of the picture.

              So why people still try to cram the application into a browser? I'd say conservatism plays a major role. Online games, for example, are not ran in the browser, though they are heavily net-based. In other cases the super-thin client makes sense; for example, maps - the client just does not have the data to display, so it has to download it from the server, so it makes programmer's job easier to just ask the server to prepare the whole image, and then the client only shows it. But Google Earth also exists, and that is a far more advanced application - and if it can be easily loaded and started just by following a Web link then there is no reason to run anything in the browser. In fact I use Google Earth more often than maps.google.com, though as I said both are good.

              The best scenario I can think of when use of a browser makes sense is when your app is so simple, and your needs are so basic, that you benefit from the infrastructure that is already present in the browser. Google Mail, though, is outgrowing the browser very quickly; I could implement the whole UI in Qt within a week, easily - and how many people worked, and still work, and *will* work on hacking AJAX to make GMail work on 33 browsers? This is a good example of conservative / legacy situation, when every Web mail was a web mail, and Google had to compete in that area. But today if Google offers an equivalent of Google Earth for mail - with additional features that are available only there, like built-in PGP/GnuPG/SMIME support, or caching of messages, or automatic archival of all your mail as it comes, or HTML mail, or many more - then I'm sure there will be tons of people interested, just like tons of people use Google Earth or Picasa. Google servers will benefit too, since they don't have to cater to every user's action - they only need to serve pure data, and only that data that the client hasn't already cached. Basically, a better IMAP client, only with Google's "conversations" and UI.

              • Re:No Shit. (Score:4, Interesting)

                by Firehed (942385) on Friday January 30 2009, @03:06AM (#26663549) Homepage

                Minimal advantage 1: If your app is net-based it can be safely presumed that downloading of a JAR (for example - it could be a Qt executable just as well) is not a problem. If the bandwidth is limited then you are actually far better off with a custom app because it can talk to the user on its own, and can buffer net packets. Then cost of one-time download of the app itself is dwarfed by savings on traffic and latency.

                Will your JAR package run on my iPhone? No? Because any decently-written web app out there will. Slowly, mind you, but it runs nonetheless.

                Minimal advantage 2: prepackaged UI controls. That is really laughable. There are tens of UI libraries out there, and each of them is better than those pathetic forms that HTML offers. You also will be using a real language, not JS. Your application can be highly interactive, use widgets that browsers don't have, can do tons of local processing... in other words, it would be better, and it would be the same on every computer, since the browser is out of the picture.

                Define "real" language. One that's pre-compiled? One where you have to allocate memory on your own? One where you're sending raw machine code to the processor? As far as I'm concerned, either your code causes the desired effect to happen by some means or it doesn't. The fact that I don't have to fuck around with all of the low-level stuff by writing a few lines of JS instead of a few hundred lines of $realLanguageOfChoice is a plus for me. No, I wouldn't want to try applying Photoshop filters with JS, but the 99% of things that I might want to do are often much faster to write in some sort of scripting language because I don't have to re-invent the wheel every time.

                The best scenario I can think of when use of a browser makes sense is when your app is so simple, and your needs are so basic, that you benefit from the infrastructure that is already present in the browser. Google Mail, though, is outgrowing the browser very quickly; I could implement the whole UI in Qt within a week, easily - and how many people worked, and still work, and *will* work on hacking AJAX to make GMail work on 33 browsers?

                And I could re-write the Gmail interface from scratch in a week too, provided I had nothing better to do with my time (maybe without an IE6 stylesheet, but even Google forces IE6 users to go into an outdated interface). It's a matter of playing to your own strengths. Google's so damn big that they overcomplicate a lot of things, Gmail included. I won't hold that against them as I live in Gmail.

                A lot of the additional things you mention would work perfectly fine in the browser with not a tremendous amount of additional effort - it would mostly be a matter of updating the behind-the-scenes API to support the new functionality. Once you have a good design and a solid API to work with, hooking the two together (your AJAX calls, the dynamically-generated HTML, etc. in web apps) is pretty damn simple if you know what you're doing. The only thing you mention that wouldn't be easily solvable cross-browser is local caching and archival of messages; this is already done partially through Google Gears (just enabled in Gmail a few days ago), and client-side databases and related storage are part of the HTML5 spec (Webkit tends to be on the bleeding edge of this, and a LOT of browsers are powered by Webkit - there's a good chance that it will eventually become The rendering engine for the web, including in IE).

                Don't get me wrong - there are plenty of places where web apps aren't at all the right approach. Games, as you mention, in addition to other 3d-heavy apps and very animation-heavy things in general. That constitutes a very small portion of my CPU cycles, but everyone is different of course.

                • Re:No Shit. (Score:4, Insightful)

                  by ckaminski (82854) <{moc.xobop} {ta} {iksnimakc}> on Friday January 30 2009, @09:03AM (#26665569) Homepage
                  <quote>
                  Will your JAR package run on my iPhone? No? Because any decently-written web app out there will. Slowly, mind you, but it runs nonetheless.
                  </quote>

                  And that's the idiot devs at Apple, for spurning the HUGE market of J2ME for platform control.

                  It's the number one reason I'm not buying another phone without great J2ME support. I have applications I just won't do on the web - web applications are useless, for example, when your not in a 3G area, and trust me, that's more common still in America than you probably realize.
      • Re:No Shit. (Score:5, Informative)

        by Savage-Rabbit (308260) on Thursday January 29 2009, @04:42PM (#26659007)

        Nonsense. Unless you're using bleeding edge UI widgets, a browser UI is quite easy to replicate accross browsers with the use of targeted CSS or simply thoughtful design. Even with a JS framework for your UI elements, browser diferences are simply not a huge consideration. Unless you want that ActiveX goodness...

        Web-apps have their place but so do stand-alone clients a good developer will know select what is right for a given project. The moment you start using that 'ActiveX goodness' you have essentially created a WebApp that only runs in IE on Windows. Which begs the question why not just write a stand alone GUI client in .NET? That would open up a whole world of UI features ad behaviour web-apps can only emulate either clumsily, with difficulty or not at all. Then there is the security issue ActiveX brings with it. The only thing an ActiveX enabled web-app has going for it is redeploy-once-update-everywhere. The whole point of a web-app is platform independence and that went out the window with the 'ActiveX goodnees'.

      • Re:Really. (Score:4, Interesting)

        by lysergic.acid (845423) on Thursday January 29 2009, @11:30PM (#26662511) Homepage

        ignoring the parent's incoherent and completely off-topic rant, the arguments raised by the author are somewhat flawed.

        take for instance:

        1. It's client-server all over again.

        um, all over again? when did we ever stop using the client-server model? client-server architectures are so prolific because it's simple and it works. some of the greatest technological successes in recent decades have been based on the client-server application model--for instance, database servers and network services and their derivative technologies such as the world wide web, ATMs & EFT [wikipedia.org], cellular networks, instant messaging, IRC, all types of online gaming, and the list goes on.

        commodity computing moved away from dumb terminals and thin clients perhaps, but things don't have to be one extreme or the other. you can have the best of both worlds. a modern MMORPG is a client-server application, but they're certainly too graphics-intensive to run on a thin client. but if you're developing an intranet application that already uses networking and databasing, two of the most prominent classes of client-server applications, then what is wrong with using a web front-end that is cheaper and faster to deploy?

        with today's high speed networking and mature browser technologies, most enterprise applications gain no benefit from being developed as a standalone desktop app. an accounting application doesn't require a complex desktop interface or lots of processing power, same with CRM and other business applications. applications like 3D gaming, multimedia production, CAD software, scientific modeling, etc. still require a standalone desktop application. but business apps that consist solely of filling out text fields & electronic forms and outputting textual data with very basic graphics are perfect for web front-ends--especially if they're network applications.