This article introduces, how to be considered to learn PHP, how to learn PHP programming, the need for friends, refer to it. To learn PHP, you need to master the following: 1,php Basic grammar, such as "Proficient in PHP," the various points of knowledge. 2,sql, such as the management of MySQL, SQL statement writing. 3,html, doing the page will definitely need these things. 4,css, now more commonly used is the DIV+CSS design. For Apache,nginx, as well as Linux systems, there is a basic understanding, understand the relevant configuration. Editor's recommendation: Php beginners should know about those things PHP novice easy to make a few small mistakes advanced words, to do: 1, to choose a good framework, such as Symfony, or Zend Framework. They all use the MVC pattern. Frameworks can reduce many of the underlying repetitive development and, more importantly, make it easier for multiple people to collaborate and make projects easier to scale. 2, Code and page separation, such as smarty, it can make the page (HTML) and logical Processing (PHP) to do a good separation, so that the artist and the program can basically work in parallel (if the requirements are more perfect). 3, Advanced cache. This is an eternal topic in PHP development, the reason why the Web site to use PHP is because of the speed. With caching technology, you can make it faster. The main caching techniques are: File caching, such as pear. Memory cache, such as memcached. The speed is very fast. Operating system cache, such as squid. 4, acceleration tools, such as Zend Optimizer, and page compression. 5, advanced database technology, such as design optimization, query optimization, clustering and so on. Can you imagine that the database technology Google uses is MySQL? MySQL can be used for huge amounts of data, but we generally arrive at millions of very slowly, because the foundation is not trained. 6, optimize the Apache,mysql,linux server. The main is to design some configuration file parameters, and close some of the unnecessary services. 7, algorithms, different people write things out of the efficiency may be dozens of times times worse. It is recommended to look at the book of algorithms, as well as more PHP practice comparison. 8, improve the user experience, of course, is to do good-looking, but the page file is not too big, to not affect the speed, using some dhtml,ajax technology. Use the habit of ordinary people to design. Ajax can use some frameworks, such as prototype. Of course, from the software engineering point of view, you have to learn some tools such as Cvs,phpunit. It's helpful to study a lot of open source stuff. Introduce these, of course, the benevolent see, each person learns the way and the direction is different. I hope this article for everyone to learn PHP programming has a bit of inspiration, that is quite gratified. |