Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

to use or not to use a framework

Hello and Good Day! I have a quite a solid understanding and experience with php from college and here at treehouse. Do i still need to learn and use frameworks like code igniter, zend, laravel etc... ? Is it a must for a php dev?

1 Answer

Robert Bojor
PLUS
Robert Bojor
Courses Plus Student 29,439 Points

Hi Christian,

You are not obligated to use a framework if you don't want to, but many think it's a must since it makes your life easier while coding and eliminates the need to come up with helper functions since they are already coded.

I prefer clean code, so I went without a framework for the last 10 years and I'm still here hehe.

did it affect your work? your salary? because i've read an article in google that with a certification of a framework like Zend etc..., there's an increase in salary...

Robert Bojor
Robert Bojor
Courses Plus Student 29,439 Points

Can't say that it did, of course there are employers willing to pay more if you know certain things extra, as I said, it all depends what do you want to do and where do you want to work.

During the last steady job that I've had, before deciding to go full freelance, I've went through Symphony, Code Igniter and another one that I can't remember right now and we both, me and the employer, decided to just stick to clean PHP. During this time I've gathered a list of functions that help with the day to day development and experimented with different folders/files structures that are easy to maintain and add to for maintenance.