当前位置:网站首页>What is an applet container

What is an applet container

2022-06-23 23:24:00 InfoQ


Have you ever imagined that your life will be like this in the future : There is no mess in your mobile phone app, A small program entry can solve all the requirements , No need to go through a third party , Seamless Tiktok 、 Well quickly 、 Netease and other platforms , Users can directly click to buy while watching , No need to jump to other platforms to display products 、 For sale . Small programs are no longer just wechat 、 Alipay 、 Baidu 、 Exclusive for platforms such as Tiktok , Every business can have its own small program , Can do online business 、 Promotion and user interaction , Build your own business ecosystem . And the applet ecosystem has achieved unprecedented success , Is there a possibility , Combination of applet ecology and container , Form a small program container ?

Applet container compared to h5、 Native advantages
At home , The troublemaker of the times is the applet . Applet container as the name suggests , Is a running environment that hosts small programs , Active intervention and function expansion , Achieve rich ability 、 Optimize performance 、 The purpose of improving the experience .
Maybe you will also think ,H5 It can also be realized. Why do you have to engage in small programs , If we use small programs to contact and use them more often “H5  Mobile application ” And “ Mobile native app ” The comparison , We will find that the application of applet has several obvious advantages .
  • Cross platform capability , A set of codes can be  iOS  And  Android  Running on multiple platforms ;
  • Far more than  H5  Experience ( Support local cache ,Webview, There are rich components and support libraries );
  • Can get more system permissions , Complete richer product design ;
  • You can avoid  DOM  Let the cat out of the ( Do not use commonly used  window  Object and the  document  object );
  • Effective reduction of package size , Save traffic and storage
  • Service is no longer limited by distribution , Support hot update
 
The value of applet containers
In short, applet containers can help developers quickly optimize the size of distribution packages , Save traffic and storage . meanwhile ,App  Service iterations are no longer limited by distribution , Fast release , Fast iteration . even to the extent that , Based on unified development standards , Small programs only need to be developed once , It can be quickly delivered to multiple terminals .
1、 Multi terminal delivery on the shelf
Because of the standardization and compatibility of grammar , In the development work, you only need to develop a small program once , Can be opened in different applications , Naturally solve cross end pain points . meanwhile , adopt IDE After the tool is debugged and adapted, the applet can be put into wechat, for example 、 Ali 、 Baidu 、 Byte and other open platforms , Connect all large flow platforms , Reach a large number of users , Meet the needs of multi terminal drainage .
2、 Iteration is more agile
For example, finance 、 social contact 、 Complex businesses such as e-commerce will have frequent iteration requirements , In fact, a better way is to spin off this part of the business and transform it into a small program , Then through the form of upper and lower shelves to  App  in , Hot update can be achieved , There is no need to wait for the master release and frequent submission App Store to examine , Meet complex and changeable business scenarios .
3、 Build an open ecological platform
For enterprises with ecological construction , Third party merchants can also be introduced in the form of small programs on and off the shelf , stay  App  Build a self owned light application distribution center in ( The app store ), Quickly cover clothing, food, housing and transportation 、 Office collaboration and other high-frequency applet scenarios , Like wechat 、 Alipay forms its own open ecological platform. .

How to introduce an applet container ?
tencent 、 Ali 、 byte 、 Big companies such as Baidu have their own small program platforms , But they are almost always limited to internal use .
We all know that small programs are good , But the more common reality is that most small and medium-sized enterprises want to use it but have no R & D strength , So if the company needs an independent applet container, how can it be obtained ?
Here's the recommendation  
FinClip
 , One that can make any  App  Solutions for running applets . Just in your  App  Inside , Introduce it  SDK, You can load and run external applets . except  SDK, It also provides a background management system , Unified management of small programs on and off the shelf , And collecting and analyzing applet data .

Use  
FinClip
  My experience is as follows :
  • Follow the development standards and specifications of wechat applet , Development is much easier
  • in other words , The existing wechat applet can not change a line of code , Put it directly into your  App  Inside , The running effect remains unchanged , There is no need for additional secondary development and transformation , It saves a lot of labor costs .
  • The good news for developers , Support multi terminal operation
  • Except for the mobile terminal  iOS  And  Android, See also support, including  Linux、Windows、MacOS、 Kirin and other operating systems . amount to PC  End 、 Vehicle mounted equipment 、 Smart TV can use small programs , It can be seen that making products is really hard .
  • Provide IDE  And documents , The learning cost of getting started is low
  • Providing applets  IDE  development tool , The interface is similar to the development tool of wechat applet , Comes with debugging and real machine preview , Easy to use . It can be here  IDE  Inside , Secondary development of existing projects , Extended functions and interfaces , Or write a small program from scratch .
原网站

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206232132517603.html