1. Trang chủ
  2. » Công Nghệ Thông Tin

báo cáo đồ án lập trình web _ lập trình web sai bán hoa quả có kết nối database hệ quản trị sql bằng tiếng anh

28 78 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 28
Dung lượng 1,62 MB

Nội dung

báo cáo đồ án lập trình web _ lập trình web sai bán hoa quả có kết nối database hệ quản trị sql Today, the application of information technology and computerization is considered as one of the decisive factors in the activities of governments, organizations, as well as companies, it plays a very important role. important, can make powerful breakthroughs. Along with the continuous development of computer technology and electronic networks, information technology also has highclass technologies and in turn conquers one peak after another. The Internet is one of the products of great value and is increasingly becoming an indispensable tool, the main foundation for the transmission and exchange of information globally. Now, everything related to information becomes easy for users: just have a computer connected to the internet and a stream of data to search almost instantly… the whole world about your problem. interested will appear, full of information, pictures and sometimes even sounds if you need… Using the internet, we have done many jobs at a much faster speed and at a much lower cost than the traditional way. It is this, which has promoted the birth and development of ecommerce and egovernment around the world, significantly changed the face of culture, and improved the quality of peoples lives. In production and business activities, now, ecommerce has affirmed its role in promoting and promoting the development of enterprises. For a store or shop, it is necessary to promote and introduce to customers new products that meet the needs of customers. So how to promote it is to build a Website for your store to promote all your products for sale. Therefore, I have implemented the project BUILDING A WEBSITE SELL FRUIT ONLINE for a fruit shop XYZ. The store owner puts those products on his website and manages it with that website. Customers can order products on the website without going to the store. The shop owner will send the product to the customer when the customer places an order. With the enthusiastic guidance of Mr. Cao Thanh Son, the group completed this project report. Although we have tried our best to learn, analyze, design and install the system, it is inevitable that there will be shortcomings. I look forward to receiving your understanding and suggestions. Thank you sincerely.

VINH UNIVERSITY TECHNICAL INSTITUTE AND TECHNOLOGY WEB PROGRAMMING BUILDING FRUITS SALE WEBSITE TEACHER: TS Cao Thanh Sơn Students : + Hoàng Ngọc Cường : 18574802010082 + Hồ Văn Cường : 18574802010178 Class : K59-CLC-CNTT NGHE AN, 06/20201 CONTENTS PREFACE CHAPTER SYSTEM SURVEY AND ANALYSIS .6 I ANALYSIS OF TOPIC REQUIREMENTS FUNCTION REQUIREMENTS II ANALYSIS AND DESIGN SYSTEM .7 SITUATION STUDY AND NEW SYSTEM BUILDING SYSTEM ANALYSIS .8 2.1 Scene-level data flow chart 2.2 Bottom-level functional hierarchy diagram 10 2.2.1 View product information function 10 2.2.2 Item select function 11 2.2.3 Member registrantion function 11 2.2.4 Search function 12 2.2.5 Order function 12 2.2.6 Feeback-contact function 13 2.3 function block diagram Add new 14 2.4 Functional diagram Update 15 2.5 Select and orders function block diagram 16 2.6 Block diagram of member registration function 17 2.7 Build entity relational model (ERD) 18 2.7.1 Diagram 18 2.8 Several tables Represent data elements .18 2.8.1 Description of PRODUCT TYPE table 18 2.8.2 CUSTOMERS table description .18 2.8.3 Description of the table PRODUCTS .19 2.8.4 DETAILS ORDERING table description 19 2.8.5 Description of ORDER table 19 2.8.6 Description of the EMPLOYEE table 20 2.8.7 SUPPLIER table description 20 2.8.8 SUPPORT table description .20 2.8.9 Description of the ADMIN table 20 2.8.10 Description of the ARTICLE table 21 2.8.11 Description of the MENU table 21 CHAPTER ANALYTICAL DESIGN 22 I Some program interface images 22 Home page section 22 Admin interface .22 The page interface allows customers to choose goods 23 Shopping cart interface 23 CHAPTER : SUMMARY OF ASSESSMENT AND EVELOPMENT DIRECTION OF THE APP 24 I What the program can 24 For the user, the program has launched 24 For the administrator, the program offered 24 II Points that can't be done and solutions 24 III The development direction of the program .24 PRESENTER 26 PREFACE Today, the application of information technology and computerization is considered as one of the decisive factors in the activities of governments, organizations, as well as companies, it plays a very important role important, can make powerful breakthroughs Along with the continuous development of computer technology and electronic networks, information technology also has high-class technologies and in turn conquers one peak after another The Internet is one of the products of great value and is increasingly becoming an indispensable tool, the main foundation for the transmission and exchange of information globally Now, everything related to information becomes easy for users: just have a computer connected to the internet and a stream of data to search almost instantly… the whole world about your problem interested will appear, full of information, pictures and sometimes even sounds if you need… Using the internet, we have done many jobs at a much faster speed and at a much lower cost than the traditional way It is this, which has promoted the birth and development of e-commerce and e-government around the world, significantly changed the face of culture, and improved the quality of people's lives In production and business activities, now, e-commerce has affirmed its role in promoting and promoting the development of enterprises For a store or shop, it is necessary to promote and introduce to customers new products that meet the needs of customers So how to promote it is to build a Website for your store to promote all your products for sale Therefore, I have implemented the project "BUILDING A WEBSITE SELL FRUIT ONLINE" for a fruit shop XYZ The store owner puts those products on his website and manages it with that website Customers can order products on the website without going to the store The shop owner will send the product to the customer when the customer places an order With the enthusiastic guidance of Mr Cao Thanh Son, the group completed this project report Although we have tried our best to learn, analyze, design and install the system, it is inevitable that there will be shortcomings I look forward to receiving your understanding and suggestions Thank you sincerely Students : + Hoàng Ngọc Cường : 18574802010082 + Hồ Văn Cường : 18574802010178 + Class : K59-CLC-CNTT Nghe An , June 6, 2021 CHAPTER SYSTEM SURVEY AND ANALYSIS I ANALYSIS OF TOPIC REQUIREMENTS Part SUBJECT NAME “Building a Website for a Fruit Shop” FUNCTION This is a website that sells and introduces products of stores and companies to consumers with item details with accurate prices Has the following functions: - Allow to update rows in the database - Displays a list of items by category - Display the goods the customer has selected to buy - Display customer information - Manage orders - Update goods, manufacturers, types of goods, news - Order processing - Statistics of customers who buy during the day, in a period of time REQUIREMENTS a Equipment and software - Computer can design web - MySQL database management system - Install Appserver, Xampp - Web design software: Dreamwear, sothink, flast… b Request a Website The system has parts: First: Customer section: Customers are those who have a need to shop for goods, they will search for necessary items from the system and order these items Therefore, the following functions must be present: - Display a list of store items for customers to view, choose and buy - Customers see the latest news, promotions on the website - After the customer selects and places an order directly, it must be displayed order so that customers can enter purchase information and view purchase invoices Second: For administrators: The owner of the application has the right to control all activities of the system This person is provided with a username and password to log into the system to perform his/her functions: - Function to update, edit, delete items, types of goods, manufacturers, news (must control the system) It requires precision - Receiving and checking customer orders Display orders - Statistics by date, time period In addition to the above functions, the Web site must be designed so that it is easy to understand, the interface is easy to use and beautiful, so that customers can see the information they are looking for, provide attractive advertising information, and provide relevant information promotions to attract customers It is important to ensure absolute safety of customer information during the online ordering process At the same time, the Web site must always be innovative and attractive II ANALYSIS AND DESIGN SYSTEM SITUATION STUDY AND NEW SYSTEM BUILDING a After the survey, I have grasped the following information - Customer management: Each customer can manage the following information: full name, address, phone number, fax, email - Goods management: commodity code, name of goods, unit price, quantity, image, details, code of goods, name of goods - Manufacturer management: manufacturer's house code, manufacturer's name - Manage news: News code, news name, item, news details - Process orders and statistics b Customer the person who selects the item to buy Unlike buying directly at the store, the company here customers manually manipulate through each specific step to be able to purchase On the net, the items are arranged in an easy-to-find order SYSTEM ANALYSIS After surveying the current status of the system and building the system, I presented the database files of "Building a website to sell fruits and vegetables" The database files are saved in the file dongho.sql.zip in the report file - Through the process of surveying, analyzing the current situation and building a development direction for the new system, I built the structure of the system “Building a Website to sell Fruits” - Build functional hierarchy chart Data Flow Diagram: We build the data flow chart as follows WEBSITE SELL FRUIT ONLINE Figure 2.1 diagram function 2.1 Scene-level data flow chart Figure 2.2 Scene level data flow chart + Module displays full information related to the product the customer has selected + The module calculates the total amount of goods (in USD and VND) according to the unit price and exchange rate (USD/VND) of the date of purchase + Module to enter order information + Module to check if the registered customer is a regular customer of the company + Module updates orders to the database + Module notifies customers of successful orders, payment procedures, receipt of goods, ordering instructions or unsuccessful order notifications - Output : + Notification of order status (success\failure), payment procedures, receipt of goods, or instructions for re-ordering in case the order information is not appropriate 2.2.6 Feeback-contact function - Allow users to comment, complaint, feedback some information related to the product a Input: - The information of suggestions, feedback in the form of Email - Execution processes: + Module to input comments and feedback + Module saves comment information to the database b Output: - Detailed information about comments and feedback waiting for the administrator to reply 2.3 function block diagram Add new Figure 2.3 Function Chart Add New 2.4 Functional diagram Update Figure 2.4 Functional diagram Update 2.5 Select and orders function block diagram Figure 2.1 Order function block diagram 2.6 Block diagram of member registration function Figure 2.5 Graph of membership registration function 2.7 Build entity relational model (ERD) 2.7.1 Diagram Figure 2.6.1 diagram 2.8 Several tables Represent data elements Data components: 2.8.1 Description of PRODUCT TYPE table 2.8.2 CUSTOMERS table description 2.8.3 Description of the table PRODUCTS 2.8.4 DETAILS ORDERING table description 2.8.5 Description of ORDER table 2.8.6 Description of the EMPLOYEE table 2.8.7 SUPPLIER table description 2.8.8 SUPPORT table description 2.8.9 Description of the ADMIN table 2.8.10 Description of the ARTICLE table 2.8.11 Description of the MENU table CHAPTER ANALYTICAL DESIGN I Some program interface images Home page section Figure 1.1 homepage design Admin interface Figure 1.2 Admin interface design The page interface allows customers to choose goods Figure 1.3 Design the interface of the page to allow customers to choose goods Shopping cart interface Figure 1.4 Shopping cart interface design CHAPTER : SUMMARY OF ASSESSMENT AND EVELOPMENT DIRECTION OF THE APP I What the program can For the user, the program has launched Ways to search, look up by different topics, combine many topics according to customers' preferences View detailed commercial product information and complete store information Allows customers to register information to make product purchases Check the validity of the client login to the system Create an order Can run on many operating systems For the administrator, the program offered View information of items to be managed such as: Customers, products, orders Provide forms to enter new data of various types of documents The above data can be modified or updated In adding new products, the program automatically generates product codes, which is convenient for the administrator and the data is always consistent These functions are performed through the web interface Can run on many operating systems II Points that can't be done and solutions The connection between the server and the database is slow This is also understandable because establishing the bridge has to go through many levels The only solution is to let the server run on a machine with strong configuration, fast disk access speed III The development direction of the program The development direction of the Web site is to move towards an e-commerce with full functions of online payment But because in our country today, the problem of paying money online is still difficult and not very popular, so the function of the Web site to support administrators is still limited The main problem of the Web site is serving advertising Since then, besides commercial, the issue needs to focus on attracting customers to contact and negotiate the design and installation of a certain project in the company's area of expertise Therefore, in the future, it is necessary to add the functions of inventory: Statistics of database accesses, statistics of import and export prices, inventory, revenue statistics, automatic invoice processing Warehouse management (checking product inventory automatically), electronic payment using Edit card Add some functions to check input data, change access password of customers as well as administrators Although we have tried to complete the requirements, the report still has many shortcomings I hope to receive the guidance and guidance of other teachers to help review and propose additional ideas and issues for the construction of the Web site so that I can be more complete I would like to thank the teachers PRESENTER [1] Wiki, "HTML," p https://en.wikipedia.org/wiki/HTML, 2021 [2]Microsoft,".NETdocumentation,"pp.https://docs.microsoft.com/en-s/dotnet/ [5]Microsoft,"C#documentation,"pp.https://docs.microsoft.com/enus/dotnet/csh arp/, 2021 [6]Microsoft,"SQLServertechnical documentation," pp.https://docs.microsoft.com/enus/sql/sql-server/?view=sql-server-ver15 ... software - Computer can design web - MySQL database management system - Install Appserver, Xampp - Web design software: Dreamwear, sothink, flast… b Request a Website The system has parts: First:... building the system, I presented the database files of "Building a website to sell fruits and vegetables" The database files are saved in the file dongho .sql. zip in the report file - Through... [5]Microsoft,"C#documentation,"pp.https://docs.microsoft.com/enus/dotnet/csh arp/, 2021 [6]Microsoft,"SQLServertechnical documentation," pp.https://docs.microsoft.com/enus /sql/ sql-server/?view =sql- server-ver15

Ngày đăng: 07/09/2021, 14:06

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w