APP下载

MVC构建的国际化动态技术在广州市政府政务网站的设计与实现

2016-03-22邓容

电脑知识与技术 2016年1期

邓容

摘要:电子政务网站面对着全球经济一体化和政府上网业务的逐步深入,需要向多语言和国际化发展。静态的多语言解决方案虽然具有操作简单,浏览高速的优点,然而其缺点很大,越来越不适应当今纷繁复杂的电子政务系统的整体解决的需求。国际化动态技术可以解决静态语言解决方案在这些方面的不足。该文重点介绍国际化动态技术在广州市政府政务网站中的设计与实现,阐述其特征和原理,描述其如何在广州市政府政务网站中实现基于MVC架构的WEB程序的国际动态设计方案和具体实现机制。

关键词:电子政务;多语言;动态国际化;MVC架构

中图分类号:TP302 文献标识码:A 文章编号:1009-3044(2016)01-0263-03

Research and Apply in GZ E-Government Website with Dynamic Internationalization Technology based on MVC Architecture

DENG Rong

(Guangdong Marine Vocational and Technical School,Guangzhou 510320,China )

Abstract: With the development of GZ E-Government Website Project and economic globalization, the internationalization technology support is efficient for the e-government website. Dynamic muli-language solution is take over the static mode. The traditional static technology cannot meet the requirements for e-government website as this approach has many limitations. But Dynamic internationalization technology may solve it.The article design the principle of muli-language dynamic mechanism, analyzes how to implement the GZ E-Government Website Project based on Struts and MVC pattern, and the advantage of simple implements and fast access.

Key words:E-government;multi-language;Dynamic internationalization;MVC architecture

1 多语言的静态解决方案

由于广州市政府政务网站上网工程的深入和系统越发繁杂庞大,以及广州作为国际化大都市,需要在国际间信息全球化交互,广州市政府政务网站的多语言版本需求具有必要性和广泛性。初期,业务需求要求不高,技术水平低下,平台架构处于简单阶段,对于多语言解决方案,企业通常会采用静态方案来解决业务需求,其工作基本思想是根据每一种场景语言开发一套页面文件,当用户切换语言场景时,页面中转到相应的语言场景中。

多语言静技术支持在技术水平不高,平台结构简单的初期还是具有一定的优势。一方面,广州市政府电子政务网站的业务量不大,功能相对单一,技术上约束,系统架构就采用了静态方案来完成系统多语言功能。……

登录APP查看全文