Skip to content

nabeelio/CakePHP-Base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP 2.1 (beta) install. Obviously not completely working out of the box (no models, routes, controllers) etc, but I use this as a base for my new CakePHP projects. There might be errors, and needs some massaging, but IMO, it's better than starting completely from scratch (for me). I just decided to make it public incase it helps anyone else out too.

I want to use the CakeDC user's plugin at some point, since it will have the entire user account info/login, etc. But for now, this is cool.

Currently includes:

  * Bootstrap 2 CSS framework with basic styles (update script in /webroot/assets/update_bootstrap)
  * Elements with bootstrap styling
  * AppModel and AppController
  * Basic layout with jQuery and Bootstrap (sidebar)
  * Breadcrumbs build with CakePHP views
  * jQuery (Google CDN)
  * jQuery history plugin
  * JSON stringify and simple JS templating
  * Facebook SDK with basic scaffolding for Facebook login in RegisterController (requires user table)
    When a user logs in through Facebook, it prompts them to register (creates a local account w/password)
  * Google Analytics code, needs your API code

Configuration

  * Main configuration exists in /config as JSON files
  * app/Config/core.php includes class called JSONConfigPuller which pulls
    config file from above
  * Configs are called config.env.json (renamed to config.json to use)
  * /config/vendors.json include keys for vendors (ie. Facebook, examples are there)

About

A base Cake 2.0 install with users plugin basic stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages