On 12-03-18 17:10, Eric Douglas wrote:
> On Monday, March 12, 2018 at 11:41:11 AM UTC-4, Richard Maher wrote:
>>>
>>> Web "deployment" is relatively simple. If you can write code that
>>> will run in any browser, it will run on any device, a PC, a Mac, an
>>> Android tablet or phone, an iOS tablet or phone, or a Linux machine
>>> (though I think the percentage of users running Linux as the client
>>> is relatively small). They should already have a web browser and
>>> should not have to install anything. Probably the most annoying part
>>> of coding is adjusting the look for various screen sizes.
>>
>> IMHO Only for tiny devices such as watches. Linear scalability for
>> phones/tablets, and desktops works. God bless CSS display: flex; et al.
>>
> You do have to write different code to allow different screen sizes.
> For instance pull up
www.philadelphiaeagles.com. If I open this in my desktop browser it does look horrible if I shrink my window too small. If I open this in my iPhone it is a completely different site. (it redirects from www. to m.) My company's web site was horrible on mobile for a long time. They've outsourced that to a company that is rewriting it so the mobile looks better now, just loads slow as I believe the image file sizes are too big.
>
You always have to accommodate for different screen sizes if an
application may be used on different types of devices or if you want to
allow users to work with smaller windows sizes (remember cascade/tile?).
Making a responsive HTML+CSS client using ems and a tine set of media
queries makes that infinitely simpler than any other technique I have
ever used. Pixel based windows layouts where very hard to behave like
what we would now call responsive (I have done it for about ten years).
Using Swing layouts was even worse (remember GirdBagLayout? That sucked
big time).
Our web applications come with CSS templates and a "Style design" GUI
that let's users configure their own fonts, colors, backgrounds, widths,
margins etc. for various user interface elements into named "themes".
They can then apply those to various end user interfaces like
questionnaires, dashboards (with SVG graphics) and application interfaces.
The responsive CSS core takes care of everything. This is almost
impossible to do using any other GUI mechanism. Hell, even Linux
desktops are styled with CSS nowadays. If only there was some HTML in
there we could really build a gorgeous desktop.
>>>
>>> Java deployment over the web using webstart is almost as simple, and
>>> cleaner because you don't have to worry about a browser window and
>>> should get a consistent look and feel,
>>
>> Please educate yourself about the the display property in Web App
>> manifests.
>>
> I don't know about that, or where I could find a good example of a web app site, just that any site I view in the browser (ie safari on my phone) still has the URL bar at the top and navigation buttons at the bottom.
>
You must be looking at some very poorly designed websites. There are
plenty of them around.
>>> but it does require a JRE
>>> install and only works on Windows, Mac OS, or Linux.
>>
>> Who is installing a JRE on their client these days??? That Oracle
>> Dickhead who made Applets so difficult to activate should be shot!
>>
> Applets are dead, we're talking webstart.
>
Webstart is just as dead. At least Applets had their use once. Webstart
was a horrible idea to start with and never took off.
>>>
>>> App store deployment is cleaner for mobile as again you're running
>>> standalone, not inside some browser window. It does require an
>>> install, and does allow you to prompt for permission to do things you
>>> can't do in a browser.
>>
>> I like that simple permissions model but, quite rightly, some point out
>> that asking for all permissions up from without any context as to what
>> they will be used for leads the user to make an uninformed decision as
>> useless as "Do you agree to the Ts and Cs?".
>>
>> For better or worse the Web has opted for only asking for Geolocation
>> access when it is needed or only asking for microphone access after the
>> user has clicked a button for record.
>>
>> I'm not suffering from conviction either way.
>>
>> BTW There's not much left that you "can't do in a browser". Background
>> Geolocation a notable exception due to a whole cabal of reasons. Cheif
>> among them Jerk bloody Archibald.
>
> There have been some apps overusing the prompt, requesting permission to do things like access the camera they shouldn't need to do. Agreed it's probably a better model if it can ask permissions in the middle of an app if you click the 'snap a photo' button then it asks do you want to give this app permission to the camera and it gives you the 3 choices 1) yes right now, 2) no, or 3) yes and never ask again for this app.
> I know one thing I've heard doesn't work well in web code is accessing the client file system.
>
You describe how accessing features like Geolocation works in browsers.
Accessing user file systems is very much overdone in business
applications. In the end people resort to using shared network locations
to be able to collaborate (which is then poorly supported by the same
applications).
Proper up/download can be implemented very conveniently in a browser.
Sharing resources like documents and media files can be supported much
easier and infinitely more secure.
In some areas desktop applications have actual advantages. But these
advantages are decreasing and web applications are closing in. Web
applications have huge advantages in many other areas. Desktop
applications can only partially keep up by using Citrix-like setups.
Part of the mobile app hausse is caused by nitwit decision makers who
believe the hype that every B2C company, web shop, television show or
pop concert needs it's own app. Doing that instead of a properly
designed web site is counter productive and sooner or later people will
start to realize that.
Google is already moving tablets away from Android and towards ChromeOS.
That is a good decision. Many mobile apps turn a tablet into a clumsy
big smartphone.