Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Sefie16446y@lucaspar that sounds like the best advice for someone dedicated to php. Writing your own framework tends to be like covering your feet in your own shit.
Keeps them warm for some time, but gets inconvenient and smelly pretty fast.
Better use something prepared and refined for you. -
Sefie16446y@lucaspar I didn't think you said that, but I did it and paid the price for it ;)
And the only thing worse than code written in a home-brew-framework ist code written without any structure at all. Once I worked on a non-documented php webshop, which worked close to 100% procedural with tons of includes and carried-over variables. -
@Sefie got it. That must've been a nightmare. Using a self developed framework for anything that will need maintenance or could be expanded in the future is bad.
-
Learn solid and dry principles and use framework. Also look on some design patterns.
Good tips to move more into PHP OOP?
Been writing procedural PHP for long time - now I need to step it up ASAP.a
rant