-
Notifications
You must be signed in to change notification settings - Fork 4
Repository folder structure
Gerrit Uitslag edited this page May 29, 2016
·
3 revisions
Some folders are auto-generated, some are a checkout from git.
Some highlights:
-
app--
cache- cache files of app -
config- configuration files -
logs- log files of app
-
-
src--
org/dokuwiki/translatorBundle- contains translation tool code-
Command- Classes for commands at console -
Controller- Controllers, see alsosrc/org/dokuwiki/translatorBundle/Resources/config/routing.yml -
DependencyInjection- ?? -
Entity- annotated PHP entity class definitions, which are mapped to database by Doctrine -
EventListener- ?? -
Form- ?? -
Resources- for framework-
config- Config files for routing, services and validation -
public- folders with respectively images, js and less files -
views- folders with Twig template files like*.html.twigor*.txt.twig
-
-
Services(see Services)-
DokuWikiRepositoryAPI- retrieve info from plugin repository at dokuwiki.org -
Git- Wraps git commands -
GitHub- Github interaction -
Language- Handle language file generation -
Mail- Serve mailing -
Repository- Repositories e.g. Core, Plugins
-
-
Tests- Unit tests -
Twig- Twig extensions -
Validator- ??
-
-
-
vender- libraries downloaded by composer -
web- Public accessible content-
bundles- related to vendor libraries -
js- autogenerated javascript -
css- autogenerated style files
-
How to use
- Routing: http://symfony.com/doc/current/book/routing.html (router, url generation)
- Doctrine: Object-relational mapping from PHP to database, see http://symfony.com/doc/current/book/doctrine.html
- Twig: Templating language, see http://symfony.com/doc/current/book/templating.html
Process
- Translation process
- CronJob overview triggers some commands.
- Commands for regular tasks and occasional maintenance
Files
Maintenance/development
- Deploying to Production is done from GitHub
- Development setup
- Maintenance
- Alternative Git interaction when setting up development setup
- Test steps for checking working of the tool
Documentation
- Components of Symphony used for the Tool
- More detail about using Doctrine
- Description working of the Forms