为了正常的体验网站,请在浏览器设置里面开启Javascript功能!
首页 > 网上人才招聘系统

网上人才招聘系统

2018-03-05 50页 doc 344KB 31阅读

用户头像

is_260251

暂无简介

举报
网上人才招聘系统网上人才招聘系统 毕业设计(论文) 网上人才招聘系统 论文作者姓名: 申请学位专业: 申请学位类别: 指导教师姓名,职称,: 论文提交日期: 网上人才招聘系统 摘 要 随着信息技术的发展,网络在人们生活和交际中的应用越来越广泛。 招聘网站为应聘者提供了方便、快捷的应聘途径。对招聘单位来说,招聘网站也为他们提供了查询、检索应聘者信息的平台,使招聘工作变得轻松易行。应聘者和招聘公司/单位可以在网上通过Internet,突破时间和空间的限制实现工作求职和公司/单位的人才招聘。网上招聘与传统招聘相比具有招聘范围广,...
网上人才招聘系统
网上人才招聘系统 毕业(论文) 网上人才招聘系统 论文作者姓名: 申请学位专业: 申请学位类别: 指导教师姓名,职称,: 论文提交日期: 网上人才招聘系统 摘 要 随着信息技术的发展,网络在人们生活和交际中的应用越来越广泛。 招聘网站为应聘者提供了方便、快捷的应聘途径。对招聘单位来说,招聘网站也为他们提供了查询、检索应聘者信息的平台,使招聘工作变得轻松易行。应聘者和招聘公司/单位可以在网上通过Internet,突破时间和空间的限制实现工作求职和公司/单位的人才招聘。网上招聘与传统招聘相比具有招聘范围广,信息量大,可挑选余地大,有大量素质高、技术高的应聘人员,招聘效果好,费用低的优势,因此获得了越来越多公司的认可,同时它有着经营成本低、库存虚拟、用户检索方便、地域限制少等特点。 本系统是使用MS.NET平台中的ASP.NET开发基于B/S体系结构的Web应用程序,在Microsoft Visual Studio .NET 环境下,使用 C# 编程语言并结合Microsoft SQL Server 2000 数据库开发的一套网络招聘系统。可以根据登录身份而行使不同的权限实现了用户注册、登录、验证身份及用户数据的采集、搜索/查看用户信息,站内最新新闻信息发布。个人用户把简历提交给自己合意公司,企业用户通过简历提取自己合意人员的联系方式,管理员管理整个网站。 关键词:网上招聘;求职;ASP.NET;B/S体系;新闻发布 On-line Talent person employment advertise System Abstract Along with the development of information technology, the application of network is more and more widespread in the people’s lives and the human relations. Recruitment Website provides the convenient and quick way for the applicant to find a job. Say to the employment advertise unit that, Recruitment Website also provides the platform for them to search and inquiry the applicant’s information, which causes the employment work to be relaxed and easy. The applicant and the employment advertise company/unit may through the Internet can seek employment and to employ talented person breakthrough time and the spatial limit. The on-line employment advertises compares with the traditional employment advertises, which have the employment advertise scope broadly ,information content largely, choose the leeway in a big way, the applicants who respond to a call for job has the high quality and well skilled, the employment advertise has the superiority of effect well, expense low, therefore it has obtained more and more companies approval, simultaneously it has characteristics of the cost of operation lowly, the stock hypothesized, the user retrieval is convenient, the region limits few and so on. This system is a web application procedure, based on the the system structure of B/S, uses the ASP.NET which in MS.NET platform to develop. Under the Microsoft Visual Studio NET environment, uses the C# programming language and unifies Microsoft SQL the Server 2,000 databases to develop a set of networks employment advertise system. According to registers’s status that is allowed to act the different jurisdiction to realize the user’s registration, to land, to confirm status and gather users’ data, the search/examinee users’ information, the newest news information was issued in the website. Individual user submits the resume for oneself to one’s Satisfying company, the enterprise user withdraws the satisfying application's contact us through the resume; the manager manages the entire website. Key words: the on-line employment advertises; seeks employment; ASP.NET; the B/S system; the news issue 目 录 论文总页数:27页 1 引言 ..................................................................... 1 1.1 课题背景 ............................................................. 1 1.2 本课题研究路线 ....................................................... 1 1.3 本课题研究的意义 ..................................................... 1 2 网络招聘系统研究概述 ..................................................... 2 网络招聘的发展史 ..................................................... 2 2.1 2.2 我国网络招聘的发展现状 ............................................... 2 2.3 网络招聘求职的作用和优势 ............................................. 3 2.4 网络招聘存在的问题 ................................................... 3 3 系统需求分析 ............................................................. 3 3.1 功能和需求分析 ....................................................... 3 3.2 系统的结构和流程设计 ................................................. 4 3.3 数据库结构设计 ....................................................... 6 3.3.1 数据表的设计 ..................................................... 6 3.3.2 存储过程的设计 ................................................... 9 4 系统配置和通用模块介绍 .................................................. 10 4.1 WEB.CONFIG配置 ....................................................... 10 4.2 用于操作数据库的通用模块 ............................................ 10 4.3 管理员模块设计与实现 ................................................ 13 4.3.1 注册界面设计 .................................................... 13 4.3.2 登录界面设计 .................................................... 14 4.3.3 主界面设计 ...................................................... 15 4.3.4 撰写新闻界面设计 ................................................ 16 4.3.5 新闻管理界面设计 ................................................ 17 4.3.6 个人用户管理界面设计 ............................................ 19 4.4 个人用户模块设计 .................................................... 20 4.4.1 个人基本信息界面设计 ............................................ 20 4.4.2 查看招聘信息和在线提交简历 ...................................... 21 4.5 企业用户模块设计 .................................................... 22 4.5.1 企业收藏夹 ...................................................... 23 4.5.2 查看求职信息列表 ................................................ 23 4.6 新闻模块设计 ........................................................ 24 4.6.1 浏览新闻界面 .................................................... 24 结 论 .................................................................... 24 参考文献 .................................................................... 25 致 谢 .................................................................... 26 声 明 .................................................................... 27 1 引言 1.1 课题背景 在当前的市场环境中,随着社会的进步和技术的发展,知识经济也在迅猛发展,市场的竞争在很大程度上体现为人才的竞争。从而,找到合适的人才,成为企业提高竞争力的重要方法。同时,当今的市场环境又是一个快速变化的环境,市场需求在变,对人才的需求也相应处于变化之中。如何能快速适应这一变化,提高人才招聘流程的工作效率,进行快速定位,也就成为人才招聘公司/单位重点考虑的因素。 无论是对于企业的人力资源联系方式的招聘服务,还是职业中介的跨地域提供的人才需求信息,或是对外的劳务输出等等。作为一种服务类型,其服务对象均包含需方驱动特点。其所达到的招聘人员的效率和效果是其存在的价值和理由。对于中介服务的另一个服务对象即供方,寻求合适一定工作的各地人士。也同样关注是否能快速获得职位需求信息和条件要求等等。所有这些,都产生着对招聘信息系统的需求。 因此,根据市场对于人才招聘的需求,现开发‘网上人才招聘系统’。它具有的方便快捷的招聘/求职的专业业务流程,有效地提高人才招聘工作效率。 1.2 本课题研究路线 本网上招聘系统在管理中实现面对单个公司/用户注册后就能轻松的建立起自己个人的网上资料站点,公司将公司的情况,所要的招聘岗位等一些有关情况,详细的列出。应聘者通过此可轻松了解公司情况,便更容易找到自己适合的工作。同时应聘者可以轻松把自己的简历传到自己的网上存储资料站点或发到公司的网上招聘存储资料站点。公司可以分类,分别管理,能系统的,清晰的知道每个应聘者的详细情况,以便可以挑选出最合适的人、最好的利用人才,创造最大的价值。 1.3 本课题研究的意义 当今社会,很多有才能的人不能找到适合自己的工作,而公司又不能招聘到所需的人才。在人才市场求职过程中,应聘者通过简单的文字图表,无法全面了解公司的情况,同样公司通过个人简介也不能全面了解人才的全部。并且人才招聘市场经常是人山人海,“各式各样”的用人公司/单位又让人眼花缭乱,应聘到一个好的适合自己的公司得费好多时间和精力。再加上人才市场人才众多,应聘者的简历堆积如山,没有时间一一详看,公司也不好对应聘者的简历进行管理,出现少 、漏等现象,有一些应聘者的简历没有看就被堆在一边,让很 第 1 页 共 27 页 多适合做这项工作的人就无法应聘到该职位。面对传统招聘这种陷缺,网络招聘很好的解决了这些问题。 2 网络招聘系统研究概述 2.1 网络招聘的发展史 网络招聘求职方式已经成为了招聘求职的一大重要手段,其招聘求职规模和招聘求职成功率已直逼传统招聘会,有的甚至超过了传统招聘会。一两年前还处于新兴地位的网络招聘求职方式已经名符其实地走向了招聘求职的主流地位。网络招聘求职的快速发展,与网络招聘求职平台的建设和发展有着很大的关系。当然网络招聘求职的人群快速膨胀也促进了网络招聘求职平台的发展。这与市场上的生产和消费两者关系完全类似,消费促进生产,生产带动消费。 根据美国,,,公司的调查结果,2001年全球的网络招聘市场扩大了53,,就已经达到28亿美元的规模。IDC的高级分析师Marc Pramuk曾经表示:“从网络招聘市场扩大的事实可以看出,招聘服务市场正在发生根本的变化。”由于“雇用方正在寻找比传统的招聘方法更迅速、更廉价的招聘适当人选的方法”,因此到2006年,在经历连续几年超过40,的速度迅猛增长后,全球网络招聘市场的业务规模将超过157亿美元。 据介绍,在美国、日本和欧洲等互联网普及程度高的发达国家,自上世纪90年代初互联网出现以来,网络已经成为人才进行流动的最主要渠道,而那些单纯为企业、个人提供单一集会式招聘服务的人才市场几乎已经绝迹。 2.2 我国网络招聘的发展现状 如果说没有那场“非典”灾难,或许到现在,网络招聘求职还最多只能说成是招聘求职方式的重要补充。正是这场突入其来的灾难,让网络招聘求职方式已经成为了招聘求职的一大重要手段,其招聘求职规模和招聘求职成功率已直逼传统招聘会,有的甚至超过了传统招聘会。一两年前还处于新兴地位的网络招聘求职方式已经名符其实地走向了招聘求职的主流地位。 如果把时间往后推几年,国内招聘求职平台仅仅只有全国性的几家专业招聘求职网站,短短地三年间,全国的招聘求职网站已发展超过了1000个。伴随着我国企业信息化程度的日益提高和互联网家庭用户的迅猛增长,网络以成为越来越多企业、人才进行招聘和求职的最重要手段。而随着国内劳动力的增多、国内企业的国际化及国内网络的更加普及,网络招聘求职的主流地位将会越来越火。但网络招聘求职也不会像有的人说的那样将取代传统招聘会。在国外,都是将网络招聘与传统的招聘方式结合,构建一整套完善、多元的人才交流体系。而对于国内的情况,两种方式各有优势,对传统行业的招聘,如公交车司机、饭店侍者等服务业现场招聘可能更有效,而IT、电子等现代行业的招聘, 第 2 页 共 27 页 网上招聘效果就会更好。所以在今后很长的时间内,网络招聘求职和传统招聘求职将并行发展,谁也不会取代谁。 2.3 网络招聘求职的作用和优势 在求职的眼中,通过网络求职具有以下几个其它方式所不能及的作用和优势:其一、信息量大且更新快。这么大的求职队伍,招聘职位数量显然很吸引求职者的眼球,在人才网站里,可以随时查询数万条信息,而且信息更新速度很快,每天更新的职位都很多,关注招聘网站就能够第一时间掌握用人单位的需求;其二、招聘网络平台功能强大,提高效率。通过招聘网站可以轻松地对工作类别、地区和需求等条件进行全方位智能查询,快速准确地查询到所需要的包括行业、职能、工作地点、工资等信息,当查询到合适的招聘职位后还可以直接通过网站把简历提交给招聘单位,很大程度上节省了求职者的时间;其三、求职无地域限制。无地域限制无疑给求职者创造更多的就业机会,特别是对于异地求职者,如果采取传统的求职方式,恐怕还得来回奔波于两个城市之间。而且对于一般院校学生亲临知名企业校园招聘现象的机会也不是很多,但如果通过网络就可以获取与其它求职者同等竞争的机会;其四、经济实惠。如果通过现场招聘会求职,求职者要花不少钱制作精美的简历,外加交通、通讯等费用,而这些在网络求职中都可免去。而且各个证书只要一次扫描到计算机里,就可以发给多家网络招聘单位,免去了印刷的高成本费用。 正是网络求职具备上述几大优势和逐渐提高的求职成功率,因而受到了广大求职者的青睐。或许也正是求职者对网络求职的热捧,网络求职也变得也越来越火。 2.4 网络招聘存在的问题 网络招聘虽然发展很快,前景广阔,但也面临着一些问题:网络招聘的可信度不高,“成交率”颇低。究其原因,主要是招聘应聘双方都不够诚信。由于网上招聘,用人单位与求职者不见面,彼此只能通过电子简历来完成首次面试,于是一些求职者就肆无忌惮地给自己“镀金”:有的只是中专文凭,却毫无顾忌地在电子简历上填上“大学本科毕业”;有的连四级考试都没有通过,简历上却赫然写着“达到六级水平”。同时简历多次重复发送是网络招聘中的一个普遍问题。 3 系统需求分析 3.1 功能和需求分析 首先根据使用该系统的用户的角色的不同分为三种不同用户: 系统管理员:负责管理网站上的各种信息,包括发布新闻,管理新闻和查看删除所有的个人用户和企业用户。 第 3 页 共 27 页 个人用户:可以在线填写个人基本情况、发布求职信息、浏览新闻、查看招聘和求职信息,在线向自己满意的公司提交简历,在个人收藏夹里查看自己提交简历到哪几个公司。 企业用户:可以在线填写企业基本情况,发布企业招聘信息,浏览新闻,查看求职和招聘信息,在线查看和管理个人用户提交的简历功能。根据简历提取符合本公司人员的联系方式。 系统进行功能模块,主要分为用户管理、个人用户、企业用户和管理员四个模块,每个模块又分为若干功能模块,如图1所示: 发布新闻 管理新闻 管理员 管理个人用户 管理企业用户 发布求职信息 个人用户 提交简历 发布招聘信息 企业用户 删除不合格人招聘系统 管理提交简历 员 提取合格人员 浏览新闻 查看求职信息 公用功能 查看招聘信息 注册 登陆 图1系统功能模块图 3.2 系统的结构和流程设计 进入网站后,首先是登录界面,已经注册的用户可以直接登录,系统将根据用户选择区分是个人用户还是企业用户,个人用户又分为管理员和普通用户,系统根据用户的不同将用户分别链接到各自的主界面下。没有注册的用户可以单击链接到注册界面,并选择是个人用户还是企业用户以完成注册,最后链接到各自的用户界面。其过程模块图如图2所示: 第 4 页 共 27 页 企业用户 个人用户 已注册用户登录 管理员 开始 企业用户 未注册用户登录 个人用户 图2 登录和注册过程模块图 这里没有管理员用户的注册,由于管理员用户是不能随便注册的,他的登 录所需要的信息在web.config文件中配置,而不用通过系统注册界面。 个人用户工作流程功能模块图如图3所示: 填写个人信息 填写个人简历 浏览新闻 个人用户界面 浏览招聘信息 提交简历 浏览应聘信息 查看提交了哪几个公司简历 图3个人用户工作流程模块图 企业用户的模块图如图4所示: 第 5 页 共 27 页 填写企业信息 发布招聘信息 查看应聘人列表 选择或删除简历 企业用户界面 浏览新闻 浏览招聘信息 浏览应聘信息 图4 企业用户模块图 管理员管理流程模块图如图5所示: 发布新闻 删除旧的新闻 查看/管理企业用户 查看/管理个人用户 管理员界面 浏览新闻 浏览招聘信息 浏览应聘信息 图5 管理员管理流程模块图 在实现中,它们可以使用同样的超链接,而没有必要重复编写功能基本一 样的界面,而是可以根据用户的不同,给页面不同的权限。 3.3 数据库结构设计 3.3.1 数据表的设计 新闻信息表news、个人用户表person、企业用户表company、个人简历表 getJobInfo、招聘信息表giveJobInfo、在线申请表resume,下面分别介绍这些 表的结构。 第 6 页 共 27 页 (1)新闻信息表保存了该网站上所有新闻,包括新闻标题、来源,发布时间, 主要内容等,主键Id,具体的描述如表1所示: 表1 表news的结构 编号 字段名称 数据结构 必填字段 说明 , Id Int 是(主键) 新闻编号 , Title Varchar(100) 否 新闻标题 , Source Varchar(30) 否 新闻来源 , publicDate Datetime 否 发布时间 , Content Text 否 新闻内容 , Picture Image 否 新闻图片 , hits int 否 新闻单击次数 (2)个人用户表保存了所有个人用户的用户名、密码、,_mail等基本用 户信息,如表2所示: 表2 表person的结构 编号 字段名称 数据结构 必填字段 说明 , personID int 是(主键) 用户编号 , Name Varchar(50) 是(外键) 用户名 , Password Varchar(50) 否 用户密码 , email Varchar(50) 否 电子邮箱 (3)企业用户表保存了所有企业用户的用户名、密码和Email等基本用户 信息。如表3所示: 表3 表company的结构 编号 字段名称 数据结构 必填字段 说明 , companyID int 是(主键和外键) 用户编号 , Name Varchar(50) 否 用户名 , Password Varchar(50) 否 用户密码 , email Varchar(50) 否 电子邮箱 (4)个人简历表保存了用户的个人基本信息如姓名、性别等,还有与求职相 关的各种信息,如工作经验,所求职位等。它通过外键personID与表person 相关联,与表person是一对一的关系,也就是一个人只能登录一份简历。表的 具体内容如表4所示: 表4 表getJobInfo的结构 编号 字段名称 数据结构 必填字段 说明 , getJobInfo int 是(主键) 求职信息编号 , personID int 是(外键) 用户编号 , name Varchar(10) 否 用户名 , Sex Varchar(5) 否 性别 , Email Varchar(50) 否 电子邮件 , Phone Varchar(20 否 电话 , address Varchar(50) 否 地址 , addrNum Varchar(50) 否 邮政编码 第 7 页 共 27 页 , Education Varchar(50) 否 教育程度 ,, Strong text 否 特长 ,, Experience Text 否 工作经验 ,, Introduction Text 否 自我介绍 ,, Type Varchar(50) 否 工作类型 ,, workPosition Varchar(50) 否 工作职位 ,, workCity Varchar(50) 否 工作城市 ,, Wage Varchar(50) 否 期望工资 ,, Other Text 否 其他 ,, pulicTime DateTime 否 发布时间 ,, lookTimes Int 否 单击次数 (5)表giveJobInfo保存了企业发布招聘信息,包括工作要求、工作地点、 招聘人数等信息,它通过与外键与company表相连,一个企业用户与一条招聘 信息表相连,但是在里面可以发布不同的招聘职位和相关要求。表的具体结构 如表5所示: 表5 表giveJobInfo的结构 编号 字段名称 数据结构 必填字段 说明 , giveJobInfo int 是(主键) 招聘信息编号 , companyID int 是(外键) 公司编号 , companyName Varchar(10) 否 公司名称 , vocation Varchar(5) 否 公司类型 , Email Varchar(50) 否 电子邮件 , Phone Varchar(20 否 电话 , address Varchar(50) 否 地址 , addrNum Varchar(50) 否 邮政编码 , Workposition Varchar(50) 否 工作职位 10 giveNum varchar 否 招收人数 11 workCity Text 否 工作城市 12 descripe Varchar(50) 否 工作描述 13 request Varchar(50) 否 工作要求 14 pulicTime DateTime 否 发布时间 15 lookTimes Int 否 单击次数 (6)在线申请表包括申请人的ID、名称,以便企业用户可以通过申请表中 的personID查看到申请人的个人简历。它通过外键personID和外键companyID 分别与表person和表company联系。它实际上提供了个人和企业的交互,具体 内容如表6 所示: 表6 表resume的结构 第 8 页 共 27 页 编号 字段名称 数据结构 必填字段 说明 , resumeID Int 是(主键) 提交简历编号 , personID Int 是(外键) 个人编号 , companyID Int 是(外键) 企业编号 , personName Varchar(50) 否 个人姓名 , companyName Varchar(50) 否 企业名称 , CWorkPosion Varchar(50) 否 招聘单位 , PWorkPosion Varchar(50) 否 应聘职位 3.3.2 存储过程的设计 (1)向news 表中添加新闻存储过程: create Proc AddNewss @titlevarchar(100),@sourcevarchar(30),@publicDate datetime,@content text,@hits int,@picture varchar(50) as insert into news(title,source,publicDate,content,hits,picture) values(@title,@source,@publicDate,@content,@hits,@picture) (2)创建个人简历的储存过程。 个人基本信息如姓名性别的存储过程: create proc updatePBaseInf @personID int,@name varchar(10),@sex varchar(5),@email varchar(50),@phone varchar(20),@address varchar(50),@addNum varchar(10) as update getJobInfo set name=@name,sex=@sex,email=@email,phone=@phone,address=@addre ss,addNum=@addNum where personID=@personID 求职有关信息如工作经验、所求职位的存储过程: create proc updatePCareer @personID int,@type varchar(50),@workPosition varchar(50),@workCity char(10),@wage varchar(50),@other text,@publicTime datetime,@lookTimes int as update getJobInfo set type=@type,workPosition=@workPosition,workCity=@workCity wage=@wage,other=@other,publicTime=@publicTime,lookTimes=@lo okTimes where personID=@personID (3)创建企业发布招聘信息的存储过程。 企业基本信息如公司名称、地址的存储过程: create proc updateCBaseInfo @companyID int,@companyName varchar(50),@vocation varchar(50),@email varchar(50),@phone varchar(50),@address 第 9 页 共 27 页 varchar(50),@addNum varchar(50) as update giveJobInfo set companyName=@companyName,vocation=@vocation,email=@email,pho ne =@phone,address=@address,addNum=@addNum where companyID=@companyID 企业发布招聘信息如工作要求、招聘人数的储存过程: create proc updateCCareer @companyID int,@workPosition varchar(50),@giveNum varchar(50), @workCity varchar(50),@describe varchar(50),@request text, @publictime datetime,@lookTimes int As update gieveJobInfo Set workPosition=@workPosition,giveNum=@giveNum,workCity= @workCity,describe=@describe,request=@request,publictime= @publictime,lookTimes=@lookTimes where companyID=@companyID 4 系统配置和通用模块介绍 4.1 Web.config配置 ASP.NET提供了非常方便的Web.config配置文件来支持对网络应用程序的 配置,可以帮助管理人员轻松,快速建立里自己的web 应用环境。 web.config文件可以支持一个完全编译的应用程序的配置。这样做的优势 在于,源代码对管理员是不可见的。这样保证了系统的安全性。 下面为本系统的web.config文件配置。 //数据库连接 //设置默认起始页面 //设置管理员账号和密码 4.2 用于操作数据库的通用模块 程序编写涉及大量与数据库有关的操作,为了便于开发和维护,可以把这 些类数据库操作封装成一些类,然后页面操作可以直接调用这些类中的添加、 查找或删除等函数。这体现了软件工程中代码复用的原则。 Base类在Base.cs文件中定义,是本系统中所有与数据库操作有关的类的 基类,它定义了通用的数据库操作的几类函数。 namespace My.Hr.DbBase {public abstract class Base {protected static string strConn=ConfigurationSettings.AppSettings[“strCon”]; 第 10 页 共 27 页 //调用web.confing文件中配置的数据库连接 protected static string strSQL; private int m_ID; private string m_Name; public int ID { get {return m_ID; } Set {m_ID = value;} } public string Name { get {return m_Name; } set {m_Name = value;} } 下面的函数ExecuteSql代表了一类数据库的操作,也就是执行没有返回值的 SQL语句。如果界面中的操作函数要执行一些无返回值的数据库操作,如插入、 删除等只须调用这个函数,在strSQL中制定操作的字符串即可。 protected static int ExecuteSql(string strSQL) {SqlConnection myCn = new SqlConnection(strConn); SqlCommand myCmd = new SqlCommand(strSQL,myCn); try { myCn.Open(); //打开数据库 myCmd.ExecuteNonQuery(); //执行无返回值的数据库操作 return 0; } catch(System.Data.SqlClient.SqlException e) //抛出异常 { throw new Exception(e.Message);} finally{myCmd.Dispose(); //释放该组件占用的资源 myCn.Close(); //操作完毕关闭连接 } } 函数ExecuteSqlEx()封装了返回值为DataReader类型的操作,如果以后有需 要执行返回值DataReader的操作时,只需要调用这个函数即可。 protected static int ExecuteSqlEx(string strSQL) { SqlConnection myCn = new SqlConnection(strConn); SqlCommand myCmd = new SqlCommand(strSQL,myCn); Try {myCn.Open(); SqlDataReader myReader = myCmd.ExecuteReader(); if(myReader.Read()) //调用一次,只能返回一行数据记录 {return 0; //执行成功返回0 } }}} 函数ExecuteSql4Ds()封装了返回值为DataSet类型的操作,这样如果以后有 需要执行返回值DataSet的操作时候,只需要调用这个函数即可,而无须反复出 现下面的这段代码。 protected static DataSet ExecuteSql4Ds(string strSQL) { SqlConnection myCn = new SqlConnection(strConn); 第 11 页 共 27 页 Try {myCn.Open(); SqlDataAdapter sda = new SqlDataAdapter(strSQL,myCn); DataSet ds = new DataSet("ds"); sda.Fill(ds); return ds;} 函数ExecuteSql4Value()封装了返回值为int 类型的操作,这样如果以后 有需要执行返回值int 的操作时,如返回具有所有用户的个数,或者企业应征 者的个数等,只要调用这个函数即可。 protected static int ExecuteSql4Value(string strSQL) { SqlConnection myCn = new SqlConnection(strConn); SqlCommand myCmd = new SqlCommand(strSQL,myCn); try {myCn.Open(); object r = myCmd.ExecuteScalar();//返回查询得到的对象 if(Object.Equals(r,null))//如果对象为空,抛出异常 {throw new Exception("value unavailable~"); } else{ //否则返回得到的数值 return (int)r;//强制类型转换,将对象型变为整型返回 }} catch(System.Data.SqlClient.SqlException e) {throw new Exception(e.Message);} finally { myCmd.Dispose(); myCn.Close(); } } 函数ExecuteSqls()的功能是执行多条无返回值的SQL数据库操作,它的参数 是一个字符串数组,每个字符串是一个SQL数据库脚本命令,如果都执行成功就 返回0,它用到了SQLTransaction,先连续执行完字符串数组制定的一系列操作, 然后再提交。如果这个过程出现异常,则需要将数据库回卷到原来的状态。 protected static int ExecuteSqls(string[] strSQLs) { SqlConnection myCn = new SqlConnection(strConn); SqlCommand myCmd = new SqlCommand(); int j=strSQLs.Length; try {myCn.Open(); } catch(System.Data.SqlClient.SqlException e) {throw new Exception(e.Message);} SqlTransaction myTrans = myCn.BeginTransaction(); try { myCmd.Connection = myCn; myCmd.Transaction = myTrans; 第 12 页 共 27 页 foreach(string str in strSQLs) { myCmd.CommandText = str; myCmd.ExecuteNonQuery(); } myTrans.Commit(); return 0; } catch(System.Data.SqlClient.SqlException e) { myTrans.Rollback();}} 页面操作类还有person.cspersonstore.cs、company.cs、companystore.cs、news.cs等操作类。这些类实现各种功能,由页面调用。从而能实现页面和代码分离。 4.3 管理员模块设计与实现 管理员负责整个系统的个人用户、企业用户,以及新闻信息的管理,主要包括登录界面、主界面、新闻管理界面、个人用户管理界面和企业用户管理界面。 4.3.1 注册界面设计 在本系统中管理员用户的个人登录信息保存在web.config配置文件中,他和其他个人用户一样登录。整个系统注册部分的如图6所示。 本系统的注册比较简单,是为了减少繁冗的信息登记,方便用户登录。注册成功后才在属于自己的页面登记详细信息。注册表单提交后,服务器就会对提交的内容进行验证,如果填写错误的项要给出出错提示信息,并允许重新填写提交。这里需要用到requiredfieldvalidator控件,所有的输入框都需要这个验证控件,它用来验证输入都不能为空,comparevalidator 验证控件用来验证用来验证两次输入的密码是否相同。RequiredFieldValidator控件用来验证输入的邮箱是否合法. 图6 注册页面 该页面代码调用的是person类的add()方法,当个人用户注册时候就调用它。它先检查新注册用户名是否已经存在,如果存在抛出“This name was registered”异常,否则在表getJonInfo中插入新的表项,以便该用户登录后可 第 13 页 共 27 页 以在线填写和提交简历。代码如下: public void Add() { if(IsExist()) {throw new Exception("This name was registered!");} else { strSQL = "Insert into person (Name,Password,Email) Values("+ "'" + this.Name + "',"+ "'" + Functions.Encrypt(this.Password,1) + "'," + "'" + this.Mail + "')"; //密码加密后再插入数据库。 try{ExecuteSql(strSQL); } catch{throw new Exception("Register FAILED!");} strSQL = "Select Max(personID) From person"; int personId; try {personId = ExecuteSql4Value(strSQL); } catch{throw new Exception("Register FAILED!"); } strSQL = "Insert into getJobInfo (personID) Values("+"'"+ personId.ToString() +"')"; try {ExecuteSql(strSQL);} catch{throw new Exception("Register FAILED!");} } 函数IsExist()被前面的Add()函数调用,用来检查person表中是否已 经存在一个用户名,如果存在则返回true,否则返回false.代码如下: public bool IsExist() { strSQL = "Select personID from person Where Name=this.Name "; Try {ExecuteSql4Value(strSQL);return true;} Catch {return false;} } 4.3.2 登录界面设计 用户登录需要验证用户的用户名和密码,从而保证用户可见和可使用的资 源。管理员和其他用户的登录界面是一样的,都是根目录的default.aspx和 default.aspx.cs 文件。邦定代码default.aspx.cs文件的关键部分是单击“登 录”按钮后的相应函数,它根据用户名和密码,以及用户种类将界面重定向到各 类用户的主界面上,登录界面调用了Person 和Company类的Login() 函数判断用 户是否已经登录: public bool Login() { strSQl=”Select personID from person where name= 第 14 页 共 27 页 ”+this.Name”’+"AndPassword='"+ Functions.Encrypt(this.Password,1) +"'"; Try {ExecuteSql4Value(strSQL); return true; } catch {return false; } } 4.3.3 主界面设计 所有的用户公用一个主界面,即Home.aspx,管理员用户也不例外,只是在该界面中,对不同的用户提供了不同的链接。提供给管理员的链接有撰写新闻、管理新闻、管理个人用户和管理企业用户。其界面如图7: 图7 管理员主界面 Home.aspx中包含了两个frame,分别是页面首部的Top.aspx文件和下面主窗口Main.aspx文件。页面首部的Top.aspx 文件描述了一些所有用户都公用的功能,如浏览新闻、浏览招聘信息、浏览应聘信息等。也就是说,Top上对于链接对于所用用户都是可见的。表7给出了顶部菜单中的各个超链接所对应的文件。 表7 顶部菜单对应的超链接文件 超链接名称 链接文件 代码邦定文件 首页 Default.aspx Default.aspx.cs 求职 GetJob.aspx GetJob.aspx.cs 招聘 GiveJob.aspx GiveJob.aspx.cs 新闻 Main.aspx Main.aspx.cs 服务 Hr.asmx Hr.asmx.cs 退出 Logout.aspx Logout.aspx.cs 下面的主界面Main.aspx分别为两个Frame,左边Frame对应的文件是Left.aspx和它邦定代码Left.aspx.cs。它对应每一种特定的用户提供不同的选项,如前所述,对于管理员用户它提供了撰写新闻、新闻管理、个人用户管理和企业用户管理选项,对于个人用户它提供了填写个人信息、填写个人简历选项; 第 15 页 共 27 页 对于企业用户,它提供了填写企业信息,发布招聘信息,以及查看招聘结果等选项。右部的窗口是主窗口,用于显示和编写各种信息,左部菜单中各个超链接对应的文件如表8所示。 表8 左部菜单对应的超链接文件 用户类型 超链接名称 链接文件 代码邦定文件 撰写新闻 WriteNews.aspx WriteNews.aspx.cs 管理员 新闻管理 NewsManage.aspx NewsManage.aspx.cs 个人用户管理 PersonManage.aspx PersonManage.aspx.cs 企业用户管理 CompanyManage.aspx CompanyManage.aspx.cs 企业基本信息 CopanyBaseInfo.aspx CopanyBaseInfo.aspx.cs 企业用户 企业招聘信息 CompanyJob.aspx CompanyJob.aspx.cs 企业收藏夹 CompanyStore.aspx CompanyStore.aspx.cs 个人基本信息 personBaseInfo.aspx personBaseInfo.aspx.cs 个人用户 求职简历 Resume.aspx Resume.aspx.cs 工作要求 Career.aspx Career.aspx.cs 根据不同的用户类型,可以显示不同的超链接的部分。区分一个用户是管理员还是普通用户的方法是判断他的用户名是否在前面提到的web.config中指定aaa字符串中,person类中的函数IsSupervisor()完成了这个功能,它先从配置文件的aaa字符串中取出指定的管理员的用户名集合,然后将其保存在字符串数组names中,如果给定的用户名等于其中的一个字符串,说明这个用户是管理员用户,代码如下: Public bool IsSupervisor() {string strManager = ConfigurationSettings.AppSettings["aaa"]; string [] names = strManager.Split(','); int i; for(i=0;i通知
应聘人来公司面试或笔试。单击表中申请人的名字,可以链接到个人基本信息页面,查看个人简历,从而决定应聘人员是否符合本公司要求, 4.5.2 查看求职信息列表 企业用户不仅可以看到申请职位的用户的简历,还可以查看所有的求职信息,单击姓名,可以超链接到他的个人简历。并搜索想要的人才,如果找到,就可以用用户留下的联系方式直接与其联系。求职界面如图15所示: 图15 求职信息界面 第 23 页 共 27 页 4.6 新闻模块设计 4.6.1 浏览新闻界面 所有用户登录后的主界面的主窗口显示的都是新闻浏览界面如图16所示: 图16 新闻浏览界面 在新闻浏览页面中的近期新闻为最新发布的新闻,重要新闻点击率最高的新闻,图片新闻中从图片新闻中选出最新发表的有图片新闻和点击率高的有图片的新闻。 从数据库中提取图片代码: String=”select top 10 “+id,title,dercr=+’ ’SUBSTRING (content,0,50)+’„..’,image=casewhen(notpictureisnull)then(‘< img src=upload/’+picture+’ Boder=1 whidth=70 height=100>’ else’’end form news order by hits DESC”; 上面SQL查询语句间news 表picture列的信息取出并内嵌在一个html的img 控件中,作为该控件的src字段的值,就完成了从数据库中取出图片并完成显示的功能。在前面的界面中,单击某条新闻标题可以查看新闻详细信息。 结 论 在具有良好的可视化的编程环境ASP.NET C(#)2.0下,在编程的过程中就可以对所做的模块进行运行调试,发现错误,就可以立即进行改正。经过不断地修改和更正,本系统已运行结果正常,系统达到了拥有丰富的信息容量、良好的人机交互界面、快捷的检索效果。 由于时间比较紧张,加上自己本身在编程方面的能力比较有限,该系统势还存在着一定的问题。作为一个短时间内完成的实用性软件,全面性方面肯定 第 24 页 共 27 页 还有不少的欠缺。如本系统企业模块考虑到的方面就不是很全面,如还可以给企业加个留言板以便应聘者可以给企业留言。总的来讲,该系统能够完成简单的网上招聘/求职。但是不能算是一个功能很强大的系统,它和一个功能强大的网络招聘系统比较起来,还有一定的差距。希望可以通过以后的学习能够不断的完善和强大本系统的功能。通过本次课题的研究,我不但学习到了如何构建一个大型复杂的ASP.NET系统,在编程过程如何代码和如何有效的调试代码也积累了不少的经验。 参考文献 [1] 杨昆鹏,孟凡绮. ASP.NET+SQL Server动态网站开发[M].北京:电子工业出版社,2005。 [4]方睿,刁仁宏,吴四九.网络数据库原理及运用[M].成都:四川大学出版社,2005。 [3] 吴财军. C#经典范例50讲[M].北京:北京希望电子出版社,2003。 [4]曹斌,韩中孝.ASP.NET数据库项目开发实践[M].北京:科学出版社,2005。 [5] 王兴晶.Visual Basic.NET数据库开发典型实例[M].北京:电子工业出版社,2002.9。 [6] 孙三才,张智凯.C#与.net Framework实战演练[M].北京:中国铁道出版社,2002。 [7] 托特斯基[美]. C#.NET Web开发指南[M].北京:机械工业出版社 2003.1。 [8] 索传军. 中国网络招聘研究[J] .图书情报知识,2005,(5):50-53。 第 25 页 共 27 页 致 谢 本文是在吴四九,陈念伟老师的热情关心和指导下完成的,他渊博的知识和严谨的治学作风使我受益匪浅,对顺利完成本课题起到了极大的作用。在此向他表示我最衷心的感谢~ 感谢吴四九,陈念伟老师在课题研究初期给予的帮助,在他的帮助下课题才得以很好的展开,有了一个很好的开端~感谢牛骏杰同学在系统测试时给予的帮助,因为他的协助,才得以高效率的圆满完成了该系统~ 在论文完成过程中,本人还得到了其他老师和许多同学的热心帮助,本人向他们表示深深的谢意~ 最后向在百忙之中评审本文的各位专家、老师表示衷心的感谢~ 作者简介 姓 名:黎其声 性别:男 出生年月:1983年10月 民族:壮 E-mail:liqisheng198396@yahoo.com.cn 第 26 页 共 27 页 声 明 本论文是2007年2月至2007年6月在成都信息工程学院网络工程系完成的。文中除了特别加以标注地方外,不包含他人已经发表或撰写过的研究成果,也不包含为获得成都信息工程学院或其他教学机构的学位或证书而使用过的材料。除非另有说明,本文的工作是原始性工作。关于学位论文使用权和研究成果知识产权的说明: 本人完全了解成都信息工程学院有关保管使用学位论文的规定,其中包括: (1)学校有权保管并向有关部门递交学位论文的原件与复印件。 (2)学校可以采用影印、缩印或其他复制方式保存学位论文。 (3)学校可以学术交流为目的复制、赠送和交换学位论文。 (4)学校可允许学位论文被查阅或借阅。 (5)学校可以公布学位论文的全部或部分内容(保密学位论文在解密后遵守此规定)。 除非另有科研和其他法律文书的制约,本论文的科研成果属于成都信息工程学院。 特此声明~ 作者签名: 2007年06月10日 第 27 页 共 27 页 Billy saw service with the infantry in Europe, and was taken prisoner by the Germans. After his honorable discharge from the Army in 1945, Billy again enrolled in the Ilium School of Optometry. During his senior year there, he became engaged to the daughter of the founder and owner of the school, and then suffered a mild nervous collapse. He was treated in a veterans' hospital near Lake Placid, and was given shock treatments and released. He married his fianc閑, finished his education, and was set up in business in Ilium by his father-in-law. Ilium is a particularly good city for optometrists because the General Forge and Foundry Company is there. Every employee is required to own a pair of safety glasses, and to wear them in areas where manufacturing is going on. GF&F has sixty-eight thousand employees in Ilium. That calls for a lot of lenses and a lot of frames. Frames are where the money istion of coal-mines was far distant and there was no dread of scarcity. There were still extensive mines to be worked in the two Americas. The manufactories, appropriated to so many different uses, locomotives, steamers, gas works, &c., were not likely to fail for want of the mineral fuel; but the consumption had so increased during the last few years, that certain beds had been exhausted even to their smallest veins. Now deserted, these mines perforated the ground with their useless shafts and forsaken galleries. This was exactly the case with the pits of Aberfoyle. Ten years before, the last butty had raised the last ton of coal from this colliery. The underground working stock, traction engines, trucks which run on rails along the galleries, subterranean tramways, frames to support the shaft, pipes -- in short, all that constituted the machinery of a mine had been brought up from its depths. The exhausted mine was like the body of a huge fantastically-shaped mastodon, from which all the organs of life have been taken, and only the skeleton remains. Nothing was left but long wooden ladders, down the Yarrow shaft -- the s, carpenters, outside and inside laborers, women, children, and old men, all were collected in the great yard of the Dochart pit, formerly heaped with coal from the mine. Many of these families had existed for generations in the mine of old Aberfoyle; they were now driven to seek the means of subsistence elsewhere, and they waited sadly to bid farewell to the engineer. James Starr stood upright, at the door of the vast shed in which he had for so many years superintended the powerful machines of the shaft. Simon Ford, the foreman of the Dochart pit, then fifty-five years of age, and other managers and overseers, surrounded him. James Starr took off his hat. The miners, cap in hand, kept a profound silence. This farewell scene was of a touching character, not wanting in grandeur. "My friends," said the engineer, "the time has come for us to 第 28 页 共 27 页 separate. The Aberfoyle mines, which for so many years have united us in a common work, are now exhausted. All our researches have not led to the discovery of a new vein, and the last block of coal has just been extracted from the Dochart pit." And in confirmation of his words, James Starr pointed to a lump of coal which had been kept at the bottom of a basket. "This piece of coal, my friends," resumed James Starr, "is like the last drop of blood which has flowed through the veins of the mine! We shall keep it, as the first fragment of coal is kept, which was extracted a hundred and fifty years ago from the bearings of Aberfoyle. Between these two pieces, how many generations of workmen have succeeded each other in our pits! Now, it is over! The last words which your engineer will address to you are a farewell. You have lived in this mine, which your hands have emptied. The work has been hard, but not without profit for you. Our great family mustrent pits came forward to shake hands with him, whilst the miners waved their caps, shouting, "Farewell, James Starr, our master and our friend!" This farewell would leave a lasting remembrance in all these honest hearts. Slowly and sadly the population quitted the yard. The black soil of the roads leading to the Dochart pit resounded for the last time to the tread of miners' feet, and silence succeeded to the bustling life which had till then filled the Aberfoyle mines. One man alone remained by James Starr. This was the overman, Simon Ford. Near him stood a boy, about fifteen years of age, who for some years already had been employed down below. James Starr and Simon Ford knew and esteemed each other well. "Good-by, Simon," said the engineer. "Good-by, Mr. Starr," replied the overman, "let me add, till we meet again!" Bill became rich. He had two children, Barbara and Robert. In time, his daughter Barbara married another optometrist., and Billy set him up in business. Billy's son Robert had a lot of trouble in high school, but then he joined the famous Green Berets. He straightened out, became a fine Young man, and he fought in Vietnam. Early in 1968, a group of optometrists, with Billy among them, chartered an airplane to fly them from Ilium to an international convention of optometrists in Montreal. The plane crashed on top of Sugarbush Mountain, in Vermont. Everybody was killed but Billy. So it goes. While Billy was recuperating in a hospital in Vermont, his wife died accidentally of carbon-monoxide poisoning. So it goes. When Billy finally got home to Ilium after the airplane crash, he was quiet for a while. He had a terrible scar across the top Of his skull. He didn't resume practice. He had a housekeeper. His daughter came over almost every day. And then, without any warning, Billy went to New York City, and got on an all-night radio program devoted to talk. He told about having come unstuck in time. He said, too, that he had been kidnapped by a flying saucer in 1967. The saucer was from the planet Tralfamadore, he said. He was taken to Tralfamadore, where he was displayed naked in a zoo, he said. He was mated there with a former Earthling movie star named Montana Wildhack. 第 29 页 共 27 页 Some night owls in Ilium heard Billy on the radio, and one of them called Billy's daughter Barbara. Barbara was upset. She and her husband went down to New York and brought Billy home. Billy insisted mildly that everything he had said on the radio was true. He said he had been kidnapped by the Tralfamadorians on the night of his daughter's wedding. He hadn't been missed, he said, because the Tralfamadorians had taken him through a time warp, so that he could be on Tralfamadore for years, and still be away from Earth for only a microsecond. Another month went by without incident, and then Billy wrote a letter to the Ilium News Leader, which the paper published. It described the creatures from Tralfamadore. The letter said that they were two feet high, and green., and shaped like plumber's friends. Their suction cups were on the ground, and their shafts, which were extremely flexible, usually pointed to the sky. At the top of each shaft was a little hand with a green eye in its palm. The creatures were friendly, and they could see in four dimensions. They pitied Earthlings for being able to see only three. They had many wonderful things to teach Earthlings, especially about time. Billy promised to tell what some of those wonderful things were in his next letter. Billy was working on his second letter when the first letter was published. The second letter started out like this: 'The most important thing I learned on Tralfamadore was that when a person dies he only appears to die. He is still very much alive in the past, so it is very silly for people to cry at his funeral. All moments, past, present and future, always have existed, always will exist. The Tralfamadorians can look at all the different moments just that way we can look at a stretch of the Rocky Mountains, for instance. They can see how permanent all the moments are, and they can look at any moment that interests them. It is just an illusion we have here on Earth that one moment follows another one, like beads on a string, and that once a moment is gone it is gone forever. 'When a Tralfamadorian sees a corpse, all he thinks is that the dead person is in a bad condition in that particular moment, but that the same person is just fine in plenty of other moments. Now, when I myself hear that somebody is dead, I simply shrug and say what the Tralfamadorians say about dead people, which is "so it goes."' And so on. Billy was working on this letter in the basement rumpus room of his empty house. It was his housekeeper's day off. There was an old typewriter in the rumpus room. It was a beast. It weighed as much as a storage battery. Billy couldn't carry it very far very easily, which was why he was writing in the rumpus room instead of somewhere else. The oil burner had quit. A mouse had eaten through the insulation of a wire leading to the thermostat. The temperature in the house was down to fifty degrees, but Billy hadn't noticed. He wasn't warmly dressed, either. He was barefoot, and still in his pajamas and a bathrobe, though it was late afternoon. His bare feet were blue and ivory. The cockles of Billy's heart, at any rate, were glowing coals. What made them so hot was Billy's belief that he was going to comfort so many people with the truth about time. His door chimes upstairs had been ringing and ringing. It was his daughter Barbara up there wanting in. Now she let herself in with a key, crossed the floor over his head calling, 'Father? Daddy, where are you?' And so on. Billy didn't answer her, so she was nearly hysterical, expecting to find his corpse. And then she looked into the very last place there was to look-which was the rumpus room. 'Why didn't you answer me when I called?' Barbara wanted to know, standing there in the door of the rumpus room. She had the afternoon paper with her, the one in which Billy described his friends from Tralfamadore. 'I didn't hear you,' said Billy. The orchestration of the moment was this: Barbara was only twenty-one years old, but she thought her father was senile, even though he was only forty-six-senile because of damage to his brain in the airplane crash. She also thought that she was head of the family, since she had had to manage her mother's funeral, since she had to get a housekeeper for Billy, and all that. Also, Barbara and her husband were having to look after Billy's business interests, which were considerable, since Billy didn't seem to give a damn for business any more. All this responsibility at such an early age made her a bitchy flibbertigibbet. And Billy, meanwhile, was trying to hang onto his dignity, to persuade Barbara and everybody else that he was far from senile, that, on the contrary, he was devoting himself to a calling much higher than mere business. 第 30 页 共 27 页 He was doing nothing less now, he thought, then prescribing corrective lenses for Earthling souls. So many of those souls were lost and wretched, Billy believed, because they could not see as well as Ws little green friends on Tralfamadore. 'Don't lie to me, Father,' said Barbara. 'I know perfectly well you heard me when I called.' This was a fairly pretty girl, except that she had legs like an Edwardian grand piano. Now she raised hell with him about the letter in the paper. She said he was making a laughing stock of himself and everybody associated with him. 'Father, Father, Father,' said Barbara, 'what are we going to do with you? Are you going to force us to put you where your mother is?' Billy's mother was still alive. She was in bed in an old people's home called Pine Knoll on the edge of Ilium. 'What is it about my letter that makes you so mad?' Billy wanted to know. 'It's all just crazy. None of it's true! ' 'It's all true. ' Bill's anger was not going to rise with hers. He never got mad at anything. He was wonderful that way. 'There is no such planet as Tralfamadore.' 'It can't be detected from Earth, if that's what you mean,' said Billy. 'Earth can't be detected from Tralfamadore, as far as that goes. They're both very small. They're very far apart.' 'Where did you get a crazy name like "Tralfamadore?"' 'That's what the creatures who live there call it. 'Oh God,' said Barbara, and she turned her back on him. She celebrated frustration by clapping her hands. 'May I ask you a simple question?' 'Of course.' 'Why is it you never mentioned any of this before the airplane crash?' 'I didn't think the time was ripe.' And so on. Billy says that he first came unstuck in time in 1944, long before his trip to Tralfamadore. The Tralfamadorians didn't have anything to do with his coming unstuck They were simply able to give him insights into what was really going on. Billy first came unstuck while the Second World War was in progress. Billy was a chaplain's assistant in the war. A chaplain's assistant is customarily a figure of fun in the American Army. Billy was no exception. He was powerless to harm the enemy or to help his friends. In fact, he had no friends. He was a valet to a preacher, expected no promotions or medals, bore no arms, and had a meek faith in a loving Jesus which most soldiers found putrid. While on maneuvers in South Carolina, Billy played hymns he knew from childhood, played them on a little black organ which was waterproof. It had thirty-nine keys and two stops- vox humana and vox celeste. Billy also had charge of a portable altar, an olive-drab attach?case with telescoping legs. It was lined with crimson plush, and nestled in that passionate plush were an anodized aluminum cross and a Bible. The altar and the organ were made by a vacuum-cleaner company in Camden, New Jersey-and said so. One time on maneuvers Billy was playing 'A Mighty Fortress Is Our God,' with music by Johann Sebastian Bach and words by Martin Luther. It was Sunday morning. Billy and his chaplain had gathered a congregatation of about fifty soldiers on a Carolina hillside. An umpire appeared. There were umpires everywhere, men who said who was winning or losing the theoretical battle, who was alive and who was dead. The umpire had comical news. The congregation had been theoretically spotted from the air by a theoretical enemy. They Were all theoretically dead now. The theoretical corpses laughed and ate a hearty noontime meal. Remembering this incident years later, Billy was struck by what a Tralfamadorian adventure with death that had been, to be dead and to eat at the same time. Toward the end of maneuvers., Billy was given an emergency furlough home because his father, a barber in Ilium, New York, was shot dead by a friend while they were out hunting deer. So it goes. When Billy got back from his furlough., there were orders for him to go overseas. He was needed in the headquarters company of an infantry regiment fighting in Luxembourg. The regimental chaplain's assistant had been killed in action. So it goes. 第 31 页 共 27 页 When Billy joined the regiment, it was in the process of being destroyed by the Germans in the famous Battle of the Bulge. Billy never even got to meet the chaplain he was supposed to assist, was never even issued a steel helmet and combat boots. This was in December of 1944, during the last mighty German attack of the war. Billy survived, but he was a dazed wanderer far behind the new German lines. Three other wanderers, not quite so dazed, allowed Billy to tag along. Two of them were scouts, and one was an antitank gunner. They were without food or maps. Avoiding Germans they were delivering themselves into rural silences ever more profound. They ate snow. They went Indian file. First came the scouts, clever, graceful quiet. They had rifles. Next came the antitank gunner, clumsy and dense, warning Germans away with a Colt .45 automatic in one hand and a trench knife in the other. Last came Billy Pilgrim, empty-handed, bleakly ready for death. Billy was Preposterous-six feet and three inches tall, with a chest and shoulders like a box of kitchen matches. He had no helmet, no overcoat, no weapon and no boots. On his feet were cheap, low-cut civilian shoes which he had bought for his father's funeral. Billy had lost a heel, which made him bob up-and-down, up-and-down. The involuntary dancing up and down, up and down, made his hip joints sore. 000. Fax: 0161 3552098. e-mail: enquiries@nlbuk.org Registered Charity No: 213212. 1998 extension For my dear seer, Vicky The Robinswood Press Stourbridge 1995 This work is copyright and permission to copy for the use of braille readers and those using the NLB web site has been given by the copyright owner. This permission is gratefully acknowledged. No unauthorised broadcasting, public performance or copying is permitted. "If all the beasts were gone, men would die from great loneliness of spirit. For whatever happens to the beasts soon happens to man. All things are connected ... The earth does not belong to man: man belongs to the earth. All things are connected like the blood which unites one family ... Whatever befalls the earth befalls the sons of the earth. Man did not weave the web of life: he is merely a strand in it. Whatever he does to the web, he does to himself."--Red Indian Chief Seathl in a letter to Franklin Pierce, President of the United States, 1855. extension The book's background details are as accurate and authentic as I can make them. But, here and there, I have "played" with the facts for the sake of telling a dramatic story. For example, there is no Marine Mammal Center in Santa Barbara, though similar institutions do exist elsewhere. The ship Sea Shepherd is an invention, in no way linked to the conservation charity of that name or any of its vessels. A.W. extension Acknowledgements I am indebted to Curt Marlin for his constant encouragement during the writing of this book. My research for The Eden Mission was greatly aided by many generous experts. Space permits me to name only a few. They are Professor Sir Ghillean Prance, Director of the Royal Botanic Gardens, Kew; Jonathan Shanklin, of the British Antarctic Survey; Dr. Bernard Stonehouse, of the Scott Polar Research Institute; Tim Inskipp, of the World Conservation Monitoring Centre; Amanda Hillier, of the Fauna and Flora Preservation Society; Carol McKenna, of Respect for 第 32 页 共 27 页 Animals; marine engineer Keith Norledge. I must also acknowledge invaluable help from staff of the following: the World Wide Fund for Nature, Greenpeace, Friends of the Earth, the Environmental Investigation Agency, BirdLife International, BBC Bristol, the Natural History Museum, the Geological Museum, the Meteorological Office, the Foreign and Commonwealth Office, the University of East Anglia, the American Cetacean Society, the Florida Department of Commerce, and Orlando's Sea World. extension FOREWORD The world--and it's the only one we've got--is in a terrible mess from misuse and neglect. Eco-terrorists and vested interests abound, polluting rivers, lakes and seas, draining wetlands, destroying ancient forests and trading in endangered species. The Eden Mission, though a work of fiction, brings the real live world of conservation and the fight to save the planet to a whole new audience. It also proves that it is not too late for us all to do our bit to save the Earth. David Bellamy The Conservation Foundation extension PREFACE Not so long ago, the term "greenhouse effect" meant little to most people. Something to do with gardening ...? How different now! Now that the environment is a matter of major concern, now that we are becoming ecologically educated. But how much has changed, really changed, in recent years? Certainly politicians and scientists have made a start on trying to curb the worst abuses to our world. And, happily, some of those mentioned in my novel are declining. Others, though, are on the increase. So, far from being able to relax, conservationists are busier than ever. Underlying all this are enormous problems: the widening gap between rich and poor, the fact that four-fifths of global resources are consumed by one-fifth of the population, the arrival each second of three new mouths to feed. What of the solutions? Perhaps the main hope, idealistic though it may seem, is that humanity will see sense. The Earth, not money, is the only true wealth. It's our collective home to be shared with our fellows and fellow creatures. Maybe the rich must become poorer, accept a lowering of their material standards, so that the poor can become richer. Maybe the technology that helped get us into this mess cannot get us out, and humankind will have to return to a simpler way of life. Maybe ... What do you think? out a similar condition including this condition being imposed on the subsequent purchaser. This book is published at a net price and is supplied subject to the Publishers Association Standard Conditions of Sale registered under the Restrictive Trade Practices Act, 1956. 第 33 页 共 27 页 Grateful acknowledgment is made for permission to reprint the following material: 'The Waking': copyright 1953 by Theodore Roethke from THE COLLECTED POEMS OF THEODORE ROETHKE printed by permission of Doubleday & Company, Inc. THE DESTRUCTION OF DRESDEN by David Irving: From the Introduction by Ira C. Eaker, Lt. Gen. USAF (RET.) and Foreword by Air Marshall Sir Robert Saundby. Copyright 1963 by William Kimber and Co. Limited. Reprinted by permission of Holt, Rinehart and Winston, Inc. and William Kimber and Co. Limited. 'Leven Cent Cotton' by Bob Miller and Emma Dermer: Copyright 1928, 1929 by MCA Music, a Division of MCA Inc. Copyright renewed 1955,1956 and assigned to MCA Music, a division of MCA Inc. Used by permission. I work in Wisconsin... And so on to infinity. Over the years, people I've met have often asked me what I'm working on, and I've usually replied that the main thing was a book about Dresden. I said that to Harrison Starr, the movie-maker, one time, and he raised his eyebrows and inquired, 'Is it an anti-war book?' 'Yes,' I said. 'I guess.' 'You know what I say to people when I hear they're writing anti-war books?' 'No. What do you say, Harrison Starr?' 'I say, "Why don't you write an anti-glacier book instead?"' What he meant, of course, was that there would always be wars, that they were as easy to stop as glaciers. I believe that too. And they're all grown up now, and I'm an old fart with his memories and his Pall Malls. My name is Yon Yonson, I work in Wisconsin, I work in a lumbermill there. Sometimes I try to call up old girl friends on the telephone late at night, after my wife has gone to bed. 'Operator, I wonder if you could give me the number of a Mrs. So-and-So. I think she lives at such-and-such.' 'I'm sorry, sir. There is no such listing.' 'Thanks, Operator. Thanks just the same.' And I let the dog out or I let him in, and we talk some. I let him know I like him, and he lets me know he likes me. He doesn't mind the smell of mustard gas and roses. 'You're all right, Sandy, I'll say to the dog. 'You know that, Sandy? You're O.K.' Sometimes I'll turn on the radio and listen to a talk program from Boston or New York. I can't stand recorded music if I've been drinking a good deal. Sooner or later I go to bed, and my wife asks me what time it is. She always has to know the time. Sometimes I don't know, and I say, 'Search me.' I think about my education sometimes. I went to the University of Chicago for a while after the Second World War. I was a student in the Department of Anthropology. At that time, they were teaching that there was absolutely no difference between anybody. They may be teaching that still. Another thing they taught was that nobody was ridiculous or bad or disgusting. Shortly before my father died, he said to me, 'You know-you never wrote a story with a villain in it.' I told him that was one of the things I learned in college after the war. While I was studying to be an anthropologist, I was also working as a police reporter for the famous Chicago City News Bureau for twenty-eight dollars a week. One time they switched me from the night shift to the day shift., so I worked sixteen hours straight. We were supported by all the newspapers in town, 第 34 页 共 27 页 and the AP and the UP and all that. And we would cover the courts and the police stations and the Fire Department and the Coast Guard out on Lake Michigan and all that. We were connected to the institutions that supported us by means of pneumatic tubes which ran under the streets of Chicago. 第 35 页 共 27 页
/
本文档为【网上人才招聘系统】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索