Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Seek advises on learning/practicing better design patterns
I really loved how Vanilla authors code their project... I think it is the best design pattern ever practiced in an famous open source PHP project I had ever seen.
I know PHP very well and basically able to code anything I want. However I'm always struggle with my design patterns, I know the syntaxes for Objects and Classes in PHP. However the code I wrote doesn't feel like "object oriented". I had started my programming life with C. Most of the time I cant resists the temptation to write my code in procedural style.
What kind of practices to take in order to form a better coding "habit" ? Is there any recommendations for good design patterns books?
Thanks in advance.
I know PHP very well and basically able to code anything I want. However I'm always struggle with my design patterns, I know the syntaxes for Objects and Classes in PHP. However the code I wrote doesn't feel like "object oriented". I had started my programming life with C. Most of the time I cant resists the temptation to write my code in procedural style.
What kind of practices to take in order to form a better coding "habit" ? Is there any recommendations for good design patterns books?
Thanks in advance.
0