Flask Framework - SQLite

preview_player
Показать описание
Flask Framework - SQLite
Watch More Videos at:
Lecture By: Mr. Malhar Lathkar, Tutorials Point India Private Limited
Рекомендации по теме
Комментарии
Автор

Brilliant job! Simple and great! Everyone wants to over complicate this with ORM and JavaScript, Thankyou for making it simple

gavinknight
Автор

I managed to make the program work. The presentation with 1 table unnecessarily complicates things. But hey .... I remember this: I studied Cherrypy, Flask and other ways of doing WEB in Python.
Well: I DON'T LOVE AT ALL !!! it's crooked from crooked.
Who could have imagined such things ??
* Frankly, there is nothing better than PHP! CLEAR, SQUARE, SOLID, it is easily understood.
PHP and MYSQL = the TOP.
** and again: this video is not bad. Next to the delusional bits of code that we see lying around on Flask !!!
Hubert.

hubertcoz
Автор

thx for this wideo. If you can, doing new video with flask model and nice structure progect files

АнтонТерехов-йд
Автор

Hi I am learning python and started Flask Application Development I have done same thing but I am using DB browser for sqlite I am getting an error, showing (No such Table: abcd). Can you help me please.
Thanks in Advance...

shaileshsaini
Автор

J'ai réussi à faire fonctionner le programme. La présentation avec 1 tableau complique inutilement les choses. Mais bon .... Je retiens ceci : j'ai étudié Cherrypy, Flask et d'autres façons de faire du WEB en Python . 
Et bien : je N'AIME PAS DU TOUT !!! c'est tordu de chez tordu. 
Qui a bien pu imaginer des trucs pareils ??
*** Franchement, il n'y a pas mieux que le PHP ! CLAIR, CARRE, SOLIDE, ça se comprend facilement .
PHP et MYSQL = le TOP .
**** et encore : cette vidéo est pas mal . A côté des bouts de code délirants que l'on voit trainer sur Flask !!!
Hubert .

hubertcoz
Автор

this is the worst possible way to implement sqlite3 in flask. This is inefficient and will not work for production. the flask developmental server is synchronous so issues wont be immediately noticed, but sqlite3 can't do anything async. when deployed to production flask will be running asynchrnously and that means easyncrhously opening database connections. this will cause issues. you could define the connection at the module level but reads and writes will still be broken. My only thought is possibly using threading locks but i do not know if that can cause issues or not

redacted