You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
10 years ago | |
---|---|---|
.. | ||
eg | 10 years ago | |
lib/Lemonldap/NG | 10 years ago | |
scripts | 10 years ago | |
site | 10 years ago | |
site-test | 10 years ago | |
t | 10 years ago | |
Changes | 13 years ago | |
KINEMATIC.md | 10 years ago | |
MANIFEST | 10 years ago | |
META.yml | 10 years ago | |
Makefile.PL | 10 years ago | |
README | 12 years ago | |
README.md | 10 years ago | |
REST-API.md | 10 years ago | |
TODO.md | 10 years ago | |
bower.json | 10 years ago |
README.md
angular-lemonldap-ng-manager
This is just a POC to build an angular based manager for Lemonldap::NG.
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
- client side in
- The model (datas) is:
- the current configuration
- the modified datas (client side only or both to be able to notify changes to other administrators ?)