Home Backend Development PHP Tutorial Novice learning php2 is reprinted from Zhihu

Novice learning php2 is reprinted from Zhihu

Sep 23, 2017 am 08:17 AM

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.


Learn every function provided by the framework, and ask the following questions while learning:

Why does this function appear? What problem was solved?

How versatile is this function? Why is it placed in the framework?

What are the advantages of this function over other frameworks in design?

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.


Laravel China Developer Community This is the most reliable PHP/Laravel community in China.

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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

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,

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

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 permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

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? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

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

Explain the concept of late static binding in PHP. Explain the concept of late static binding in PHP. Mar 21, 2025 pm 01:33 PM

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

How to send a POST request containing JSON data using PHP's cURL library? How to send a POST request containing JSON data using PHP's cURL library? Apr 01, 2025 pm 03:12 PM

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�...

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

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.

See all articles