




已阅读5页,还剩64页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
0 大连大连交通大学信息工程学院大连大连交通大学信息工程学院 毕业设计毕业设计 论文论文 任务书任务书 题 目城市订餐系统服务器端实现 1 任务及要求 任务及要求 1 设计 研究 内容和要求 任务 1 城市订餐系统服务器端当前技术的发展近况 完成实习报告 字数不少于 3000 第三周交给指导老师 2 结合自己实习情况安排进度 填写进度计划表 第二周完成后交给指导老师签 字 并严格执行 3 按照软件工程思想 独立完成系统的设计和程序开发 完成代码估计 2000 行 左右 4 用 java jsp 技术实现局域网聊天功能 5 程序简洁 算法可行 运行情况良好 要求 1 每周和指导老师至少见面沟通一次 回报课题进展情况 接受老师询问 2 接到任务书后 查阅与题目及专业相关的外文资料进行翻译 要求不少于 10000 个外文字符 译出汉字不得少于 3000 于第四周交给指导老师审阅 3 毕业设计第 13 周完成毕业论文的装订 并由指导老师评阅 论文要求 12000 字以上 包括综述 系统总体设计 系统实现 性能分析 结论等 4 教学第 13 周通过中软及教研室组织进行软件验收 验收时要提供软件使用说 明书 5 于第 13 周提出毕业答辩申请并签字 6 第 14 周答辩 要求制作 ppt 2 原始依据 通过大学几年的学习 已经学习了诸如软件工程 数据库原理及应用 数据结 构 jsp java 等多门程序设计语言和网络等基础知识和专业知识 学生有能力而且 可以独立完成小中型项目的设计与开发 学校现有设备和环境可以提供给学生实习和 上机 而且具有专业老师可以指导学生 2 3 参考文献 1 孙卫琴 李洪成 tomcat 与 java web 开发技术详解 电子工业出版社 2003 年 6 月 1 205 2 bruceeckel java 编程思想 机械工业出版社 2003 年 10 月 1 378 3 flanagan java 技术手册 中国电力出版社 2002 年 6 月 1 465 4 孙一林 彭波 java 数据库编程实例 清华大学出版社 2002 年 8 月 30 210 5 lee anne phillips 巧学活用 html4 电子工业出版社 2004 年 8 月 1 319 6 飞思科技产品研发中心 jsp 应用开发详解 电子工业出版社 2003 年 9 月 32 300 7 耿祥义 张跃平 jsp 实用教程 清华大学出版社 2003 年 5 月 1 日 1 354 8 孙涌 现代软件工程 北京希望电子出版社 2003 年 8 月 1 246 9 萨师煊 王珊 数据库系统概论 高等教育出版社 2002 年 2 月 3 460 10 brown 等 jsp 编程指南 第二版 电子工业出版社 2003 年 3 月 1 268 11 清宏计算机工作室 jsp 编程技巧 机械工业出版社 2004 年 5 月 1 410 12 w richaard ste vens tcp ip 详解 tcp 事务协议 http unix 域协议 2000 13 christian crumlish lucinda dykes dreamweaver mx 2004 m sybex 2004 指导教师签字 教研室主任签字 2011 年 3 月 26 日 大连交通大学信息工程学院大连交通大学信息工程学院 3 毕业设计毕业设计 论文论文 进度计划与考核表进度计划与考核表 学生姓名学生姓名张岩张岩专业班级专业班级 软件工程软件工程 08 308 3 班班 指导指导 教师教师 王王 建建 何丹丹何丹丹 本课题其本课题其 他人员他人员 无无 题题 目目城市订餐系统服务器端实现城市订餐系统服务器端实现 日日 期期计划完成内容计划完成内容完成情况完成情况 指导老师指导老师 检查签字检查签字 第 1 周拟订 毕业论文进度计划与考核表 第 2 周完成实习或调研报告 第 3 周提交外文文献翻译资料 第 4 周系统概要设计阶段 第 5 周系统详细设计阶段 第 6 周系统编码实施 完成论文初稿 第 7 周完成系统编码实施 第 8 周系统编码调试 提交论文初稿 第 9 周完成系统编码调试 完善毕业论文 第 10 周完成撰写毕业设计论文编写及代码测试 第 11 周 完成论文终稿 准备毕业论文打印 装 订 第 12 周提交毕业论文终稿及代码 第 13 周完成毕业论文 第 14 周毕业论文答辩 指导教师签字 2012 年 月 日 4 大连交通大学信息工程学院大连交通大学信息工程学院 毕业设计毕业设计 论文论文 外文翻译外文翻译 学生姓名学生姓名 张岩张岩 专业班级专业班级 软件工程软件工程 08 308 3 班班 指导教师指导教师 王建王建 何丹丹何丹丹 职职 称称 高工高工 助教助教 所在单位所在单位 信息科学系软件工程教研室信息科学系软件工程教研室 教研室主任教研室主任 刘瑞杰刘瑞杰 完成日期完成日期 20122012 年年 4 4 月月 1313 日日 a overview 5 when asp was first released web programming was more difficult because you needed iis to serve your asp pages later asp net 2 0 and visual studio 2005 made everything easier by introducing the web site model of development instead of creating a new project inside visual studio the web site model lets you point to a directory and start writing pages and code furthermore you can quickly test your site with the built in asp net development server which hosts asp net in a local process and obviates the need to install iis to begin developing we will introduce 2 0 technology from different aspects 1 the net framework class library asp net is part of microsoft s overall net framework which contains a vast set of programming classes designed to satisfy any conceivable programming need because visual basic jscript and c a great deal of the functionality of these programming languages overlaps for example for each language you would have to include methods for accessing the file system working with databases and manipulating strings what s more these languages contain similar programming constructs can represent loops and conditionals even though the syntax of a conditional written in visual basic differs from the syntax of a conditional written in c the programming function is the same maintaining all this functionality for multiple languages requires a lot of work wouldn t it be easier to create all this functionality once and use it for every language however the net framework class library does exactly that it consists of a vast set of classes designed to satisfy any conceivable programming need for instance the net framework contains classes for handling database access working with the file system manipulating text and generating graphics in addition it contains more specialized classes for performing tasks such as working with regular expressions and handling network protocols furthermore the net framework contains classes that represent all the basic variable data types such as strings integers bytes characters and arrays the net framework is huge it contains thousands of classes over 3 400 fortunately the classes are not simply jumbled together the classes of the net framework are organized into a hierarchy of namespaces a namespace is a logical grouping of classes for example all the classes that relate to working with the file system are gathered together into the system io namespace the namespaces are organized into a hierarchy a logical tree at the root of the tree is the system namespace this namespace contains all the classes for the base data types such as strings and arrays it also contains classes for working with random numbers and dates and times you can uniquely identify any class in the net framework by using the full namespace of the class for example to uniquely refer to the class that represents a file system file the file class you would use the following 6 system io file system io refers to the namespace and file refers to the particular class the classes contained in a select number of namespaces are available in your asp net pages by default you must explicitly import other namespaces these default namespaces contain classes that you use most often in your asp net applications system contains all the base data types and other useful classes such as those related to generating random numbers and working with dates and times system collections contains classes for working with standard collection types such as hash tables and array lists system collections specialized contains classes that represent specialized collections such as linked lists and string collections system configuration contains classes for working with configuration files web config files system text contains classes for encoding decoding and manipulating the contents of strings system text regularexpressions contains classes for performing regular expression match and replace operations system web contains the basic classes for working with the world wide web including classes for representing browser requests and server responses system web caching contains classes used for caching the content of pages and classes for performing custom caching operations system web security contains classes for implementing authentication and authorization such as forms and passport authentication system web sessionstate contains classes for implementing session state system web ui contains the basic classes used in building the user interface of asp net pages system web ui htmlcontrols contains the classes for the html controls system web ui webcontrols contains the classes for the web controls you can choose c or jscript net or c or visual basic to program page regardless of the language that you use to develop your asp net pages you need to understand that asp net pages are compiled before they are executed this means that asp net pages can execute very quickly the first time you request an asp net page the page is compiled into a net class and the resulting class file is saved beneath a special directory on your server named temporary asp net files for each and every asp net page a corresponding class file appears in the temporary asp net files directory whenever you request the same asp net page in the 7 future the corresponding class file is executed when an asp net page is compiled it is not compiled directly into machine code instead it is compiled into an intermediate level language called microsoft intermediate language msil all net compatible languages are compiled into this intermediate language an asp net page isn t compiled into native machine code until it is actually requested by a browser at that point the class file contained in the temporary asp net files directory is compiled with the net framework just in time jit compiler and executed the magical aspect of this whole process is that it happens automatically in the background all you have to do is create a text file with the source code for your asp net page 2 building forms with web server controls useingseveral of the basic web controls to represent standard html form elements such as radio buttons text boxes and list boxes you can use these controls in your asp net pages to create the user interface for your web application 3 performing form validation with validation controls traditionally web developers have faced a tough choice when adding form validation logic to their pages you can add form validation routines to your server side code or you can add the validation routines to your client side code the advantage of writing validation logic in client side code is that you can provide instant feedback to your users for example if a user neglects to enter a value in a required form field you can instantly display an error message without requiring a roundtrip back to the server people really like client side validation it looks great and creates a better overall user experience the problem however is that it does not work with all browsers not all browsers support javascript and different versions of browsers support different versions of javascript so client side validation is never guaranteed to work for this reason in the past many developers decided to add all their form validation logic exclusively to server side code because server side code functions correctly with any browser this course of action was safer at the same time the validation controls automatically generate both client side and server side code if a browser is capable of supporting javascript client side validation scripts are automatically sent to the browser if a browser is incapable of supporting javascript the validation routines are automatically implemented in server side code requiring fields the requiredfieldvalidator control you use requiredfieldvalidator in a web form to check whether a control has a value typically you use this control with a textbox control however nothing is wrong with using requiredfieldvalidator with other input controls such as radiobuttonlist validating expressions the regularexpressionvalidator control you can use regularexpressionvalidator to match the value entered into a form field to a regular expression you can use this control to check whether a user has entered for example a valid e 8 mail address telephone number or username or password samples of how to use a regular expression to perform all these validation tasks are provided in the following sections comparing values the comparevalidator control the comparevalidator control performs comparisons between the data entered into a form field and another value the other value can be a fixed value such as a particular number or a value entered into another control summarizing errors the validationsummary control imagine that you have a form with 50 form fields if you use only the validation controls discussed in the previous sections of this chapter to display errors seeing an error message on the page might be difficult for example you might have to scroll down to the 48th form field to find the error message fortunately microsoft includes a validationsummary control with the validation controls you can use this control to summarize all the errors at the top of a page or wherever else you want 4 advanced control programming working with view state by default almost all asp net controls retain the values of their properties between form posts for example if you assign text to a label control and submit the form when the page is rendered again the contents of the label control are preserved the magic of view state is that it does not depend on any special server or browser properties in particular it does not depend on cookies session variables or application variables view state is implemented with a hidden form field called viewstate that is automatically created in every web forms page when used wisely view state can have a dramatic and positive effect on the performance of your web site for example if you display database data in a control that has view state enabled you do not have to return to the database each time the page is posted back to the server you can automatically preserve the data within the page s view state between form posts displaying and hiding content imagine that you want to break the tax form into multiple pages so that a person views only one part of the tax form at a time you can set the visible and enabled properties with individual controls and groups of controls to hide and display page content using the visible and enabled properties every control including both html and web controls has a visible property that determines whether the control is rendered when a control s visible property has the value false the control is not displayed on the page the control is not processed for either pre rendering or rendering web controls but not every html control have an additional property named enabled when enabled has the value false and you are using internet explorer version 4 0 or higher the control 9 appears ghosted and no longer functions when used with other browsers such as netscape navigator the control might not appear ghosted but it does not function 5 web deployment projects the beauty of the a 2 0 is that you can develop your web application without thinking about packaging and deployment when need another class you can add a cs file to the app code directory and start writing when want to store localizable strings in a resource file you can add a resx file to the app globalresources directory and type in the strings everything just works you don t have to think about the compilation and deployment aspect at all when you are ready to deploy you have several options the simplest choice is to copy your files to a live server and let everything be compiled on demand as it was in your test environment the second option is to use the aspnet compiler exe utility and precompile the application into a binary release which leaves you nothing but a collection of assemblies static content and configuration files to push to the server the third option is to again use aspnet compiler exe but to create an updateable binary deployment where your as x files remain intact and modifiable and all of your code files are compiled into binary assemblies 6 c language introduction to the c language and the net framework c is an elegant and type safe object oriented language that enables developers to build a wide range of secure and robust applications that run on the net framework you can use c to create traditional windows client applications xml web services distributed components client server applications database applications and much much more microsoft visual c 2005 provides an advanced code editor convenient user interface designers integrated debugger and many other tools to facilitate rapid application development based on version 2 0 of the c language and the net framework c syntax is highly expressive yet with less than 90 keywords it is also simple and easy to learn the curly brace syntax of c will be instantly recognizable to anyone familiar with c c or java developers who know any of these languages are typically able to begin working productively in c within a very short time c syntax simplifies many of the complexities of c while providing powerful features such as nullable value types enumerations delegates anonymous methods and direct memory access which are not found in java c also supports generic methods and types which provide increased type safety and performance and iterators which enable implementers of collection classes to define custom iteration behaviors that are simple to use by client code as an object oriented language c supports the concepts of encapsulation inheritance and polymorphism all variables and methods including the main method the application s entry point 10 are encapsulated within class definitions a class may inherit directly from one parent class but it may implement any number of interfaces methods that override virtual methods in a parent class require the override keyword as a way to avoid accidental redefinition in c a struct is like a lightweight class it is a stack allocated type that can implement interfaces but does not support inheritance in addition to these basic object oriented principles c facilitates the development of software components through several innovative language constructs including encapsulated method signatures called delegates which enable type safe event notifications properties which serve as accessors for private member variables attributes which provide declarative metadata about types at run time inline xml documentation comments if you need to interact with other windows software such as com objects or native win32 dlls you can do this in c through a process called interop interop enables c programs to do just about anything that a native c application can do c even supports pointers and the concept of unsafe code for those cases in which direct memory access is absolutely critical the c build process is simple compared to c and c and more flexible than in java there are no separate header files and no requirement that methods and types be declared in a particular order a c source file may define any number of classes structs interfaces and events c programs run on the net framework an integral component of windows that includes a virtual execution system called the common language runtime clr and a unified set of class libraries the clr is microsoft s commercial implementation of the common language infrastructure cli an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly source code written in c is compiled into an intermediate language il that conforms to the cli specification the il code a
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年咨询工程师真题及参考答案详解(培优A卷)
- 2024-2025学年度注册公用设备工程师预测复习含答案详解(培优B卷)
- 2024年土木工程建筑施工考前冲刺练习题附参考答案详解【综合题】
- 2025年苏州工业职业技术学院单招《物理》考试彩蛋押题附参考答案详解(综合卷)
- 2024-2025学年中医助理医师自我提分评估及答案详解【全优】
- 传染病患者排泄护理与感染防控要点
- 2023年度高升专通关考试题库【名校卷】附答案详解
- 2025年城市公共自行车智能化改造项目的智能化管理方案报告
- 中班科学领域教案《奇妙的磁铁》反思
- 上海市2025-2026学年八年级语文上学期第一次月考复习试卷(含答案)
- 2025年时事政治考试100题及答案
- 农业产业强镇建设资金申请项目可行性研究及风险评估报告
- 2025年全国中小学校党组织书记网络培训示范班在线考试题库及答案
- 身边安全隐患课件
- 2025-2026学年苏教版(2024)小学科学三年级上册(全册)每课教学反思
- GB/T 46025-2025家用轮椅床
- 2025全国教育大会
- 小学国画教学课件
- 多彩贵州课件
- 2025年县处级领导干部政治理论考试试题库(附答案)
- 计划生育技术服务诊疗常规和操作常规
评论
0/150
提交评论