How can I write scalable code?

Source: Internet
Author: User
That is to say, how to make a good scalable program architecture at the beginning of a project? It can be expanded without limit after a few changes are made in the future. That is to say, how to make a good scalable program architecture at the beginning of a project? It can be expanded without limit after a few changes are made in the future.

Reply content:

That is to say, how to make a good scalable program architecture at the beginning of a project? It can be expanded without limit after a few changes are made in the future.

Familiar with mature ideas such as design patterns, MVVM, and IoC.

Do not expand for expansion. Before design, analyze the requirements, which are the current ones, which are the future ones, and which do not need to be done. Designing a big and complete architecture is equivalent to having no architecture. The architecture should serve the project, rather than vice versa.
I have written several php frameworks before and even spent a lot of time on the frameworks. Now, okay, I don't need php anymore. Do php frameworks have any significance?

The open/closed principle is open to changes and extensions.

Abstract !!!!!

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.