1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Update content/en/development/overview.md

This commit is contained in:
Eugen Rochko 2018-12-01 19:46:00 +01:00
parent c8bb5e4632
commit 67e4bf37f3

View File

@ -53,19 +53,19 @@ Knowledge and understanding of these libraries will simplify work with the Masto
### Ruby ### Ruby
- haml - `haml`, a templating language
- devise - `devise`, for authentication
- doorkeeper - `doorkeeper`, for acting as an OAuth 2 provider
- paperclip - `paperclip`, for file uploads and attachments
- sidekiq - `sidekiq`, for background processing
### JavaScript ### JavaScript
- immutable - `immutable`, for immutable data structures
- react - `react`, for rendering the dynamic web application
- react-redux - `react-redux`, for managing React state
- react-router-dom - `react-router-dom`, for navigation within React
- react-intl - `react-intl`, for localizations within React
## Code structure ## Code structure
@ -75,14 +75,14 @@ The following overview should not be seen as complete or authoritative, but as a
|Path|Description| |Path|Description|
|----|-----------| |----|-----------|
|`app/controllers`|Code that logically connects models, services and views, authentication layer| |`app/controllers`|Code that binds business logic to templates|
|`app/helpers`|Code that can be used from views, i.e. common operations| |`app/helpers`|Code that can be used from views, i.e. common operations|
|`app/lib`|Code that doesn't fit in the other categories| |`app/lib`|Code that doesn't fit in the other categories|
|`app/models`|Code that operates on database records, or otherwise represents data entities| |`app/models`|Code that represents data entities|
|`app/serializers`|Code that generates JSON from models| |`app/serializers`|Code that generates JSON from models|
|`app/services`|Complex logical operations involving multiple models| |`app/services`|Complex logical operations involving multiple models|
|`app/views`|Templates for generating HTML or other output| |`app/views`|Templates for generating HTML or other output|
|`app/workers`|Code that executes outside the request-response cycle, i.e. in Sidekiq| |`app/workers`|Code that executes outside the request-response cycle|
|`spec`|Automated test suite| |`spec`|Automated test suite|
### JavaScript ### JavaScript