资源简介
目 录
1 引言 2
2 系统分析 3
2.1 功能需求分析 3
2.2 本系统采用的关键技术 4
2.2.1 JSP技术 4
2.2.2 JavaBean技术 4
2.2.3 JDBC技术 5
2.2.4 用JDBC访问数据库 6
2.3 可行性分析 9
2.4 系统运行环境 9
3 系统概要设计 11
3.1 总体功能 11
3.2 E-R图 13
4 系统详细设计 14
4.1 后台数据库设计 14
4.1.1 SQL SERVER 介绍 14
4.1.2 数据库表结构 15
4.2 处理流程设计 17
4.2.1 系统操作流程 17
4.2.2 数据增加流程 18
4.2.3 数据修
代码片段和文件信息
#!/usr/bin/env python
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2007 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the “GPL“)
http://www.gnu.org/licenses/gpl.html
- GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
http://www.gnu.org/licenses/lgpl.html
- Mozilla Public License Version 1.1 or later (the “MPL“)
http://www.mozilla.org/MPL/MPL-1.1.html
== END LICENSE ==
Connector for Python.
Tested With:
Standard:
Python 2.3.3
Zope:
Zope Version: (Zope 2.8.1-final python 2.3.5 linux2)
Python Version: 2.3.5 (#4 Mar 10 2005 01:40:25)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
System Platform: linux2
“““
“““
Author Notes (04 December 2005):
This module has gone through quite a few phases of change. Obviously
I am only supporting that part of the code that I use. Initially
I had the upload directory as a part of zope (ie. uploading files
directly into Zope) before realising that there were too many
complex intricacies within Zope to deal with. Zope is one ugly piece
of code. So I decided to complement Zope by an Apache server (which
I had running anyway and doing nothing). So I mapped all uploads
from an arbitrary server directory to an arbitrary web directory.
All the FCKeditor uploading occurred this way and I didn‘t have to
stuff around with fiddling with Zope objects and the like (which are
terribly complex and something you don‘t want to do - trust me).
Maybe a Zope expert can touch up the Zope components. In the end
I had FCKeditor loaded in Zope (probably a bad idea as well) and
I replaced the connector.py with an alias to a server module.
Right now all Zope components will simple remain as is because
I‘ve had enough of Zope.
See notes right at the end of this file for how I aliased out of Zope.
Anyway most of you probably wont use Zope so things are pretty
simple in that regard.
Typically SERVER_DIR is the root of WEB_DIR (not necessarily).
Most definitely SERVER_USERFILES_DIR points to WEB_USERFILES_DIR.
“““
import cgi
import re
import os
import string
“““
escape
Converts the special characters ‘<‘ ‘>‘ and ‘&‘.
RFC 1866 specifies that these characters be represented
in HTML as < > and & respectively. In Python
1.5 we use the new string.replace() function for speed.
“““
def escape(text replace=string.replace):
text = replace(text ‘&‘ ‘&‘) # must be done 1st
text = replace(text ‘<‘ ‘<‘)
text = replace(text ‘>‘ ‘>‘)
text = replace(text ‘“‘ ‘"‘)
return text
“““
getFCKeditorConnector
Creates a new instance of an FCKeditorConnector and runs it
“““
def getFCKeditorConnector(context=None):
# Called from Zope. Passes the context through
connector = FCKeditorC
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1441792 2009-05-21 23:26 78网上新闻发布系统\xwfb_Data.MDF
文件 1048576 2009-05-21 23:26 78网上新闻发布系统\xwfb_Log.LDF
文件 34304 2009-05-17 03:42 78网上新闻发布系统\系统详细配置方法.doc
..A.SH. 27648 2009-05-17 13:03 78网上新闻发布系统\网上新闻发布图\Thumbs.db
文件 185948 2009-05-17 12:43 78网上新闻发布系统\网上新闻发布图\会员管理.jpg
文件 123497 2009-05-17 12:42 78网上新闻发布系统\网上新闻发布图\后台登陆.jpg
文件 221864 2009-05-17 12:41 78网上新闻发布系统\网上新闻发布图\在线交流.jpg
文件 167534 2009-05-17 12:43 78网上新闻发布系统\网上新闻发布图\新闻分类管理.jpg
文件 150886 2009-05-17 12:41 78网上新闻发布系统\网上新闻发布图\新闻搜索.jpg
文件 239063 2009-05-17 12:42 78网上新闻发布系统\网上新闻发布图\新闻管理.jpg
文件 168248 2009-05-17 12:42 78网上新闻发布系统\网上新闻发布图\注册会员.jpg
文件 348649 2009-05-17 12:40 78网上新闻发布系统\网上新闻发布图\首页.jpg
文件 24576 2009-05-15 08:34 78网上新闻发布系统\网上新闻发布系统--需求分析.doc
文件 1170944 2009-05-17 13:13 78网上新闻发布系统\网上新闻发布系统.ppt
文件 615936 2009-05-18 11:49 78网上新闻发布系统\网上新闻发布系统论文.doc
文件 835 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\affiche\default.jsp
文件 4057 2009-05-17 01:26 78网上新闻发布系统\运行文件\xwfb\admin\affiche\edit.jsp
文件 4372 2009-05-17 01:26 78网上新闻发布系统\运行文件\xwfb\admin\affiche\index.jsp
文件 845 2009-05-17 01:18 78网上新闻发布系统\运行文件\xwfb\admin\default.jsp
文件 2517 2009-05-17 01:59 78网上新闻发布系统\运行文件\xwfb\admin\fenlei\add.jsp
文件 4794 2009-05-17 02:05 78网上新闻发布系统\运行文件\xwfb\admin\fenlei\index.jsp
文件 835 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\guestbook\default.jsp
文件 9139 2009-05-17 01:26 78网上新闻发布系统\运行文件\xwfb\admin\guestbook\index.jsp
文件 3416 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\guestbook\replay.jsp
文件 838 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\if
文件 2418 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\if
文件 1227 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\if
文件 838 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\if
文件 9029 2009-05-17 02:22 78网上新闻发布系统\运行文件\xwfb\admin\if
文件 4601 2009-05-17 01:16 78网上新闻发布系统\运行文件\xwfb\admin\if
............此处省略736个文件信息
评论
共有 条评论