What PHP application design/design patterns do you use?
问题 Please share your favorite application design / design patterns for use in PHP with me. Some things I'd like to know: How your folders are designed How you use object oritentation in your PHP applications Do you have a standard way of dealing with CRUD, pagination, or any other common tasks? How do you avoid using repetitive code? What's your approach to libraries/sharing common code, etc? What are ways in which you can make your code more elegant? You don't have to answer all of these,