Mysql-based bbs design (5)

Source: Internet
Author: User
6. Bbsd and cq66 server-side transformation bbsd, the user module should be better modified, as long as the write. the operation of the PASSWD file can be changed to the UserManage class member function of the operation database. However, you may need to determine the data change and the function to be called first. The consistency of concurrent operations is guaranteed by the database lock function. mysql should support such locks. Article 6. Bbsd and cq66 server transformation
In bbsd, the user module should be relatively easy to modify, as long as the operation to write the. PASSWD file is replaced
You can operate the UserManage class member functions of the database, but you may need to determine what data changes are required first,
The function to call. The consistency of concurrent operations is guaranteed by the database lock function. mysql should
This lock is supported. This article may be troublesome, but it also converts operations on files into operations.
The BoardManage class member function of the database.
The cq66 mode should be well modified. it may be that the original protocol for getting the article needs to be changed. Document Retrieval
When the title is used, the length of the article is also sent, and then the client can according to the size of the display area,
Gradually request the content of the article, and provide the request scope when requesting the article.
Regarding the system module layer, it may be better to make the so form (so is not equivalent to dll,
Is it necessary ?), At the same time, should the system module layer save some local data?
Or is it the same interface as a public function? Looking back at the UserManage class, there may be no need to differentiate privileged commands,
The id of the operation object must be provided for all operations, and the permission check should be handed over to the above service layer for completion?

7. Preliminary test plan
To test, you must first make things, do things, and first have something else .....
First, install the 167 system, configure mysql, and then learn mysql's c api and create a table,
To do this plan, you must first write the 5000 lines of code in a short term, and then review the postgraduate entrance exam. after the review, you can prepare the compiler job. then, you will not be able to come to me without mm, you can start .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.