Table of Contents
HBuilder
MUI
Some questions
Learning Route
HTML5Plus
Source code
Community
Reference Document
Summary
Related products
Home Web Front-end H5 Tutorial Getting started with HTML5Plus mobile development

Getting started with HTML5Plus mobile development

Feb 10, 2018 pm 02:02 PM
h5 study

HTML5Plus is HTML5+, the core of the core, the dependency for calling native capabilities. In the development of 5+App, based on the original Web development, developers need to focus on mastering this API specification.

HBuilder

DCloud is an IDE for front-end development. The code indicates that these functions are really useful. The development of 5+App relies on the HBuilder integrated environment. Therefore, HBuilder can be regarded as a development tool and environment.

MUI

The UI framework for mobile apps that is closest to native experience

Provides rich UI components to facilitate the development of mobile applications. I don’t know why, but there are always developers who misunderstand this product.

  • HTML5+ has no absolute dependency on MUI

  • MUI is to make it more convenient to develop 5+App, some methods are in the 5+Runtime environment 5+API will be called next.

  • MUI has extended some non-UI plug-ins to provide more convenience for developing 5+ Apps.

  • It is not necessary to introduce MUI to develop 5+ App. You can choose a UI framework that you are more familiar with.

Some questions

Can MUI call the system lock screen? Can HBuilder implement this layout?

I’m not exaggerating on purpose. The above problem is real. The reason is that developers do not understand their own needs and the role of related products.

Learning Route

Once you understand the relationship between products, the learning route will be clearer. In fact, the official documents and examples are enough for developers to understand and learn from. Maybe some developers don't like to spend time reading documentation, but prefer ready-to-use source code.

HTML5Plus

HTML5+ has many APIs, and it is definitely unrealistic to read them all one by one. Just go through the definition of each module and become familiar with some commonly used and key modules.

  • Webview window management: This is the most basic and must be learned first.

  • Device device information: APIs for some system devices are here.

  • Downlaoder Download task: It has many uses.

  • Uploader Upload task: It has many uses.

For other modules, you can get familiar with them according to your specific needs.

Source code

HBuilder -> Menu-> File-> New-> Mobile App -> Hello H5+
to get the HTML5Plus specification Demo application source code. Refer to the source code of this sample project, combined with the documentation, and make some small demos to familiarize yourself with the relevant APIs faster.

MUI

As mentioned earlier, some methods of MUI are encapsulated based on 5+ API. Therefore, it is more appropriate to start learning after getting familiar with some basic 5+ APIs, so as not to cause many doubts and misunderstandings.

Source code

Many people will complain about the incomplete documentation of MUI. In fact, all components and plug-ins of MUI are in the Hello MUI sample project.
HBuilder -> Menu-> File-> New-> Mobile App -> Hello MUI
This project contains all components and plug-ins of MUI, and provides a large number of example. In actual development, copy the source code from here and paste it directly, and then you can use it with slight modifications. If the components and plug-ins here cannot meet your needs, you can try to find other libraries or spend some effort to implement them yourself.

Community

When learning new knowledge, you will inevitably encounter questions and even find bugs. Asking questions and reporting bugs are also essential skills as a developer. When learning 5+ App development, don’t rely on QQ groups. You must learn to use the official community to search and ask questions.

Reference Document

  • Document Center

  • HTML5+ Specification

  • mui product Overview

Summary

This is the end of this article, and the opening part about the development of HTML5Plus is concluded. The opening part mainly talks about some of my views and understanding on the development of HTML5Plus. For more and more complete content, you still need to read the official documents.


If you want to master HTML5Plus mobile development, you must first clarify the relationship between several products of DCloud company. Otherwise, it will just be a mess, and even preconceptions may lead to some misunderstandings.

HTML5Plus

That is, HTML5+, the core of the core, calls the dependencies of native capabilities. In the development of 5+App, based on the original web development, developers need to focus on mastering this API specification.

HBuilder

DCloud is an IDE for front-end development. The code indicates that these functions are really useful. The development of 5+App relies on the HBuilder integrated environment. Therefore, HBuilder can be regarded as a development tool and environment.

MUI

The UI framework for mobile apps that is closest to native experience

Provides rich UI components to facilitate the development of mobile applications. I don’t know why, but there are always developers who misunderstand this product.

  • HTML5+ has no absolute dependency on MUI

  • MUI is to make it more convenient to develop 5+App, some methods are in the 5+Runtime environment 5+API will be called next.

  • MUI has extended some non-UI plug-ins to provide more convenience for developing 5+ Apps.

  • It is not necessary to introduce MUI to develop 5+ App. You can choose a UI framework that you are more familiar with.

Some questions

Can MUI call the system lock screen? Can HBuilder implement this layout?

I’m not exaggerating on purpose. The above problem is real. The reason is that developers do not understand their own needs and the role of related products.

Related recommendations:

HTML5plus mobile application development example sharing


The above is the detailed content of Getting started with HTML5Plus mobile development. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Learn to completely uninstall pip and use Python more efficiently Learn to completely uninstall pip and use Python more efficiently Jan 16, 2024 am 09:01 AM

No more need for pip? Come and learn how to uninstall pip effectively! Introduction: pip is one of Python's package management tools, which can easily install, upgrade and uninstall Python packages. However, sometimes we may need to uninstall pip, perhaps because we wish to use another package management tool, or because we need to completely clear the Python environment. This article will explain how to uninstall pip efficiently and provide specific code examples. 1. How to uninstall pip The following will introduce two common methods of uninstalling pip.

A deep dive into matplotlib's colormap A deep dive into matplotlib's colormap Jan 09, 2024 pm 03:51 PM

To learn more about the matplotlib color table, you need specific code examples 1. Introduction matplotlib is a powerful Python drawing library. It provides a rich set of drawing functions and tools that can be used to create various types of charts. The colormap (colormap) is an important concept in matplotlib, which determines the color scheme of the chart. In-depth study of the matplotlib color table will help us better master the drawing functions of matplotlib and make drawings more convenient.

Getting Started with Pygame: Comprehensive Installation and Configuration Tutorial Getting Started with Pygame: Comprehensive Installation and Configuration Tutorial Feb 19, 2024 pm 10:10 PM

Learn Pygame from scratch: complete installation and configuration tutorial, specific code examples required Introduction: Pygame is an open source game development library developed using the Python programming language. It provides a wealth of functions and tools, allowing developers to easily create a variety of type of game. This article will help you learn Pygame from scratch, and provide a complete installation and configuration tutorial, as well as specific code examples to get you started quickly. Part One: Installing Python and Pygame First, make sure you have

Revealing the appeal of C language: Uncovering the potential of programmers Revealing the appeal of C language: Uncovering the potential of programmers Feb 24, 2024 pm 11:21 PM

The Charm of Learning C Language: Unlocking the Potential of Programmers With the continuous development of technology, computer programming has become a field that has attracted much attention. Among many programming languages, C language has always been loved by programmers. Its simplicity, efficiency and wide application make learning C language the first step for many people to enter the field of programming. This article will discuss the charm of learning C language and how to unlock the potential of programmers by learning C language. First of all, the charm of learning C language lies in its simplicity. Compared with other programming languages, C language

Let's learn how to input the root number in Word together Let's learn how to input the root number in Word together Mar 19, 2024 pm 08:52 PM

When editing text content in Word, you sometimes need to enter formula symbols. Some guys don’t know how to input the root number in Word, so Xiaomian asked me to share with my friends a tutorial on how to input the root number in Word. Hope it helps my friends. First, open the Word software on your computer, then open the file you want to edit, and move the cursor to the location where you need to insert the root sign, refer to the picture example below. 2. Select [Insert], and then select [Formula] in the symbol. As shown in the red circle in the picture below: 3. Then select [Insert New Formula] below. As shown in the red circle in the picture below: 4. Select [Radical Formula], and then select the appropriate root sign. As shown in the red circle in the picture below:

Learn the main function in Go language from scratch Learn the main function in Go language from scratch Mar 27, 2024 pm 05:03 PM

Title: Learn the main function in Go language from scratch. As a simple and efficient programming language, Go language is favored by developers. In the Go language, the main function is an entry function, and every Go program must contain the main function as the entry point of the program. This article will introduce how to learn the main function in Go language from scratch and provide specific code examples. 1. First, we need to install the Go language development environment. You can go to the official website (https://golang.org

Quickly learn pip installation and master the skills from scratch Quickly learn pip installation and master the skills from scratch Jan 16, 2024 am 10:30 AM

Learn pip installation from scratch and quickly master the skills. Specific code examples are required. Overview: pip is a Python package management tool that can easily install, upgrade and manage Python packages. For Python developers, it is very important to master the skills of using pip. This article will introduce the installation method of pip from scratch, and give some practical tips and specific code examples to help readers quickly master the use of pip. 1. Install pip Before using pip, you first need to install pip. pip

How to implement h5 to slide up on the web side to load the next page How to implement h5 to slide up on the web side to load the next page Mar 11, 2024 am 10:26 AM

Implementation steps: 1. Monitor the scroll event of the page; 2. Determine whether the page has scrolled to the bottom; 3. Load the next page of data; 4. Update the page scroll position.

See all articles