BBS论坛项目立项报告模板
2022-04-06 02:25:42 35KB BBS论坛 项目立项模板
1
数据库创建代码: 1:用户表:(users) userid(主键),username(用户名),password(密码),sex(性别),head(头像),regdate(注册日期) 2:类别表:(types) tid(主键),type 3:技术表:(technic) teid(主键),tename(技术名),tsum(拥有帖子数量),tid(引用类别表主键) 4:帖子表:(card) cid(主键),title(标题),content(内容),outtime(发帖时间),uptime(修改帖子的时间),csum(回帖数量),tename(属于哪个技术), userid(引用用户表外键) 5:回帖表:(restore) rid(主键),rtitle(标题),rcontent(内容),routtime(发帖时间),ruptime(修改帖子的时间),tename(属于哪个技术), userid(引用用户表外键),cid(引用帖子表主键) --用户表:(users) -- Create table create table USERS ( USERID INTEGER not null, USERNAME VARCHAR2(20) not null, PASSWORD VARCHAR2(20) not null, SEX VARCHAR2(20) not null, HEAD VARCHAR2(20) not null, REGDATE DATE not null ) tablespace SYSTEM pctfree 10 pctused 40 initrans 1 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table USERS add constraint PK_USERID primary key (USERID) using index tablespace SYSTEM pctfree 10 initrans 2 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); --类别表:(types) -- Create table create table TYPES ( TID INTEGER not null, TYPE VARCHAR2(20) not null ) tablespace SYSTEM pctfree 10 pctused 40 initrans 1 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table TYPES add constraint PK_TID primary key (TID) using index tablespace SYSTEM pctfree 10 initrans 2 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); --技术表:(technic) -- Create table create table TECHNIC ( TEID INTEGER not null, TENAME VARCHAR2(20) not null, TSUM INTEGER not null, TID INTEGER not null ) tablespace SYSTEM pctfree 10 pctused 40 initrans 1 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table TECHNIC add constraint PK_TEID primary key (TEID) using index tablespace SYSTEM pctfree 10 initrans 2 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); alter table TECHNIC add constraint FK_TID foreign key (TID) references TYPES (TID); --帖子表:(card) -- Create table create table CARD ( CID INTEGER not null, TITLE VARCHAR2(20) not null, CONTENT VARCHAR2(100) not null, OUTTIME DATE not null, UPTIME DATE not null, CSUM INTEGER not null, TENAME VARCHAR2(20) not null, USERID INTEGER ) tablespace SYSTEM pctfree 10 pctused 40 initrans 1 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table CARD add constraint PK_CID primary key (CID) using index tablespace SYSTEM pctfree 10 initrans 2 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); alter table CARD add constraint FK_USERID foreign key (USERID) references USERS (USERID); --回帖表:(restore) -- Create table create table RESTORE ( RID INTEGER not null, RTITLE VARCHAR2(20) not null, RCONTENT VARCHAR2(100) not null, ROUTTIME DATE not null, RUPTIME DATE not null, TENAME VARCHAR2(20) not null, USERID INTEGER not null, CID INTEGER not null ) tablespace SYSTEM pctfree 10 pctused 40 initrans 1 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table RESTORE add constraint PK_RID primary key (RID) using index tablespace SYSTEM pctfree 10 initrans 2 maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); alter table RESTORE add constraint FK_CID foreign key (CID) references CARD (CID); alter table RESTORE add constraint FK_UID foreign key (USERID) references USERS (USERID); --序列号 -- Create sequence create sequence SEQ_CID minvalue 1 maxvalue 9999999999 start with 1 increment by 1 cache 20 order; --seq_userid -- Create sequence create sequence SEQ_USERID minvalue 1 maxvalue 9999991 start with 1 increment by 1 cache 20 order; --seq_tid -- Create sequence create sequence SEQ_TID minvalue 1 maxvalue 99999 start with 1 increment by 1 cache 20 order; --seq_teid -- Create sequence create sequence SEQ_TEID minvalue 1 maxvalue 999999 start with 1 increment by 1 cache 20 order; --seq_rid -- Create sequence create sequence SEQ_RID minvalue 1 maxvalue 99999 start with 1 increment by 1 cache 20 order;
2022-02-24 09:47:45 1.22MB bbs论坛
1
BBS Flask 搭建的论坛项目
2021-12-22 13:39:20 2.63MB Python
1
数据库:mysql jdk版本:java1.8 开发工具:myeclipse或eclipse 操作系统:windows
2021-11-06 20:38:58 52.22MB Java Mysql SSM
1
JavaScript 基于java 有一二级板块的 包括回帖、发帖的
2021-11-04 12:40:50 2.66MB BBS
1
该项目是在SQLSERVER和jsp下完成的一个项目,具有完整的BBS模板系统,仅供参考。
2021-10-29 10:47:31 2.19MB BBS论坛项目
1
完整的BBS,可实现用户的权限验证,后台管理,发帖,跟帖,回帖等一系列功能!还有界面的优化,数据库建表代码及其关联,里面都有。
2021-08-19 18:11:40 6.89MB BBS
1
本人大学时期的二期项目,前端采用SemanticUI绘制,后端采用Servlet,向前端传送Json数据,实现数据交互。网站实现了一般论坛的绝大多数功能,后续更新可私信我索取。
2021-08-06 11:06:49 19.72MB 源码分享
1
适合期末实训答辩以及毕业论文答辩,环境:(myeclipse8+mysql5.5)
2021-07-11 12:06:50 20.17MB javaweb
该项目从零开始,包含源码和数据库,适合初学者学习,内容详细,由浅入深,一共四十集手把手教你怎么开发BBS论坛
2021-02-18 09:41:57 809.44MB JAVA
1