Updated Development_Contribution (markdown)

master
Chris Caron 2024-05-13 21:25:12 -04:00
parent dd8f12ea43
commit 5cafc1df0c
1 changed files with 1 additions and 1 deletions

@ -196,7 +196,7 @@ With respect to the above example:
Any other functions you want to define can be done to you hearts content (if it helps with organization, structure, etc) Any other functions you want to define can be done to you hearts content (if it helps with organization, structure, etc)
Just avoid conflicting with any function written in `NotifyBase()` and `URLBase()` Just avoid conflicting with any function written in `NotifyBase()` and `URLBase()`
If your service is really complex (and requires a lot of code), maybe it's easier to split your code into multiple files. This is how i handled the [NotifyFCM plugin i wrote](https://github.com/caronc/apprise/tree/master/apprise/plugins/NotifyFCM) which was based on Google's version. If your service is really complex (and requires a lot of code), maybe it's easier to split your code into multiple files. This is how i handled the [NotifyFCM plugin I wrote](https://github.com/caronc/apprise/tree/master/apprise/plugins/fcm) which was based on Google's version.
- Don't be afraid to just copy and paste another already created service and update it for your own usage. - Don't be afraid to just copy and paste another already created service and update it for your own usage.
- [plugins/custom_json.py](https://github.com/caronc/apprise/blob/master/apprise/plugins/custom_json.py) is a bit advanced; but shows the general idea of the structure. - [plugins/custom_json.py](https://github.com/caronc/apprise/blob/master/apprise/plugins/custom_json.py) is a bit advanced; but shows the general idea of the structure.
- [plugin/fcm](https://github.com/caronc/apprise/tree/master/apprise/plugins/fcm) is a much more complex design but illustrates how you can build your notification into smaller components. - [plugin/fcm](https://github.com/caronc/apprise/tree/master/apprise/plugins/fcm) is a much more complex design but illustrates how you can build your notification into smaller components.