PHP Coding Standard and 50+ Programming SkillsHo Kim
1. How and Why to write good code?
2. Coding standard based on ZendFramework and real world practise.
3. PHP programming skills from daily coding.
4. Some security tips
5. Some optimization tips
PHP Coding Standard and 50+ Programming SkillsHo Kim
1. How and Why to write good code?
2. Coding standard based on ZendFramework and real world practise.
3. PHP programming skills from daily coding.
4. Some security tips
5. Some optimization tips
13. 小心翼翼的使用举例-rand的问题
举例:select * from online_user order by rand() limit
100
应该:
select * from online_user where page = $rand_page
select * from online_user where id > $rand_pos limit 100
select * from online_user + memcached …