mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
update readme
This commit is contained in:
parent
ed1cfcd187
commit
4fea2ce729
1 changed files with 13 additions and 4 deletions
17
README.md
17
README.md
|
|
@ -31,12 +31,21 @@ This guide in process
|
|||
|
||||
#### `browser`
|
||||
|
||||
* The codebase of module must be as minimal as possible: separate different tasks to submodules
|
||||
* Every module must implement only one `struct` (same as one file for one class)
|
||||
* Composition modules (like box for window) stored in sub-folders and following same principles as parent
|
||||
* Every mod access 1 level of child API, never parents (e.g.`super`)
|
||||
##### Filesystem
|
||||
|
||||
* Composition pattern, using standard `mod.rs` model
|
||||
* One mod = one widget. Create new mod for new widget implementation
|
||||
|
||||
##### Codebase
|
||||
|
||||
* The codebase of module must be as minimal as possible: separate different tasks to submodules
|
||||
* Every module must:
|
||||
* implement only one `struct` (same as one file for one class)
|
||||
* provide at least:
|
||||
* one constructor that must:
|
||||
* return raw `struct` without cover to any kind of smart `std` or `glib` pointers
|
||||
* access 1 level of child API, never parents (e.g.`super`)
|
||||
|
||||
### Contribution
|
||||
|
||||
* before commit, make sure:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue