Tip: since the Xiuno BBS 4.0 open-source project has been temporarily closed, this entry is kept as a backup only — the information below is not guaranteed to be valid.
What is Xiuno BBS 4.0?
Xiuno BBS 4.0 is a lightweight forum product: the frontend is built on Bootstrap 4.0 and jQuery 3, and the backend on PHP 7 / MySQL / XCache / Yac / Redis / Memcached...
It adapts to phones, tablets and PCs, and has a very convenient plugin mechanism — it is not just a lightweight forum, but also a good base for secondary development.
git: https://git.oschina.net/xiuno/xiunobbs.git
What does Xiuno BBS 4.0 bring?
The frontend uses Bootstrap 4 + jQuery 3 with a responsive layout that adapts to phones, tablets and PCs — no separate mobile version needed.
Bootstrap 4 has been enhanced and made compatible — for example, chained operations like $('#submit').button('xxx').delay(3000).location('xxx.php') are supported.
xiuno.js uses the xn. namespace, so JavaScript naming conflicts are no longer a worry, and common PHP functions are properly implemented.
A general $.each_sync() method was added, avoiding server-side concurrent writes caused by ajax concurrency from the client side, and simplifying server logic.
IE8/9 and below are no longer supported — a full embrace of mobile, with no more nasty CSS hacks to ponder.
URL-Rewrite is no longer mandatory; relative URLs are used, making subdirectory deployment easy: user-login.htm
Image thumbnailing and cropping moved to the client side, no longer depending on the server GD library (no more worrying about GD holes and weaknesses).
Both Session and Token logins are supported, and the whole site can return JSON data — convenient for app development.
The plugin mechanism uses hook + overwrite, making it easy to insert and override — very convenient for secondary development, with no impact on performance or compilation.
The db layer offers a friendlier interface, supporting both SQL and NoSQL data operations (NoSQL encouraged).
Forum features are more streamlined, with more functionality added via plugins.
Language packs are built in: Simplified Chinese, Traditional Chinese and English.
The plugin center is officially open — developers can join and build paid plugins.
With a single blog plugin, it can turn into a powerful blog.
Posts support three formats: txt, html and markdown, with a moderately integrated UMEditor plugin that fixes many UM issues under Bootstrap 4.
The xiunophp 4.0 framework is merged into one file, xiunophp.min.php — a single include gets you all its handy functions and globals.
The official Xiuno BBS 4 release went through nearly 2 years and 7 betas before its final shape. This is probably the last major version, so feel free to build on it.
Performance
Written in a static-language programming style to make full use of PHP 7's OPCache.
Index optimization tailored to BBS workloads, with moderate caching.
Heavy computation moved to the client side; concurrency problems are controlled client-side where possible.
The author's decade-plus of experience leads you around the minefields.
License
Xiuno BBS 4.0 is released under the MIT license — you are free to modify it, create derived versions, and use it commercially without legal risk (please keep the original copyright notice after modification).
We promise the main program stays free forever, and we accept donations from decent people before profitability.
Webmaster discussion group
474834730
Developer group
2759536
[email protected] 2018/1/17
Quantum Responses (0)