Php message board question ??? Who can tell me how to implement this message board as a system ?? I don't know how to start .. Php ------ solution -------------------- make a front-end page and get a value to determine the operation type, such? In this way, the form is displayed. if there is no parameter, all messages are displayed ??? Who can tell me?
This message board is a system. how can we proceed ?? I don't know how to start ..
Php
------ Solution --------------------
Make a front-end page and get a value to determine the operation type, such? Do = ly to display the form. if there is no parameter, all the message lists will be displayed, and a post-processing file will be created in the background, in this case, you just need to perform some basic security filtering and rule determination and directly import the data into the inventory.
------ Solution --------------------
Let me give you my thoughts:
1. requirement analysis: whether the poster wants the message board to verify the user and whether the security is high ....
2. Database Design: analyze the requirements of the landlord to determine which tables and fields are required.
3. html page design: determine the required pages and styles through Requirement Analysis. if you require a higher level, you can proceed in advance.
4. write the php code, identify the required functions through requirement analysis, and then write the specified code.
5. test program availability and modify bugs.
The premise of writing this program is to look at the specific requirements of the landlord, which can be simple and complex. My answer is complete and I hope it will help the landlord.
------ Solution --------------------
A message board should have the following functions:
1. he provides an input form to write comments for the user. (Append)
2. he provides a message list to view existing messages for the user. (Browse)
3. a management form is provided for the administrator to delete existing messages. (Manage)
This is the basic analysis method for writing a "message board", that is, the basic method of the "message board" class (boand ).
Whether you use files or databases to store the "message board" data, you must have a variable that marks the data source for the class method. This is the property
Your "message board" class may be used for different purposes, so you may need to use the headline (title) attribute for the purpose of identification; in order to display different styles, you may need the attribute style
In short, no matter what kind of interface your "message board" presents to users and what media you use to store data. The basic methods must exist.