Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

larafam's avatar

Object Oriented Design Technique tips and tricks

Each of us has their own way of thinking whenever we try to design an OO architecture, anyone wants to share?

0 likes
2 replies
zachleigh's avatar

Use the simplest design possible and adapt to changing architecture needs when necessary.

1 like
jlrdw's avatar
jlrdw
Best Answer
Level 75

I agree with @zachleigh I like the KISS principle. But also the re-use of say a function you will use at many places. I normally just write my own helper class as needed.

1 like

Please or to participate in this conversation.