Giter Site home page Giter Site logo

abocati / cakestrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hugodias/cakestrap

0.0 1.0 0.0 8.53 MB

CakeStrap is a bootstrap for CakePHP - HTML5 CakePHP2.x Bootstrap 3.0!

PHP 99.40% Shell 0.09% Perl 0.18% CSS 0.28% JavaScript 0.05%

cakestrap's Introduction

CakeStrap v 0.7.1


CakeStrap is a bootstrap for CakePHP - HTML5 CakePHP2.x Bootstrap3.0!

Video tutorial ( Portuguese )

[http://youtu.be/m4FtYIS3Rm8][] [http://youtu.be/m4FtYIS3Rm8]: http://youtu.be/m4FtYIS3Rm8

Features

Front-end
  1. Responsive Web Design
  2. jQuery 1.10.2 Stable (NEW)
  3. Modernizr
  4. Twitter Bootstrap v3.0.0 (NEW)
  5. Multi-Language ( English and Portuguese )
Back-end
  1. CakePHP 2.4.1 Security Authentication (NEW)
  2. Users CRUD
  3. Remember password with email send
  4. Automatic inclusion of javascript and css files depending of the current controller and action ( Tutorial below )
Modules
  1. Photos end videos gallery

Quick start

Manually Installation

  • Rename the app/Config/config.php.install file to app/Config/config.php and still in this file change the $config['Application']['status'] to true
  • Rename the app/Config/database.php.default file to app/Config/database.php and configure your database credentials
  • Create the users table in your database with this Schema: https://github.com/hugodias/cakeStrap/blob/master/app/Config/Schema/schema.php

Automatic inclusion of JS and CSS

CakeStrap has a JS and CSS folder structure allowing to automatic load files for each action of each controller. For example, if you have this JS structure folder:

/js
	/pages
		/home.js

This script will be automatic loaded when the user is in controller pages and in action home

The same structure exists for CSS files.

Internationalization

Currently cakeStrap supports two languages, English and Portuguese. To enable the Portuguese language as the main just add the following line in your app/Controllers/AppController.php at beforeFilter action:

Configure::write('Config.language', 'por');

Deploy

Lee Graham created a easy way do deploy CakeStrap to OpenShift, check it out: cakeStrap Openshift

Questions / Bugs

Have a question or found a bug? Please create an issue [here][] on GitHub! [here]: https://github.com/hugodias/cakestrap/issues

cakestrap's People

Contributors

herberthudson avatar hugodias avatar itamark avatar mploigt avatar toddpress avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.