Novice learning php2 is reprinted from Zhihu
Author: Summer
Link: https://www.zhihu.com/question/20003635/answer/136715230
Source: Zhihu
Copyright belongs to the author. For commercial reprinting, please contact the author for authorization. For non-commercial reprinting, please indicate the source.
I have been self-taught along the way and have learned many other languages. I have been summarizing efficient methods for learning programming and have also tried them among my colleagues. I trained a colleague with basic programming skills and was able to start developing the company's iOS project in just one week. The skills here can be summarized as follows:
Learn the minimum knowledge you need to learn (no more than a week), and then start working on the project immediately, learn in actual combat, and gain comfort little by little sense and confidence.
The ability of a PHP engineer is entirely accumulated through projects. We often jokingly call it "killing monsters and upgrading". Starting from the first project, each time you do more projects, the ability value and experience value will increase.
A concept should be kept in the mind. This is a pitfall that many people often guess after learning all the way. That is: don’t read too many books or documents, but do it by yourself. Your real PHP learning comes from your development. The first project begins.
Because programming is a skill, no matter how many books you read, you will only get knowledge at most. There is a difference between knowledge and skills. As you can expect, a person who watched NBA basketball videos for three months without even touching the ball will definitely still not know how to play when he gets to the court. His true basketball learning began from the moment he started playing basketball.
PHP learning can be summarized into three types:
Basic grammar learning of the language, these are ifelse, while, switch, class, function, trait, etc.;
Built-in function/class learning, these are array operations, string operations, cookies, etc.;
Applied learning, these are queues, scheduled tasks, registration login, cache, email, paging, Permission management, ORM, etc.;
First and second, you can learn the interactive courses of MOOC to get started:
PHP Introduction_PHP Introduction Video Tutorial-MOOC.com
PHP Advanced Chapter_php video tutorial-MOOC.NET
##Learning is to understand PHP: PHP Manual-Manual. Therefore, as the study progresses, you should read more manuals and be mentally prepared. As a qualified senior PHP engineer, you will basically have to read the manual 5 to 10 times.
Author: Summer
Link: What books and tutorials are worth recommending for self-study PHP? - Summer's answer - Zhihu
Source: Zhihu
The copyright belongs to the author. Please contact the author for authorization for reprinting.
The third part of the study can be learned with the help of an excellent framework and stand on the shoulders of giants. The advantage of learning with a framework is that you can ensure that you are on the right path. The framework solves common problems encountered in the production environment, so basically the topics involved in framework learning are often faced in PHP development. problems, and what you learn are solutions.
The PHP framework is the first to recommend Laravel. See here for the reasons: What is the best PHP framework? Why? .
Laravel learning materials. To get started, first read this "Laravel Getting Started Tutorial". This book is specially customized by me for PHP/Laravel/Web beginners. It is also my company "Youfanyuanyang" http:// estgroupe.com/ Required courses for engineers.
This book will teach you how to use Laravel to build an application similar to Sina Weibo step by step, including registration, login, authorization, ORM usage, etc., even from 0 to deployment. Let you experience the agility, pleasure and ease of Laravel development from actual development.
The book involves basic knowledge related to web development such as HTML, CSS, JavaScript, PHP and Laravel. Not only that, but these basic knowledge points will also be extended to explain to you some more professional and practical skills in web development, such as Git workflow, Gulp front-end workflow, basic use of the Bootstrap framework, online deployment of code, etc. . This knowledge will lay a solid foundation for your future programming development.
The clues in this book are very strong. We deliberately designed it this way so that readers can practice following the clues. The requirement here is to follow this book 5 times.
After studying this book, I have my first project experience. You can start reading Laravel's documentation https://laravel-china.org/docs/home and try to understand the topics covered in the documentation.
If you encounter problems, you can go to the Laravel China Developer Community to find answers or ask questions. When asking questions, please pay attention to the community posting and management regulations.
I created this community in 2014. The community is now maintained by a group of administrators. The administrators are all experienced developers, such as
Great God is one of them. We have been working hard to optimize the technical atmosphere of this community, because we know that a good technical atmosphere plays a great role in learning and growth, not only for novices, but also for us.
When you hang out in the community, you may ask questions at first. When you mature, you can try to answer other people's questions. In the process, you will find that you are growing rapidly.
The next learning is to keep reading the PHP manual + Laravel documentation + doing projects + mixed communities.
Summer
The above is the detailed content of Novice learning php2 is reprinted from Zhihu. 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



Alipay PHP...

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.
