CodeIgniter + HTML5 Boilerplate + Twitter Bootstrap

I am trying to start a new project and have been looking for the β€œfinal” package to start with the development of PHP / MySQL / HTML5. First tried CodeIgniter, which was great. Then they opened Twitter Bootstrap and integrated it beautifully. Finally, I found the HTML5 Boilerplate, which looked amazing, and saw that some people were collecting mixtures of these three.

I wonder if someone was really able to assemble and run the integration of all three? I see a github repo there for this: https://github.com/vesparny/codeigniter-html5boilerplate-twitter-bootstrap , but I could not find any StackOverflow requests. Does anyone have experience that they could share before I jump in? I didn’t want to spend days trying to figure it out, just to find out if it would be easier / better to just stick with pure CodeIgniter or just HTML5BP.

+8
html5 php twitter-bootstrap codeigniter boilerplate
source share
3 answers

I am the author of this library that you are looking at. https://github.com/vesparny/codeigniter-html5boilerplate-twitter-bootstrap

Tw bootstrap and H5BP can simply be mixed together, as you can see in my code; Codeigniter is a great infrastructure but does not mean imho. With this library, you can use the best tools on the client side, as well as the most famous and simplest php infrastructure with some improvement that will speed up and improve the organization of your code and approach to the code using codeigniter.

+11
source share

It seems that not many people try to do this, I think, but it works, and it works great, as far as I can tell.

CodeIgniter works well with the structure, and you can integrate HTML5 BP to render your pages in HTML5 style, with several javascript libraries such as Initialzr modernizer to help with resource loading. CodeIgniter is pretty fast, and when combining CI with HTML5 BP there is a lot of null conflict, which makes it a pretty quick and painless add-on.

Twitter Bootstrap works fine, as it is mainly CSS and javascript plugins for components that you can combine with the plugins.js HTML5 file if you want / need it. I would say that after playing with Twitter Bootstrap is not really necessary, but it helps you quickly build a responsive interface. Not sure if there are other packages out there that could be better.

+2
source share

How do you want to start the installation of css and javascript file?
Take the HTML5 Boilerplate and Twitter bootstrap files and copy them to the root directory of your site (the directory where the Codeigniter application folder is located).
Now you can use them like any other javascript / html / css libraries and frameworks. And I still don't know why you are trying to use Twitter Bootstrap with the HTML5 Boilerplate. I do not use any of them, but they are similar. It looks a bit overhead for your site.

0
source share

All Articles