Electronic Business Website project summary (Object Oriented programming article) ____ Programming

Source: Internet
Author: User

The Electric Business Project counted on the weekend altogether developed 16 days, in this 16 days of development time, oneself in which experience is greater than the harvest, because in the development process used in the technology are previously learned, more is to deepen the memory and understanding of knowledge, but in this project development experience there are many:

The first is the understanding of the opposite object programming deepened: Through this project, understood the teacher to speak of the " part " metaphor, the site of a lot of parts as a part of a piece, such as users, goods, shopping carts and so on, and coordinate these parts of " Small parts ", such as unified cryptographic operation class, encapsulation of the PDO operation class, etc., in the early development, we completely put aside the previous way of thinking ———" process ", such as a user registered to login to my website, saw a product, and then bought this item, So we go to the development of login registration function block, the commodity database extraction display function block, clearing function blocks, etc. and now, our development has been out of the "process"from the beginning, but into the "parts", such as "user" this "part" Not because you need to sign in to register a feature block that is logged in, but from the very beginning he was there. Login registration These functions, we try to go through this method to the "Electronic business site" This large object into a small object, and the small objects to improve his should have the characteristics and behavior, and use the appropriate functional class code to assist these parts to implement the functionality that he already has , whether or not these functions are reflected in my website, and form the core functional code package that we have completed Classfunction;

The second is to realize the superiority of OOP programming: the most direct manifestation is the reduction of the duplication of code, reduce the duplication of more duplicate code, but directly new object to complete the function, so that the code becomes more readable readability, followed by the convenience of code maintenance, Functional code is more of a way of referencing an action class, just change the method in the Operation class can change all the relevant code, so that the same error occurred two times basically does not exist; Finally, the security of the Web site system, the specific implementation of the functional code part of the hidden also makes our site more secure;

There is also a sense of teamwork: the progress of the project depends very much on the cooperation between the team members, it is more important to spend more time on the team members ' communication than always develop more efficiently in the project, and strengthen the cooperation among the members.

Project deficiencies: The lack of some good ideas and presentation methods, the overall style is too general.

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.