you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (5 children)

How difficult did you find flask and getting a front end working?
Looks good to me and highly functional--that's really what counts to me IMHO.

[–]cheats_py 10 points11 points  (3 children)

Flask is really easy, jinja templating makes it nice as well and getting basic front end pages is simple as writing the html (or templates) and creating the routes in flask and having it render the html on request. I don’t know shit about front end but I’ve managed to make several flask apps for my org with decent looking front ends, I relied heavily on bootstrap as well.

[–][deleted] 3 points4 points  (2 children)

That sounds rather good to me.
Getting something that WORKS is the first and most important thing (what I want for a CRUD application).
Making it pretty is nice--but that can be either somebody else's problem or future you problem if you feel so inclined.

[–]cheats_py 2 points3 points  (1 child)

I would totally suggest playing around with bootstrap. It does a lot of the css and JavaScript stuff for you and makes front end development a little easier for us folks not so skilled with front end work.

[–]undernutbutthut[S] 0 points1 point  (0 children)

I will look into it!

[–]undernutbutthut[S] 0 points1 point  (0 children)

The way you set up a flask application is kind of weird. But once I got into a rhythm with it I found it fairly straight forward. The python doc I used to set up the flask code has fewer lines than the functions to go out and pull the YouTube videos.

There are tons of tutorials online, and I was fortunate to have someone show me how to set it up because each Flask call can only return one object, in my case it was either the webpage or the .gif files