This is coming from someone who writes a lot of PHP.
This is coming from someone who writes a lot of PHP.
I have worked with Django a bit, but I've never built anything in Flask. Does Flask use an ORM, or do people need to write their own SQL?
That being said, you should absolutely at least learn the basics of working directly with databases. ORMs are a leaky abstraction, and you will run into situations where it's easier to drop into raw SQL to get the job done. Think of it like this: using GPS while driving is fine 95% of the time, but when it malfunctions or breaks, you're screwed unless you know how to read a map or ask for directions ;)
Using raw SQL instead of an ORM is one of the best examples of premature optimization I can think of (unless you are very very good at SQL and have a very complicated structure).