Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
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