Dive into pattern design 读书笔记 (一)

OOP 四大支柱

  1. 封装
  2. 抽象
  3. 继承
  4. 抽象

类的抽象就是对现实对象的一种模拟,但是只是根据需要模拟部分属性和方法;
封装的目的就是把一些信息隐藏起来,只暴露部分内容给其他对象,类中用private来实现;
封装+抽象是接口和抽象类的基础,有了它们接口和抽象才能顺理成章;
接口就是类中public部分。

Key Features Dive into the core patterns and components of React.js in order to master your application's design Improve their debugging skills using the DevTools This book is packed with easy-to-follow examples that can be used to create reusable code and extensible designs Book Description Taking a complete journey through the most valuable design patterns in React, this book demonstrates how to apply design patterns and best practices in real-life situations, whether that's for new or already existing projects. It will help you to make your applications more flexible, perform better, and easier to maintain - giving your workflow a huge boost when it comes to speed without reducing quality. We'll begin by understanding the internals of React before gradually moving on to writing clean and maintainable code. We'll build components that are reusable across the application, structure applications, and create forms that actually work. Then we'll style React components and optimize them to make applications faster and more responsive. Finally, we'll write tests effectively and you'll learn how to contribute to React and its ecosystem. By the end of the book, you'll be saved from a lot of trial and error and developmental headaches, and you will be on the road to becoming a React expert. What You Will Learn Write clean and maintainable code Create reusable components applying consolidated techniques Use React effectively in the browser and node Choose the right styling approach according to the needs of the applications Use server-side rendering to make applications load faster Build high-performing applications by optimizing components About the Author Michele Bertoli is a frontend engineer with a passion for beautiful UIs. Born in Italy, he moved to London with his family to look for new and exciting job opportunities. He has a degree in computer science and loves clean and well-tested code. Currently, he is working
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值