Does it make sense to write a standalone mobile web application in html5?

I am exploring options for a web application designed for mobile phones, and one option is to write a standalone application that does not connect to the Internet at all. Does it make sense to consider using HTML5 for this? The main reason for considering HTML5, as far as I know, is that it works cross-platform, but I just don’t know if it makes sense to consider this option if it will only be used offline as soon as it has been loaded.

Thanks in advance for your help!

+4
source share
6 answers

As already mentioned, this is definitely possible. I think the other answers do not provide enough information or understand the question, so let me provide a little more.

Yes, you can create a mobile application in HTML, either from scratch, using PhoneGap as a platform, or using a mobile framework such as jQuery Mobile .

PhoneGap allows you to create real mobile applications using HTML5, CSS and JavaScript and use the PhoneGap API to use the functions available on smartphones, such as camera, motion sensor, GPS, storage, etc.

Using jQuery Mobile, you will create a mobile website that must be accessed using your phone’s browser, however you can incorporate this infrastructure into the PhoneGap platform. This allows you to create a more familiar HTML5 comprehension application.

I think the question you should ask is which language should I use? It does not matter if the application is used online or offline. The important thing is in which language or platform you want to write it. There are drawbacks to using HTML5 for writing mobile applications (speed, scalability, quality, approval, to name a few).

+3
source

I do not see a problem for this. HTML5 gives you ways to store information locally and a wide range of other functionalities. This can help you find what you want regarding mobile browsers (and Androïd's): http://caniuse.com/#feat=namevalue-storage

Then you can look into the MVC infrastructure, for example, dojo toolkit (if you want widgets to be out of the box), backbone.js, etc.

+3
source

Yes it is possible. in fact, a lot of cross-platform applications have HTML5 or javascript.

you can take a look at phonegap.com . This is a cross platform using html5

+2
source

Yes, it’s possible to create an application with HTML5 (and, if necessary, javascript).
Encoding your application in HTML5 makes porting to another mobile OS easy.
Just keep in mind that HTML5 is not yet defined, so you may need to rewrite certain parts after a while.

You can use Phonegap for this, as some have already suggested. If you like java, but just need an HTML5 application so you can port it later,
you can use google gwt (which converts java to HTML5 and javascript)

+1
source

It is possible, but I do not think that this is the best choice for an application that will not connect to the network at all. HTML5 offline applications are designed to work for short periods of time when there is no web connection, and not for applications that will never connect to the network. In addition, local HTML5 storage is limited. I don’t know what the restrictions are from the top of my head, but I think you will be better off changing a different route.

+1
source

Of course! It already has developers. HTML5 has its own features, such as writing to its own database, etc. As they said, HTML5 is not yet final, so it may take some time to complete.

Imagine 1 language to change all this :)

0
source

Source: https://habr.com/ru/post/1400382/


All Articles