Summary of bean sprout Mall Website and bean sprout mall

Source: Internet
Author: User

Summary of bean sprout Mall Website and bean sprout mall

I spent one and a half months building a bean sprout Mall Website. I wrote it with MVC and used booklists. I used easyui in the background.

A review of the time used, basically except for Saturday and Sunday holidays, the other time is not delayed. In terms of time allocation, it takes more time to draw styles at the beginning.

Front-end: considering that the picture in the middle of the home page is still centered when the browser is not maximized, the new product listed at the bottom of the home page and the popular selling this month use the IList interface {get; set }, put it into the class that stores the home page data,

In this way, call the self-written interface in the Controller and store the value in it.

When some data is displayed again, you need to convert the format. Login uses form submission @ using (Html. beginForm () {}, the method for submission in action, the jump after js write Verification Code clicking, and the page pop-up window when there is a problem during login. Registered in mvc, use Required to confirm that it is Required, StringLength controls the length and so on. After the verification is submitted, add it. If you forget the password, I set the number of words recorded in the database, with the default number of times, if you enter an error in the password that you forgot more than a certain number of times, the user is disabled, you can only use the customer service contact administrator to enable the user, the product page jumps by category, and then sort by time, sales, and price, when you buy a product and add it to the shopping cart, you must not only log on to the product, but also determine whether the segment quantity exceeds the inventory limit. The shopping cart size is similar. When searching, write a class in the controller, write the value and name on the button for the front-end search. You can call the button. The personal center is divided into my data, password change and my order, and the internal framework is displayed by using iframe.

Background: The background user cannot log on to the foreground, nor can the foreground user log on to the background. The foreground page must take into account the permission issue. The background easyui creates a framework and adds, deletes, modifies, and queries the datagrid, the reference of easyui should take into account his storage location, not only in the Content but also in other places. Then, when referencing it, it will completely reference it. There is nothing between user management and product management, the drop-down tree mainly refers to the cyclic reading of the category table, which increases sales volume and reduces inventory in terms of inventory, and waits for the user to confirm the receipt. The datagrid shows multiple corresponding level 2 categories under the level 1 category, when reading the Chinese document in the same datagrid, you must double-click windows. open Display: easyui uses jquery to submit data to obtain data. Pay attention to the value acquisition method. If there is an error in the value passing, it will also affect the value passing, so you need to clear the breakpoint.

Basically, I have summarized some of the above issues that I have taken into account in the process of doing this. For easyui, I still need to learn about nesting and use jq.

 

Related Article

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.