TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Web apps are dead, long live web apps

52 pointsby joshowensover 13 years ago

12 comments

abrenzelover 13 years ago
Some things from this article just don't make sense to me.<p>Like, why is AJAX/client-side MVC pointed out as something that overcomes the HTTP request/response cycle? No, it doesn't. It just means you don't have to refresh the entire screen every time a request is made. Whether the server now sends back "a wad of HTML/javascript" or some JSON to be parsed by the Javascript MVC framework du jour, nothing you are doing is transcending the HTTP protocol either way. AJAX changed the way users interact with web applications, but it did not change anything really fundamental about their architecture.<p>Second, Coffeescript does not liberate you from Javascript. It IS Javascript. It makes it easier to control some of Javascript's difficult areas, like the meaning of "this" as execution context changes as one example, but it doesn't suddenly give you license to write browser code the way you would write Python or C++.<p>In any case, let's not confuse convenience with paradigm shifting.
评论 #3077391 未加载
评论 #3077434 未加载
kristopolousover 13 years ago
Hype: A clever marketing strategy which a product is advertized as the thing everyone must have, to the point where people begin to feel they need to consume it.<p>Substance: the actual matter of a thing, as opposed to the appearance or shadow; reality.<p>This piece is hype. Those that push off hype as substance are swindling your valuable time and are basically saying "come on everyone, let's hope on board the train and base our infrastructure off of unproven, new shit." Which is fine; but only because most of these people are just writing the same social shopping website over and over again; and will do so until the next hyped idea makes its way into the business world.
评论 #3076931 未加载
romanivover 13 years ago
Does the article's author realize that the HTTP's request-response model wasn't some technology limitation of old times, but conscious and pretty sensible design that led to current popularity of the web? Here is what it allowed:<p>- URIs, i.e. ability to connect all the documents on the Web. - Standardized UIs that are easy to create. - Security. You don't need to execute unknown code to load a page, yet you can use web interfaces to do a lot of different things. - Control an transparency for the users. Browser is <i>your</i> software, you decide what it will and won't do.<p>With the increased used of heavy JS clients, most of these benefits are fading away.
评论 #3076765 未加载
scarmigover 13 years ago
tldr: "Client side code is awesome with backbone.js and CoffeeScript! Come to our seminar!"
评论 #3076859 未加载
评论 #3077356 未加载
评论 #3076673 未加载
MarkTraceurover 13 years ago
Good points--but it looks from my limited knowledge of web frameworks like most people aren't even using AJAX, much less to its full potential. Maybe I'm wrong, but it seems like Flask/web2py and other MVC frameworks are more interested in keeping track of things on the server, not pushing things to the client.<p>Admittedly, that helps with security, but when you're making something trivial, it's not necessary to push all of the traffic back to the server to get session variables, templates, and the like.
ebiesterover 13 years ago
I thought the biggest complaint was still the endless checking on platforms (IE 6, 7, 8, 9, Firefox, lynx...) and the difficulty in layout (negative widths, anyone?) Try three resizable columns sometime! (I'm still trying to figure out a solution to this one. Even the new layouts of CSS3 break in funny ways.)
评论 #3076800 未加载
评论 #3077503 未加载
评论 #3076608 未加载
grayrestover 13 years ago
&#62; Backbone.js is the best client side MVC framework I’ve used, but there are certainly others.<p>Sproutcore is much more powerful. If you haven't checked out 2.0, you really should. I've been following it for years and always thought they had the best KVO system but avoided it due to the js-based layout and enormous size. The 2.0 version binds to handlebars--slightly extended mustache--templates instead of relatively opaque widgets and reduces the wire size to right around the size of jQuery. It's larger than backbone and you have to wade through more concepts but you add an object to an array and the dom updates without any further input. Eliminates the majority of dom manipulation code in your app.
评论 #3077440 未加载
评论 #3077414 未加载
评论 #3076631 未加载
评论 #3076849 未加载
snorkelover 13 years ago
There's only so much business logic you can push off the client. If the app is mostly in the client seems like that'd be adding a whole new level of complexity to how to seamlessly deploy new versions, model changes, etc.
EGregover 13 years ago
Disagree.<p>Web apps can be cached locally. Web apps can run in PhoneGap or Prism and have access to your desktop. Sure, they aren't for everything. But having a common platform of HTML and Javascript and CSS is actually pretty great, especially for hiring purposes!<p>The native bindings can be extended either using drop-in plugins or by hiring native developers to do really well defined tasks. Which once again is good news for both stability, speed of development, and hiring.
evanwalshover 13 years ago
I was prepared for a link bait blog post and I ended up getting a quality piece of writing. Pretty good.
评论 #3076371 未加载
评论 #3076361 未加载
评论 #3076585 未加载
alexholehouseover 13 years ago
Content irrespective, that's some difficult to read text...
NY_Entrepreneurover 13 years ago
'Web apps' have had a fantastically valuable feature nearly never mentioned. If we make big changes in how a Web browser client interacts with a Web server, then we risk getting rid of this fantastically valuable feature and seriously hurting our Web apps and the growth of the Web.<p>I believe that if we don't recognize the fantastically valuable feature, then the rush for 'richer' 'user interfaces' (UIs) and 'better' 'user experiences' (UXs) will get rid of this fantastically valuable feature.<p>Yes, UI/UX are IMPORTANT. Okay, I accept that.<p>BUT here's the fantastically valuable feature we just MUST retain: I explain the feature with two examples.<p>First Example -- Microsoft Word<p>While I can't speak for anyone else, I work hard to avoid using Microsoft Word. Several times I've used it, learned its UI well enough to get my work done, and rushed to f'get about Word and its UI.<p>Instead, for my high quality word whacking, I use D. Knuth's TeX that I find MUCH easier to use. Why easier? The documentation is rock solid, a jewel of software documentation. The software has a 'conceptual model' well explained in the documentation; with this conceptual model, it is fairly easy to understand what is going on. What TeX does is actually quite reliable and predictable and as explained in the documentation. Word is DIFFERENT.<p>I hate the Word UI/UX. For me, for each significant new usage, the UX is sometimes yelling and screaming in frustration. When I want to do something new to me, there's no solid documentation and no good 'conceptual model' for how Word works. So, I don't really know how it works. So, when I want to do something, I go around on the screen and left click, right click, double left click, double right click on everything in sight and see what happens. Commonly I type in something, get it as I want it, and then for no reason Word just throws away what I did. After a dozen times of such efforts throwing my work against the wall of Word to see what will stick, I start screaming. I HATE Word and all of its intended UI/UX.<p>Maybe if I got and read the documentation for how to write macros for Word it would make more sense, but as far as I know I would have to pay for that documentation. Besides, did I mention, I HATE, deeply, profoundly, bitterly hate and despise, Word?<p>My view is that it takes at least two weeks of full time work for someone to get good facility with Word.<p>Second Example -- 100 Million Web Sites and One Billion Users<p>As we all now know very well, there are something over 100 million Web sites on the Internet and about 1 billion users. And, nearly any user can use nearly any Web site in their language right away.<p>So, somehow Web apps save the two weeks of full time effort for each of 1 billion users for each of some hundreds of Web sites they might visit.<p>That is, HTML is SIMPLE, DIRT simple. Nearly all Web apps built with just dirt simple HTML have a fantastically valuable feature:<p><i>Nearly any one of 1 billion users can use the Web app right away.</i><p>The Web app UI/UX has this feature, and Word does not.<p>Why do Web apps have this feature? Because HTML is DIRT simple. Yes, commonly there is a round trip to the server for each little step in the user's work. Right. So, there's a minimum of subtle, dynamic, pop ups, pull-downs, roll-overs, drag and drops, hidden 'side effects', and big changes in the state of the user's work from small actions. Not much is hidden or mysterious. There is minimal need for documentation. The UI/UX is NOT 'rich' -- thankfully.<p>To layout a page, mostly use just tables and/or divisions and nothing more complicated. So, the screen presented to the user is relatively simple, easy to understand, and much the same from one Web site to another. E.g., the designers of Word may have spent some thousands of person-hours designing each little part of each screen. The resulting complexity is forbidding -- huge BUMMER. With just simple HTML, it's just not practical to implement such complexity -- THANKFULLY.<p>With just simple HTML, for what we could let a user do, about all we got was (1) to follow a link, click on an image, (2) click on a button, (3) click on some radio buttons, (4) type into a text box, (4) move text to/from the system clipboard, (6) use the key TAB to move the cursor to the next text box, (7) hit the key ENTER in a text box. SIMPLE. Over 100 million Web sites have the 'controls' links, buttons, text boxes, etc.; all of these controls work very much the same on all the sites -- TERRIFIC. When a user clicked on some button, say, "Submit" or hit the key ENTER, the data the user entered was sent to the server, and the server responded. SIMPLE. Any user with any browser can use nearly any Web app right away. FANTASTIC.<p>Now, if we work at it, say, with much more powerful client side programming tools, then we will be able to build Web apps with a 'rich' UI/UX. We can have dynamic this, subtle that, automatic these other things, asynchronous who knows what, guess and anticipate what the user wants and do it for them as a 'favor', drag and drop, overlays, full motion, and on and on.<p>We can have rivers of functionality that are subtle, bug ridden, undocumented, not obvious, and, at each site, unique on all of the Web. BUMMER. E.g., I'm still screaming bloody murder at the whole theme of 'icons' because those little images are not English or any natural language, can't be spelled, pronounced, or looked up in a dictionary, and are documented usually at best poorly. Sickening. I HATE 'icons'.<p>Then, sorry guys, in practice, nearly all Web apps will (1) be much more expensive to develop, (2) will have many more security problems, (3) will be much less compatible with all the common browsers, (4) will usually become a total pain in the neck to learn to use, and (5) will lose the fantastically valuable feature of ease of use, right away, for any of one billion users.<p>Here's the truth: The UI should be simple, stay simple, dirt simple. The work on the server side might be fantastically complicated, but for the user the concepts of what they want, what data they enter, and what data they get back should remain SIMPLE.<p>As it is, HTML is so simple it's tough to mess up the UI. With much more powerful client side software tools, it will be tough NOT to mess up the UI.<p>Be careful about what you wish for because you might get it.<p>At least be very aware and careful with the fantastically valuable feature of Web apps built with simple HTML.
评论 #3077400 未加载
评论 #3077299 未加载