๐๐๐ป๐ฎ๐บ๐ถ๐ฐ ๐๐ฅ๐จ๐ ๐๐ถ๐๐ต ๐๐น๐ฎ๐๐ธ ๐ฎ๐ป๐ฑ ๐๐ฆ
Too many web tools confuse people. Use basic tools for great results.
Update parts of your screen without a full refresh. Use JavaScript Fetch API to do this.
Here is the setup:
- Flask runs the backend.
- Fetch API gets data from the server.
- One function updates the table.
- This function works for different events.
Organize your backend to keep it clean:
- Routes connect the view to the logic.
- Controllers handle the business logic.
- Models run SQL queries.
Learn the basics of JavaScript. You will understand how things work. You avoid heavy libraries.
Source: https://dev.to/hpollack/simple-pero-poderoso-crud-dinamico-con-flask-javascript-y-fetch-api-lok