文档介绍:优质资料
学校代码: 10128
学号:
本科毕业设计说明书
题目:浏览器的设计与实现
学生姓名:
学院:信息工程学院
系别:计算机系
专业:计算机科学与技术
班级:计算机04-1
指导教师: 讲师
工程师
二〇〇八年六月
摘要
随着网络的不断发展,网页浏览器作为上网的所必需的软件之一,已经得到了广泛地应用。在IE独霸一方的背景下,国内外各式各样的浏览器软件都如雨后春笋般孕育而生。网页浏览器的开发与应用更是成为了计算机领域近年来的一大热点。
本文围绕着浏览器的编程与开发,,着重讲解了笔者在毕业设计中所实现的一个浏览器程序——MiniBrower。
本文用软件工程的开发过程,详细论述了浏览器的分析、设计及代码实现,最终实现一个具有能同时浏览多个网页,可查询历史浏览记录,可以实现打开和保存网页,超链接监听并响应,和对非法网站的过滤等基本功能的浏览器。本文以一个实际运作的浏览器 MiniBrowser 为主轴介绍浏览器的设计理念与方法,同时讲述浏览器中各个模块如何互相协同运作,来完成一个呈现网页的工作。HTML词法分析是本文着重讨论的技术问题,给出了详尽的数据结构,程序流程,并且还介绍了一些基于Java的HTML解析器。另外,Java Swing技术也是本文介绍的浏览器所使用的一种主要的技术,通过使用各个组件,并增加监听器和事件处理等操作,最终形成一个具有一定事物处理能力的浏览器的界面部分。
关键字:浏览器;Java Swing;HTML词法分析;事件
Abstract
With the unceasing development work, the Homepage Browser, which es one of the essential software for surf online, has already obtained widely application. Under the leading position of IE, all kinds of domestic and foreign browser software have appeared like mushroom growth breeding lives. The homepage browser's development and the application have e puter domain big hot spot in recent years.
This article revolves Browser's programming and development, narrated some technologies and author's attainments of carrying the browser in development, explained browser procedure—MiniBrower which emphatically in the achievement of graduation project.
This article uses software engineering's performance procedure, elaborated Browser's analysis, design and code achievement, finally achieved the Browser which has simultaneously glances over many homepages. It can inquire the history to glance over the record, realize opens and preserves the homepage, the ultra connection monitors and responds, with to illegal website filtration and so on. This article take actual operation's browser—MiniBrowser as the main axle,introduced browser's design idea and method, simultaneously narrated how each module does coordinate the operation mutually in the browser, completes one to present the hom