计算机与数字工程
計算機與數字工程
계산궤여수자공정
COMPUTER & DIGITAL ENGINEERING
2014年
12期
2428-2432
,共5页
YII框架%移动终端%Session%网络编程%JSON%接口
YII框架%移動終耑%Session%網絡編程%JSON%接口
YII광가%이동종단%Session%망락편정%JSON%접구
YII frame%mobile terminal%Session%network programming%JSON%interface
在网络编程技术发展迅速、手机应用程序越来越广泛的情况下,针对网络通信接口开发效率不高的问题,提出一种基于YII框架移动编程通信接口的设计方案,该方案利用session和JSON通信机制实现了农业互联网中手机端与服务器端的通信,并详细阐述其设计原理。通过将该方案应用于实际项目中,应用结果验证了方案的可用性,在降低编程难度的同时提高开发效率。
在網絡編程技術髮展迅速、手機應用程序越來越廣汎的情況下,針對網絡通信接口開髮效率不高的問題,提齣一種基于YII框架移動編程通信接口的設計方案,該方案利用session和JSON通信機製實現瞭農業互聯網中手機耑與服務器耑的通信,併詳細闡述其設計原理。通過將該方案應用于實際項目中,應用結果驗證瞭方案的可用性,在降低編程難度的同時提高開髮效率。
재망락편정기술발전신속、수궤응용정서월래월엄범적정황하,침대망락통신접구개발효솔불고적문제,제출일충기우YII광가이동편정통신접구적설계방안,해방안이용session화JSON통신궤제실현료농업호련망중수궤단여복무기단적통신,병상세천술기설계원리。통과장해방안응용우실제항목중,응용결과험증료방안적가용성,재강저편정난도적동시제고개발효솔。
With the rapid development of the network‐based programming technology and the widespread use of mobile applications ,considering the development of the new work communication interface with low efficiency ,the mobile program‐ming interface based on YII(Easy Efficient Extensible) has been proposed in this paper .It realizes the communication be‐tween mobile phone and terminal server in terms of agricultural internet by Session and JSON communication interface .Its working principle has been analyzed in detail .Besides ,this design has been applied to practical projects to test its usability . The result shows that the difficulty of programming has been simplified and the efficiency of the development has been im‐proved after the improved design of the interface .