Hamster
Resident Rodent
- Joined
- Aug 22, 2006
- Messages
- 45,908
- Reaction score
- 18,407
I can start with SQLITE. Would like to move to proper RDBMS as soon as possible. I know SQL Server. Not sure how well Flask / SQLAlchemy plays with it or MySQL / Oracle might be better.
Flask makes is a web framework (a router) so should have no impact on your choice of DB.
Flask
Flask is a popular, extensible web microframework for building web applications with Python.
www.fullstackpython.com
It allows you to do this:
Code:
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
if __name__ == '__main__':
app.run()
For a DB (I recommended sqlite so you don't have to mess around with yet another server) I would look at postgres. There shouldn't be any issues though and depending on the type of application you can get pretty far with sqlite. In fact, as long as your application is not especially write-heavy you may never need a db server.
If you are going to code a blog or some type of content site (blog, photography, recipes, reviews etc) you may want to look at mongo or some other type of no-sql database.
...and down the rabbit hole we go