Best way to get started with a web framework

If you’re looking for a program to code up to learn about a web framework, I strongly suggest you try writing a URL shortener. You’ll understand the concepts of database, authentication (if you allow a user to log in), dynamic routing, permanent routing, creating views,…