Is it really good to develop an App with HTML5? -

Source: Internet
Author: User
I have always believed in the metaphysics that "every language is best used in its field of expertise. Recently, we strongly recommend using HTML5 to develop apps, I am still reading Swift and Java. I have seen that people have used the front-end framework for several hours to make interface effects that I have been using XcodeAndroidStudio for a whole day (I just started to learn how to make apps, if it takes a long time, you need to spray it lightly. • Why • can HTML5 Replace the native App in most cases? What is the performance of HTML5? I always think that the App it made is only a full screen, embedded web page, always believe that "every language is best used in its expertise field" Xuan Xue.
Recently, we strongly recommend using HTML5 to develop apps, I am still reading Swift and Java. I have seen that people have used the front-end framework for several hours to make the interface effects that I can make with Xcode/Android Studio all day long (I just started to learn how to make apps, if it takes a long time, you need to spray it lightly. • Why • can HTML5 Replace the native App in most cases?
What is the performance of HTML5? I always think that the App it made is only a full screen browser embedded with Web pages, but some people say that this is not the case. HTML5 apps must be processed by the IDE to be converted into apps, is that true? Reply: The fairy tale is a lie! I don't know whether the subject is talking about H5 Web apps or Native apps.
For Web apps:
You can use the Flipboard to compare the experience with that of the Native App.
Or maybe you can study and understand the new ReactJs of FB.

However, there are two key issues:
  1. Most people do not have the Flipboard team level; they may not be able to make good use of ReactJs.
  2. Can you ensure that all interaction and use are within your own framework? Once one click result is not designed by the H5 application, or the external link, the whole experience will crash. For more information, see Paper of FB. Native does not guarantee this. What's more, H5 apps?
By the way, have you ever opened a vulgar H5 webpage with background music? Well, it's a good experience. (In my opinion, H5 is the future, but the future is Godo, and everyone is waiting.
There is a problem with the current H5 framework, and there are not enough APIs. When there is a problem with hardware and system versions, hybrid development is inevitable, at this time, it is more difficult to solve the problem than ever before. There must be a familiar or even proficient Android, iOS, and H5.
All in all, quick H5 may be quickly formed, but the maintenance and secondary development costs may not necessarily be low when the APP is bigger and more developed, the future is not optimistic. In fact, sometimes it is best to mix them together. A simple mix. For example, for information, HTML can be used to re-typeset through js to make nice things. In highly demanding things, such as listview, drag and drop, upload, download, and use native, you can have a good experience, because you can control everything. For example, if a listview is used, you can tell the mobile phone when to start a thread to request images, when to release resources, and when to create a local cache. I believe that html can also be used, but it is not enjoyable and the result is not very good. Using js to control threads, file streams, and other operations close to machines, isn't js used to do what he is best? Everything is easy for scholars. In terms of UI, HTML5 uses high-level components in declarative form to spell the UI. You can use Xcode Interface Builder to draw quickly. In fact, it is not easy to learn CSS/Javascript well. However, the iOS and Android systems directly provide relatively low levels of craftsman APIs, while the js world even directly runs jQuery tossing DOM and feels outdated. at the same level of proficiency, it is still possible that web apps are active quickly. However, the running environment of web apps is quite limited. If the environment does not provide the features, it will be very troublesome to implement them, and it will be too difficult to directly access the hardware.

That's true if HTML5 App is just a browser, but some extensions must be made to make javascript accessible to the system. The experience is not as good as that of native, especially interaction with users, freezing, latency, screen flashing, and screen adaptation are all problems. Currently, there are no examples of success of medium and large apps of pure H5. Our company also has an app developed with sencha, which has no images or animation effects. The data in the list control exceeds 50 frames, which is too low to be used, currently, H5 is mostly used for consumption-level code.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.