


12 pieces of advice from a five-year back-end development veteran to newbies
1. Before the requirements are clarified, there is no need to develop, this is a taboo
2. The development time should be increased by at least 1.2 times the estimated demand time
3. Clarify the original intention of the requester; clarify whether this development will be developed according to its task assignment or independently developed
4. Although there is no technology that cannot be realized, there is still time to introduce new technologies Cost and labor costs as well as subsequent maintenance costs are extremely high; it is impossible to provide the most perfect technical architecture within a suitable time, but it is necessary to come up with an industry standard solution that is controllable within the unit cost time; technology Whoever introduces it is responsible
5. Git provides a large number of log records. Unless under special circumstances, it is generally necessary to avoid introducing non-statement comments. Comments must be meaningful
6. Large chunks Code segment reuse must be encapsulated. Large code segments can be C/V directly, but detailed statements must be read through and checked.
7. The way to write code is not to write a little bit and then test a little bit. It is to organize the steps in your heart and write a basic version for testing and modification. Just writing a sentence of code and testing it is an entry-level approach for primary school students.
8. The code environment must be independent; the code must be hosted using distributed Git or GitLab; and there must be backup habits, manage permissions and branches, and allocate operations according to the principle of least permissions; code Branch management is divided into development branch, test branch, pre-release branch, online master branch, and hotfix bug repair branch. Only hotfix can be directly merged into the main Master branch. For the code environment, development is the development branch; testing is the test branch, business branch and pre-release black box environment. Each environment is an independent box, and people with relevant content should have corresponding permissions.
9. Technology development is first of all the selection of talents. Development means responsibility and trust in talents. You must be responsible for the content developed. Content that has not been tested is prohibited from being published. Posting casually without passing the test Review, design, joint discussion, and written content will not be published in the official environment and are only allowed to be released in the test environment and within. The joint and several liability arising from non-compliance shall be borne by the claimant.
10. In a startup company or during a mission, the goal is to quickly produce results, produce products, and get started quickly. The priority of the architecture is lower than the launch date, so rapid iteration is particularly important; technical architecture must have dedicated personnel Forcibly implemented, if there is already a coding style, it will be developed according to the previous style.
11. Product managers are the proposers of requirements. The estimated development time comes from their own development speed, understanding and concentration on development tasks, as well as what the demander can provide. Weigh the time, and finally give the corresponding development time based on 60% of your own development capabilities plus 40% of the time given by the developer.
12. Code reusability, beauty and readability cannot be achieved in one go; it must have a certain scale, reuse the places that can be reused, abstract the places that can be abstracted, and provide More superior solutions require superior algorithms. Solving problems is important, but code reuse and structure readability are also very important. The ratio between the two is still 6 to 4. Functions should be implemented first, and then the introduction of specific specifications should also be strengthened.
For more PHP related technical articles, please visit the PHP Tutorial column to learn!
The above is the detailed content of 12 pieces of advice from a five-year back-end development veteran to newbies. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



This AI-assisted programming tool has unearthed a large number of useful AI-assisted programming tools in this stage of rapid AI development. AI-assisted programming tools can improve development efficiency, improve code quality, and reduce bug rates. They are important assistants in the modern software development process. Today Dayao will share with you 4 AI-assisted programming tools (and all support C# language). I hope it will be helpful to everyone. https://github.com/YSGStudyHards/DotNetGuide1.GitHubCopilotGitHubCopilot is an AI coding assistant that helps you write code faster and with less effort, so you can focus more on problem solving and collaboration. Git

On March 3, 2022, less than a month after the birth of the world's first AI programmer Devin, the NLP team of Princeton University developed an open source AI programmer SWE-agent. It leverages the GPT-4 model to automatically resolve issues in GitHub repositories. SWE-agent's performance on the SWE-bench test set is similar to Devin, taking an average of 93 seconds and solving 12.29% of the problems. By interacting with a dedicated terminal, SWE-agent can open and search file contents, use automatic syntax checking, edit specific lines, and write and execute tests. (Note: The above content is a slight adjustment of the original content, but the key information in the original text is retained and does not exceed the specified word limit.) SWE-A

Go language development mobile application tutorial As the mobile application market continues to boom, more and more developers are beginning to explore how to use Go language to develop mobile applications. As a simple and efficient programming language, Go language has also shown strong potential in mobile application development. This article will introduce in detail how to use Go language to develop mobile applications, and attach specific code examples to help readers get started quickly and start developing their own mobile applications. 1. Preparation Before starting, we need to prepare the development environment and tools. head

Summary of the five most popular Go language libraries: essential tools for development, requiring specific code examples. Since its birth, the Go language has received widespread attention and application. As an emerging efficient and concise programming language, Go's rapid development is inseparable from the support of rich open source libraries. This article will introduce the five most popular Go language libraries. These libraries play a vital role in Go development and provide developers with powerful functions and a convenient development experience. At the same time, in order to better understand the uses and functions of these libraries, we will explain them with specific code examples.

Android development is a busy and exciting job, and choosing a suitable Linux distribution for development is particularly important. Among the many Linux distributions, which one is most suitable for Android development? This article will explore this issue from several aspects and give specific code examples. First, let’s take a look at several currently popular Linux distributions: Ubuntu, Fedora, Debian, CentOS, etc. They all have their own advantages and characteristics.

As a fast and efficient programming language, Go language is widely popular in the field of back-end development. However, few people associate Go language with front-end development. In fact, using Go language for front-end development can not only improve efficiency, but also bring new horizons to developers. This article will explore the possibility of using the Go language for front-end development and provide specific code examples to help readers better understand this area. In traditional front-end development, JavaScript, HTML, and CSS are often used to build user interfaces

"Understanding VSCode: What is this tool used for?" 》As a programmer, whether you are a beginner or an experienced developer, you cannot do without the use of code editing tools. Among many editing tools, Visual Studio Code (VSCode for short) is very popular among developers as an open source, lightweight, and powerful code editor. So, what exactly is VSCode used for? This article will delve into the functions and uses of VSCode and provide specific code examples to help readers

PHP belongs to the backend in web development. PHP is a server-side scripting language, mainly used to process server-side logic and generate dynamic web content. Compared with front-end technology, PHP is more used for back-end operations such as interacting with databases, processing user requests, and generating page content. Next, specific code examples will be used to illustrate the application of PHP in back-end development. First, let's look at a simple PHP code example for connecting to a database and querying data:
