-
Notifications
You must be signed in to change notification settings - Fork 2
How is structured
The agent is composed by the following dirs:
Contains the common parts of agents:
- gbotxmpp.py: This file performed basic operations with XMPP
- customstanzahandler.py: This file is used to communicate agents with clients
Contains the interfaces needed to work with the agents
Contains the different agents of the system
Contains the actions that can make the agents
Now system supports two mechanism to manage data:
- MySQL
- CouchDB
Both mechanisms have the following structure: handler_mech_name.py and a dir with the views, this dir contains the common operations of the handler
This dir contains the modules of the system. These modules should manage through the agent interface. Each module should have a specific setting file
The client is composed by the following dirs:
Contains the parts of main web interface:
- bottom
- events: Shows events of agents
- footer
- header: Load all js and css files automatically
- menu: If you want add a new section, you must add it to this file
Contains essential files of system
Contains all javascript files, is composed by:
- common: This dir contains javascript files needed to work
- module_name: This dir must contain the javascript files needed to work with the module. The dir must have the name of module.
Contains all php files, is composed by:
- common: This dir contains javascript files needed to work
- session: This dir contains files needed to work with php sessions
- home: This dir contains files needed to show information when user logging in the system
- module_name: This dir must contain the php files needed to work with the module. The dir must have the name of module.
All php dirs must contain the following files:
- submenu.php: This file contains the module menu. This file should contain as many sections as operations can be performed with the module
Contains all css files, is composed by:
- common: This dir contains css files needed to work by default
- module_name: This dir should contain the css files needed to work with the module. The dir must have the name of module.
Contains all images, is composed by:
- common: This dir contains images needed to work by default
- module_name: This dir should contain the images needed to work with the module. The dir must have the name of module.