Monday 15 August 2011

python - Why do Flask Extensions exist? -


Take SQLAlchemy as an example.

Why should I use the flask SQLLM extension instead of normal SQLAlchemy module? What is the difference between them? Is not it possible to use normal modules in your flask app?

Extensions are present Increase the functionality of the flock, and for the typical use patterns, Reduce the volume, such as solidifying your application with SQLLame in flask-skeletalmi, or login with flask-login. Generally, only clean, reusable ways to do general things with web applications

but I see my point with Flask-Squalmy, it's actually a lot more code to use Not a saver, but it automatically gives you a scaled session, which is essential for you in a web environment with SQLite.

Other extensions like flask-long actually save you a lot of boilerplate code

No comments:

Post a Comment