I've always been a PHP programmer, but until now without any framework. Now I've a nice project to start and I'd like to introduce some PHP framework: Yii or CodeIgniter.
I don't know yet which one is best for me. I'd like to integrate this project with these 'tools':
- JQuery
- HTML5 Boilerplate
- Twitter Bootstrap
- CSS SASS
Do you know which framework is more easy to integrate with these tools? And, do you know where I can find a good tutorial for this integration?
Thx
Answer
CodeIgniter and Yii are server-side frameworks. The libraries in question (with the exception of SASS), live on the client-side. Whether you choose CodeIgniter or Yii, the basic integration will be the same. Because I'm a CodeIgniter developer, I can give you one-half of the story:
I urge you to read everything under the Introduction section of the documentation and take a few days to fly through the tutorials and set your brain straight on MVC. Only then, check out a previous answer of mine that explains how to create modular layouts. Once you're comfortable with this, including jQuery and Bootstrap into your project is trivial.
As for Boilerplate - please pick and choose the sections that are relevant to your project and plug-them-into the right 'view' as per linked answer. There are some parts of Boilerplate that will step on Bootstrap's toes (specifically CSS resets, be careful).
Paul Irish gave an excellent talk on HTML5 Boilerplate last year. The Boilerplate itself has probably been updated significantly, but it should get you started.
CodeIgniter has unparalleled documentation and a fantastic community. If you choose this route - welcome!
No comments:
Post a Comment