-
Notifications
You must be signed in to change notification settings - Fork 303
Inter app dependencies
Ben Cipollini edited this page Apr 29, 2014
·
2 revisions
The relationship between apps should be explicit and intentional.
All apps within the kalite
directory are dependent on settings.py
(at least until #1644 is complete).
-
i18n
: knows about languages, language packs, and language mappings betweenyoutube_id
andvideo_id
-
facility
: authentication and user grouping system. Accessesi18n
to allow users to set a default language limited to the languages currently available. -
main
: associatesfacility
users with khan academy (exercise & video logs) and login (userlog) data. -
khanload
: allow importing of data from khan academy, either into themain
data sources, or into the database (main
models) -
coachreports
: reports on top ofmain
data -
control_panel
: views on users, user groups, and hooks into their data. -
updates
: allows updating of language packs (viai18n
), videos (viamain
), and software. -
distributed
: combines all apps together.
-
fle-utils
- no dependencies. internal utilities for FLE. pretty much everything depends on it :) -
fle-utils/chronograph
- no dependencies. -
fle-utils/config
- no dependencies. Similar tosettings.py
, but written into the database. -
securesync
- depends onconfig
(to store the crypto keys) andfle-utils
-
django_cherrypy_wsgiserver
- the main server process for the distributed server
-
distributed
- Depends on all apps that have distributed server end-points (coachreports
,control_panel
,facility
,main
, etc.) -
coachreports
- Depends onmain
(for models) -
control_panel
- Depends onmain
(for models) andcoachreports
(to integrate them into the interface) -
facility
- depends onconfig
(for default facility) andsecuresync
-
i18n
- depends onconfig
(for default language),main
(for mappings of youtube_id to video_id) -
kalite
- The project; depends on all apps :) -
khanload
- Depends onmain
(so it can write into main's data structures; could be refactored) -
main
- depends onfacility
(for facility user logins). SHOULD not have circular dependencies, but currently depends oni18n
(to map youtube_ids to video_ids) andkhanload
(unnecessarily). -
shared
- None / Not applicable -
testing
- None / Not applicable -
updates
- Depends onmain
... but could be refactored to become an independent library