Skip to content

kevinbheda/shelfari

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Shelfari ##

Shelfari is sample book record app built with backbone.js + Codeigniter PHP.

Copy all the contents in your Document root folder/shelfari of web server or to any subfolder within it.

Import book.sql to your mysql server and then configure
1.codeigniter/config/database.php with your custom settings

eg  $db['default']['username'] = 'root';
    $db['default']['database'] = 'mydb';

2.js/models/bookitem.js

  //eg if the contents are in shelfari directory
  var BookItem = Backbone.Model.extend({
  urlRoot:'shelfari/codeigniter/index.php/bookapp/index',

  
  //same for 
  var BookItemCollection =Backbone.Collection.extend({
  model:BookItem,
  url:'shelfari/codeigniter/index.php/bookapp/search'

For CodeIgniter environment is set to Development with errors enabled but html,php code is commented out in /codeigniter/error/*.php files ,toggle comment for debugging

About

Codeigniter+Backbone.js simple Book record app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published