Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.