current location: Home > Download > Learning resources > php e-book > Several signs that you are still a PHP newbie
Several signs that you are still a PHP newbie
Classify: Learning materials / php e-book | Release time: 2017-12-08 | visits: 3111408 |
Download: 322 |
Latest Downloads
Red Alert Online
Delta Force
Pokémon UNITE
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
24 HoursReading Leaderboard
- 1 Call to a Member Function on a Non-Object: How to Diagnose and Fix This PHP Error?
- 2 Why Are My Go Logs Not Writing to File?
- 3 How Can I Create User-Friendly URLs in PHP?
- 4 How to Compute MD5 File Checksums in Java?
- 5 Why Are My Localhost Project Links Failing in WAMP, and How Can I Fix Them?
- 6 Warframe: Atomicycle Complete Guide
- 7 How to Resolve Go's Cross-Compilation Bootstrapping Issue from Windows to Linux?
- 8 Runnable run() vs. Thread start(): What's the Key Difference?
- 9 Why Does mysqli_connect() Fail with "Authentication Method Unknown (Caching_sha2_password)"?
- 10 How to Add Color to Console Output Using System.out.println()?
- 11 How Can I Iterate Through JavaScript Arrays?
- 12 How Can I Efficiently Extract Numbers from Strings in Python?
- 13 How Can I Handle HTTP Errors and Retrieve Response Codes When Using `file_get_contents` for POST Requests?
- 14 How Can I Use Multiple Databases in Laravel?
- 15 How Can I Convert a Python Dictionary to a Pandas DataFrame with Date and Value Columns?
Latest Tutorials
-
- Go language practical GraphQL
- 2326 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 3742 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2000 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2781 2024-03-29
PHProokie, if you: 1. Not using tools like phpDoc to properly comment your code
2. Turn a blind eye to excellent integrated
development environments such as Zend Studio or Eclipse PDT 3. Never used any form of version control system, such as Subclipse
4. Without adopting certain coding and naming standards, as well as common conventions, they cannot be implemented throughout the project development cycle.
5. Not using a unified development approach
6. Not converting (or) not validating certain input or SQL query strings (Annotation: refer to PHP related functions)
7. Not planning your program thoroughly before coding
8. Not using test-driven development
9. Do not code and test with errors enabled (Translation: refer to PHP function error_reporting)
10. Turning a blind eye to the benefits of a debugger
11. Not refactoring your code
12. Do not use MVC-like patterns to separate different levels of the program
13. Don’tknowthese concepts: KISS, DRY, MVC, OOP, REST
14. Instead of returning, directly output (echo/print) content in your function or class
15. Turning a blind eye to the advantages of unit or generic testing
16. Always returns hardcoded HTML, but never pure data, strings, or objects
17. Always hardcode “message” and “configuration parameters”
18. Not optimizing SQL query statements
19. Do not use __autoload (Annotation: refer to the relevant description in the PHP manual)
20. Intelligent error handling is not allowed (Translation: refer to PEAR’s ErrorStack)
21. Use $_GET instead of $_POST for destructive transfer operations
22. Don’t know how to use regular expressions
23. Never heard of SQL injection or cross-site scripting
24. Simple configuration is not allowed, and the constructor of a class is not allowed to accept parameter transfer and then execute the set/get method, or constant definition at runtime.
25. Not understanding the advantages and disadvantages of object-oriented programming (OOP)
26. Abuse OOP regardless of the size of the situation
27. Thinking that implementing reusable software must equal/need to make your code follow OOP
28. Not leveraging smart defaults
29. No single configuration file
30. I don’t want to expose the source code of the file, but use the .inc suffix instead of .php
31. Not using a database abstraction layer
32. You cannot maintain a DRY style, that is, do not repeat yourself. If you are always copying and pasting something, it means that your design is poor.
33. There is no implementation that allows a function/class/method to do only one thing, nor can they be used in combination
34. Failed to try OOP’s specialties, such as abstract classes, interfaces, polymorphism, inheritance, and access control modifiers (Annotation: such as public, private, protected)
35. Optimize your program architecture design without using existing design patterns
36. Don’t allow your users to define base directories if you have many files or directories
37. Pollution of the namespace, such as naming your library functions with common strings
38. Do not use table prefix when using database tables
39. Not using a unified template engine
40. Don’t pay attention to the existing PHP development framework and are too lazy to explore; in fact, advanced development concepts and wonderful code are contained in it.