Company to use PHP to do some development, start learning PHP
Because of the business needs, the company needs to use PHP to do development. But temporarily haven't been able to recruit a good PHP programmer, so I have to gig, learning PHP, temporary can block, if you can learn in-depth.
Make a simple record. In order to be good at urging yourself to learn.
Because there have been many years of web development experience, for a short time to master PHP or have confidence, what communication mechanism, form, b/S concept, html,css and JS Basic learning can be ignored.
First, a php tutorial was searched on W3cschool, http://www.w3school.com.cn/php/. Probably did a bit of browsing. Focus on several aspects:
1, how to declare the variable, if used.
2. How to use constants
3. Basic grammar and process, how to use the loop
4, understand and learn a bit of PHP array, and the array of. NET and generics comparison.
5, the super-global look to PHP.
6, understand PHP some of the web's operations, including the form of access, Session,cookie use, the basic operation of the file.
7. Learn how PHP connects, reads, writes, and updates with MySQL.
8, probably know that PHP has a lot of functions, although do not know how they should be used, the individual think it is unnecessary to go to the memory, find a manual, use the time to check.
9, understand the require and include introduced PHP files.
Then downloaded a phpstorm as an IDE tool. Then configure the basic Environment of PHP, install MySQL, the above a few things from the view, next to the secret code, from the general understanding can be written out. On top of the knowledge, if not consider reuse and object-oriented, just simple to write some Web programs, do a business station no problem. Try to get a little something to practice practiced hand.
Time planning: Reading the above knowledge, it takes about half a day. Then spend half a day writing and writing, basic introductory.
The following plan: Know that PHP has templates, there are many frameworks. With MVC, take a look at this piece and spend some time understanding PHP's cache and other authentication mechanisms. Find a mature framework to learn and use. Then do a little thing, feel it, and look for an open source project.
The current progress, basic knowledge to browse again, today strive to beat one side. Can it be done within a week?