Home >Database >Mysql Tutorial >Summary of bbs design based on mysql
6. bbsd and cq66 server-side transformation In bbsd, the user module should be easier to modify. Just change the operation of writing the .PASSWD file to the member function of the UserManage class that operates the database. However, you may need to first determine what data has changed. To call Which function. The consistency of concurrent operations is guaranteed by the locking function of the database. MySQL should support this kind of lock. The article may be more troublesome. It is enough to convert the original operation on the file into the member function of the BoardManage class of the database. The cq66 mode should be easier to change, maybe the original protocol for fetching articles needs to be changed. When fetching the title of the article, the length of the article is also sent. Then the client can gradually request the content of the article according to the size of the display area. When requesting the article, the request range must be given. Regarding the system module layer, would it be better to make it in the form of so? (Is so equivalent to dll? Is it necessary to make it easy?) At the same time, should the system module layer save some files?
1. 67.220.91.30 bbs BBS design based on mysql (5)
##Introduction: 67.220.91.30 bbs:67.220.91.30 bbs based BBS design of mysql (5): 6. bbsd and cq66 server-side transformation In bbsd, the user module should be easier to modify. Just change the operation of writing the .PASSWD file to the member function of the UserManage class that operates the database. However, you may need to first determine what data has changed. To call Which function. The consistency of concurrent operations is guaranteed by the locking function of the database. MySQL should support this kind of lock. The article may be more troublesome. It is enough to convert the original operation on the file into the member function of the BoardManage class of the database.
2. bbs.txtnovel.com BBS design based on mysql (2)
Introduction: bbs.txtnovel .com:bbs.txtnovel.com BBS design based on mysql (2): 3. The key to database design is the efficiency of mysql, and reasonable allocation of mysql memory, especially the size of the table cache. In addition, what happens when the system suddenly loses power? Is mysql robust? The name of the table is designed to use a prefix to indicate the type, all expressed in lowercase (?), for example: System database, with s as the leader, such as user table: suser (what about sUSER?), as follows: s: system table, suser, sclass m: user correspondence table, msy
##3.bbs.5isotoi5.org BBS design based on mysql (4)
Introduction: bbs.5isotoi5.org:bbs.5isotoi5.org BBS design based on mysql (4): 5. Layout module design The so-called classification is more for the telnet server. In cq66 mode, users can classify according to their own wishes. Anyway, in the end, they are accessed directly with the board as the basic unit. For access to layout articles, the entire article is used as a parameter when storing, and the chunking of the article is completed by this layer. If the upper layer transmits it in units of blocks, all the transmission is completed in the upper layer, and after combination, the parameters are passed to this layer for decomposition; When reading, this layer is accessed in blocks. If the upper layer wants to access in full-text units, the merge work is done in the upper layer. This4.
is based on BBS design of mysql (5)_PHP tutorial
Introduction: BBS design based on mysql (5). 6. bbsd and cq66 server-side transformation In bbsd, the user module should be easier to modify. Just change the operation of writing the .PASSWD file to the member function of the UserManage class that operates the database, but5.
BBS design based on mysql (4)_PHP tutorial
Introduction: BBS design based on mysql (4). 5. The so-called classification of layout module design is more for the telnet server. In cq66 mode, users can classify according to their own wishes. Anyway, in the end, it is directly based on the layout6.
BBS design based on mysql (1)_PHP tutorial
Introduction: BBS design based on mysql (1). 1. System architecture: Adopts modular thinking and is divided into 3 layers: a. Data storage layer: use mysql to store all data of bbs, including user information, article data, user letters, user messages#7.
BBS design based on mysql (2) _PHP Tutorial Introduction: BBS design based on mysql (2). 3. The key to database design is the efficiency of MySQL, and reasonable allocation of MySQL memory, especially the size of the table cache. In addition, what happens when the system suddenly loses power? Is mysql robust? The name of the table 8. BBS design based on mysql (3)_PHP tutorial Introduction: Based on mysql bbs design (3). 4. User module design For the underlying database, the C API function of mysql is called to modify the database, and certain state variables (such as user name) are stored internally, which is left to the upper layer for completion ##9 . BBS design based on mysql 2_PHP tutorial ##10. ##Introduction: bbs design based on mysql. 1. System architecture: Adopt modular thinking and be divided into 3 layers: a. Data storage layer: use mysql. Store all data of bbs, including user information, article data, user letters, user messages
The above is the detailed content of Summary of bbs design based on mysql. For more information, please follow other related articles on the PHP Chinese website!