Home > Backend Development > PHP Tutorial > 关于模块的划分解决方法

关于模块的划分解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:47:35
Original
800 people have browsed it

关于模块的划分
我用框架开发网站,类似discuz的bbs。
在划分模块时遇到了困难,像discuz的回一个帖子就有积分之类的积分功能遍布bbs各页面,应该如何划分模块比较好呢?整个积分归为一个模块?
------解决方案--------------------
是啊,写一个公共的class,然后后台当然有多不同的动作做配置(配置积分),在有操作的时候调用指定动作。
------解决方案--------------------
一个访问20个class是可以的,正常的。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php - discuz single sign-on problem
From 1970-01-01 08:00:00
0
0
0
How to install discuz in phpStudy
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template