1
盐城师范学院信息科学与技术学院
基于 FLEX 网站的图片管理系统
2011 年 月 日填
题 目 基于 Flex 网站的图片管理系统
所 学 专 业 数 字 媒 体
班 级
学 号
姓 名
指 导 教 师
2
摘 要
电子相册是指可以在电脑上观赏的区分于 CD/VCD 以及幻灯片的静态图
片的特殊文档,其内容不局限于摄影照片,也可以包括各种艺术创作图片。电子
相册具有传统相册无法比拟的优越性:图、文、声、像并茂的表现手法,随意修
改编辑的功能,快速的检索方式,永不褪色的恒久保存特性,以及廉价复制分发
的优越手段。
同样是使用网页,FLEX 技术实现电子相册是在网页中加载用 flex 制作的上
传控件,该控件可以实现多文件上传,可以支持上传进度条显示,界面也非常漂
亮,经过代码的优化速度非常稳定,虽然 FLEX 技术不支持断点续传,上传进度
的显示也只能从客户端获取,防火墙等软件可能会影响到此控件,但它比较适用
于一般文件的传送。
本系统采用 ASP.NET 2.0 开发语言实现服务器端的控制,采用 FLEX 技术实
现客户端的控制。实现了包括文件夹的操作、文件的操作、欢迎用户的界面三个
功能模块;通过文件夹功能模块,可以添加、删除、浏览、文件夹;通过文件功
能模块,可以查看文件属性、上传、下载、删除文件;通过用户欢迎界面模块,
跟用户有一个良好的交互。该系统具有一定的应用价值。
关键词:FLEX 电子相册 ASP.NET SQL Server 2005
3
Abstract
The electronic album (i.e. network plate), is one kind of data storage spaces
where the user can upload and download from the website based on the Internet to
carry on operation ,such as uploading, downloading, sharing data and so on. The free
electronic album's usable space are few, generally to limits document size,
downloading speed, storage time and so on; The payment net plate can provide the
large capacity space, the document size, the downloading speed, the storage time and
the form does not be limited. And user also can establish and delete albums or photos.
Similarly uses the homepage, the FLEX technology realizes the net plate by
loads the upload which in the homepage manufactures with flex to control, should
control to be able to realize the multiple file uploads, may support the upload progress
strip demonstration, the contact surface is also attractive, passes through the code the
optimized speed to be stable, although the FLEX technology does not support the
break point to continue the biography, the upload progress's demonstration also can
only from the client side gain, softwares and so on firewall possibly affect to this
controls, but it is quite suitable for the common document transmission.
This system uses the ASP.NET 2.0 development languages to realize the server
end control, uses the FLEX technology to realize the client side control. Realized
three functional modules including folder's operation, the document operation, user's
registration; Through the folder functional module, may increase, the deletion, glance
over the folder; Through the file function module, may examine the file attribute,
upload, download the file, establish the file, delete the file; so on functions. So the
system has certain application value.
Key words:FLEX Electronic Album ASP.NET SQL Server 2005
4
目录
摘 要 ............................................................2
ABSTRACT ...........................................................3
1 绪论 ............................................................6
1.1 课题研究的背景 ..............................................6
1.2 课题研究的目的和意义 ........................................6
1.3 国内外研究现状分析..........................................7
2 开发平台介绍和使用技术分析 ......................................8
2.1 系统所需的软硬件平台 ........................................8
2.2 主要开发软件介绍 ............................................8
2.2.1 FLEX Builder 4 软件........................................8
2.2.2 Microsoft SQL Server 2005 软件.............................9
2.2.3 Visual Studio 2008 开发平台...............................10
2.3 使用技术的分析 .............................................10
2.3.1 RIA 技术..................................................10
2.3.2 使用 FLEX 技术开发 WEB 的优势 ..............................11
2.3.3 使用�ASP.NET 开发服务器端程序的优势......................12
3 需求分析 .......................................................13
3.1 项目背景分析 ...............................................13
3.2 可行性研究分析 .............................................14
3.3 业务描述 ...................................................15
3.4 功能分析 ...................................................16
3.4.1 系统的功能特点 ...........................................16
3.5 数据流程分析 ...............................................16
4 系统详细设计 ...................................................20
4.1 数据库设计 .................................................20
4.1.1 数据库的建设原则 .........................................20
4.1.2 数据库的概念结构设计 .....................................20
4.1.3 数据库的逻辑结构设计 .....................................22
4.2 基于 FLEX 的 Web 应用程序设计方法 ............................22
4.3 系统功能模块的设计与实现 ...................................23
4.3.1 用户登录模块 .............................................24
5
4.3.2 文件夹功能模块 ...........................................24
4.3.2 文件功能模块 .............................................24
4.4 界面设计 ...................................................25
5 系统测试 .......................................................27
5.1 文件夹模块测试用例.........................................27
5.2 文件模块测试用例
..........................................29
6 总结和展望 .....................................................33
6.1 总结........................................................33
6.2 展望........................................................34
参考文献 .........................................................35
致 谢 .............................................................36