Home  >  Article  >  Backend Development  >  Novice learning php2 is reprinted from Zhihu

Novice learning php2 is reprinted from Zhihu

phpcn_u11440
phpcn_u11440Original
2017-09-23 08:17:541355browse

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:
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