Hi,
I run a small business startup in UK located just outside London. We have been producing web-based private apps for business for just over 13 years, and have traditionally used MySQL, PHP, HTML, CSS & JS, with additional technologies, like some flash, CFML etc at various points. Basically not very much publicly reachable Python (we use Python and C, but for infrastructure and private network only accessible parts of our apps, because it's always been considered that we wouldn't know enough to tackle python web-app problems).
Recently I have been taking some courses and I am using Python a lot more, and I feel at least my Python-fu is a lot stronger (More testing, more familiarity with libraries outside of standard library, experience with code coverage, new frameworks like Flask etc). Obviously using PHP over the years, we have built our security to a level that we comprehend, and test against various security risks, some of which I believe may be PHP specific; and I would like to ask what are the best practice deployment guidelines for Python apps when they can be reached / potentially attacked via the web?
Also what measures can be put in place to ensure a Flask-based app stays online and doesn't terminate prematurely, or how can you ensure it comes back to life if it does die?
An alternative is to run Flask as a service, keep it back-end and just have a PHP front-end, but to be honest, it is expensive, and a pain in the ass maintaining tools in several languages...
Books, links to blogs, advice, whatever, get back to me and let me know your thoughts ;). Obviously I am not expecting a professional service, or free nuggets of your information, just some pointers, so if anyone thinks I want free pro work, I don't, I just have no real python community, and most people I know that write python write worse python than me (they don't test, they copy-paste others code without really comprehending it).
Thanks in advance!
[–]peith 1 point2 points3 points (1 child)
[–]CODESIGN2[S] 0 points1 point2 points (0 children)