97无码免费人妻超级碰碰夜夜_xxx.www国产_av激情在线_成人久久18_国产精品特级片_鲁一鲁啪一啪

18842388900

網(wǎng)站建設(shè) APP開發(fā) 小程序

Article/文章

記錄成長(zhǎng)點(diǎn)滴 分享您我感悟

您當(dāng)前位置>首頁(yè) > 知識(shí) > 網(wǎng)站建設(shè)

滴滴開源小程序框架Mpx,致力于提高小程序開發(fā)體驗(yàn)

1544682351865153.jpg

滴滴WebApp團(tuán)隊(duì)近日宣布開源Mpx,這是一款致力于提高小程序開發(fā)體驗(yàn)的增強(qiáng)型小程序框架。通過Mpx,開發(fā)者能夠以最先進(jìn)的web開發(fā)體驗(yàn)(Vue + Webpack)來開發(fā)生產(chǎn)性能深度優(yōu)化的小程序

Mpx 具有以下一些優(yōu)秀特性:

數(shù)據(jù)響應(yīng)特性(觀察/計(jì)算)

增強(qiáng)的模板語(yǔ)法(動(dòng)態(tài)組件/樣式綁定/類名綁定/內(nèi)聯(lián)事件函數(shù)/雙向綁定等)

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

Webpack編譯(npm /循環(huán)依賴/Babel/ESLint/css預(yù)編譯/代碼優(yōu)化等)

單文件組件開發(fā)

狀態(tài)管理(Vuex規(guī)范/多實(shí)例/可合并)

跨團(tuán)隊(duì)合作(包)

邏輯復(fù)用能力(mixins)

腳手架支持

小程序自身規(guī)范的完全支持

支付寶小程序的支持

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 與業(yè)內(nèi)主流小程序框架異同對(duì)比

1544682283228154.jpg

1544682445471972.jpg

xx

網(wǎng)站建設(shè),小程序開發(fā),小程序制作,微信小程序開發(fā),公眾號(hào)開發(fā),微信公眾號(hào)開發(fā),網(wǎng)頁(yè)設(shè)計(jì),網(wǎng)站優(yōu)化,網(wǎng)站排名,網(wǎng)站設(shè)計(jì),微信小程序設(shè)計(jì),小程序定制,微信小程序定制

相關(guān)案例查看更多

主站蜘蛛池模板: 开封市| 禹州市| 东乌珠穆沁旗| 财经| 靖远县| 治县。| 禹城市| 屯门区| 二连浩特市| 鹤山市| 梅州市| 白山市| 鹤庆县| 海城市| 叶城县| 和硕县| 德格县| 巍山| 米泉市| 石家庄市| 寻甸| 昆山市| 阿图什市| 高平市| 玛纳斯县| 兰坪| 绥江县| 雷波县| 太仓市| 台南县| 吉首市| 扎赉特旗| 景洪市| 建阳市| 琼海市| 社会| 滦平县| 格尔木市| 台中市| 四会市| 西城区|