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

I am researching PHP frameworks (secure, scalable, MVC, easy to use)

Any opinions on PHP frameworks that are relatively secure from sql injections, scale well and use the MVC paradigm?

I am looking for something hopefully that is as easy as the rails stack which uses atomic/devise for authentication and a modeling scheme which is fairly easy to implement like the migration feature of rails.

Thanks for the input in advance.

10 Answers

I hear very good things about Laravel 4.

Codeigniter is also, as far as Ellis labs is concerned, no longer supported. Eventually anyone using it will need to at least consider making the switch to another framework, unless it's picked up by another company to support. But it hasn't been so far, and that announcement was made last July.

I do not like the semantics of CI. I installed Laravel and it seems to be a very robust solution. I am trying to figure out a solution to store/access profile images that will scale well over time before I start tinkering with my little project. I was reading about FB's infrastructure and it is colossal, something like 200M photos a day.

Yes, I just got it installed and running on my server. EXCITING!!!!

Andrew Showalter
Andrew Showalter
14,028 Points

Laravel is quite complex. The framework of choice definitely depends on your skill as a programmer and what functionality is most important. I also like Codeigniter as it is VERY light and very user friendly and is a good starting point for your first php framework.

Andrew why would you assume this is my first framework? Would you like to see my resume?

Graham Patrick
Graham Patrick
8,294 Points

I USe codeignitier and find it very cool!!!

I believe I heard somewhere that CI is now or becoming obsolete. I don't have any beefs with it, just don't like their style of implementation. Laravel is just easier to use imo.

Graham Patrick
Graham Patrick
8,294 Points

I wouldnt say its becoming obsolete ! I build sites in it with ease !! Its what works for you i feel! If CI works great if Lara works great. I use CI with bootstrap 3.0 as the main css and JS and its great stuff

Obsolescence is just what I heard. To not be a prude I took the liberty of looking at the CI doc one more time and I will say this. I prefer the migration method of setting up my model in Lara to running queries manually via CL.

Looking at the CI code examples on this link http://ellislab.com/codeigniter/user-guide/tutorial/news_section.html makes me cringe.

I will however agree with you in using whatever tool gets the job done for the dev easier. Much success to you in all your endeavors!