Open IlyaSkriblovsky opened 7 years ago
Yes yes yes! I would like to help with this. Out of curiosity, I went over to the pymongo project to see if they had anything, but they didn't. Do you have a strategy or layout in mind to set these up? It might be helpful if the various examples followed some sort of template to make them easier to navigate and understand.
I'm not sure what common template do you mean? I personally prefer very short and concise examples mainly to help with bootstrapping. Longer real-life examples are optional for me.
Sorry I wasn't clear. I was mainly just thinking about organizing the examples so they could be run the same way and their code was laid out similarly so it would be easier to follow from one example to the next.
Extensive list of possible examples:
I hope most of examples won't contain much of boilerplate code, so the common template might only contain an assertion that all examples connect to localhost:27017/test
database. May be I'm missing something.
That is good 👍 I will have a go at writing some examples and send over a PR
Thanks! I will try to find some time for this too. Please ping me with the topics you are working on when you start to avoid duplicating efforts.
started to write some connection examples in #217
Unfortunately, many of our examples are of bad quality.
Connection
andConnectionPool
likeDeferreds
which may confuse readersWe need short, consice, practical (and working!) examples to simplify onboarding of new users!
(see #215)