树组件的功能简单、界面表现力较差,而且组件效率较低,难以满足复杂的应用需求。基于目前流行的AJAX技术,给出一个具有较强的可扩展性的Web树组件的设计和实现。组件在Web上为用户提供了类似于在Windows资源管理器中对目录树操作的基本功能和用户体验。另外,还采用Server Push技术对树组件进行了改进,解决了AJAX应用中可能出现的数据不一致的问题。
Tree components are poor in both UI and functionalities, also the components are inefficient. So it is difficult to meet the requirements of users. A tree component with high expansibility is designed and implemented based on the popular AJAX. The component will provide users with a pretty UI and many useful features which will make users fill like playing with the Windows XP directory tree. In addition, the server push technology is used to improve the component and to solve the problem in AJAX applications which may be caused by data inconsistency.