EJNestedTreeActions

yii extension for nested set with jstree

  • 所有者: dmtrs/EJNestedTreeActions
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

EJNestedTreeActions

Version. next
Author: tydeas_dr
Author: Alexander Makarov, Sam Dark
Copyright © 2010 Evresis

What EJNestedTreeActions IS and What IS NOT

EJNestedTreeActions IS NOT:

  • a nested set behavior for your model
  • a jstree extension

EJNestedTreeActions IS only a set of actions and a behavior and you as well need:

Confused ? MVC

Model

To make your model act like a nested set you will need the
ENestedSetBehavior, as we said before. This extension make your model to be able
to append,prepend,return the children etc.

View

At view we have the pretty one jstree. To use the jstree you will need the
CJstree extension ( found as jstree extension ).
This will give you the ability to drag & drop, copy & paste, create new nodes etc. at your view.

Controller

This is where EJNestedTreeActions comes.
The jstree has the ability to use async ajax to make request and get results. This async request
will call a controller's action to do so. This is what the EJNestedTreeActions does.
Take the request from the jstree make the appropriate append,prepend, etc for your model and
return data to the jstree.

How all this work and the callbacks

You first create you table and use the ENestedBehavior like it is described in it's documentation.
Use the EJNestedTreeBehavior as described in documentation.
Use CJstree as described in it's documentation.

git repository

To clone project from the github repository:

git clone git://github.com/dmtrs/EJNestedTreeActions.git

Thanks

I would like to thank the CJstree author shocky, the ENestedBehavior author creocoder, samdark, the Evresis team,
the people from #yii at freenode in general and specially Javache for the help on this.

###Resources

主要指标

概览
名称与所有者dmtrs/EJNestedTreeActions
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证
所有者活动
创建于2010-05-29 12:21:48
推送于2010-07-08 09:48:05
最后一次提交2010-07-08 15:47:52
发布数0
用户参与
星数6
关注者数2
派生数5
提交数45
已启用问题?
问题数11
打开的问题数8
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?