All Projects → Mingyangzu → PHP-carbon-forum

Mingyangzu / PHP-carbon-forum

Licence: Apache-2.0 license
一个没有用第三方框架的简易论坛,类似知乎的,基于话题讨论的无版块论坛。结构简单、高度封装鉴权、请求、数据库、错误页等等,一个页面的后端一般就几十行。作为学习的话我觉得是不错的,包含的XSS过滤、SQL注入、低版本PHP兼容(例如魔术引号、ArrayColumn)、正则、移动端自适应(DOING)、IIS下ISAPI_Rewrite兼容、全自动安装脚本、较为复杂的字符串&数组操作等常见的点都有涉及。阅读起来也比较方便,因为没用框架、代码量也比较少。同时数据库结构设计和脚本执行效率也是较为高效的,每个页面响应时间一般在1~5ms之间。

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
Smarty
1635 projects
Nginx
273 projects

Carbon-Forum

A high performance open-source forum software written in PHP.

Related Projects

Demo/Official Website

Requirements

Install

  1. Ensure that the entire directory are writable.
  2. Open http://www.yourdomain.com/install and install.
  3. Open the Forum, and register. The first registered users will become administrators.

Upgrade

  1. Backup files( /upload/* ) and databases.
  2. Delete all files except /upload/*, and upload the new version files that extract from the the latest vesion packet.
  3. Ensure that the entire directory are writable.
  4. Open http://www.yourdomain.com/update and update.

Features

  • Mobile version.
  • Real-time notifications push.
  • Discussions Tags based, Quora/StackOverflow like.
  • High FE&BE performance.
  • Full asynchronous design, improve the loading speed.
  • Excellent search engine optimization (mobile adaptation Sitemap support) .
  • Perfect draft saving mechanism.
  • The modern Notification Center (currently supported and @ replies).

Contributors

Show all

License

Copyright 2006-2016 Canbin Lin ([email protected])

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].