Backbone.js Employee Directory
"Backbone Directory" is a simple Employee Directory application built with Backbone.js.
The application allows you to look up employees by name, view the details of an employee, and navigate up and down the Org Chart by clicking the employee’s manager or any of his/her direct reports.
There are four versions of the application available in this repository:
- Backbone.js + Twitter Bootstrap (located in the /web directory).
- Backbone.js + jQuery Mobile (located in the /jquerymobile directory).
- Backbone.js + native-looking iPhone skins (located in the /iphone directory).
- Backbone.js + native-looking iPhone skins and a local database implementation (located in the /iphone directory).
The Twitter Bootstrap and jQuery Mobile versions use JSON services. Instructions to set up these services are provided below. The "native-looking iPhone" versions use sample in-memory data and don't have any dependency on external services.
- Create a MySQL database name "directory".
Execute directory.sql to create and populate the "employee" table:
mysql directory -uroot < directory.sql
The application is available with a PHP or Java services:
- The PHP services are available in the api directory of this repository. The RESTful services are implemented in PHP using the Slim framework (also included in the api directory).
- The Java back-end will be available soon.