This article introduces how to learn php and how to learn php programming well. For more information, see. For beginners of php, you need to master the following content: 1. basic php syntax, such as various knowledge points in "proficient in php". 2. SQL, such as Mysql management and SQL statement writing. 3. html: these things are required for page creation. 4. css. Currently, Div + css is commonly used. Have a basic understanding of apache, nginx, and linux systems and understand related configurations. Recommended for editing: php beginners should know more about several minor mistakes that php beginners can easily make. for example, to do this: 1, select a good framework, such as Symfony or zend framework. They all adopt the MVC mode. The framework can reduce the number of underlying repetitive development. More importantly, it can make collaboration easier and projects easier to expand. 2. code and page separation, such as Smarty, which can better separate pages (html) from logic processing (php, this allows artists and programs to work in parallel (on the premise that the requirements are well-developed ). 3. advanced cache. This is an eternal topic in php Development. the reason why a website uses php is that it is fast. The cache technology can make it faster. Major cache technologies include: File Cache, such as Pear. Memory cache, such as Memcached. Fast. Operating system cache, such as Squid. 4. acceleration tools, such as zend optimizer, and page compression. 5. advanced database technologies, such as design optimization, query optimization, and clusters. Can you imagine that the database technology Google uses is Mysql? Mysql can be used for massive amounts of data, but it is generally slow when we reach several million, because we have no skills. 6. optimize Apache, Mysql, and linux servers. It mainly designs parameters for some configuration files and closes some unnecessary services. 7. Algorithms. different people may write things with dozens of times less efficient. We recommend that you read more about algorithms and compare them with php exercises. 8. to improve the user experience, you must be nice-looking, but the page file should not be too large and will not affect the speed. some DHTML and Ajax technologies should be used. Designed with the habits of ordinary people. Ajax can adopt some frameworks, such as prototype. Of course, from the perspective of software engineering, you have to learn some tools such as CVS and phpunit. Studying more open-source things is helpful for learning. Let's talk about this. of course, the benevolent and wise are wise, and each person's learning method and direction are different. I hope this article will give you some inspiration for learning php programming. |