Parasol OS Dev: Difference between revisions
(No difference)
|
Revision as of 13:44, 13 September 2016
Parasol OS Ecosystem
https://drive.draw.io/?#G0Bxz1zEYCdP1MVTAzb1JkcGExejQ
Libraries
Shared
Zend Framework
Agentursoftware SDK
Redmine SDK (ksbali)
Bootstrap
Select2
Datepicker (to be decided)
GAM
Google API's
Datafield Tabesorter
Facebook SDK
Mandrill
Unique
t.b.a.
Functions
Shared
/inc/functions.inc.php
including
inc/functions.redmine.inc.php ...
t.b.d. What is a shared function? e.g. Format a date.
Unique
Configuration
Shared
/inc/config.inc.php
API Keys
....
Unique
APP/inc/config.inc.php
App Configuration like defaults
Local
move to myapi3 discimhgae or use __DIR__
Error
Unique Errorlog per App /var/log/app_APPNAME.log
Like Syslog.
TBD:
Provide example
Name Pattern for logfiles
Check Logrotate.
Doku
Filestructure
/clients/htdocs/fca > provided using a unique url (like fca.parasol-island.com)
/htdocs/inc/vendor/
Provides shared PHP Libraries
/htdocs/inc/vendor/bower_components
Provides shared PHP Libraries using Bower
/htdocs/ >> Parasol OS Apps
Authenticate or limit IP (.htaccess);
/htdocs/app_APPNAME
/key/ >> Keyfiles
/local/ app that run from the CLI
Inside every App there is a readme.txt desc. the apps purpose.
T.B.D.
Move libraries and functions, etc. outside webroot.
Move every unfinished app to prototypes;
protect prototypes to certain ip's (david, peter, sebastian)
Make List of apps in htdocs, cleanup.
Than move shared libraries and retest apps/software.
Agentursoftware API
Agentursoftware Status ID's ([projectStatus])
1 = erwartetes Projekt
2 = Anfrage
3 = Angebot
4 = Auftrag
5 = abgeschlossen
6 = storniert
Agentursoftware Status ID's ([type])
0 = Urlaub
1 = Krankheit
2 = Ausgleich
3 = Sonderurlaub
?? = Sonderurlaub
Trigger
Agentursoftware
trig_asnewproject.php?mode=addproject|addprojectfolder|editproject
addproject
/var/www/myapi3/htdocs/inc/api/handler.php createRedmineProject
Ressourcenplanungs Tool
siehe Wiki Artikel hier: Ressourcenplanungs_Tool