DEV Community 👩‍💻👨‍💻

Discussion on: Python For Web Development

Collapse
minchulkim87 profile image
Min

Just a quick thought on learning web dev vs actual web dev:

Maybe Bottle is the best to start off with as it is the easiest. It inspired Flask and similar enough that learning Bottle will transfer very easily to learning Flask.

Then, perhaps, FastAPI is the python framework to learn next. Again, very Flask-esque, but just a more modern implementation.

Collapse
steelwolf180 profile image
Max Ong Zong Bao Author • Edited on

Hmm... It depends I'm a person that is inclined to depend on the use case and the types of jobs that is available in your country. So to learn that particular technology and practices.

So far for jobs wise the popular choice I see is either Flask or Django as a must if you are looking for anything related web development in python.

Therefore I'll pass on bottle but definitely FastAPI is in my radar as I had heard praises of it. So I'm thinking of learning it as well in the future and write a article on it.

Given that, I'll give a higher priority on other topics like learning a frontend web framework, CSS grid or Flexbox, GraphQL, typescript or ES6, cloud providers, TDD, clean code, design patterns.

Lastly with soft skills related topics to improve one's ability to be a better developer.

Thread Thread
minchulkim87 profile image
Min

Definitely. For jobs, you'd need to go with what is popular in the field/industry/area.

But "learning" though... Bottle wouldn't take more than a day to "learn". Not even an hour, even for a beginner. Sure having the mastery to make something deployable takes a lot of practice in any framework or tools.

But I am talking about the pedagogical value here. Bottle won't require the learner install much or do much project set up or configuration at all.

Within minutes of starting, even to an entirely new beginner, you can get to an "ah that's what you mean by a backend", and "ah that is what an api is" and so on.

Much in the same way that Svelte would be a more gentler intro to the front end than React or Angular are for a beginner. Even though, eventually you'll need to learn the tool you need to get a job or do a job.

Anyways, Flask "hello world" is simple enough.

Thread Thread
steelwolf180 profile image
Max Ong Zong Bao Author

Yup Flask's hello world is simple enough and it won't take less than 1 hour to do it.

In terms of learning method wise, the best Flask or Django tutorials that I was watching uses bootstrap to cover the front-end portion using Django or Flask's templating engine.

Instead of diving deep in using a front-end web framework like Svelte, React, Angular or Vue. Since there are tons of beautiful and well-maded templates Creative Tim.

Which you can modify those pre-made templates to get what you want that any Flask or Django developer with a good foundation in CSS, HTML, Javascript can do it.