Skip to content
Myr

Some grammar and typo fixes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jeff Widman · committed by Markus Unterwaditzer · parent 2b58e61 · Browse files · 1 file+8 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−8 removed

  • other:+8 added−8 removed

1 file+8 added−8 removed

modified:docs/extensiondev.rst+8 added-8 removed
46 unmodified lines
47that people can easily install the development version into their48virtualenv without having to download the library by hand.4950Flask extensions must be licensed under a BSD, MIT or more liberal license51to be able to be enlisted in the Flask Extension Registry. Keep in mind51in order to be listed in the Flask Extension Registry. Keep in mind52that the Flask Extension Registry is a moderated place and libraries will53be reviewed upfront if they behave as required.5455"Hello Flaskext!"
97 unmodified lines
153What to use depends on what you have in mind. For the SQLite 3 extension154we will use the class-based approach because it will provide users with an155object that handles opening and closing database connections.156157What's important about classes is that they encourage to be shared around158on module level. In that case, the object itself must not under any157When designing your classes, it's important to make them easily reusable158at the module level. This means the object itself must not under any159circumstances store any application specific state and must be shareable160between different application.160between different applications.161162The Extension Code163------------------164
168 unmodified lines
333development. If you want to learn more, it's a very good idea to check334out existing extensions on the `Flask Extension Registry`_. If you feel335lost there is still the `mailinglist`_ and the `IRC channel`_ to get some336ideas for nice looking APIs. Especially if you do something nobody before337you did, it might be a very good idea to get some more input. This not338only to get an idea about what people might want to have from an339extension, but also to avoid having multiple developers working on pretty340much the same side by side.337you did, it might be a very good idea to get some more input. This not only338generates useful feedback on what people might want from an extension, but339also avoids having multiple developers working in isolation on pretty much the340same problem.341342Remember: good API design is hard, so introduce your project on the343mailinglist, and let other developers give you a helping hand with344designing the API.
70 unmodified lines