| Medicine is a special commodity, so the medicine circulation restricted market access. Because the drug variety, count the number of large, high requirements for batch number and the validity of management, sales outlets of many factors, so the development of the business system of Medicines Co is necessary. In the market, many commercial Medicines Co business system, is designed for large Medicines Co, a huge system, functional redundancy, the price is expensive, not suitable for small and medium-sized Medicines Co.JAVA based MVC (Model View Controller) framework will be decomposed into a Web application:Model (model), View (view) and Controller (controller), reduces the coupling between projects, makes the complex items easier maintenance. Input logic, business logic and display logic separation, the default Test Driven Development (Test-DrivenDevelopment) project is easier to test; UrlRouting strong mechanism to allow developers to build more convenient and easy to understand and can search URL, provide better technical support for SEO.JAVA MVC based on the abstract data structure, the database completely into the object model, so that developers can use to support the JSP platform language call. System of JAVA MVC4.0and Struts and Hibernate based development, including shopping website and the backstage management website. By using the software MyEclipse and eclipse, and SqlServer2008as the developing tool. The front end design of the site management background using Jquery UI. Database design using MYSQL.Design, the sales system is divided into two parts front display interface and the backstage manager business. Front end shopping sites and administrator service according to the specific division of labor is divided into a plurality of business module, make detailed design and analysis for each business module. Shopping website achieved drug classification, search and browse the drug information, shopping process, registration and other functions. The site management background to achieve the drug, customer, classification function. In function and performance can meet the development requirements, but also has good scalability. |