您好,欢迎来到华拓网。
搜索
您的当前位置:首页班级网站设计与实现—毕业设计论文

班级网站设计与实现—毕业设计论文

来源:华拓网
目录

引言 ................................................................................................................................................ 2 1.网站结构设计 ............................................................................................................................ 3 2系统功能结构图 ......................................................................................................................... 3 3 系统E-R图设计 ........................................................................................................................ 5 4 数据库设计 ................................................................................................................................ 7 5 系统详细设计 ............................................................................................................................ 8 5.1网站布局和格式 .................................................................................................................. 8 5.2注册和登录模块设计 .......................................................................................................... 9 5.3留言功能模块的设计 ........................................................................................................ 11 5.4资料修改功能模块的设计 ................................................................................................ 12 5.5 相片上传与浏览的设计 .................................................................................................. 12 5.6相片的列表与显示 ............................................................................................................ 13 总结 .............................................................................................................................................. 14 参考文献 ...................................................................................................................................... 15

班级网站设计

引言

伴随着网络的出现,网页逐渐融入人们的生活。快速及时的新闻浏览,五彩缤纷的网上信息,使网络与人们的生活息息相关,于是世界上又出现了第三媒体——Internet。它打破了地域,真正使信息得以共享,改变了人们的工作和生活方式。制作网页是企业和个人的宣传自己的重要手段,同时也是学习者获取学习信息的重要手段。尤其是在新闻信息领域,各种新闻信息的发布分秒变换,人们对新闻信息的需求有了更新,更高的要求,而网页由于本身所具有的信息量大,传递快速,没有时空等特点恰好满足这种要求。所以网页也逐渐成为一种新兴的信息发布资源。也正是由于网络实现网站的数据信息能够进行实时交互,保证网站数据的实时性。

随着Internet的进一步发展,静态Web站点的开发与维护变得越来越困难,一方面信息的不断增加和变化,使站点维护人员不得不经常修改他们的网页,特别是基于数据库驱动的Web站点更是如此,随着Internet上信息量的增多和交互性的加强使HTML显得越来越难以胜任。另一方面静态网页由于不能与浏览者进行有效交互,使人们感到越来越乏味,而不愿意再一次地进入同一站点。所以开发动态网页或动态内容成了越来越多的站点所追求目标。所谓动态内容是由每一个用户按照自己的需求发出请求而特殊制作的Web网页。

网络发展前景无限,及早与网络结合,与信息时代同步,与高科技汇合,定会给社会各行各业的发展注入新鲜的活力。站在网络时代的前夜,我们清晰地听到了网络时代的宣言:谁掌握了网络,谁就掌握了未来。

正文内容:

1.网站结构设计

网站主页采用静、动相结合的方式,即静态的主画面和动态的图片相结合,体现班级的勃勃生气,网站布局应该以轻松、简洁的风格为主,同时使用一定的图形和多媒体元素,将整个网页分成四个部分(如图1)

第一部分 第二部分 第三部分 第四部分 图1 页面布局

第一部分主要用来放置网站的标志图片;第二部分与第四部分主要用来放置一些功能链接;第三部分是主体部分,放置班级信息、留言、公告模块等。

2系统功能结构图

系统功能模块设计分为前台功能模块设计和后台功能模块设计。前台功能模块设计主要包括:用户注册、用户登陆、用户管理,班级管理、留言板。后台功能模块设计主要包括:前台首页、用户管理、用户管理。

网站系统模块 前台网站首页

后台管理首页 图1 网站系统结构图

图 2 前台功能模块结构图

前台模块 用户登录 班级留言 班级足迹 公告管理 成员地址 班级相册 留言板 退出 更改资料留言添加相册删除相册修改留言删除留言 后台模块 前台首页

用户管理 班级 管理 留言管理 系统管理 图 3 后台功能模块结构图

网站的具体结构如图2所示,在首页上共有7个大的功能菜单,每个菜单链

接一个功能页面,每个页面实现不同功能。

图4

充分利用ASP的强大功能,在网站中提供留言簿、公告栏等交流场所,为同学们展开信息交流提供方便。

3 系统E-R图设计

登陆实体E-R图

游客 注 册 个人资料 组 成 个人资料 查询浏览 登陆 留言 管理员 管理 相册 管理 留言 存入 后台信息

图5 登陆实体E-R图

管理员信息实体E-R图

名字 密码

图6 管理员实体E-R图

同学信息实体E-R图

图7同学实体E-R图

OICQ 备注 邮箱 名字 地址 性别 权限 地址 管理员信息 同学信息

4、数据库设计

数据库设计指的是在现在数据库管理系统上建立数据库的过程,它的主

要内容是:在编写数据库应用程序之前,应该组织建立什么样的数据库,包括组织建立多少个数据库为适宜,每个数据库都有几个字段,每个库的主关键字和外部关键字以及各个表之间的关联,如何传递数据。

在数据库的设计中,尽量充分地考虑到用户各个方面功能上的需求,以前数据库理论的主要规则。用户的需求具体体现在各种信息的提供、保存、更新和查询等方面,这就要求数据库结构能充分满足各种信息的输入和输出。所以搭建起后台数据库也就成为最基础、最首要做的工作。本站应用了功能强大的Access数据库。

本网站采用的数据库是Microsoft Access ,建立库文件,包含如下几个表文件:

claim 网站公告信息表

Loginfo 来访登陆时间信息表

mssg 留言信息表;

photo 图片内容说明信息表

user 成员地址信息表

5 系统详细设计

5.1网站布局和格式

首先要规划好网站的结构,对网站的网页大体布局有一个具体的轮廓。并且为网站的主页及二级页面确定一个共同的格式,包括整个页面的颜色,宽度,阴影,背景,字体的大小颜色这就需要我们制作一个超文本样式表.css文件,以供每个网页调用。

为网站设计一个主页面使用DreameWeaver MX来制作。还要用到HTML语言、

VBScript、JavaScript等。将前面说到的功能和内容以菜单的形式列出在主页上,级联菜单上是一些具体的功能和内容。当然,这个菜单是用JavaScript编制出来的一个函数,然后,在每一个菜单文件的代码中再调用这个函数,其它的菜单也可以用同样的代码来实现。同样,对于二级页面的设计以及其它页面的设计也是与主页相同。如果这些页面的主要部分与先前设计的主页主体部分风格和布局以及菜单都相同,那么我们就可以先建立一个空的含菜单的文件作为模板,以后每建立一个类似的页面,就可以调用此模板文件,在此基础上再进行修改、补充[8]。

5.2注册和登录模块设计

注册登录模块是系统的门户,在整个系统中占有重要的地位。它的主要功能是根据用户的录入信息进行身份识别,排除非法用户对本系统的使用,对合法用户则按照不同的级别分类处理,从而保证系统的运行安全,用户进入主页面后,要想法使用其他菜单的功能必须先进行注册,在将表单提交后,调用相应的程序进行处理。处理程序首先与数据库连接,查看是否存在同名和同密码的用户,若存在则显示提示信息,并重新返回注册表单,用户输入新的信息进行重新注册;若不存在同名且同密码的用户,则将注册信息写入数据库。

如若用户已经注册,则可输入名称和密码进入,在此过程中验证名称和密码是否相符以及在登录过程中用户的请求是否被允许从而显示不同的提示页面。 用户登录的流程图如图4所示。

是否首次登录? 是 进行注册表单的填写 填写登录的用户名和密码 提交 连接数据库并以用户名进行查寻 击点返回输入密码与数据库中的是否给出各种错误提示并返回登录框 是 进入网站界

图4流程图

通过在表单输入“用户名”和“密码”后点击“登录”提交表单,激活后台登录程序。如果“用户名”和“密码”匹配就可以进入,反之显示错误提醒页面。若登录成功,登录程序会把登录用户的信息写进Cookies,供以后各项功能实现时使用。

如果成功登录后将出现如图5的界面:

图5

5.3留言功能模块的设计

Web留言板类似于BBS,但BBS的版面过多,不同的留言放在不同的主题中,由于庞大的信息量影响到网页信息搜索的速度,不适合应用于小型网站。本文所设计的是用于一个班级同学之间进行信息交流的场所,规模小、设计简单的Web留言版就可以实现信息交流的功能,而且它小巧简单,因此更易于实现,在速度上比BBS也占优。

系统功能分析:(1)登录,已经注册的用户可以在登录界面输入正确的用户名和密码,就能够直接进入到留言板页面,同时不相关的信息写到Cookies数据集里,供以后各项功能实现时使用;(2)注册,如果是新用户,想进入留言板就必须通过注册,得到批准成为合法用户而取得留言及其权限;(3)留言,已经取得合法权限的用户可以在留言板里进行留言,或查看留言。

动态网页要处理很多信息,这些庞大的信息一般交给后台数据库去处理。而Web数据库应用系统则通过Internet平台连接数据库,取得数据集,对其进行添加、修改、查询、删除等操作。对数据库进行的各种操作,可以通过使用SQL语言来实现。本文设计的留言板是以Access 2000作为后台数据库。以操作接口而论,具备方便、简易的特性,同时能完全利用Windows资源。ASP通过使用ADO所提供的对象及方法,能帮助用户建立各式各样,符合用户需求的Web数据库应用系统——OLEDB。OLEDB是连接数据库的新低层界面。它能处理任何类型的数据,无论它们的格式和保存方式是什么。程序开发者并不需要确切去了解其结构,只需要懂得如何利用它去连接数据库即可。

在本留言板中,利用Microsoft Access2000建立了1个data.mdb数据库,而在其里面包含了2个表:user和mssg。整个留言板的所有信息交流都以这2个表为基础,所有数据的存取都通过对这2个表而进行操作。表user是用来存放注册用户的资料,表mssg是用来存放所有留言的信息。在完成数据库制作后,我

们在对数据库进行存取前,必须要进行数据库的连接工作,进行数据库连接的方式有几种,其中1种是通过“控制面板”→“管理工具”→“数据源(ODBC)”来设置系统DSN。完成系统DSN设置后,就可以通过ADO对象对数据库进行存取操作了。 5.3.1浏览留言

用户可以在该页面浏览全部的留言,这些留言都存放在表mssg里,页面MSGBOARD.ASP中的显示留言,可通过对表mssg操作而显示到页面上。随着留言的增多,如果在一个页面里留言全部的留言,可想而知是非常不方便的,因此本设计为留言板提供了分页显示功能。通过ASP提供的Recordset的AbsolutePage就可以轻松的对数量繁多的留言进行有条理的分页显示。 5.3.2发布留言

任何的注册用户登录后都拥有发布留言的权利,在留言主页面提供了用来发布留言的输入框,用户可以通过表单发表留言,并选择留言主题的标志,发布留言是通过程序MSGADD.ASP来实现的。

发布留言程序先以登录后写进Cookies数据集合中的用户名作为发布者的姓名,如果Cookies是空的话,就转到提示要先登录的页面。确认后接受表单提交来的信息写进表mssg中。然后转回到MSGBOARD.ASP留言页面,而MSGBOARD.ASP中的显示留言程序根据更新后的表mssg而重新分页显示留言。

5.4资料修改功能模块的设计

用户在主页面上点击“修改资料”进入资料修改页面memberedit.ASP,通过这个功能模块来修改个人的注册信息,但用户名不能修改。修改之前用户必须要输入正确的密码。而修改密码的时候2次输入的密码要相同。修改资料功能是通过程序memberedit.ASP来实现,如果资料修改成功就转到提示修改成功的页面并修改表user的数据,如果不成功便转到相应提示错误的页面。

5.5 相片上传与浏览的设计

用户还可以将自己喜欢的相片上传供其他用户浏览。用户在主页面上点击“班级相册”进入页面photo.ASP。相片的上传:由于ASP使用基于开放设计环境的ActiveX技术,本留言板即利用ActiveX组件ASPSmartUpload来实现相片上传功能。该组件在下载并安装后方可使用。相片的上传是通过文件upload.ASP的上传程序up来实现的,并将上传相片的所有信息都存放在表upload里,包括相片的名称、说明、上传时间、上传人姓名等。而且对于上传的相片的类型和大小都有所,只能上传jpg和gif类型的相片,而且相片大小不能超过300K。如果用户上传的相片不符合要求,程序便进行判断,并显示错误原因,

5.6相片的列表与显示

该功能是把所有相片的相关信息如相片的说明、上传时间、上传人姓名等通过列表的方式显示出来,由于相片的数量可能很多,因此在这里也使用了分页显示,并在每张相片的说明文字上添加链接,用户通过点击链接就可以激活photo.ASP中的程序,实现浏览相片功能。

总结

通过这次毕业设计,我从中学到了许多新的知识,而且通过这次毕业设计,培养了我综合多门学科中的知识、迅速规划并开发出目标系统的能力,以及编程能力也有了很大的提高。另外也有许多心得体会,所谓系统开发如人生百味,酸甜苦辣皆有之。

回顾这3个半月的系统开发工作,总结起来那就是,软件的开发是相当辛苦的,但成功以后的喜悦也是非常美妙的,而且我发现,其中你投入的心血越多,成功以后你所获得的快乐与充实感也更多更强。

参考文献

1. 肖金秀等.Dreamweaver网页实例大制作[M].北京:冶金工业出版社,2001. 2. 肖金秀等.ASP网络编程技术[M].北京:清华大学出版社,2001.

3. 张大斌. Web 上基于 ASP 的数据库应用研究[J ]. 计算机工程与科学 , 2001. 4. 沈文智. Microsoft IIS 网页技术[M]. 北京 :人民邮电出版社 ,1998. 5. 谭浩强,网页制作技术[M].北京:清华大学出版社。2000.

目录

引言 ................................................................................................................................................ 2 1.网站结构设计 ............................................................................................................................ 3 2系统功能结构图 ......................................................................................................................... 3 3 系统E-R图设计 ........................................................................................................................ 5 4 数据库设计 ................................................................................................................................ 7 5 系统详细设计 ............................................................................................................................ 8 5.1网站布局和格式 .................................................................................................................. 8 5.2注册和登录模块设计 .......................................................................................................... 9 5.3留言功能模块的设计 ........................................................................................................ 11 5.4资料修改功能模块的设计 ................................................................................................ 12 5.5 相片上传与浏览的设计 .................................................................................................. 12 5.6相片的列表与显示 ............................................................................................................ 13 总结 .............................................................................................................................................. 14 参考文献 ...................................................................................................................................... 15

班级网站设计

引言

伴随着网络的出现,网页逐渐融入人们的生活。快速及时的新闻浏览,五彩缤纷的网上信息,使网络与人们的生活息息相关,于是世界上又出现了第三媒体——Internet。它打破了地域,真正使信息得以共享,改变了人们的工作和生活方式。制作网页是企业和个人的宣传自己的重要手段,同时也是学习者获取学习信息的重要手段。尤其是在新闻信息领域,各种新闻信息的发布分秒变换,人们对新闻信息的需求有了更新,更高的要求,而网页由于本身所具有的信息量大,传递快速,没有时空等特点恰好满足这种要求。所以网页也逐渐成为一种新兴的信息发布资源。也正是由于网络实现网站的数据信息能够进行实时交互,保证网站数据的实时性。

随着Internet的进一步发展,静态Web站点的开发与维护变得越来越困难,一方面信息的不断增加和变化,使站点维护人员不得不经常修改他们的网页,特别是基于数据库驱动的Web站点更是如此,随着Internet上信息量的增多和交互性的加强使HTML显得越来越难以胜任。另一方面静态网页由于不能与浏览者进行有效交互,使人们感到越来越乏味,而不愿意再一次地进入同一站点。所以开发动态网页或动态内容成了越来越多的站点所追求目标。所谓动态内容是由每一个用户按照自己的需求发出请求而特殊制作的Web网页。

网络发展前景无限,及早与网络结合,与信息时代同步,与高科技汇合,定会给社会各行各业的发展注入新鲜的活力。站在网络时代的前夜,我们清晰地听到了网络时代的宣言:谁掌握了网络,谁就掌握了未来。

正文内容:

1.网站结构设计

网站主页采用静、动相结合的方式,即静态的主画面和动态的图片相结合,体现班级的勃勃生气,网站布局应该以轻松、简洁的风格为主,同时使用一定的图形和多媒体元素,将整个网页分成四个部分(如图1)

第一部分 第二部分 第三部分 第四部分 图1 页面布局

第一部分主要用来放置网站的标志图片;第二部分与第四部分主要用来放置一些功能链接;第三部分是主体部分,放置班级信息、留言、公告模块等。

2系统功能结构图

系统功能模块设计分为前台功能模块设计和后台功能模块设计。前台功能模块设计主要包括:用户注册、用户登陆、用户管理,班级管理、留言板。后台功能模块设计主要包括:前台首页、用户管理、用户管理。

网站系统模块 前台网站首页

图1 网站系统结构图

后台管理首页

图 2 前台功能模块结构图

前台模块 用户登录班级留言班级足迹公告管理成员地址班级相册留言板退出 更改资料留言添加相册删除相册修改留言删除留言 后台模块 前台首页用户管理 班 管 级理留言管理系统管理

网站的具体结构如图2所示,在首页上共有7个大的功能菜单,每个菜单链接一个功能页面,每个页面实现不同功能。

图 3 后台功能模块结构图

图4

充分利用ASP的强大功能,在网站中提供留言簿、公告栏等交流场所,为同学们展开信息交流提供方便。

3 系统E-R图设计

登陆实体E-R图

游客 注 册 个人资料 组 成 个人资料 查询浏览 登陆 留言 管理员 管理 相册 管理 留言 存入 后台信息 图5 登陆实体E-R图

管理员信息实体E-R图

名字 密码

图6 管理员实体E-R图

同学信息实体E-R图

图7同学实体E-R图

OICQ 备注 邮箱 名字 地址 性别 权限 地址 管理员信息 同学信息

4、数据库设计

数据库设计指的是在现在数据库管理系统上建立数据库的过程,它的主

要内容是:在编写数据库应用程序之前,应该组织建立什么样的数据库,包括组织建立多少个数据库为适宜,每个数据库都有几个字段,每个库的主关键字和外部关键字以及各个表之间的关联,如何传递数据。

在数据库的设计中,尽量充分地考虑到用户各个方面功能上的需求,以前数据库理论的主要规则。用户的需求具体体现在各种信息的提供、保存、更新和查询等方面,这就要求数据库结构能充分满足各种信息的输入和输出。所以搭建起后台数据库也就成为最基础、最首要做的工作。本站应用了功能强大的Access数据库。

本网站采用的数据库是Microsoft Access ,建立库文件,包含如下几个表文件:

claim 网站公告信息表

Loginfo 来访登陆时间信息表

mssg 留言信息表;

photo 图片内容说明信息表

user 成员地址信息表

5 系统详细设计

5.1网站布局和格式

首先要规划好网站的结构,对网站的网页大体布局有一个具体的轮廓。并且为网站的主页及二级页面确定一个共同的格式,包括整个页面的颜色,宽度,阴影,背景,字体的大小颜色这就需要我们制作一个超文本样式表.css文件,以供每个网页调用。

为网站设计一个主页面使用DreameWeaver MX来制作。还要用到HTML语言、VBScript、JavaScript等。将前面说到的功能和内容以菜单的形式列出在主页上,级联菜单上是一些具体的功能和内容。当然,这个菜单是用JavaScript编

制出来的一个函数,然后,在每一个菜单文件的代码中再调用这个函数,其它的菜单也可以用同样的代码来实现。同样,对于二级页面的设计以及其它页面的设计也是与主页相同。如果这些页面的主要部分与先前设计的主页主体部分风格和布局以及菜单都相同,那么我们就可以先建立一个空的含菜单的文件作为模板,以后每建立一个类似的页面,就可以调用此模板文件,在此基础上再进行修改、补充[8]。

5.2注册和登录模块设计

注册登录模块是系统的门户,在整个系统中占有重要的地位。它的主要功能是根据用户的录入信息进行身份识别,排除非法用户对本系统的使用,对合法用户则按照不同的级别分类处理,从而保证系统的运行安全,用户进入主页面后,要想法使用其他菜单的功能必须先进行注册,在将表单提交后,调用相应的程序进行处理。处理程序首先与数据库连接,查看是否存在同名和同密码的用户,若存在则显示提示信息,并重新返回注册表单,用户输入新的信息进行重新注册;若不存在同名且同密码的用户,则将注册信息写入数据库。

如若用户已经注册,则可输入名称和密码进入,在此过程中验证名称和密码是否相符以及在登录过程中用户的请求是否被允许从而显示不同的提示页面。 用户登录的流程图如图4所示。

是否首次登录? 是 进行注册表单的填写 填写登录的用户名和密码 提交 连接数据库并以用户名进行查寻 击点返回输入密码与数据库中的是否给出各种错误提示并返回登录框 是 进入网站界

图4流程图

通过在表单输入“用户名”和“密码”后点击“登录”提交表单,激活后台登录程序。如果“用户名”和“密码”匹配就可以进入,反之显示错误提醒页面。若登录成功,登录程序会把登录用户的信息写进Cookies,供以后各项功能实现时使用。

如果成功登录后将出现如图5的界面:

图5

5.3留言功能模块的设计

Web留言板类似于BBS,但BBS的版面过多,不同的留言放在不同的主题中,由于庞大的信息量影响到网页信息搜索的速度,不适合应用于小型网站。本文所设计的是用于一个班级同学之间进行信息交流的场所,规模小、设计简单的Web留言版就可以实现信息交流的功能,而且它小巧简单,因此更易于实现,在速度上比BBS也占优。

系统功能分析:(1)登录,已经注册的用户可以在登录界面输入正确的用户名和密码,就能够直接进入到留言板页面,同时不相关的信息写到Cookies数据集里,供以后各项功能实现时使用;(2)注册,如果是新用户,想进入留言板就必须通过注册,得到批准成为合法用户而取得留言及其权限;(3)留言,已经取得合法权限的用户可以在留言板里进行留言,或查看留言。

动态网页要处理很多信息,这些庞大的信息一般交给后台数据库去处理。而Web数据库应用系统则通过Internet平台连接数据库,取得数据集,对其进行添加、修改、查询、删除等操作。对数据库进行的各种操作,可以通过使用SQL语言来实现。本文设计的留言板是以Access 2000作为后台数据库。以操作接口而论,具备方便、简易的特性,同时能完全利用Windows资源。ASP通过使用ADO所提供的对象及方法,能帮助用户建立各式各样,符合用户需求的Web数据库应用系统——OLEDB。OLEDB是连接数据库的新低层界面。它能处理任何类型的数据,无论它们的格式和保存方式是什么。程序开发者并不需要确切去了解其结构,只需要懂得如何利用它去连接数据库即可。

在本留言板中,利用Microsoft Access2000建立了1个data.mdb数据库,而在其里面包含了2个表:user和mssg。整个留言板的所有信息交流都以这2个表为基础,所有数据的存取都通过对这2个表而进行操作。表user是用来存放注册用户的资料,表mssg是用来存放所有留言的信息。在完成数据库制作后,我

们在对数据库进行存取前,必须要进行数据库的连接工作,进行数据库连接的方式有几种,其中1种是通过“控制面板”→“管理工具”→“数据源(ODBC)”来设置系统DSN。完成系统DSN设置后,就可以通过ADO对象对数据库进行存取操作了。 5.3.1浏览留言

用户可以在该页面浏览全部的留言,这些留言都存放在表mssg里,页面MSGBOARD.ASP中的显示留言,可通过对表mssg操作而显示到页面上。随着留言的增多,如果在一个页面里留言全部的留言,可想而知是非常不方便的,因此本设计为留言板提供了分页显示功能。通过ASP提供的Recordset的AbsolutePage就可以轻松的对数量繁多的留言进行有条理的分页显示。 5.3.2发布留言

任何的注册用户登录后都拥有发布留言的权利,在留言主页面提供了用来发布留言的输入框,用户可以通过表单发表留言,并选择留言主题的标志,发布留言是通过程序MSGADD.ASP来实现的。

发布留言程序先以登录后写进Cookies数据集合中的用户名作为发布者的姓名,如果Cookies是空的话,就转到提示要先登录的页面。确认后接受表单提交来的信息写进表mssg中。然后转回到MSGBOARD.ASP留言页面,而MSGBOARD.ASP中的显示留言程序根据更新后的表mssg而重新分页显示留言。

5.4资料修改功能模块的设计

用户在主页面上点击“修改资料”进入资料修改页面memberedit.ASP,通过这个功能模块来修改个人的注册信息,但用户名不能修改。修改之前用户必须要输入正确的密码。而修改密码的时候2次输入的密码要相同。修改资料功能是通过程序memberedit.ASP来实现,如果资料修改成功就转到提示修改成功的页面并修改表user的数据,如果不成功便转到相应提示错误的页面。

5.5 相片上传与浏览的设计

用户还可以将自己喜欢的相片上传供其他用户浏览。用户在主页面上点击“班级相册”进入页面photo.ASP。相片的上传:由于ASP使用基于开放设计环境的ActiveX技术,本留言板即利用ActiveX组件ASPSmartUpload来实现相片上传功能。该组件在下载并安装后方可使用。相片的上传是通过文件upload.ASP的上传程序up来实现的,并将上传相片的所有信息都存放在表upload里,包括相片的名称、说明、上传时间、上传人姓名等。而且对于上传的相片的类型和大小都有所,只能上传jpg和gif类型的相片,而且相片大小不能超过300K。如果用户上传的相片不符合要求,程序便进行判断,并显示错误原因,

5.6相片的列表与显示

该功能是把所有相片的相关信息如相片的说明、上传时间、上传人姓名等通过列表的方式显示出来,由于相片的数量可能很多,因此在这里也使用了分页显示,并在每张相片的说明文字上添加链接,用户通过点击链接就可以激活photo.ASP中的程序,实现浏览相片功能。

总结

通过这次毕业设计,我从中学到了许多新的知识,而且通过这次毕业设计,培养了我综合多门学科中的知识、迅速规划并开发出目标系统的能力,以及编程能力也有了很大的提高。另外也有许多心得体会,所谓系统开发如人生百味,酸甜苦辣皆有之。

回顾这3个半月的系统开发工作,总结起来那就是,软件的开发是相当辛苦的,但成功以后的喜悦也是非常美妙的,而且我发现,其中你投入的心血越多,成功以后你所获得的快乐与充实感也更多更强。

参考文献

1. 肖金秀等.Dreamweaver网页实例大制作[M].北京:冶金工业出版社,2001. 2. 肖金秀等.ASP网络编程技术[M].北京:清华大学出版社,2001.

3. 张大斌. Web 上基于 ASP 的数据库应用研究[J ]. 计算机工程与科学 , 2001. 4. 沈文智. Microsoft IIS 网页技术[M]. 北京 :人民邮电出版社 ,1998. 5. 谭浩强,网页制作技术[M].北京:清华大学出版社。2000.

目录

引言 ................................................................................................................................................ 2 1.网站结构设计 ............................................................................................................................ 3 2系统功能结构图 ......................................................................................................................... 3 3 系统E-R图设计 ........................................................................................................................ 5 4 数据库设计 ................................................................................................................................ 7 5 系统详细设计 ............................................................................................................................ 8 5.1网站布局和格式 .................................................................................................................. 8 5.2注册和登录模块设计 .......................................................................................................... 9 5.3留言功能模块的设计 ........................................................................................................ 11 5.4资料修改功能模块的设计 ................................................................................................ 12 5.5 相片上传与浏览的设计 .................................................................................................. 12 5.6相片的列表与显示 ............................................................................................................ 13 总结 .............................................................................................................................................. 14 参考文献 ...................................................................................................................................... 15

班级网站设计

引言

伴随着网络的出现,网页逐渐融入人们的生活。快速及时的新闻浏览,五彩缤纷的网上信息,使网络与人们的生活息息相关,于是世界上又出现了第三媒体——Internet。它打破了地域,真正使信息得以共享,改变了人们的工作和生活方式。制作网页是企业和个人的宣传自己的重要手段,同时也是学习者获取学习信息的重要手段。尤其是在新闻信息领域,各种新闻信息的发布分秒变换,人们对新闻信息的需求有了更新,更高的要求,而网页由于本身所具有的信息量大,传递快速,没有时空等特点恰好满足这种要求。所以网页也逐渐成为一种新兴的信息发布资源。也正是由于网络实现网站的数据信息能够进行实时交互,保证网站数据的实时性。

随着Internet的进一步发展,静态Web站点的开发与维护变得越来越困难,一方面信息的不断增加和变化,使站点维护人员不得不经常修改他们的网页,特别是基于数据库驱动的Web站点更是如此,随着Internet上信息量的增多和交互性的加强使HTML显得越来越难以胜任。另一方面静态网页由于不能与浏览者进行有效交互,使人们感到越来越乏味,而不愿意再一次地进入同一站点。所以开发动态网页或动态内容成了越来越多的站点所追求目标。所谓动态内容是由每一个用户按照自己的需求发出请求而特殊制作的Web网页。

网络发展前景无限,及早与网络结合,与信息时代同步,与高科技汇合,定会给社会各行各业的发展注入新鲜的活力。站在网络时代的前夜,我们清晰地听到了网络时代的宣言:谁掌握了网络,谁就掌握了未来。

正文内容:

1.网站结构设计

网站主页采用静、动相结合的方式,即静态的主画面和动态的图片相结合,体现班级的勃勃生气,网站布局应该以轻松、简洁的风格为主,同时使用一定的图形和多媒体元素,将整个网页分成四个部分(如图1)

第一部分 第二部分 第三部分 第四部分 图1 页面布局

第一部分主要用来放置网站的标志图片;第二部分与第四部分主要用来放置一些功能链接;第三部分是主体部分,放置班级信息、留言、公告模块等。

2系统功能结构图

系统功能模块设计分为前台功能模块设计和后台功能模块设计。前台功能模块设计主要包括:用户注册、用户登陆、用户管理,班级管理、留言板。后台功能模块设计主要包括:前台首页、用户管理、用户管理。

网站系统模块 前台网站首页

图1 网站系统结构图

后台管理首页

图 2 前台功能模块结构图

前台模块 用户登录班级留言班级足迹公告管理成员地址班级相册留言板退出 更改资料留言添加相册删除相册修改留言删除留言 后台模块 前台首页用户管理 班 管 级理留言管理系统管理

网站的具体结构如图2所示,在首页上共有7个大的功能菜单,每个菜单链接一个功能页面,每个页面实现不同功能。

图 3 后台功能模块结构图

图4

充分利用ASP的强大功能,在网站中提供留言簿、公告栏等交流场所,为同学们展开信息交流提供方便。

3 系统E-R图设计

登陆实体E-R图

游客 注 册 个人资料 组 成 个人资料 查询浏览 登陆 留言 管理员 管理 相册 管理 留言 存入 后台信息 图5 登陆实体E-R图

管理员信息实体E-R图

名字 密码

图6 管理员实体E-R图

同学信息实体E-R图

图7同学实体E-R图

OICQ 备注 邮箱 名字 地址 性别 权限 地址 管理员信息 同学信息

4、数据库设计

数据库设计指的是在现在数据库管理系统上建立数据库的过程,它的主

要内容是:在编写数据库应用程序之前,应该组织建立什么样的数据库,包括组织建立多少个数据库为适宜,每个数据库都有几个字段,每个库的主关键字和外部关键字以及各个表之间的关联,如何传递数据。

在数据库的设计中,尽量充分地考虑到用户各个方面功能上的需求,以前数据库理论的主要规则。用户的需求具体体现在各种信息的提供、保存、更新和查询等方面,这就要求数据库结构能充分满足各种信息的输入和输出。所以搭建起后台数据库也就成为最基础、最首要做的工作。本站应用了功能强大的Access数据库。

本网站采用的数据库是Microsoft Access ,建立库文件,包含如下几个表文件:

claim 网站公告信息表

Loginfo 来访登陆时间信息表

mssg 留言信息表;

photo 图片内容说明信息表

user 成员地址信息表

5 系统详细设计

5.1网站布局和格式

首先要规划好网站的结构,对网站的网页大体布局有一个具体的轮廓。并且为网站的主页及二级页面确定一个共同的格式,包括整个页面的颜色,宽度,阴影,背景,字体的大小颜色这就需要我们制作一个超文本样式表.css文件,以供每个网页调用。

为网站设计一个主页面使用DreameWeaver MX来制作。还要用到HTML语言、VBScript、JavaScript等。将前面说到的功能和内容以菜单的形式列出在主页上,级联菜单上是一些具体的功能和内容。当然,这个菜单是用JavaScript编

制出来的一个函数,然后,在每一个菜单文件的代码中再调用这个函数,其它的菜单也可以用同样的代码来实现。同样,对于二级页面的设计以及其它页面的设计也是与主页相同。如果这些页面的主要部分与先前设计的主页主体部分风格和布局以及菜单都相同,那么我们就可以先建立一个空的含菜单的文件作为模板,以后每建立一个类似的页面,就可以调用此模板文件,在此基础上再进行修改、补充[8]。

5.2注册和登录模块设计

注册登录模块是系统的门户,在整个系统中占有重要的地位。它的主要功能是根据用户的录入信息进行身份识别,排除非法用户对本系统的使用,对合法用户则按照不同的级别分类处理,从而保证系统的运行安全,用户进入主页面后,要想法使用其他菜单的功能必须先进行注册,在将表单提交后,调用相应的程序进行处理。处理程序首先与数据库连接,查看是否存在同名和同密码的用户,若存在则显示提示信息,并重新返回注册表单,用户输入新的信息进行重新注册;若不存在同名且同密码的用户,则将注册信息写入数据库。

如若用户已经注册,则可输入名称和密码进入,在此过程中验证名称和密码是否相符以及在登录过程中用户的请求是否被允许从而显示不同的提示页面。 用户登录的流程图如图4所示。

是否首次登录? 是 进行注册表单的填写 填写登录的用户名和密码 提交 连接数据库并以用户名进行查寻 击点返回输入密码与数据库中的是否给出各种错误提示并返回登录框 是 进入网站界

图4流程图

通过在表单输入“用户名”和“密码”后点击“登录”提交表单,激活后台登录程序。如果“用户名”和“密码”匹配就可以进入,反之显示错误提醒页面。若登录成功,登录程序会把登录用户的信息写进Cookies,供以后各项功能实现时使用。

如果成功登录后将出现如图5的界面:

图5

5.3留言功能模块的设计

Web留言板类似于BBS,但BBS的版面过多,不同的留言放在不同的主题中,由于庞大的信息量影响到网页信息搜索的速度,不适合应用于小型网站。本文所设计的是用于一个班级同学之间进行信息交流的场所,规模小、设计简单的Web留言版就可以实现信息交流的功能,而且它小巧简单,因此更易于实现,在速度上比BBS也占优。

系统功能分析:(1)登录,已经注册的用户可以在登录界面输入正确的用户名和密码,就能够直接进入到留言板页面,同时不相关的信息写到Cookies数据集里,供以后各项功能实现时使用;(2)注册,如果是新用户,想进入留言板就必须通过注册,得到批准成为合法用户而取得留言及其权限;(3)留言,已经取得合法权限的用户可以在留言板里进行留言,或查看留言。

动态网页要处理很多信息,这些庞大的信息一般交给后台数据库去处理。而Web数据库应用系统则通过Internet平台连接数据库,取得数据集,对其进行添加、修改、查询、删除等操作。对数据库进行的各种操作,可以通过使用SQL语言来实现。本文设计的留言板是以Access 2000作为后台数据库。以操作接口而论,具备方便、简易的特性,同时能完全利用Windows资源。ASP通过使用ADO所提供的对象及方法,能帮助用户建立各式各样,符合用户需求的Web数据库应用系统——OLEDB。OLEDB是连接数据库的新低层界面。它能处理任何类型的数据,无论它们的格式和保存方式是什么。程序开发者并不需要确切去了解其结构,只需要懂得如何利用它去连接数据库即可。

在本留言板中,利用Microsoft Access2000建立了1个data.mdb数据库,而在其里面包含了2个表:user和mssg。整个留言板的所有信息交流都以这2个表为基础,所有数据的存取都通过对这2个表而进行操作。表user是用来存放注册用户的资料,表mssg是用来存放所有留言的信息。在完成数据库制作后,我

们在对数据库进行存取前,必须要进行数据库的连接工作,进行数据库连接的方式有几种,其中1种是通过“控制面板”→“管理工具”→“数据源(ODBC)”来设置系统DSN。完成系统DSN设置后,就可以通过ADO对象对数据库进行存取操作了。 5.3.1浏览留言

用户可以在该页面浏览全部的留言,这些留言都存放在表mssg里,页面MSGBOARD.ASP中的显示留言,可通过对表mssg操作而显示到页面上。随着留言的增多,如果在一个页面里留言全部的留言,可想而知是非常不方便的,因此本设计为留言板提供了分页显示功能。通过ASP提供的Recordset的AbsolutePage就可以轻松的对数量繁多的留言进行有条理的分页显示。 5.3.2发布留言

任何的注册用户登录后都拥有发布留言的权利,在留言主页面提供了用来发布留言的输入框,用户可以通过表单发表留言,并选择留言主题的标志,发布留言是通过程序MSGADD.ASP来实现的。

发布留言程序先以登录后写进Cookies数据集合中的用户名作为发布者的姓名,如果Cookies是空的话,就转到提示要先登录的页面。确认后接受表单提交来的信息写进表mssg中。然后转回到MSGBOARD.ASP留言页面,而MSGBOARD.ASP中的显示留言程序根据更新后的表mssg而重新分页显示留言。

5.4资料修改功能模块的设计

用户在主页面上点击“修改资料”进入资料修改页面memberedit.ASP,通过这个功能模块来修改个人的注册信息,但用户名不能修改。修改之前用户必须要输入正确的密码。而修改密码的时候2次输入的密码要相同。修改资料功能是通过程序memberedit.ASP来实现,如果资料修改成功就转到提示修改成功的页面并修改表user的数据,如果不成功便转到相应提示错误的页面。

5.5 相片上传与浏览的设计

用户还可以将自己喜欢的相片上传供其他用户浏览。用户在主页面上点击“班级相册”进入页面photo.ASP。相片的上传:由于ASP使用基于开放设计环境的ActiveX技术,本留言板即利用ActiveX组件ASPSmartUpload来实现相片上传功能。该组件在下载并安装后方可使用。相片的上传是通过文件upload.ASP的上传程序up来实现的,并将上传相片的所有信息都存放在表upload里,包括相片的名称、说明、上传时间、上传人姓名等。而且对于上传的相片的类型和大小都有所,只能上传jpg和gif类型的相片,而且相片大小不能超过300K。如果用户上传的相片不符合要求,程序便进行判断,并显示错误原因,

5.6相片的列表与显示

该功能是把所有相片的相关信息如相片的说明、上传时间、上传人姓名等通过列表的方式显示出来,由于相片的数量可能很多,因此在这里也使用了分页显示,并在每张相片的说明文字上添加链接,用户通过点击链接就可以激活photo.ASP中的程序,实现浏览相片功能。

总结

通过这次毕业设计,我从中学到了许多新的知识,而且通过这次毕业设计,培养了我综合多门学科中的知识、迅速规划并开发出目标系统的能力,以及编程能力也有了很大的提高。另外也有许多心得体会,所谓系统开发如人生百味,酸甜苦辣皆有之。

回顾这3个半月的系统开发工作,总结起来那就是,软件的开发是相当辛苦的,但成功以后的喜悦也是非常美妙的,而且我发现,其中你投入的心血越多,成功以后你所获得的快乐与充实感也更多更强。

参考文献

1. 肖金秀等.Dreamweaver网页实例大制作[M].北京:冶金工业出版社,2001. 2. 肖金秀等.ASP网络编程技术[M].北京:清华大学出版社,2001.

3. 张大斌. Web 上基于 ASP 的数据库应用研究[J ]. 计算机工程与科学 , 2001. 4. 沈文智. Microsoft IIS 网页技术[M]. 北京 :人民邮电出版社 ,1998. 5. 谭浩强,网页制作技术[M].北京:清华大学出版社。2000.

Christopher Tolkien AINULINDAL? The Music of the Ainur

There was Eru, the One, who in Arda is called Il鷙atar; and he made first the Ainur, the Holy Ones, that were the offspring of his thought, and they were with him before aught else was made. And he spoke to them, propounding to them themes of music; and they sang before him, and he was glad. But for a long while they sang only each alone, or but few together, while the rest hearkened; for each comprehended only that part of me mind of Il鷙atar from which he came, and in the understanding of their brethren they grew but slowly. Yet ever as they listened they came to deeper understanding, and increased in unison and harmony.

And it came to pass that Il鷙atar called together all the Ainur and declared to them a mighty theme, unfolding to them things greater and more wonderful than he had yet revealed; and the glory of its beginning and the splendour of its end amazed the Ainur, so that they bowed before Il鷙atar and were silent.

Then Il鷙atar said to them: 'Of the theme that I have declared to you, I will now that ye make in harmony together a Great Music. And since I have kindled you with the Flame Imperishable, ye shall show forth your powers in adorning this theme, each with his own thoughts and devices, if he will. But I win sit and hearken, and be glad that through you great beauty has been wakened into song.'

Then the voices of the Ainur, like unto harps and lutes, and pipes and trumpets, and viols and organs, and like unto countless choirs singing with words, began to fashion the theme of Il鷙atar to a great music; and a sound arose of endless interchanging melodies woven in harmony that passed beyond hearing into the depths and into the heights, and the places of the dwelling of Il鷙atar were filled to overflowing, and the music and the echo of the music went out into the Void, and it was not void. Never since have the Ainur made any music like to this music, though it has been said that a greater still shall be made before Il鷙atar by the choirs of the Ainur and the Children of Il鷙atar after the end of days. Then the themes of Il鷙atar shall be played aright, and take Being in the moment of their utterance, for all shall then understand fully his intent in their part, and each shall know the comprehension of each, and Il鷙atar shall give to their thoughts the secret fire, being well pleased.

But now Il鷙atar sat and hearkened, and for a great while it seemed good to him, for in the music there were no flaws. But as the theme progressed, it came into the heart of Melkor to interweave matters of his own imagining that were not in accord with the theme of Il鷙atar, for he sought therein to increase the power and glory of the part assigned to himself. To Melkor among the Ainur had been given the greatest gifts of power and knowledge, and he had a share in all the gifts of his brethren. He had gone often alone into the void places seeking the Imperishable Flame; for desire grew hot within him to bring into Being things of his own, and it seemed to him that Il鷙atar took no thought for the Void, and he was impatient of its emptiness. Yet he found not the Fire, for it is with Il鷙atar. But being alone he had begun to conceive thoughts of his own unlike those of his brethren.

Some of these thoughts he now wove into his music, and straightway discord arose about him, and many that sang nigh him grew despondent, and their thought was disturbed and their music faltered; but some began to attune their music to his rather than to the thought which they had at first. Then the discord of Melkor spread ever wider, and the melodies which had been heard before foundered in a sea of turbulent sound. But Il鷙atar sat and hearkened until it seemed that about his throne there was a raging storm, as of dark waters that made war one upon another in an endless wrath that would not be assuaged.

Then Il鷙atar arose, and the Ainur perceived that he smiled; and he lifted up his left hand, and a new theme began amid the storm, like and yet unlike to the former theme, and it gathered power and had new beauty. But the discord of Melkor rose in uproar and contended with it, and again there was a war of sound more violent than before, until many of the Ainur were dismayed and sang no longer, and Melkor had the mastery. Then again Il鷙atar arose, and the Ainur perceived that his countenance was stern; and he lifted up his right hand, and behold! a third theme grew amid the confusion, and it was unlike the others. For it seemed at first soft and sweet, a mere rippling of gentle sounds in delicate melodies; but it could not be quenched, and it took to itself power and profundity. And it seemed at last that there were two musics progressing at one time before the seat of Il鷙atar, and they were utterly at variance. The one was deep and wide and beautiful, but slow and blended with an immeasurable sorrow, from which its beauty chiefly came. The other had now achieved a unity of its own; but it was loud, and vain, and endlessly repeated; and it had little harmony, but rather a clamorous unison as of many trumpets braying upon a few notes. And it essayed to drown the other music by the violence of its voice, but it seemed that its most triumphant notes were taken by the other and woven into its own solemn pattern.

In the midst of this strife, whereat the halls of Il鷙atar shook and a tremor ran out into the silences yet unmoved, Il鷙atar arose a third time, and his face was terrible to behold. Then he raised up both his hands, and in one chord, deeper than the Abyss, higher than the Firmament, piercing as the light of the eye of Il鷙atar, the Music ceased.

Then Il鷙atar spoke, and he said: 'Mighty are the Ainur, and mightiest among them is Melkor; but that he may know, and all the Ainur, that I am Il鷙atar, those things that ye have sung, I will show them forth, that ye may see what ye have done. And thou, Melkor, shalt see that no theme may be played that hath not its uttermost source in me, nor can any alter the music in my despite. For he that attempteth this shall prove but mine instrument in the devising of things more wonderful, which he himself hath not imagined.'

Then the Ainur were afraid, and they did not yet comprehend the words that were said to them; and Melkor was filled with shame, of which came secret anger. But Il鷙atar arose in splendour, and he went forth from the fair regions that he had made for the Ainur; and the Ainur followed him.

But when they were come into the Void, Il鷙atar said to them: 'Behold your Music!' And he showed to them a vision, giving to them sight where before was only hearing; arid they saw a new World made visible before them, and it was globed amid the Void, and it was sustained therein, but was not of it. And as they looked and wondered this World began to unfold its history, and it seemed to them that it lived and grew. And when the Ainur had gazed for a while and were silent, Il鷙atar said again: 'Behold your Music! This is your minstrelsy; and each of you shall find contained herein, amid the design that I set before you, all those things which it may seem that he himself devised or added. And thou, Melkor, wilt discover all the secret thoughts of thy mind, and wilt perceive that they are but a part of the whole

and tributary to its glory.'

And many other things Il鷙atar spoke to the Ainur at that time, and because of their memory of his words, and the knowledge that each has of the music that he himself made, the Ainur know much of what was, and is, and is to come, and few things are unseen by them. Yet some things there are that they cannot see, neither alone nor taking counsel together; for to none but himself has Il鷙atar revealed all that he has in store, and in every age there come forth things that are new and have no foretelling, for they do not proceed from the past. And so it was that as this vision of the World was played before them, the Ainur saw that it contained things which they had not thought. And they saw with amazement the coming of the Children of Il鷙atar, and the habitation that was prepared for them; and they perceived that they themselves in the labour of their music had been busy with the preparation of this dwelling, and yet knew not that it had any purpose beyond its own beauty. For the Children of Il鷙atar were conceived by him alone; and they came with the third theme, and were not in the theme which Il鷙atar propounded at the beginning, and none of the Ainur had part in their making. Therefore when they beheld them, the more did they love them, being things other than themselves, strange and free, wherein they saw the mind of Il鷙atar reflected anew, and learned yet a little more of his wisdom, which otherwise had been hidden even from the Ainur.

Now the Children of Il鷙atar are Elves and Men, the Firstborn and the Followers. And amid all the splendours of the World, its vast halls and spaces, and its wheeling fires, Il鷙atar chose a place for their habitation in the Deeps of Time and in the midst of the innumerable stars. And this habitation might seem a little thing to those who consider only the majesty of the Ainur, and not their terrible sharpness; as who should take the whole field of Arda for the foundation of a pillar and so raise it until the cone of its summit were more bitter than a needle; or who consider only the immeasurable vastness of the World, which still the Ainur are shaping, and not the minute precision to which they shape all things therein. But when the Ainur had beheld this habitation in a vision and had seen the Children of Il鷙atar arise therein, then many of the most mighty among them bent all their thought and their desire towards that place. And of these Melkor was the chief, even as he was in the beginning the greatest of the Ainur who took part in the Music. And he feigned, even to himself at first, that he desired to go thither and order all things for the good of the Children of Il鷙atar, controlling the turmoils of the heat and the cold that had come to pass through him. But he desired rather to subdue to his will both Elves and Men, envying the gifts with which Il鷙atar promised to endow them; and he wished himself to have subject and servants, and to be called Lord, and to be a master over other wills.

But the other Ainur looked upon this habitation set within the vast spaces of the World, which the Elves call Arda, the Earth; and their hearts rejoiced in light, and their eyes beholding many colours were filled with gladness; but because of the roaring of the sea they felt a great unquiet. And they observed the winds and the air, and the matters of which Arda was made, of iron and stone and silver and gold and many substances: but of all these water they most greatly praised. And it is said by the Eldar that in water there lives yet the echo of the Music of the Ainur more than in any substance else that is in this Earth; and many of the Children of Il鷙atar hearken still unsated to the voices of the Sea, and yet know not for what they listen.

Now to water had that Ainu whom the Elves can Ulmo turned his thought, and of all most deeply was he instructed by Il鷙atar in music. But of the airs and winds Manw?most had pondered, who is the noblest of the Ainur. Of the fabric of Earth had Aul?thought, to whom Il鷙atar had given skin and knowledge scarce less than to Melkor; but the delight and pride of Aul?is in the deed of making, and in the thing made, and neither in possession nor in his own mastery; wherefore he gives and hoards not, and is free from care, passing ever on to some new work.

And Il鷙atar spoke to Ulmo, and said: 'Seest thou not how here in this little realm in the Deeps of Time Melkor hath made war upon thy province? He hath bethought him of bitter cold immoderate, and yet hath not destroyed the beauty of thy fountains, nor of my clear pools. Behold the snow, and the cunning work of frost! Melkor hath devised heats and fire without restraint, and hath not dried up thy desire nor utterly quelled the music of the sea. Behold rather the height and glory of the clouds, and the everchanging mists; and listen to the fall of rain upon the Earth! And in these clouds thou art drawn nearer to The Silmarillion, now published four years after the death of its author, is an account of the Elder Days, or the First Age of the World. In The Lord of the Rings were narrated the great events at the end of the Third Age; but the tales of The Silmarillion are legends deriving from a much deeper past, when Morgoth, the first Dark Lord, dwelt in Middle-earth, and the High Elves made war upon him for the recovery of the Silmarils.

Not only, however, does The Silmarillion relate the events of a far earlier time than those of The Lord of the Rings; it is also, in all the essentials of its conception, far the earlier work. Indeed,

although it was not then called The Silmarillion, it was already in being half a century ago; and in battered notebooks extending back to 1917 can still be read the earliest versions, often hastily pencilled, of the central stories of the mythology. But it was never published (though some indication of its content could be gleaned from The Lord of the Rings), and throughout my father's long life he never abandoned it, nor ceased even in his last years to work on it. In all that time The Silmarillion, considered simply as a large narrative structure, underwent relatively little radical change; it became long ago a fixed tradition, and background to later writings. But it was far indeed from being a fixed text, and did not remain unchanged even in certain fundamental ideas concerning the nature of the world it portrays; while the same legends came to be retold in longer and shorter forms, and in different styles. As the years passed the changes and variants, both in detail and in larger perspectives, became so complex, so pervasive, and so many-layered that a final and definitive version seemed unattainable. Moreover the old legends ('old' now not only in their derivation from the remote First Age, but also in terms of my father's life) became the vehicle and depository of his profoundest reflections. In h is later writing mythology and poetry sank down behind his theological and philosophical preoccupations: from which arose incompatibilities of tone.

I was astonished while watching the news on NHK when the announcer suddenly began talking about me. \"...and that concludes our news about Vietnam. Next, domestic topics.

\"Today, Mr. Tsutomu Morishita invited Miss Akiko Mikawa, a typist at his company, out to tea, but was refused. This was the fifth time Mr. Morishita had invited Miss Mikawa out to tea, though she'd only agreed to accompany him on the first occasion. Since then, he had been turned down repeatedly.\" \"Huh? What, what, what!!\"

I banged my cup down on the low table and my eyes widened. \"Wh-what the devil is this!\" My mug shot filled the screen.

\"The reason for Miss Mikawa's refusal of Mr. Morishita's invitation for a date is not yet known,\" continued the announcer. \"However, according to Miss Hiruma Sakamoto, Miss Mikawa's friend and co-worker, Miss Mikawa does not necessarily dislike Mr. Morishita. It is likely that the reason she refused is that she simply does not like him all that much.\"

A head and shoulders shot of Akiko Mikawa loomed on the screen.

\"From this, it is believed that Mr. Morishita did not make a particularly strong impression on Miss Mikawa the first time she had tea with him. Meanwhile, informed sources report that tonight Mr. Morishita did not go anywhere after work, but returned directly to his lodgings, where he prepared and is eating dinner by himself. That concludes our news about Mr. Morishita. \"In other news, this evening is the night festival at the Yakuyoke Hachiman Shrine in Mizugaoka, Kobe. Let's go to our live report on the festivities from Mr. Mizuno, reporting from the scene.\" \"Yes! Mizuno here...\"

I sat dazed, blankly watching the screen as the television broadcast the next story.

\"Whew, that was a shock,\" I murmured at last. It was an hallucination. It had to be. An illusion, and an auditory hallucination at that. Anything else was unthinkable. In the first place, what was the point of reporting that I had invited Akiko Misawa out, and that I had been soundly turned down as usual? It had no news value.

Still, for an hallucination, the photographs of myself and Akiko Mikawa shown on the screen, the style of character used for our names underneath, and the way the announcer had spoken lingered all too vividly in my memory. I shook my head violently. \"Impossible!\"

The news ended. I nodded decisively, then declared resolutely. \"It󰀀Ls an illusion. Yes. An illusion.\" I murmured on.

\"I guess there really are illusion as clear as this one.\"

\"Ha ha ha ha ha!\" I laughed. The sound of my low laughter echoed in the four-and-a-half tatami-mat room.

I tried imagining what would happen if the story really had been broadcast. If Akiko Mikawa had seen it, or if the guys at the office had seen it, what on earth would they think? I burst out laughing again at the thought, and it just wouldn't stop. \"Ah-hahah! Hahahahahahaha! Hee,hee! Hahahahahahaha!\"

Even after I'd burrowed into my futon, I still couldn't stop laughing for some time.

The next morning I was on the human interest page of the newspaper.

MISS MIKAWA REFUSES MR. MORISHITA'S INVITATION!

\"At approximately 4:40 p.m. on the 18th, Mr. Tsutomu Morishita(28), employee of Kasuyama Electric Industry Ltd. of Sanko-machi, Shinjuku Ward, Tokyo, was turned down after asking Miss Akiko Mikawa(23), a typist at the same company, to have tea with him after work. Miss Mikawa said she had to return home early. When he asked Miss Mikawa in the hall, Mr.Morishita was wearing a red necktie with green polka dots purchased the previous day at a Shinjuku supermarket. \"Mr. Morishita had no choice but

This is the assignment essay for the summer vacation.

The assignment was to write an essay titled \"A Summer Vacation Trip\". I heard that Kano had been to Hawaii with his mother.

Farther than that, Fujimori's family took her to Canada, which is much farther than Hawaii. But I had no one to take me to a trip because I have neither Father nor Mother.

My Father and Mother died in a traffic accident when I was four years old. Ever since then, I have been living with Grandmother. Everybody is going to make fun of me since I have not travelled anywhere so I cannot write the assignment essay.

Yet, to tell the truth, I've had a trip. I went there alone. This is true.

The place I've been is much much farther than Hawaii or even Canada. It is the North Pole. I'm not lying, not at all.

The reason I could go to such a far place by myself is because I had a letter of invitation from Polar King. The letter went like this:

ywhere appeared. He was thin, short, had two children, and lived in a suburban high-rise. He was chief clerk for general affairs at a shipbuilding company. I became, once again, truly nameless.

I tried asking Akiko out just once after that to see what would happen. I asked if she would meet me after work at a coffee shop. But Akiko refused. Since I know what kind of woman she was. I felt quite satisfied.

After a month, there was no one left who remembered my face apart from my own acquaintances. Yet even so, there were sometimes people who would look startled on seeing my face.

One day, in the train on my way back to my apartment, one of two girls sitting on the seat in front of me had that kind of expression on her face. \"Gosh. I've seen that man before somewhere,\" she whispered, nudging the girl beside her with her elbow. Look. This guy. What does he do, I wonder?\" The other girl gave me an annoyed glance. Finally she replied uninterestedy, \"That guy? Oh, he's just a nobody.\" Dear Kazuhiro Uno, How are you doing? How is your grandmother?

Prices and taxes have gone up too high these days, haven't they?

I suppose, Kazuhiro, you will not go out anywhere during the summer vacation.

But that will give you trouble when the time comes to write the summer assignment essay. So I invite you to the North Pole. The North Pole is a wonderful place. I would be glad if you'd come.

Don't worry about the train fare. Use the ticket I enclosed. I'm looking forward to seeing you. Sincerely,Polar King

I showed the letter to Grandmother right away.

She was very pleased and the next day she got up early in the morning to prepare a lunch box for me.

\"Take extra underwear with you as the North Pole is a cold place,\" said Grandmother, putting my underwear and the lunch box into my bag. She also gave me a thousand yen.

In the morning, Friday, August sixteenth, I set out for the North Pole with my bag.

Leaving home but going in the opposite direction from school, I turned the corner of Tomoe-Ya Candy Store, and went through Hachiman-Mae Mall, passing Sakura Beauty Parlor, then came out in front of Takasu-Hachiman Station. I presented my ticket from Polar King to the ticket taker.

He was surprised at the ticket and said, \"Well, well. You'll go all the way to the North Pole all by yourself? Good boy!\" A train bound for Hagite-Ochiai came along after I'd been waiting on the platform for a while.

There were many people in the train and every one of them gave me a pat on the back when they heard I was visiting the North Pole alone.

Passing the railroad bridge across Kamito River and making stops at stations such as Higashi-Tugumo-Cho and Hachiken-Sakagami, the train arrived at Hagite-Ochiai. I had to change there. I asked a railroad officer at the station which train I should transfer to. There were many people on that train too, but I could find a seat.

The train rushed, rushed and rushed through rice fields, farms and villages, through forests and woods, through big towns and beaches, through mountains and meadows, through railroad bridges and tunnels, and through countless numbers of them. The train seemed going northward and northward. At the northern end of Japan is Hokkaido. I arrived at Hokkaido by train.

According to a railroad officer at Hokkaido Station, the land of Soviet Union is the north of Hokkaido, so you cannot go farther north unless you take a Soviet train.

The officer also told me that Japan and the Soviet Union once had been in a bad mood, fighting, invading territories and once friends,--well, now they are still getting along--besides, there had been countless of various other things that you cannot explain in a word, the numbers of complicating, troublesome affairs between them, therefore the Japanese train cannot go into the Soviet land. So I had to walk from Hokkaido Station to the entrance of the Soviet Union. The entrance of the Soviet Union is the exit of Japan.

I walked up, up to the north through Hokkaido Mall in front of the station, just as told by the railroad officer of Hokkaido Station. Then I came to the end of Japan.

There stood the Soviet entrance gate, as large as the main gate of Tempuku-Ji Temple, and on the entrance was written \"Entrance of the Soviet Union\" in the Soviet language.

I passed through the gate into the Soviet land.

From the gate continues the Soviet Mall. There I walked through up and up to the north. Soon, it was noon.

I was hungry, so I went into the Noodle Heaven in the Soviet Mall and ordered a bowl of noodle soup to have lunch in my bag with, just like when Grandmother and I had been to the Noodle Heaven in Tempuku-Ji Temple Mall to have lunch.

After I finished eating, I paid seventy yen for the noodle, and walked up, up to the north through the mall again.

Then I found myself in front of the Soviet Station. I presented my ticket again to the railroad officer of the Soviet Station and got on the train. The Soviet train ran up and up to the north.

It rushed, rushed and rushed through rice fields, farms and villages, through forests and woods, through big towns and beaches,through mountains and meadows, over railroad bridges and through tunnels, and through countless numbers of them. his trouble!\"

It must cost money to print even a single copy of a newspaper. Who on earth would go to all that expense to plot to drive me crazy? I had absolutely no memory of doing anything to make someone hate me. If anything, I suppose it could be that someone else was in love with Akiko Mikawa. But even then, all I'd gotten from her so far was the cold shoulder.

I figured that anyone who would try a prank on this scale must be a real loony. But there simply wasn't anyone like that around me.

\"Oh dear, it would have been better if I hadn't torn up that newspaper.\" I clicked my tongue at my own short temper. It might have helped me find the criminal, and it would have been evidence once I had him.

to return to his lodgings in Kichijoji's Higashi-machi, where he prepared dinner and ate by himself. After dinner, he is believed to have gone straight to bed as usual. It was the fourth time in a row that Miss Mikawa had turned Mr. Morishita's invitation down.\"

There was a mug shot of me. It was the same one I'd seen on television the night before. There was no picture of Akiko Mikawa. Apparently I was the main subject of the story. I read the article over four or five times while I drank some milk. Then I ripped it into shreds and dumped it in the wastebasket. \"It's a plot,\" I muttered. It's somebody's plot. Damn! Going to all t

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo3.cn 版权所有 湘ICP备2023017654号-3

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务