lemonldap-ng/lemonldap-ng-manager
2015-12-27 22:14:43 +00:00
..
eg Add CGI file for the manager 2015-12-16 11:37:39 +00:00
lib/Lemonldap/NG Split jsongenerator in a library 2015-12-27 22:14:43 +00:00
scripts Split jsongenerator in a library 2015-12-27 22:14:43 +00:00
site Check conditions in AuthSlave and UserDBSlave 2015-12-27 12:29:32 +00:00
t Move files that should be used only by jsongenerator.pl in Manager/Build 2015-12-26 20:08:31 +00:00
.bowerrc Set bower path 2015-07-09 17:01:30 +00:00
bower.json Update js dependency versions 2015-07-09 17:02:27 +00:00
Changes Update Changes and report trunk copyright changes into 1.2 2013-01-31 06:23:14 +00:00
KINEMATIC.md Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
Makefile.PL Set trunk version to 1.9.0 2015-12-18 09:31:36 +00:00
MANIFEST Move files that should be used only by jsongenerator.pl in Manager/Build 2015-12-26 20:08:31 +00:00
META.yml Set trunk version to 1.9.0 2015-12-18 09:31:36 +00:00
README Update copyrights 2015-06-18 11:00:24 +00:00
README.md Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
REST-API.md Prepare session explorer to examine persistent sessions 2015-12-17 22:25:03 +00:00
TODO.md Move files that should be used only by jsongenerator.pl in Manager/Build 2015-12-26 20:08:31 +00:00

angular-lemonldap-ng-manager

This is just a POC to build an angular based manager for Lemonldap::NG.

See LemonLDAP::NG website.

Install

git clone https://github.com/guimard/angular-lemonldap-ng-manager.git
cd angular-lemonldap-ng-manager
npm install

Start servers

npm run perlserver
npm start

MVC

  • The view is managed by :
    • index.html for HTML building
    • some other html files for forms ?
    • struct.json who gives the tree position for each configuration element and requests to do
    • translate.json (which will be delivered by a CGI to choose current language)
  • The controller is splitted in 2 pieces :
    • client side in js/manager.js, based on ANgularJS, it provides the link between the DOM and the CGI. It manages:
      • downloads of JSON datas
      • translations
      • form display depending on data types
    • server side, based on PSGI, it provides the link between network and configuration. It will be able to respond to 3 types of rest queries:
      • key values
      • hash keys for this type of nodes
      • hash content
  • The model (datas) is:
    • the current configuration
    • the modified datas (client side only or both to be able to notify changes to other administrators ?)