天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

面向移動Web應(yīng)用的分布式構(gòu)建平臺的研究與實現(xiàn)

發(fā)布時間:2018-12-11 19:33
【摘要】:智能手機的不斷普及為移動端應(yīng)用提供了廣闊的發(fā)展空間,但差異巨大的移動端平臺往往會導(dǎo)致重復(fù)開發(fā),移動Web技術(shù)的出現(xiàn)解決了平臺的差異性問題,在未來有著廣闊的發(fā)展前景。為了將移動Web應(yīng)用(主要由Html、Javascript、Css組成)轉(zhuǎn)為各平臺的安裝包實現(xiàn)在線自動構(gòu)建,本文基于xFace引擎研究和實現(xiàn)了分布式構(gòu)建平臺。分布式構(gòu)建平臺主要有三種服務(wù)器組成:提供Web在線頁面服務(wù)的前端服務(wù)器、提供請求轉(zhuǎn)發(fā)的主構(gòu)建服務(wù)器、實現(xiàn)構(gòu)建流程的平臺構(gòu)建服務(wù)器。通過前端服務(wù)器提供的在線頁面,Web開發(fā)人員可以上傳Web應(yīng)用和其他構(gòu)建資源,可以選擇需要的引擎版本和類型,通過構(gòu)建頁面實現(xiàn)了對xFace引擎發(fā)布和版本的管理。主構(gòu)建服務(wù)器的設(shè)計是為了對平臺構(gòu)建服務(wù)器做一個負載均衡的處理,是整個平臺的中心節(jié)點,所有的構(gòu)建請求都會經(jīng)它轉(zhuǎn)發(fā)到具體的平臺服務(wù)器。平臺構(gòu)建服務(wù)器是構(gòu)建流程的實現(xiàn)者,通過模板設(shè)計模式將構(gòu)建的流程確定好,具體的平臺服務(wù)器只需實現(xiàn)構(gòu)建的細節(jié),讓各平臺保持一致的構(gòu)建流程,避免構(gòu)建流程的遺漏和出錯。平臺服務(wù)器主要還實現(xiàn)了對引擎插件的裁剪,將構(gòu)建不需要的插件代碼和相關(guān)的庫文件進行刪除,達到減小安裝包體積的目的。分布式構(gòu)建平臺的設(shè)計很好的滿足了平臺構(gòu)建服務(wù)器數(shù)量的擴展性,新增平臺構(gòu)建服務(wù)器時只需要在配置文件的服務(wù)器列表中加入新的節(jié)點即可,同時也滿足了平臺構(gòu)建服務(wù)器類型的擴展性,新增構(gòu)建平臺時只需繼承基礎(chǔ)構(gòu)建類,在新平臺下實現(xiàn)具體的構(gòu)建細節(jié)即可。分布式構(gòu)建平臺的研究與實現(xiàn)讓移動Web開發(fā)者可以更加專注于自身產(chǎn)品的研發(fā),省去了繁瑣的構(gòu)建環(huán)境的搭建,構(gòu)建設(shè)備的采購,節(jié)省了在多平臺下發(fā)布移動應(yīng)用的經(jīng)濟和時間成本,達到了一次編寫,服務(wù)器端編譯,跨平臺運行的理想目標。另外,平臺將移動Web應(yīng)用開發(fā)和xFace3引擎開發(fā)完全分離,可以提高引擎開發(fā)的質(zhì)量和效率。
[Abstract]:The increasing popularity of smart phones provides a broad development space for mobile applications, but mobile platforms with huge differences often lead to repeated development. The emergence of mobile Web technology solves the problem of platform differences. There are broad prospects for development in the future. In order to transform mobile Web application (mainly composed of Html,Javascript,Css) into installation package of each platform to build automatically online, this paper researches and implements distributed building platform based on xFace engine. The distributed building platform consists of three kinds of servers: the front-end server that provides the Web online page service, the main build server that provides the request forwarding, and the platform build server that realizes the build process. Through the online pages provided by the front-end server, Web developers can upload Web applications and other build resources, choose the required engine version and type, and manage the release and version of the xFace engine through the build page. The master build server is designed to deal with the load balance of the platform build server and is the central node of the whole platform. All the building requests will be forwarded to the concrete platform server through it. The platform build server is the implementer of the build process. The platform server only needs to realize the details of the build, and the platform server can keep the construction process consistent with the template design pattern. Avoid omissions and errors in the build process. The platform server also mainly implements the engine plug-in clipping, will build unnecessary plug-in code and related library files to delete to achieve the purpose of reducing the size of the installation package. The design of distributed building platform satisfies the extensibility of the number of platform build servers. When adding new platform build servers, we only need to add new nodes to the list of servers in the configuration file. At the same time, it also satisfies the extensibility of the platform build server type. When the platform is built, it only needs to inherit the basic building class and realize the concrete construction details under the new platform. The research and implementation of distributed construction platform enables mobile Web developers to focus more on their own product development, eliminating the tedious construction environment, construction equipment procurement, It saves the economic and time cost of publishing mobile applications on multiple platforms, and achieves the ideal goal of once compiling, compiling on server side, and running across platforms. In addition, the platform completely separates mobile Web application development from xFace3 engine development, which can improve the quality and efficiency of engine development.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP311.52;TP393.09


本文編號:2373108

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2373108.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶29687***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com