The original address: ant – move. Making. IO/website/bio…
After wechat officially launched micro channel small program, each big factory has released their own small program platform — Alipay small program, Baidu small program, toutiao small program, cross small program platform development has become a large number of small program developers to face the problem.
Antmove – Small program cross-platform solution
Small program development blood and tears history
Early applets development
- Frame instability
- Frequently updated
- Many bugs
With the development of micro channel small program, micro channel small program to basically do not exist the above problems, and other emerging small program manufacturers are still in this stage, for small program developers, if you want to access the micro channel small program platform, the above problems are the technical solution evaluation environment must be measured.
Applets in the middle of development
- Development experience improvement
- Component development requirements
- Integration with the Web development technology ecosystem
At this stage, small program developers are pursuing development experience. In the environment of the booming development of Web framework and the rapid improvement of the development tool ecosystem, the poor small program development experience is unbearable to users. At this stage, many small program frameworks have tried to solve this problem, such as WEpy, MPvue, taro and so on.
Applets develop and mature
- Multi-platform support requirements
- Package volume
- performance
Since this year, in addition to wechat small program platform, other manufacturers small program platform has also been greatly promoted development, at this time small program cross-platform ability is particularly important, at the same time, the relative package volume control small program performance has become a concern, which is also a problem facing many enterprises and developers.
Small program cross-platform development solution exploration
Small program cross-platform development, in simple terms, is through a set of solutions to achieve development once, online to multiple small program platform.
The solution
In order to meet the requirements of multi-applets platform, there are simply the following solutions:
- Each platform is developed separately
- High labor cost
- Develop applets for one platform and convert them to other platforms through technology
- Technology implementation costs are high and small teams are difficult to support
- The use of small program framework to support cross-platform development, relying on the cross-platform ability of the framework to achieve cross-platform
- Introducing framework costs
For the third solution, the popular cross-platform development solutions for small programs in the community include MPvue, Taro, uni-app and so on. These frameworks solve the problem of cross-platform development of small programs to varying degrees, but they all have a much-criticized problem, that is, the pain of the framework. In the development process of front-end development, from the emergence of front-end frameworks to flowers, to the current era of the three pillars (Angular, React, Vue), developers still suffer from the following problems:
- Should a framework be introduced into your project?
- What framework should I choose, better? More suitable for?
- Should you choose frameworks or native development when it comes to performance?
- Team development technology stack unification battle?
- Old project maintenance problems, technology upgrade pain?
- What is the future of the framework?
As a small application developers, still will face such problems, and will be more serious, small program itself is a framework (and small application framework development soon, functions are perfect, development experience is becoming more and more good), on small programs and pack a layer framework, the whole development process more than a ring, will no doubt increase the risk of project. Moreover, the small program framework itself is still in continuous development. Taking wechat small program as an example, new features, capabilities and specifications are constantly updated. How to update and adapt the framework in a short time has become a difficult problem. By relying on frameworks, developers are isolated from native applets and have to rely on the framers to provide solutions.
In addition to enabling adaptation of the framework’s capabilities, introducing a framework can make the project itself bloated, slow, and restrictive.
Antmove of solution
In gold small program development team (a member of the ali is a small program (alipay, small procedures, taobao, nailing application, Tmall elves]), we met a lot of want to apply WeChat small programs online to ali platform is a small program, customers, and to develop a new platform of small programs for them and compare cost, in order to solve this problem, Ant moving tool came into being, our starting point is very simple, we hope to be able to use technical means to put a micro channel small program application online to ali small program platform.
As this process went on, we found that in addition to the ali system platform, users also need to support other small program platforms, so there are other manufacturers of small program platform support.
Multi applets platform support
At present, Baidu intelligent small program, headlines small program support is still in internal testing, will be able to experience.
From the initial customer service case to the current antMove open source project, our whole team has considered a lot. As a non-KPI project, we will continue to do it well, hoping to help more small program developers solve their problems.
Antmove is not a framework, but a conversion tool, such as wechat small program project into Alipay small program project, it still hopes that developers can use native small program syntax to develop small programs, smaller, faster, more concise.
So far, Antmove has helped a lot of internal users and external applets to convert and migrate applets, and now hopefully it can help you with cross-platform development.
Refer to the link
- Antmove – Make cross-platform development of small programs easy