What projects does php do? PHP is about to enter the project now & nbsp; I don't know what projects to do & nbsp; mall? Hope that the project should be too simple or too complex. & nbsp; enough for an interview. & nbsp; the knowledge needed in future work should be involved, this is a project I have done with PHP: E-Commerce Platform System 1. what are the functional requirements of php projects based on the Internet?
PHP is about to enter the project.
I don't know what project to do
Mall? Or do you want the experts to give you some advice?
Hope the project is not too simple or too complex
Enough for an interview
The knowledge needed in future work will be involved.
------ Solution --------------------
This is a project I have done with PHP: E-commerce platform system
I. Functional requirements
With the development of Internet, online shopping has become a kind of shopping fashion. It provides convenience for online shopping, so that customers can purchase goods without leaving home. Currently, popular e-commerce platforms include B2B and B2C. E-commerce platform network is a business transaction website between enterprises and consumers, it allows customers to purchase their desired products by browsing products, online shopping, querying orders, printing orders, and viewing announcements. The system must have the following functions:
(1) the website design page must be elegant, personalized, and be able to display the corporate image.
(2) all product data of an enterprise is displayed on the e-commerce platform.
(3) standardized and complete basic information settings.
(4) the product category is detailed. you can view the product information according to different categories.
(5) perform a fuzzy query by product category, product name, and order.
(6) realize the functions of purchasing goods, ordering goods, Cashier Checkout, and printing orders.
(7) implement various queries, such as fuzzy queries.
(8) some specific functions to be completed are as follows:
1. user management: it can complete registration of user basic information input and background management of user basic information (users can modify their own passwords, change the location of delivery, and view their historical orders ).
2. administrator management: The administrator can complete the website's product information (add a category, add a category, add a commodity, product review), product transactions (external orders, shipment query), member Management (Member review), operation management (administrator addition, administrator review, administrator exit) features.
3. search function: you can search for product names and product categories.
4. shopping cart function: users can view the items and add them to the shopping cart. They can also add, modify, and delete the items in the shopping cart. after confirmation, they can submit the order for checkout.
5. websites can publish announcements and advertisements.
II. functional modules
Based on the platform functions, the functional modules of the platform are shown as follows:
The online shopping system platform mainly includes four functional modules: user management, front-end website layout (including shopping cart), Administrator management, and search. The user management module mainly includes user registration, user modification, and user deletion. the administrator management module mainly includes product materials (add categories, add sub-categories, add items, and review items), product transaction (order management), member management, operation management (administrator addition, administrator review, administrator exit) and other functions; search mainly includes (product name, product category ), announcement advertisement management.
3. website database design
3.1 Analysis of website database requirements
Database analysis
In the information world, information flows through the database from an objective object, and finally returns to the objective world through decision-making institutions. this cycle of information goes through three fields: the information world, the data world, real world. Things in the real world are reflected in the human mind. The human brain has a process of understanding it and enters the information world after Analysis (selection, naming, classification, etc. This information is further processed, encoded, and then entered into the data world, and the development of software systems needs to consider these two issues, that is, the data required for system development, and how to operate the data. These two problems run through the entire software system development process, which is the database design issue, a core of software design.
The main object of the online shopping system is the user. Therefore, a user table must be created, including the basic information of the user. The main activity of the user is the purchase of goods. Therefore, a commodity information table must be created; when you purchase a product and select the product you want, you must first search for the product. Therefore, we classify the product and classify it into different categories, create a commodity category table and commodity category subdivision table. Finally, the user submits an order and creates an order table.
After analysis, the database contains the following table:
Product category table; product category table
Product information table; product ID, product category, product description, product details, unit price, product image, inventory quantity, access times, status.
Order table; order number, user number, order date, delivery date, delivery address, zip code, phone number, payment method, order status)
Order List: order number, product number, unit price, quantity, and discount.
User table; user ID, user password, password prompt, answer, name, gender, date of birth, Email, phone number, province, city, address, zip code, user grade, Status)
Administrator table: User ID, user password, name, gender, role, and status.
Order Status Table: status.
Province table: province ID, name
City table: City No., name, Province No.
3.2 database logical structure design
Database design should follow some rules. a good database must meet some strict constraints and requirements. Try to separate the tables corresponding to each object. one object corresponds to one table and you can find out the attributes, fields, and links between the objects. Entities, attributes, and links must be considered in conceptual design.
Is also the core of a good database design. Based on the actual situation, the structure of each table is obtained after careful design.
3.3 Technical requirements
1. PHP classes, inheritance, and interfaces are required.
2. three-tier architecture
3. JQUERY
4. AJAX
5. use the PDO database interface
5. use the SMARTY Template
Of course, pipeline can be simpler, and technical requirements can be written using PHP process-oriented methods. The PDO interface can be changed to MySql, and JQuery functions can be implemented using Javascript!
------ Solution --------------------
Discussion
This is a project I have done with PHP: E-commerce platform system
I. Functional requirements
With the development of Internet, online shopping has become a kind of shopping fashion. It provides convenience for online shopping, so that customers can purchase goods without leaving home. Currently, popular e-commerce platforms include B2B and B2C. E-commerce platform network is a business transaction website between enterprises and consumers, it allows customers to purchase their desired products by browsing products, online shopping, querying orders, printing orders, and viewing announcements. The system must have the following functions:
......
------ Solution --------------------
It's enough to make a shopping website.
Do not be complicated first.
Log on as a user.
Home page.
Product list.
Product details.
Order process.
You can go to the interview if you have done a little better.
------ Solution --------------------
If you are a student recently, it is better to simplify the process as much as possible and spend a lot of time on details.
------ Solution --------------------
First, I learned how to create a simple news publishing system.
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.