How soon will you learn PHP? Learning route? Do you want to report a training course?

Source: Internet
Author: User
Tags learn php php and mysql php development environment
I second-rate school of the junior communication female major this road is really difficult to go down to learn PHP self-learning ability is also a good guide to the study of the process and the view of the newspaper classes around a lot of people to the training course there are many training courses to our school to promote is really tangled but comparative tendencies and self-study Because it's so immature that it's cool to say
Ask for expert guidance twos here Thank you

Reply content:

Well, for PHP, I'm not an expert; But for how to learn PHP, I am an expert.

I am from four aspects to elaborate!
    1. How long does it take to learn PHP the quickest?
    2. An efficient learning approach
    3. Specific course of study
    4. The similarities and differences between self-study and training

--Wait a minute, the classroom has students ask questions.----

--Back to---

A: How long will it take to learn PHP the quickest?
A discussion without preconditions will only turn into meaningless quarrels.
So set two prerequisites first:

Premise 1. The trainees are based on the "No Programming language Foundation" and can "skillfully operate the computer (keyboard, build directory, etc.)".
Premise 2. " Learn PHP "means to embark on a formal job in PHP.

In this premise, regardless of self-study, or training, learning PHP Limit SpeedIs: 2 months!

A classmate named "Star", in 2013, spent 56 days on self-study, got an offer. Now I work in Nanjing.
The "star" study time is 16 hours a day.

Here is his study and interview process:
Interview those things [one]
Interview those things [two]
Interview those things [three]

2 years, hundreds of students with uneven foundation, Senior High School/ancient Chinese/English major/Lathe worker/security/Zhangjiakou Miner ... Wait a minute
They took 2 months from the Boolean education , and embark on a job at Php post.
One of the fastest students is 49 days, and their study time is 12-14 hours a day.

2 months so short, how can you learn?
In fact you should ask in turn: 2 months why not learn?
What the Olympic Games pursue is the limit of human physical strength.
Learn to program, why don't we pursue the limits of our brainpower?

The sprint, hundred meters 10 seconds was once considered by scientists as the limit of human impossible to overcome.
But after being Jim Heins, there are more and more players to break through this limit.
So, the real limit, in your heart.

Of course, relying on the subjective desperately, is not enough, scientific and efficient learning methods, is the guarantee of rapid learning.

Two: Efficient learning methods--There is no shortcut to learning programming, but it can be less detours.

The quickest way to program--is the iterative learning method, also is the Boolean education To do 2 months training theory.
What is an iteration?

Most of the teaching methods are a course, followed by teaching.
And in one course, it is a chapter, a section, a section, along the teaching.
----for programming, this is wrong!

The right way to learn---
first the trunk, then the thick line, then the details, with student Step into, iterate over and over again.

Taking the HTML course as an example, almost all of the courses are coming up with labels and p,h1,h2,div,pre,ul,li.
Imagine: a 0 basic student, suddenly told him so many tags, he can not faint?

Even The so-called "famous teacher", is nothing more than a loud voice, PPT and notes to do the fine.
But this wrong way of teaching, the finer the PPT, the more students will learn.

The right thing to do is regardless of the label, first tell you, look at this page, if he is this piece of cloth,
How do you cut it into the middle of the next three chunks? --First Trunk
The middle piece, how to cut into the left and right two pieces? --Heavy line
How do I insert a text picture in the middle of two blocks? --Further details

If you do not understand this way of learning, please look at the process of sketching
The correct sketch step is a typical iterative learning process.
and and most of the teacher's teaching methods, are tiled irrigationSuch as.
do you understand a little bit about the iterative learning approach? Do you understand a little bit about the iterative learning approach?
If still not, suggest you look at my "8 hours learn HTML Web development " ,
This course is a very typical manifestation of the Boolean education A unique "iterative learning approach"
Please allow me to be arrogant, this is the best HTML Web course in the country, there is no "one".

Because I see less of the Wang Shuang, in computer teaching, I have seen the author of the Assembly language "a book, can be a bosom friend." Wang Shuang (famous computer science educator in China)

three. Specific course of study

First round Iteration(6 days, quickly master PHP to do the site exactly what is going on)
    • HTML (3-day study + 2-day exercise) Tutorial: 8-hour Learning HTML Web page development
    • PHP3 Hours of Light introduction (half-day study + half-day exercise) Tutorial: http//pan.baidu.com/s/1pghc0

Second round iteration(14 days, tamping php theoretical basis, and use process-oriented blog)
    • PHP Foundation Consolidation (3-day study + 2-day exercise) Tutorial: PHP Foundation Consolidation-Self-study IT network
    • MySQL3 Days Foundation Consolidation (day school day practice, total 3 days) Tutorial: http//Pan.baidu.com/s/1i3ovakP
    • Blog development (cookie/session, file upload, paging class, GD thumbnail, verification code, in this project will be practiced, 6 days)
      Video address: /HTTP/pan.baidu.com/s/1deqlsyP password km1j

Third round Iteration(4 days, continue to promote theoretical knowledge)
    • PHP Object-oriented (2 days) Tutorial: Link:/ http/pan.baidu.com/s/1qxvxdqG Password: APVH
    • PHP Object-oriented common class (1 days) search for the upload class, thumbnail class, paging class, MySQL class
    • Object-oriented way to do the blog again (1 days) Ibid.

Fourth round Iteration(7 days, framework, and other practical development tools to prepare for employment)
    • HTTP protocol (half day) Tutorial: Link:/ http/pan.baidu.com/s/1i4onuex Password: x538
    • Regular expression (half day) Link: http://pan.baidu.com/s/1blbwcm password £ º K7TK
    • TP FRAME (1 days) Tutorial: see the next line.
    • Use the TP framework to make a mall (5 days) Tutorial:http://pan.baidu.com/s/1btrsxo password £ º ed5i (posted on 16/07/ 17)

Fifth round Iteration(7 days, js/jquery and other front-end skills)
    • JavaScript (2-day study + 1-day exercise) Tutorial: Learn JavaScriptJS game-Don't step on white
    • Ajax (half-day study + half-day exercise) Tutorial:/ httpPan.baidu.com/s/1hmoa See the first 10 episodes
    • jquery (2-day study + 1-day exercise) Tutorial: jquery Combat Classic

Sixth round Iteration(4 days, Linux server)
    • Linux (3 days) Tutorial: Basics of Getting Started with Linux
    • LNMP environment (1 days) Tutorial: teach you to compile PHP7 (NGINX+MYSQL+PHP7)

Seventh round Iteration(3 days, two development of practical open source products. The set template is low, but I'm not sure you're going to a big company, are you?
    • Phpcms template (1 days)
    • Ecshop Two-time development (1 days)
    • Discuz plug-in development (1 days)
Eighth round Iteration(Practical skills in interviewing and employment)
    • Svn+git (1 days)
    • Bootstrap response Layout (1 days)
    • Development (1 days) Tutorial: /http/pan.baidu.com/s/1hqweifi/http Pan.baidu.com/s/1c0yokhU
Nineth Round Iteration(3-5 years,Note is " years ")
Various frameworks, JS depth, MySQL optimizer, PHP bottom, Linux ops, network, C language, Python ...

four: Similarities and differences in self-study and training
Note: There are similarities and differences in learning styles, but knowledge is the same.
Whether it's self-study or training, curd or the curd, for loop or the For loop

The Lord tends to "teach yourself" because "it's cool to say that" and that's really good news.
show that you love the program, not just for the sake of life.
You can be a good "program"

In fact, training is to pay to buy a learning atmosphere, spend money to buy time
One self-taught, is by perseverance, spend time to save money.

In my experience: the same 0 basic students
Self-study, usually takes 6-12 months.
Training, usually takes 2-4 months.
The total cost of training is generally between 10,000 and 20,000, which is about February-March wages.

The difficulty of self-study is:
    • Without compulsion, learning time is easily interrupted by mobile//QQ,
    • Easily frustrated, a small problem, did not get out of the morning, and no teacher guidance, particularly hit.
    • Learn to practice is not unified, only watch video, feel understood on the past, often do not seriously complete after-school cases or projects. Leads to a shallow foundation.

So, if you are early in employment, such as sophomore, Junior, you might as well teach yourself.
If you are near employment, you may wish to train.

But no matter which road to choose, efforts, are necessary!

Five: Why is the PHP training cycle often longer than 2 months?

2 months, starting from the pursuit of the limit, but we do not need to torture themselves as an ascetic.
Bolt hundred meters can run 9 seconds, but he will not run every morning, hundred meters sprint it?

Before the Boolean education, the 2-month limit method was used.
So most of the previous classes, a girl did not, why?
The strength is too big, even the boys are tired famished.

If we are good to ourselves, plus one months, a total of 3 months, learning pressure is much smaller.
If you consider the "negative basic student"--even the keyboard is unfamiliar, add 1 months of basic courses.

So----if training, 4 monthsTime, which is more than sufficient!

If we continue to lengthen the cycle, then not from teaching ., but from Business DeparturesThe.
After all, the long cycle, high tuition, but also easy to cheat small White said-"Look, we teach this much ..."


-Almost a week ...

First day, morning, basic grammar
There are things in all programming languages that are actually very simple:
Declaring variables, assignments, operations, judgments, loops,
I don't think I can handle this in two hours.
Because there is really nothing to say.
Here you can also study the difference between shaping, floating point, String, object, array
And, by the way, learn to convert the code.
Then the establishment and use of the method object is the difference between the include require
--These are two hours, of course, not much harder to use just the simplest call.
Also can be public, protected and private $this and self:: all know

OK, we're going to have lunch.

First day, afternoon, database
How to link a database, how to use a database, SQL statements
(For simple applications such as adding and deleting and LIMIT ORDER by GROUP)
--Is this going to be more difficult?
Then you can find a database class to learn how to use,
can also touch the content of the Extended class library
-This is just a review of the morning knowledge.

Rest


The next day, morning HTML, Get/post, preliminary understanding of JS and CSS
A morning's time has passed--and the PHP relationship is not very much said


The next day, explain the primary entrance file in the afternoon. Building MVC Concept
This may be difficult, but it's completely understandable.
a.php
$a =$_get[' type '];
if ($a = ' login ') {
Include ' login.php ';
}
if ($a = ' newmessage ') {
Include ' newmessage.php '
}
For example, this is a very simple entry file.
That should be easy to understand, too.
This allows you to learn to build a simple message board-not automatically refreshed, of course.
Rest


Third day, class/class library, OOP, modular programming ideas

Fourth day, how to track errors and quickly locate errors
Actually here, the basic tutorial on PHP can be considered to be the end of the
Any program is largely a complication of these things.

Fifth day, HTML upload JS JQ AJAX
The sixth day, the algorithm complex SQL statement, database optimization
Seventh day, initial contact framework, caching and other applications
If you want to hit someone, don't slap your face ...
Thank you for not sleeping at night, see this topic, to strong answer.

I don't know how long people have spent, I only use my situation to tell you my answer.

The answer is: one months.

First say the beginning of the situation: never touch the programming, do not say php,html and CSS will not, well, actually is nothing.

Again the end of the situation: you can independently write a website and delivered to the customer.

Website features include article management, image management and other necessary, there is a simple forum and question and answer section.

There must be a bug in the writing, but the basic function is definitely not a problem.

The website includes the front desk, backstage, User Center, there is a member system, no payment interface QQ login interface such as third-party interface.

Why do I remember the one months clearly? Because the customer said within one months to complete the words to send me a 500-piece red envelope, the red envelope I got.

Even more because from then on I went to the yards of farming this road of no return.

Learning Order: html,css,js,php

Why this order, because at that time customers to see the progress, I have to do a static model of the page to coax him.

Not what? Baidu. There was no scientific Internet at that time.

In addition, ask people, attention, this point is 100 times times more important than the previous one!!!

Someone will give you a nudge when you get stuck, and find a way to solve it yourself. It may save two days! Sometimes you may be stuck on a very basic problem for a long time, and this problem may be based on you are not able to search the answer! Because the people who write those tutorials are by default you will!

Study (or work?) Time: No statistics, write tired on the drilling sleeping bag sleep, woke up to continue to write, tired and then sleep ... As for the bath and so on to finish again ...

The sleeping bag is still in the cupboard at home, and then I never use it again, but I think about it every time I see it ...

How to: Process, what? Object oriented? Sorry, not at that time, my second month will ...

Please ask the customer to do two times to develop the project to see the code when the look of the crazy.

Framework? I'm sorry, I didn't know about that, in fact, I know that there is an open source framework available when I'm already using the framework I wrote ...

Read more books, Comrades! If I had known something like thinkphp, why would I suffer so much?

How painful the understanding Ah!

Remember the first time to see others into the system of code is a SHOPNC-to-do mall, at that time do not know what is a single point of entry, what is OOP, after looking at the TM can also be found to write this?

Well, here thanks to the next shopnc, the time is not now, now I go to your site ecshop you zooey phone harassment I mean?

3:30, what if I'm not sleepy?

To conclude, sum up, I am such a stupid person one months can learn this degree (not to say is learned), should have Daniel in a shorter time to learn, the basic person should not be as I was so painful, because at that time a lot of things are know it but do not know why, many things to wait until later back to learn C can understand.

Important points:
1. You need someone to take or someone to ask.
2, to their own ruthless point.
3, to have the pressure, if someone is urging you to progress in the back, then you must be happy to hit a few keyboard different.

Give me some advice:
1, you can go to Granville station to pick up the task, so that someone urged you, forget how much money, because you may not want to do at any time, buy a novice card, open a new mobile phone number (I will not tell you I learn new language or skills that is the way to do)
2, have a good project don't look for outsourcing, because you may meet me at that time.
3, have time requirements of the project do not go to Granville Station, the reason for the mission, see 1.
4, you'd better build your own technical team.
5, if the fourth does not do, please teach yourself programming.
6, the development of the pursuit of speed, I do the fastest project is 8 days (another tragic story, my sleeping bag almost out of the lake), the slowest is now in the company, an order system I can write for a month or two, the difference I believe can see two project code of people have their own experience.
7, in addition to PHP, please learn at least Android,ios, if you only will PHP, believe me, you first write out the interface must be rework.
8, learn C, if you feel boring can go to play single-chip computer, what, the assembly? Now single-chip computer can run C, good or bad! (Have I been exposed to my age?) )

In addition, I hate JS.

I always feel, write JS write long people with drive long (drive real car, not old driver) like, dirty words will a string of (personally feel, do not like to spray) if you have learning C,c++,java background, will soon get started PHP, you can learn thinkphp, with WAMP integration environment, Phpstorm Editor. Through this framework to understand the principles of web development, remember, the core key additions and deletions to change the search! About one months, according to their own situation. During this time you can get familiar with Html,css,js (through 3w School). Includes PHP OST, recommended
During this time you can learn by watching videos (videos with a lot of TP frames) and project exercises. Almost understand the Web development model, you can change a frame yii,phalcon,laravel and so on. Once you are familiar with one of these interim frameworks, you can learn it systematically. Development mode, Learning Server Nginx,linux system, HTTP protocol, algorithm and so on.
My current PHP development environment and tools
1,php+mysql+nginx (configured in vagrant)
2, Frame Laravel
3, Database Visualizer sequel Pro
4, Test tool postman
5, Code management tools git network engineering, there are some C and Java Foundation, at the beginning of their own study for three months to find a job The university does not teach themselves, there is plenty of time. What do you want to train!
Want to learn PHP, self-study or training? Previously written ..... My advice or the above sentence, girls learn to learn can, find work is too difficult. Mainly employing units wearing glasses recruit. See Girls do procedures generally do not recruit. There are several reasons for this.
Afraid of too much emotion, communication is not smooth
It is not convenient to work late at night or directly unwilling to add
Afraid of getting married and having kids.

PHP is not difficult, to learn to make a small website is very easy, the ability is good is better.

If you can learn very well, on GitHub have to take the shot of the project, above those estimates will let the employers take notice. But if it's an ordinary programmer. Most companies still like to have boys.

And most of the programmers ' groups despise training schools, and the most popular are the universities and the non-self-taught sciences. The last thing to see is to train the school. Of course, the specific look at corporate culture, if it is a small company estimates that everyone is Dora, Tsinghua University can not see the kind of company estimates not so much said.

More to say, in fact, why girls do not learn the front-end technology, the same writing procedures, the market gap is also large, high wages. And the opposite end, gender discrimination is not so big.

Don't look every day a bunch of male programmers every day shout lack of sister, others that is not lack of female programmers, is lack of encouragement division! I am now a sophomore, and the landlord is also a student, a year ago I was ignorant of these. Because I also joined the WTO is not deep small white, so I said not necessarily useful, but still hope to give the landlord some help or inspiration it

Let's talk about your experience with PHP.
I was at the end of last winter vacation began to learn PHP, then I was a web small white, but at present I mainly wrote four sites:
1. Take note of the website. This is the first website that I wrote, or the mixed writing ... After writing to show off when the roommate XSS ... The interface is pretty rough, but with this introductory PHP and MySQL
2. Personal blog. General function, category Review article management, the interface is also simple, the same mixed writing, then further solid PHP and MySQL, and began to use bootstrap
3. Book Trading website. Project needs, to do a second-hand trading site, the function is not much to describe, at this time know the front and rear separation, front-end angular, back-end PHP. Write to the back end of the Laravel framework, rewrite the background. That's when you know it with GitHub. Front-end CSS for various effects
4. Personal blog. Since the front and back end of the separation, and can not return to the way of mixing, more and more to see their own blog. So during the winter vacation rewrite blog, but different front with client rendering, this time continue to learn laravel framework, with Laravel framework to write blog, deeply feel laravel strong (before just provide API, here is really learning)
The middle also touches the lnmp,vps,redis,vagrant and so on, does not describe each

And then I'm personally thinking about learning PHP.
W3school is a very good site, the landlord can look at the HTML, CSS, JS tutorial, not necessarily all understand, but know that there are these things can come back to check
Then you try to write several static pages that are familiar with HTML and CSS. Then you can learn PHP and MySQL to write a few dynamic sites, you can start with Wamp or Xampp or phpstudy, and so on, such as software to deploy on Windows. Follow the tutorials step-by-step, and start experimenting with new things yourself. In fact, this step is basically the operation of the database, used to go on a few words
Then start doing a few more perfect websites, such as personal blogs. Basically can make a personal blog, PHP should even get started
You can go back to the PHP documentation or get in touch with PHP's framework (highly recommended laravel). Be sure to hit the code more, write more, so learning is the fastest

As for the training institutions, I think the landlord can self-study, PHP is not difficult, if the landlord interested in this area, you can quickly learn

Hope that my words can give the landlord's study to provide a little help is not not recommended training, is some training teacher level is really low, to tell the truth, I studied the beginning is also seen some training video, but so that they have a certain level, found that those teachers really good low ah. You can't even look directly at the angle they understand the problem. The point of view of your entry into the question is largely determined by the direction you will develop in the future. Of course there are good, such as the above high-ticket Yan 18 teacher. He has a lot of lectures on the Internet, if you like, you can go to self-study.
But one thing I always disagree with, is the so-called two months on how to say, a lot of knowledge needs a long time to accumulate, two months, only enough to understand the fur. I have been learning for more than a year, still feel is a slag. Learning needs to be enlightened again and again, and two months may not have enough time to think independently of the brain. Do not talk about the human body limit, muscle every day a lot of exercise will be tired, not to mention the brain, or to be programmed to learn such a large amount of work. Sometimes, people can not win the day, you have to recognize.
In a word, if you choose Training, please choose the training and find a good teacher. Any quick stunt is not credible, whether it's training or not. have Java and C Foundation is the best, learn very quickly, I had Java Foundation before,
The Learning route is
PHP native basic-smarty engine-MVC development, according to Smarty write a miniature framework-TP framework, it is best to learn tp3.2-yii2-and then find a job
———————......—...—————

Without the basis of the words I suggest to learn the native PHP, from the regular expression learning, understand the basic principles of Smarty engine, language is not the key, the idea is the center of development, the front-end knowledge is also very necessary, ajax,json,html5,js,jquery, If you're interested, you can learn a little bit like me. Server Linux,shell, as well as XSS attacks, SQL injection, and so strange hacker technology, the actual development also need git,composer and so on, basically play well, first in the company to do a project first
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.