At QCon2018 Shanghai Global Software Development Conference, alibaba Xianyu Technology brought you a speech with the theme of “Flutter & Dart Three-terminal Integrated Development”. As a “preacher” of three-terminal integration, it will show a new development mode in the post-mobile Internet era, and bring ideas to the audience to further improve the efficiency of mobile application development.

This article introduces the characteristics of Flutter from the perspective of “lazy” and “efficient”, and briefly introduces the experience of Idle Fish to unify iOS and Android mobile application development through Flutter. The Dart Server “glue layer” is a thin Server developed by the client to do simple data assembly. The Dart unified language is used to develop an all-in-one IDE (create interface framework, rapid isolation deployment, local testing, conflict-free scheduling, etc.) unified development mode. The experience of writing the “glue layer” of the server is basically the same as that of writing the client, and I try to reduce the learning cost of the “glue layer” by means of service collection and code generation, and finally realize the integrated development of the three ends.

For questions

The audience was enthusiastic and enthusiastic. Many students were optimistic about the application of Flutter and expressed their strong desire to introduce Flutter development. Some students were excited to say that their development time of Flutter was reduced from 8 months to 1.5 months after they chose Flutter. Their efficiency was not only improved exponentially. A number of students also expressed interest in the Dart “glue layer” server and the new model of three-end integration development. Questions from the audience mainly focus on the following points: (1) Idle fish’s experience in Flutter: including the problem of mixed development; Package size optimization; Reuse existing Native base components; Complex animation; How to connect to OpenGL; How to manage data flow and so on. (2) Some questions about Dart Server: comparison with NodeJS scheme, rapid deployment of Dart Server in Hot Reload stage, and how to manage the code after it goes online. (3) Open source plan of some technologies of Xianyu: Whether there is a specific schedule for open source of Dart Server Framework and tool set, and whether THERE is an open source plan of UI2Code.

From the feedback of the questions, we also get the direction of our next thinking: what should Flutter do further? Does the glue layer go from microservice to Serverless? Dart Server Framework open source what, which is suitable for idle fish’s own business, which is common?

Summary of contents:

Join the idle fish for some “cool” fun

Idle fish technology team is a dapper engineering technology team. We not only pay attention to the effective solution of business problems, but also promote the cutting edge practice of computer vision technology in mobile terminals by breaking the division of division of technology stack (the unification of android/iOS/Html5/Server programming model and language). As a software engineer in the Idle Fish technology team, you have the opportunity to demonstrate all your talents and courage in the evolution of the entire product and user problem solving to prove that technology development is a life-changing force. Resume: [email protected]