Skip to content

zoltan-nz/nested-set-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nested Set App

Todo:

  • Setup awesome nested set gem
  • Create category with subcategories
  • Create product management
  • Create a page where you can manage products and sort orders: Catalogs

###Models:

Category:
    name        :string
    parent_id   :integer
    lft         :integer
    rgt         :integer
    depth       :integer


Product:
    name        :string
    category_id :integer
    price       :decimal


Catalog:
    name        :string

Join tables:
    catalog-category
        catalog_id
        category_id
        sort_order :decimal

    catalog-product
        catalog_id
        product_id
        sort_order :decimal

Todo

  • build rails view version
  • build backbone view version
  • compare speed

About

Products and categories in a tree...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors