Alibaba Java Development Manual

Read(25700) update time(2022-04-11)

The "Alibaba Java Development Manual (Official Version)" launched by Alibaba Group is the crystallization of the collective wisdom of nearly 10,000 Alibaba development students. It focuses on the development perspective and lists in detail how to develop more efficiently, more fault-tolerant, and more collaborative. Strive to know what is true and what is not true, and combine positive and negative examples to enable Java developers to improve collaboration efficiency and code quality.


The vision of "Alibaba Java Development Manual" is to code with high efficiency and code with quality. It combines the author's development experience and architecture history, refines the collective programming experience and software design wisdom of the Alibaba Group's technical team, and condenses it into three-dimensional programming specifications and best practices. As we all know, the rapid development of the modern software industry requires higher and higher comprehensive quality of developers, because not only knowledge points related to programming, but also knowledge points in other dimensions will affect the final delivery quality of the software.

For example, defects in the table structure and index design of the database may bring architectural defects or performance risks to the software; misplacement of unit testing makes integration testing difficult; vulnerable code without authentication is easily attacked by hackers, etc.

Therefore, this manual takes the developer as the center perspective and is divided into seven dimensions: programming specifications, exception logs, unit tests, security specifications, MySQL database, engineering structure, and design specifications. There are corresponding items under each item. Expanded explanations and explanations, positive examples and counter-examples, comprehensively, three-dimensionally and vividly help the growth of developers and the formation of team code specification culture.

Strictly speaking, the "Alibaba Java Development Manual" goes beyond the Java language itself and clarifies the basic qualities that a qualified developer should have. Therefore, this manual is suitable for managers and R&D in computer-related industries. It is intended to be read by personnel, computer majoring teachers and students in colleges and universities, job seekers, etc. It is hoped that it will become a work manual, tool dictionary and bedside book for everyone like a mentor and helpful friend.

Tips: Before continuing with this tutorial, you need to have a basic understanding of Java, mysql.

About the author

Yang Guanbao

The name of the flower is Gujin, taken from "The Nine Swords of Dugu, defeating all the martial arts in the world" written by Feng Qingyang in "The Swordsman" He is the main author of "Alibaba Java Development Manual". He has held different roles in Alibaba Group such as R&D, architect, and technical director. He has undertaken large-scale projects such as Double 11, internationalization, and code center. He has rich experience in front-line programming. He is currently the person in charge of the Aone code center, a R&D collaboration platform. He is willing to share and summarize, and has shared more than 30 times within the Alibaba Group. He relentlessly pursues technological innovation, has the courage to challenge technical difficulties, and has profound attainments in the fields of big data, high concurrency, and R&D efficiency.

Media Comments

"The difference between an excellent engineer and an ordinary engineer is not the architecture diagrams flying all over the sky. His skills are reflected in every line of code he writes." - Bi Xuan

Tips: Our Alibaba Java Development Manual tutorial will help you learn Java knowledge from beginner to advanced. If you have any questions, please go to the PHP Chinese website Java Community to ask your question, and enthusiastic netizens will answer it for you.

Contents

Preface V

PrefaceXI

Chapter 1 Programming Convention 1

1.1 Naming Style 2

1.2 Constant definition 7

1.3 Code format 9

1.4 OOP specification 14

1.5 Collection processing 21

1.6 Concurrency processing 28

1.7 Control statement 33

1.8 Comment specification 38

1.9 Others 41

Chapter 2 Exception Log 43

2.1 Exception Handling 44

2.2 Log Protocol 49

Chapter 3 Unit Test 53

Chapter 4 Security Protocol 59

Chapter 5 MySQL Database 63

5.1 Table Creation Protocol 64

5.2 Index Protocol 68

5.3 SQL Statement 72

5.4 ORM mapping 75

Chapter 6 Project Structure 79

6.1 Application layering 80

6.2 Second-party library dependencies 83

6.3 Server 87

Chapter 7 Design Protocol 89

Appendix Proper Nouns 94

Content covered by this Alibaba Java Development Tutorial Manual

This Alibaba Java Development Manual Covers all basic and advanced Java knowledge, including Java programming specifications, Java programming specifications, Java exception logs, Java MySQL specifications, Java engineering specifications and Java security specifications.

Tips: Each chapter of this tutorial contains many Java examples. You can directly click the "Run Example" button to view the results online. These examples will help you better understand and use Java.

Latest chapter


安全规约 2017-02-11
服务器规约 2017-02-11
二方库规约 2017-02-11
应用分层 2017-02-11
ORM规约 2017-02-11
SQL 2017-02-11
索引规约 2017-02-11
建表规约 2017-02-11