Adding REAMDEs to directories
This commit is contained in:
committed by
Hypolite Petovan
parent
3261ffbd99
commit
8237e73e26
10
src/Module/README.md
Normal file
10
src/Module/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## Friendica\Module
|
||||
|
||||
The Module namespace contains the different modules of Friendica.
|
||||
Each module is loaded through the [`App`](https://github.com/friendica/friendica/blob/develop/src/App.php).
|
||||
|
||||
Rules for Modules:
|
||||
- Named like the call (i.e. https://friendica.test/contact => `Contact`)
|
||||
- Start with capitals and are **not** camelCased.
|
||||
- Directly interacting with a given request (POST or GET)
|
||||
- Extending [`BaseModule`](https://github.com/friendica/friendica/blob/develop/src/BaseModule.php).
|
||||
Reference in New Issue
Block a user