May-01-2019, 03:51 PM
Hi
I posted before about a way of using python, via IIS, to give out html pages.
I was advised it is much better to use Flask, so I have been trying that.
I am however hitting restrictions that I cannot seem to find out solutions. Also I saw from job postings people like to have Django as well as or instead of Flask. So I have watched a video on DJango, which seems to be almost like Flask, but has a lot of stuff done automatically for you (the developer) which feels more like losing control. Plus its a lot more difficult to get going.
I am still going to read the Flask documentation to see whether it shines a light, but I wanted to ask whether it is worth persuing Flask/DJango, or try to recreate the logics via python pure/IIS to understand what happens under the hood.
It's mainly frustrating that I know what I want to do, but just cannot quite get it to work.
I have managed to get Flask to connect to mysql via sqlalchemy and retrieve data. So some success. But I am also aware I am building it wrong for py, forms, security. (Good as a test to say I have managed to do it - bad if I ever wanted to use it).
I also wanted to say thanks to those who have advised me here, you have been very helpful.
I posted before about a way of using python, via IIS, to give out html pages.
I was advised it is much better to use Flask, so I have been trying that.
I am however hitting restrictions that I cannot seem to find out solutions. Also I saw from job postings people like to have Django as well as or instead of Flask. So I have watched a video on DJango, which seems to be almost like Flask, but has a lot of stuff done automatically for you (the developer) which feels more like losing control. Plus its a lot more difficult to get going.
I am still going to read the Flask documentation to see whether it shines a light, but I wanted to ask whether it is worth persuing Flask/DJango, or try to recreate the logics via python pure/IIS to understand what happens under the hood.
It's mainly frustrating that I know what I want to do, but just cannot quite get it to work.
I have managed to get Flask to connect to mysql via sqlalchemy and retrieve data. So some success. But I am also aware I am building it wrong for py, forms, security. (Good as a test to say I have managed to do it - bad if I ever wanted to use it).
I also wanted to say thanks to those who have advised me here, you have been very helpful.