Skip to content

mrcasual/nested-sets-laravel-jquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nested sets with Laravel and jQuery

This is a quick implementation of nested sets using Laravel 4 and jQuery. Key features:

  • Drag & drop sorting (using jqTree)
  • In-place editing (using X-editable)
  • Error notification and modal dialogs (using Alertify)

Under the hood, I rely on Aleksander Kalnoy's nested set package for Laravel that takes care of hierarchal data management.

Demo

All operations are done without page refresh:

implementation demo

Installation

  • Clone/download this repo
  • Configure your MySQL database in ./app/config/database.php
  • Run composer install
  • Run php artisan migrate
  • Launch the web server with php artisan serve and navigate to localhost:8000

You may also wish to install Node.js and Grunt. By default, JS and CSS assets are served concatenated and minified. Enter ./public and run:

  • npm install to fetch Grunt packages
  • grunt to start the watch task

Contact

Hit me up on Twitter: @CasualMr

About

Nested sets implementation using Laravel 4 and jQuery.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published