婷婷亚洲久悠悠色悠在线播放_天天爽夜夜爽人人爽一区二区_少妇群交换bd高清国语版_日韩不卡一区二区_欧美精品一二区_久久国产精品影视

18842388900

網站建設 APP開發 小程序

Article/文章

記錄成長點滴 分享您我感悟

您當前位置>首頁 > 知識 > 網站建設

滴滴開源小程序框架Mpx,致力于提高小程序開發體驗

1544682351865153.jpg

滴滴WebApp團隊近日宣布開源Mpx,這是一款致力于提高小程序開發體驗的增強型小程序框架。通過Mpx,開發者能夠以最先進的web開發體驗(Vue + Webpack)來開發生產性能深度優化的小程序。

Mpx 具有以下一些優秀特性:

數據響應特性(觀察/計算)

增強的模板語法(動態組件/樣式綁定/類名綁定/內聯事件函數/雙向綁定等)

深度性能優化(原生自定義組件/基于依賴收集和數據變化的setData)

Webpack編譯(npm /循環依賴/Babel/ESLint/css預編譯/代碼優化等)

單文件組件開發

狀態管理(Vuex規范/多實例/可合并)

跨團隊合作(包)

邏輯復用能力(mixins)

腳手架支持

小程序自身規范的完全支持

支付寶小程序的支持

XX The development team said that the current mainstream 小程序 framework mainly includes WePY, mpvue and Taro, all of which translate other grammar specifications into 小程序 grammar specification, which we call a translation framework. Unlike the above three, Mpx is an enhanced framework based on the 小程序 syntax specification. It uses the excellent syntax features of Vue to enhance 小程序 instead of letting users directly use the vue syntax to develop 小程序. The main reason for this design is Based on the following considerations:

The translation framework cannot support all the syntax features of the source framework (such as dynamic features in Vue templates or dynamically generated jsx in React), users may encounter unexpected errors when developing with source framework syntax, with uncertainty ;

小程序's own technical specifications are constantly updating and progressing. Many new technical specifications cannot support or require high support costs in the translation framework. For the enhanced framework, as long as the new technical specifications do not conflict with the enhanced features, Can support directly.

At present, the Mpx framework has been widely used inside Didi, supporting the implementation of Didi Chuxing, Green Orange Bicycle, Street Rabbit Motorcycle, Marketing, Car Service, etc. on 小程序. The online operation is stable and received a lot of favorable feedback. In the future, the continuous iterative optimization of the framework will continue to follow 微信 and Alipay's latest technical standards, and will also be in more APP軟件

ad.jpg

Adapted on the 小程序 platform.

xx Since the original intention and focus of the design is to enhance the 小程序 development experience, Mpx does not support cross-H5 or even cross-Native, but there is such a demand in the real business, the future development team will make certain cross-end on the basis of Mpx. Try, while still maintaining Mpx upgrades, because cross-end means limited flexibility and lack of capabilities, hoping to give users a second option.

Mpx 與業內主流小程序框架異同對比

1544682283228154.jpg

1544682445471972.jpg

xx

網站建設,小程序開發,小程序制作,微信小程序開發,公眾號開發,微信公眾號開發,網頁設計,網站優化,網站排名,網站設計,微信小程序設計,小程序定制,微信小程序定制

相關案例查看更多

主站蜘蛛池模板: 无码人妻品一区二区三区精99 | 久久视频热 | 久久久久久1 | 狠狠热在线视频免费 | 91免费视频 | 日日碰狠狠添天天爽五月婷 | 国产精品久久久久久久娇妻 | 日韩在线短视频 | 级毛片内射人与曾 | 久久精品视频免费 | 99久久免费国内精品 | 黄色一级片视频播放 | 午夜短视频| 另类免费视频 | 超碰97国产 | 草草影院2022成人免费视频 | 一级片子 | 亚洲网站在线免费观看 | 热热色影音先锋 | 日本黄色五级片 | 国产精品动漫一区二区 | 亚洲精品在线a | 免费久久久一本精品久久区 | 亚洲性大片 | 国产又粗又硬又黄视频免费着 | 日韩精品无码免费毛片 | 在线观看亚洲 | 91日韩精品一区 | 日日日操操| 美女视频性感网站黄色 | 无码精品AV久久久奶水 | 97porm国内自拍视频 | 国产97精品一区二区在线观看 | 日本高清视频一区二区 | 亚洲人片在线观看 | 国产成人片《羞羞》上映 | 国产精品成人免费视频一区丝袜 | 在线免费观看视频一区二区 | 久久精品国产亚洲aⅤ不卡 久草香蕉依人在线 | 亚洲国产精品无码二区 | 人人妻人人澡人人爽精品日 |