Sunday 30 December 2018

How To Develop Mobile Apps In HTML5

Please tell me how to develop mobile apps in HTML5.

If you are asking for how to develop a mobile app someone installs on their phone, you can create it with Java or another language.

You can use JavaScript plus CSS and HTML.

JavaScript has the advantage of maturity, with large existing code libraries. And it works in every browser.

Why would someone want to use JavaScript instead of Ruby on Rails?

JavaScript works with HTML and CSS to run apps. CSS and HTML together let you separate the structure and filing in the app, which other programming language don’t do.

That’s part of the model-view-controller implementation.

And then there’s the fact that JavaScript is known by so many programmers and proven to work without tons of errors. While it doesn’t handle live streaming media or really complicated interfaces and five step menus, it does almost as much as Flash.

I know Adobe Flash isn’t supported by Adobe anymore. That’s one reason why people need to develop apps in HTML now.

And then there’s the fact that plug-ins for Adobe Flash and Silverlight often fail.

They regularly crash on my PC, but they don’t load on the iPhone at all.

That’s why developers are working in HTML5 to deliver the app as part of the webpage.

But how do you activate JavaScript code without someone having to download the app?

You can embed the JavaScript code in the web page in between two script tags.

Some scripts are too long to embed in an HTML page.

Or you can call out the JavaScript code module by name, telling the HTML page to run code.js or whatever you name it.

One obvious advantage of that is you can change the JavaScript module stored on the server without making everyone using the app accessed through the webpage re-install it.

Just make sure you test the code yourself before making the page live.



from
http://mobileappbros.xyz/mobile-app-development/how-to-develop-mobile-apps-in-html5/%20

No comments:

Post a Comment