Twitter Bootstrap - I seem to missing something....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EddyTheDog
    Just Doing My Own Thing
    • Jan 2011
    • 25433

    #1

    Twitter Bootstrap - I seem to missing something....

    So I get my nice Bootstrap admin template - Looks great, lots of pretty graphs and buttons and shit.

    I want to make a small APP using it but I seem to have got stuck - What do I do with the template?

    Do I just cut and paste from the template HTML files and insert the PHP where I need?

    It doesn't seem satisfactory somehow - I have been Googling and nobody seems to tell you what to do with a Bootstrap Template once you have it - I feel like there is something important I am missing....

    Anyone have any ideas?

    Thanks
  • Zyzz
    So Fucking Banned!
    • Jul 2006
    • 5223

    #2
    if you are building a smaller project just rename the .html files to .php and echo the values where you need them to show up...
    if you have a lot of php render a view (separate you code in MVC form) ...

    Comment

    • jwerd
      Confirmed User
      • Jun 2003
      • 1953

      #3
      Bootstrap is just a framework. It's a way to layout your site using a grid system, cross-platform compatible css, responsiveness, etc. It's a shortcut to writing a template by hand as long as you stay within the confines of it.

      The best place to get started on the kinds of things you can do with it would be their github: http://twitter.github.com/bootstrap/

      I personally use twitter bootstrap for all my own projects that I combine with frameworks like Yii which has special extensions created to make my dev life even easier.

      GL
      Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com

      Comment

      Working...