DOM: Document Object Model
BOM: Browser Object Model
Because there are no DOM Objects and BOM Objects in the Mini Program, it is impossible for some libraries familiar to front-end developers, such as jQuery and Zepto, to run in Mini Programs.
Web development, rendering threads and scripting threads are mutually exclusive, so long-time script running may make a page unresponsive. In a Mini Program, rendering threads and scripting threads run separately.
The former runs in JSCore without a full browser object, thus lacking the relevant DOM and BOM APIs.
Meanwhile, the JSCore environment is different from the NodeJS environment, which means that some NPM packages cannot run in Mini Programs.
The differences between the three operating environments are as follows:
Web developers work with IE/Chrome/QQ browsers on PC, and Safari/Chrome browsers as well as various WebViews on iOS or Android systems on mobile devices.
Mini Program developers work with WeChat on iOS, Android, and WeChat DevTools.
The three operating environments of the Mini Program as follows:
Chromium custom kernel
When developing web pages, Web developers only need to use browsers with some auxiliary tools or editors.
The development of Mini Programs involves applying for Mini Program accounts, installing WeChat DevTools, configuring projects, and so on.
In this article, we will discuss how to set up SonarQube with Docker and produce reports on the code quality of your projects.
Install Docker on your system
Install Docker into your system using any of the guides online for your preferred system.
Run the ...
Today, we're chatting with Nikita Sirovskiy, Lead Mobile Engineer who on top of working on client projects, plays an important role in enhancing Monstarlab's Flutter Service Offering by driving meetings, creating & managing tasks and helping with peo...