40 php beginner logos

Source: Internet
Author: User
40 php Cainiao logos? I have read an article recently, which is brilliant. I would like to share with you that if you still have the following phenomena, you are still a PHP rookie: 1. does not use tools such as phpDoc to properly comment your code; 2. turning a blind eye to excellent integrated development environments such as ZendStudio or EclipsePDT; 3. I have never used any form of version control systems, such as the Sub php Cainiao logo 40

?

I have read an article recently and it is very incisive. I 'd like to share it with you.

If you still have the following phenomena, you are still a PHP rookie:
1. do not use tools such as phpDoc to properly comment your code;
2. ignore excellent integrated development environments such as Zend Studio or Eclipse PDT;
3. never used any form of version control system, such as Subclipse;
4. do not adopt certain coding and naming standards, as well as general conventions, and cannot be implemented during the project development cycle;
5. unified development is not used;
6. do not convert (or) or verify some input or SQL query strings (refer to related PHP functions );
7. do not thoroughly plan your program before coding;
8. do not use test-driven development;
9. coding and testing are not performed when the error is enabled;
10. turning a blind eye to the benefits of the debugger;
11. do not refactor your code;
12. do not use MVC-like pattern to divide different layers of the program;
13. do not know these concepts: KISS, DRY, MVC, OOP, REST;
14. output (echo/print) content directly in your function or class instead of return;
15. ignore the advantages of unit test or general test;
16. hard-coded HTML is always returned, but no pure data, string, or object is returned;
17. "messages" and "configuration parameters" are always hard-coded;
18. SQL query statements are not optimized;
19. do not use _ autoload;
20. intelligent error handling is not allowed;
21. replace $ _ GET with $ _ POST for destructive transfer operations;
22. I don't know how to use regular expressions;
23. I have never heard of SQL injection or cross-site scripting;
24. simple configuration is not allowed, and constructors of classes are not allowed to accept parameter passing and then execute the set/get method or constant definition during runtime;
25. do not understand the advantages and disadvantages of object-oriented programming (OOP;
26. abuse of OOP regardless of the circumstances;
27. Self-think that implementing reusable software must be equal to/need to make your code comply with OOP;
28. do not use smart default values;
29. there is no single configuration file;
30. I don't want to expose the file source code, but I replaced. php with the. inc suffix;
31. do not use the database abstraction layer;
32. do not maintain the DRY style, that is, do not repeat yourself. if you are always copying and pasting something, it means you are poorly designed;
33. a function, class, or method cannot be used together for only one thing;
34. failed to try the advantages of OOP, such as abstract classes, interfaces, polymorphism, inheritance, and access control modifiers;
35. do not use existing design patterns to optimize your program system design;
36. you are not allowed to define basic directories if you have many files or directories;
37. the namespace is contaminated, for example, naming your library functions with common strings;
38. no table prefix is used when database tables are used;
39. the unified template engine is not used;
40. don't pay attention to the existing PHP development framework, so you are too lazy to explore it. In fact, advanced development concepts and wonderful code are contained in it.

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.