Slashdot Mirror


Progressive Web Apps Moving Mainstream As Twitter Makes Its Mobile Site the Main (arstechnica.com)

An anonymous reader quotes a report from Ars Technica: Twitter is showing some users of its desktop website a new user interface that is designed to be faster and to feature support for the recently added bookmarks feature (supported in the iOS and Android clients but not, currently, the main website), a data-saver mode, and a night mode. These users have been selected at random and moved over to the new interface so they can test the interface and provide feedback. The new interface isn't all that different from the old one: it's organized a little differently, with a two-column layout instead of the three columns currently used, but overall it will feel familiar to anyone who has used the microblogging platform before. What makes this move interesting isn't the specifics of the interface itself, but the technology it's built on.

The new interface isn't actually new at all. It has been available for some time now as mobile.twitter.com, Twitter's mobile-friendly Web interface. In turn, that same Web interface is used to drive the Windows 10 app, the KaiOS platform for "smart feature phones," and the recently released Twitter Lite app for Android. This is why it has the data-saver mode; it has been designed with an eye on those users who suffer from poor or expensive bandwidth or have underpowered devices. This mobile site is perhaps one of the most prominent instances of what could be a new breed of Web application: the Progressive Web Application (PWA). PWAs are Web applications that build on certain modern browser features to provide an experience that is much more like that of a traditional application. For example, PWAs can support offline operation using service workers (a way of running JavaScript in the background that can respond to events and make network requests that degrade gracefully if the network is unavailable); they integrate with platform features such as notifications; they're also designed so that they could be pinned to app launchers and home screens and treated as if they were "real" applications rather than merely webpages.

76 comments

  1. Hell yeah by Anonymous Coward · · Score: 0

    Where the real work is done!

  2. Parent is a cuckolded, sissy faggot cracka by Anonymous Coward · · Score: 0

    In your ass?

    1. Re:Parent is a cuckolded, sissy faggot cracka by Anonymous Coward · · Score: 0

      Is that a proposition? If so, I'm game.

    2. Re: Parent is a cuckolded, sissy faggot cracka by Anonymous Coward · · Score: 0

      I bet you get paid in nickels.

    3. Re: Parent is a cuckolded, sissy faggot cracka by msmash+(Ultra+Mod) · · Score: 0

      Only if he work for Anti Progressive "Donald TRUMP"

  3. Isnâ(TM)t there an actual app? by Anonymous Coward · · Score: 0

    If I want an app, I can use an app. If I using a browser, itâ(TM)s because I want to see web pages.

    1. Re: Isnâ(TM)t there an actual app? by Anonymous Coward · · Score: 0

      Who needs a browser when you can app apps. Can your browser app apps ? My apps app apps, not some browser cow.

  4. Twitter leads the pack in collective suicide by Anonymous Coward · · Score: 0

    Twitter always was one of the worst offenders in wasting data. Now they're noteworthy for ignoring the desktop entirely, shutting out the casual non-app-installed non-smartphone users. In other words, they're going more echo chamber. Well, good on them I suppose.

  5. Sorry, Twitter is taking too long to load by Anonymous Coward · · Score: 0

    Does this mean the main Twitter site will always say that it's taking "too long to load"? The mobile site does this the first time you access it after some time period (6 hours?), regardless of actual network conditions.

    1. Re:Sorry, Twitter is taking too long to load by Anonymous Coward · · Score: 0

      Probably it means your Chrome has updated to version 69. It isn't just rounded corners and blurry fonts.

    2. Re: Sorry, Twitter is taking too long to load by Anonymous Coward · · Score: 0

      Does... does the 69 in Chrome 69 mean I have to reciprocate?

    3. Re: Sorry, Twitter is taking too long to load by Anonymous Coward · · Score: 0

      Worse. While you're distracted with the fake reciprocity, Google's stuck its big fat D up your bhole and came. Now you don't just have HIV, but instead full blown AIDS.

    4. Re: Sorry, Twitter is taking too long to load by Anonymous Coward · · Score: 0

      It does that if you are blocking ads. It seems the mobile pageâ(TM)s primary function is to spy on the user.

  6. Re: Just don't post anything on twitter by Anonymous Coward · · Score: 0

    Twatter is great, pissface

  7. SAD by Anonymous Coward · · Score: 0

    Trump doesn't need a mobile site to post his incoherent ramblings. The regular app is perfectly fine while sitting stationary on the shitter.

  8. Re:Just don't post anything on twitter by Anonymous Coward · · Score: 0

    Tell that to the president

  9. Tick tock... by fragMasterFlash · · Score: 1

    How long until site owners start howling about their ads not rendering before the content the user actually cares about?

    1. Re:Tick tock... by Anonymous Coward · · Score: 0

      Following the "blue midterm" this November, President Trump will be impeached+convicted on Thursday Jan 3, 2019 (1st day of the new congress). President Pence will take the oath of office on Friday Jan 4, 2019, and his first official act will be to pardon his predecessor (US President # TRE45ON).

      tl;dr: Donald Trump won't go to prison, but his son might.

  10. Re:Just don't post anything on twitter by Anonymous Coward · · Score: 0

    Your bullshit isn't worth it. Go start your own service. Twatter.com might be available if some porn site hasn't snapped it up.

  11. So how much did Twitter pay ... by Elias+Israel · · Score: 0

    So, how much did Twitter pay in PR fees to get a nominally positive story out about them? Innovation at Twitter, film at 11. A modern web app, color me unimpressed.

    1. Re:So how much did Twitter pay ... by Anonymous Coward · · Score: 0

      The Zuck just had to agree to be pulled through the shit tank at 20mph with his mouth open. Interviewed later, Mark Zuckerburg rubbed his belly, swallowing hard. "You wouldn't believe how refreshing it is to eat some shit that I didn't directly make myself."

  12. Re:Just don't post anything on twitter by Zontar+The+Mindless · · Score: 2
    --
    Il n'y a pas de Planet B.
  13. Progressive Web App by Anonymous Coward · · Score: 0

    Progressive Web App, it's just like a regular native app, just crappier. Users won't experience native controls, it won't look like traditional apps, they won't be able to find it in the app store / play store... It has all of the disadvantages with not really any advantages other than "code once use many platforms with crappy styling".

    1. Re:Progressive Web App by Anonymous Coward · · Score: 0

      kinda like how progressive politicians are anything but.

  14. Re:Just don't post anything on twitter by Anonymous Coward · · Score: 0

    They'd ban Trump in a second if they thought they could do it without destroying their entire brand. A company barely holding its head above water financially can't afford to piss off a massive chunk of their customers for the sake of virtue signalling (like, for example, Nike can).

  15. Re:Just don't post anything on twitter by Anonymous Coward · · Score: 0

    Why so scared of different opinions, hmm?

  16. thats canadian nickel to you by Anonymous Coward · · Score: 0

    LOL sorry what side does this make me on its all about as funny as i can get..far right - crazy , far left - crazy
    just wondering where i fit now

  17. pwa good but basic things like DNS bad... by johnjones · · Score: 4, Interesting

    twitter actually has some nice compiler guys and does some good work on web standards and things like PWA... they are let down by their networking team it seems...

    here are some basic DNS failures at twitter :

    No DNSSEC (allows nation states to spoof twitter on HTTPS connections )
    Name Servers are on the Same Subnet
    Serial numbers do not match across servers
    SOA Serial Number Format is Invalid on some servers
    outside provider (oracle) has failed many performance targets

    regards

    John Jones

    1. Re:pwa good but basic things like DNS bad... by Anonymous Coward · · Score: 0

      It's cute that you think "nation states" don't already have root certs.

  18. PWA should really be avoided by Anonymous Coward · · Score: 0

    This: "they're also designed so that they could be pinned to app launchers and home screens and treated as if they were "real" applications rather than merely webpages.

    It is *far* *easier* to maintain a traditional app in this respect rather than do it via a PWA and some PITA broken javascript interface. This is just another example of javacscript being used for something it really should not be (and it's a shit language too, better use webassembly instead).

    I look forwards to seeing the trainwreck that PWAs will be in the future vs traditional app design. I'm guessing there will be more of an internet of crap now given all the javascript wannabe coders now have some form of a mechanism to finally make apps. I'll get some popcorn! (dont even get me started on node.js lollage)

    1. Re: PWA should really be avoided by Anonymous Coward · · Score: 0

      Years from now when you visit the insane asylum and find the guy in his padded room using his feces to write frantically on the walls, just realize that that too could have been you had you become primarily a JavaScript developer.

  19. hahaha by Anonymous Coward · · Score: 0

    Just because Twitter did it, doesn't mean that it's going to mainstream yet. FB did the same a few years ago. But yeah its a departure from the 99.99% of companies.

    1. Re: hahaha by Anonymous Coward · · Score: 0

      Twitter apps and Facebook apps are the future of apply apps. Only cows use browsers.

  20. Re: pwa good but basic things like DNS bad. by Anonymous Coward · · Score: 0

    Who needs DNS when you can app apps ? Apps need no DNS, apps work just fine with host file. Cows need DNS.

  21. Re:Just don't post anything on twitter by Anonymous Coward · · Score: 0

    >everyone I don't like is a nazi

    If you stepped out of your echo chamber now and then you might understand why everyone laughs at you so much.

  22. Isn't AJAX Similar? by buravirgil · · Score: 1

    How is this not simply Twitter asserting a new initialism to avoid potential patents and licensure? And simultaneously seeking growth in less developed economies? Platforms based on social connectivity "harvest" data by XML that is useful to what enterprises? What agencies of security? Metadata, its frames and categories, is a developing comprehension and its assignments blur the lines between enterprise and politics.

    A growing number of people advocate to step away from being the "product" of these enterprises-- so long as a western corporations seek growth in developing economies, how can the information they sell to business interests outside that developing economy not be seen as advantage seeking and extractive?

    --
    Would were! Should is! Could be! And live a hundred times three.
    1. Re:Isn't AJAX Similar? by Anonymous Coward · · Score: 0

      Lay off the weed, Elon.

  23. Progressive Web Apps ? by Anonymous Coward · · Score: 0

    Why would i use Web Apps that will constantly call me racist?

  24. Assassinate Vladimir Putin! by Anonymous Coward · · Score: 0

    Kill the Satanic monster now!

  25. Re:Just don't post anything on twitter by Desler · · Score: 2

    Why is InfoWars?

    If you violate these rules, your posts and/or user name will be deleted.
    Remember: you are a guest here. It is not censorship if you violate the rules and your post is deleted. All civilizations have rules and if you violate them you can expect to be ostracized from the tribe.

    https://www.infowars.com/terms...

    Hypocrisy, thy name is Alex Jones.

  26. Turning Windows into ChromeOS? by Anonymous Coward · · Score: 0

    So basically turning Windows into a much slower and hacked together version of ChromeOS?

  27. "Progressive"? by Anonymous Coward · · Score: 0

    Twitter worked fine for years, now all you see is a message saying javascript is required and offering to take you to a legacy version of the website which results in a forbidden status code. There's nothing Progressive about this, it's broken. It's even more useless than slashdot d2 discussions. Well done Twitter, you must be so proud of yourselves.

  28. Just say no, to the inner-platform effect. by Anonymous Coward · · Score: 0

    Ads are just an artifact of a system that is already rotten to the core.

    Current "web browsers" are the epitome and prime example of the "inner-platform effect". A software design anti-pattern that is basically the application of the Xzibit meme to a platform. In this case, your operating system.
    All I'm waiting for, is somebody implementing a good browser as a "Progessive Web App".

    The fallacious reason they are doing it here, is that they confuse virtualization with a security solution. And that they honestly believe, that the web platform is somehow easier or better for developing applications in.
    I've done both. I wrote my first web app in 1998. I used AJAX-like functionality, years before AJAX even existed. (E.g. via an <object> tag containing a form to submit data and return basically JSON with a callback.)
    And no. Even today, it is far more convoluted, and not a bit easier. Especially nowadays, with its metric fuckton of APIs and "frameworks" (another software design anti-pattern, differentiating itself from a library by the lock-in and exclusivity).

    They should just transform their "web platform" into a set of libraries, like e.g. KDE, but less frameworky. And have people implement applications normally. If they can handle not being treated specially and having to compete with much better designed libraries.
    And the URL bar would be substituted for a package manager and an application launcher.

    While the traditional browser, would merely become a hypertext document viewer (and viewer widget component).
    And the URL mechanism should be part of the OS's file system system anyway.

    Small tools that each do one thing and do it right, you know? Separation of logic, design, structure and content. Of view, model and controller too. Etc. ... Sanity.

  29. "Progressive Web Apps" by Gravis+Zero · · Score: 1

    AKA insecure programs executing on your computer. We seriously need to ditch this kind of shit.

    --
    Anons need not reply. Questions end with a question mark.
    1. Re:"Progressive Web Apps" by tepples · · Score: 1

      Would you instead prefer a full page reload every time you click to expand or collapse anything that isn't simple enough to be a checkbox hack? Would you instead prefer a full page reload if you're entering values into a form and a value two screens up happens to be out of range?

    2. Re:"Progressive Web Apps" by Gravis+Zero · · Score: 1

      No, I would prefer CSS to be able to load a page of subelements from the server but only when clicked. You don't need a Turing complete programming language to solve dynamic loading.

      --
      Anons need not reply. Questions end with a question mark.
    3. Re:"Progressive Web Apps" by tepples · · Score: 1

      I would be interested in reading your proposed specification to allow more declarative interactivity in HTML+CSS documents.

    4. Re:"Progressive Web Apps" by Anonymous Coward · · Score: 0

      Nobody is stopping you from disabling JavaScript.

      A well thoughout progressive web app can (and some argue should) also progressively degrade and continue to render content in some fashion (especially if it is public, and not behind authentication).

      Although, I suspect you may be fighting a losing battle. HTML + JS (Web Assembly) + CSS (and other exciting agreed upon technologies) is a platform. Scripting is here to stay.

  30. Maintaining one "traditional app" isn't enough by tepples · · Score: 1

    It is *far* *easier* to maintain a traditional app in this respect rather than do it via a PWA and some PITA broken javascript interface.

    The problem is that maintaining one "traditional app" isn't enough. You must maintain five, one each for Windows, macOS, X11/Linux, iOS, and Android. Qt doesn't save you from having to buy code signing certificates (which are more expensive than TLS certificates) and build, test, and distribute for all five platforms.

    1. Re:Maintaining one "traditional app" isn't enough by Anonymous Coward · · Score: 0

      You must maintain five, one each for Windows, macOS, X11/Linux, iOS, and Android.

      Then why can't I get Photoshop for Linux? Apparently, Adobe didn't get your memo.

    2. Re:Maintaining one "traditional app" isn't enough by tepples · · Score: 1

      First, you can't buy Photoshop anymore for any platform.

      Second, by my standard, Adobe has failed where developers of web based photo editors have succeeded.

    3. Re:Maintaining one "traditional app" isn't enough by Anonymous Coward · · Score: 0

      I'm sure the people running Adobe are quaking in their boots that you think they've "failed."

    4. Re:Maintaining one "traditional app" isn't enough by tepples · · Score: 1

      Then would you prefer that each user buy five computers, one to run applications exclusive to each operating system?

    5. Re:Maintaining one "traditional app" isn't enough by Anonymous Coward · · Score: 0

      smart application design allows easy porting.

    6. Re:Maintaining one "traditional app" isn't enough by tepples · · Score: 1

      Even with "smart application design," a native application still requires a substantially bigger budget ($$$) for porting than a web application.

  31. Five different products, one for each OS by tepples · · Score: 1

    They should just transform their "web platform" into a set of libraries, like e.g. KDE, but less frameworky.

    In your vision, would end users compile an application from source code? Or would developers be responsible for shipping five different products, one built for Windows, the second for macOS, the third for X11/Linux, the fourth for iOS, and the fifth for Android? At least a program written in JavaScript or WebAssembly can be executed without modification on multiple platforms. "Inner-platform effect" on Wikipedia states that "portability and privilege separation reasons" are valid goals, and in some cases they may outweigh the drawbacks of an inner platform.

    1. Re:Five different products, one for each OS by lgw · · Score: 2

      Web developers developed for "five different platforms" for most of the web's history, you know. Cross-platform testing is always a bigger cost than development, and you have to do that regardless. One way or another, you end up using libraries or a framework that abstracts away platform differences.

      It would be nice if Xamarin would extend its tools to Mac and Ubuntu, though. They do a good job with Windows/Android/iThing.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    2. Re:Five different products, one for each OS by tepples · · Score: 1

      You appear to claim that building, testing, and distributing for Google Chrome, Safari, Edge, and Firefox is no less costly than building, testing, and distributing a native application in Windows, macOS, X11/Linux, iOS, and Android editions.

      As for testing: The subsets of the HTML5 platform accepted by Blink, Apple WebKit, EdgeHTML, and Gecko are more similar than (say) Cocoa, Win32, Xlib, Cocoa Touch, and Android API. Qt can cover some but not all of these differences. (I haven't used Qt myself, as my employment is in a field of programming other than native GUI applications, so I'm going by what others have told me.)

      Early on, you could target Blink and Gecko and leave EdgeHTML and Apple WebKit in second-class support until you accumulate enough capital to expand your testing to browsers whose pack-in browser is non-free (namely Windows, macOS, and iOS). Both a Blink-based browser and a Gecko-based browser are available for all major platforms other than iOS, and Microsoft considers any behavior differences between EdgeHTML and Blink to be "bugs that we're interested in fixing." (Source: "Building a more interoperable Web with Microsoft Edge" by Microsoft Edge Team) But unlike for web applications, operating system publishers have not committed to any sort of interoperability with respect to native GUI applications.

      Once you have developed and tested your application, the next step is distribution. You'll need a domain and web hosting whether you are publishing a web application or a native application. In the case of a web application, users access the application through this domain. In the case of a native application, users download the application's installer or are redirected to the correct platform's mobile app store listing through this domain. And either way, you'll need some sort of dynamic capability, whether to run a web application or to process payment from users buying a license to a native application. This rules out just putting a static site on Amazon S3.

      But if you are developing a native application, a domain-validated TLS certificate obtained from Let's Encrypt will not be enough. You have to buy an Apple developer ID to publish on iOS at all and to keep Gatekeeper from recommending that macOS users delete your application without running it. And you have to buy an Authenticode certificate to keep SmartScreen from recommending that Windows users delete your application without running it. And you have to keep it renewed as long as you continue to maintain your application. And it's still five different SKUs you have to ship rather than one.

    3. Re:Five different products, one for each OS by lgw · · Score: 1

      You appear to claim that building, testing, and distributing for Google Chrome, Safari, Edge, and Firefox is no less costly than building, testing, and distributing a native application in Windows, macOS, X11/Linux, iOS, and Android editions.

      I was talking about the pre-Chome days of poor standards adherence.

      Sure, if you're a one-man crew, those licensing costs suck. But if you're an actual software shop, the cut the stores take dominates, and that's the argument to make these days. It's only getting easier to develop native applications cross-platform, and cross platform dev costs keep shinking (it's very close to "just use Xamarin" for non-games). Cross-platform testing costs will always remain, though, regardless of approach.

      Obviously, for games the cheap approach is Unity if you're small, and Lumberyard if you're big, and the tech problems for going cross platform are small compared to the problems of marketing and user expectation being do different between platforms.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    4. Re:Five different products, one for each OS by tepples · · Score: 1

      Sure, if you're a one-man crew, those licensing costs suck. But if you're an actual software shop, the cut the stores take dominates

      Say a 2-man startup develops its minimum viable product as a web-based service to avoid annual and percentage fees of the OS publishers' stores. Should it decide to expand to "an actual software shop", it'll probably stay web-based.

  32. Re: Just don't post anything on twitter by Anonymous Coward · · Score: 0

    The difference is that Info Wars posts rules, then enforces them against offenders.

    Twitter sometimes posts rules, which change day to day, and then arbitrarily bans people who didn't break any of them.

  33. PWAs, How are these new? by shayd2 · · Score: 1

    How is this different from thin clients?

    Not necessarily the methods, but the overall goals (+ ads)

    1. Re:PWAs, How are these new? by Anonymous Coward · · Score: 0

      It is a marketing term for a collection of technologies (the main one being Service Workers).

      I'm sure there are all kinds of uses for them, but the most obvious and easiest is for a domain to be able to cache its existing assets in the browser, and then to respond to requests on behalf of the web page (also cached) while offline.

  34. Re: Just don't post anything on twitter by Desler · · Score: 1

    And yet it's still within their right to do so even when it's capricious and arbitrary despite all the snowflakes going apoplectic. Alex Jones and his band of snowflakes are not being censored and they are free to move to Gab where they'll fit right in.

  35. That's why I'm staying with the Web. by Qbertino · · Score: 1

    I've been doing web development for nearly 20 years now and have finally decided to actually stay in the field despite the douchebag quota in the industry being through the effing roof. Stuff like PWAs and browser vendors finally getting their shit together and bring mostly standards compliant keep it interesting for me. Plus an abundance of new and neat technologies to keep things interesting. I'll just be looking for better teams in the future. You develop a thick skin and a acute sense of smell for shitty gigs and crappy web-shops.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:That's why I'm staying with the Web. by Billly+Gates · · Score: 1

      I've been doing web development for nearly 20 years now and have finally decided to actually stay in the field despite the douchebag quota in the industry being through the effing roof. Stuff like PWAs and browser vendors finally getting their shit together and bring mostly standards compliant keep it interesting for me. Plus an abundance of new and neat technologies to keep things interesting. I'll just be looking for better teams in the future. You develop a thick skin and a acute sense of smell for shitty gigs and crappy web-shops.

      Hey QBertino. My old XP box with IE 6 looks funny on your website. Can you fix?

      If it can be fixed before Monday great because Grandma just may happen to stumble across your website and we can't have that.

      Thanks as it should be a simple fix.

    2. Re:That's why I'm staying with the Web. by Anonymous Coward · · Score: 0

      Ageism. Grandpa uses Chrome on his Pixel. Thanks.

  36. Re: Just don't post anything on twitter by Highdude702 · · Score: 1

    So basically "we don't like you so you're banned!!11!!!!1!twelve"

  37. Re: Just don't post anything on twitter by eaglesrule · · Score: 1

    Yeah, Infowars maybe has tens of thousands of users, and Twitter has hundreds of millions. They're practically the same thing.

    Because tech titans colluding to silence personas non grata as they will it is nothing to be concerned over. We promise you'll like it. It's for your own good.