Skip to content

PhizClip VS Traditional Development

Compared to traditional development, applets can help developers get.

  • Fast loading
  • More powerful capabilities
  • Native experience
  • Easy to use and secure open data
  • Efficient and simple development

1. Differences Between PhizClip Development and Web Development

PhizClip are developed in JavaScript mostly. The process is quite similar to Web development, so the transition from Web development to Mini App development involves a low cost for front-end developers. However, there are some differences between them.

In Web development, rendering threads and scripting threads are mutually exclusive, so long-time script running may make a page unresponsive. In a Mini App, rendering threads and scripting threads run separately. Web developers can use the DOM APIs exposed by various browsers to perform DOM selection and operation. As mentioned above, the logic layer and rendering layer of a Mini App are separated from each other. The former runs in JSCore without a full browser object, thus lacking the relevant DOM and BOM APIs. This difference makes it impossible for some libraries familiar to front-end developers, such as jQuery and Zepto, to run in Mini Apps. Meanwhile, JSCore environment is different from NodeJS environment, which means that some NPM packages cannot run in Mini Apps.

Web developers work with IE/Chrome browsers on PC, and Safari/Chrome browsers as well as various WebViews on iOS or Android systems on mobile devices, while Mini App developers work with mobile app integrated with PhizClip PhizClip SDK, and Development Suites.

2. PhizClip vs HTML5, native apps

2.1 HTML5 Mobile Apps

What we often refer to as HTML5 can often be considered as a Web App, compared to the web pages we open in our desktop browsers, but with some responsive design and interaction optimisation to make these pages more suitable for displaying in mobile browsers. Since it is a web app, it is still based on JavaScript, CSS and HTML. As it is based on various front-end technology stacks, the biggest advantage is that it is fast, simple and easy to implement, and there are various technical materials available.

The disadvantages and advantages of HTML5 are the same, for example, because the technology is already very mature, for newcomers with little experience in front-end, they may face a variety of frameworks, modules, task management tools, UI libraries, etc.; in addition, compared to native applications, the access to system permissions (such as data caching capabilities, network communication status, etc.) is relatively weak, when low performance When loading pages with complex logic on low performance devices, lagging and delays can be noticeable.

2.2 Native apps

Native apps are mainly implemented in Objective-C (or Swift) and Java (or Kotlin), the proprietary languages of iOS and Android, as opposed to HTML5 apps, which are implemented in the front-end triad. Most of the common national applications, such as Phiz, Alipay, etc., are such native applications.

Since they are called "native apps", they are like the son of the operating system, and naturally have the potential to excel in terms of performance and experience, as well as various advantages and features such as rich component libraries and good interface support. However, the biggest drawback of native apps is that they cannot be developed cross-platform. In the current mainstream market, for example, both iOS and Android must be supported.

2.3 Hybrid applications

A hybrid app is a native function encapsulated into a corresponding JS interface, and the corresponding app is developed using HTML5 on the front end (i.e. HTML5 as content + native app as shell). The development cost is low.

In order to better respond to the goal of "being close to the user", some functions are implemented through native Native and some through HTML5 pages, which is what we call a hybrid application.

2.4 Mini App

Strictly speaking, PhizClip do not belong to any of the above 3 types of applications. Mini-apps are developed primarily through JavaScript and CSS, a common front-end technology, but are not fully implemented in HTML, in different operating systems

The JavaScript code runs in JavaScriptCore for iOS and X5 JSCore for Android, and each PhizClip platform has more or less its own part of the core, so the components that render the view layer differ.