Keath Milligan

On software development, quality, security and broken racecars

Page 2 of 2

Debugging a Flask 0.11 app in Visual Studio Code

Visual Studio Code with the the Python extension makes for a great Python development environment – especially if you work on blended Python/Javascript web apps. The Python extension includes a built-in template launch definition for debugging a Flask app, but it assumes you have an old-style “run.py” script in your project. If you are using Flask 0.11.x, chances are you use the new “flask” command to launch your app.

First, be sure you have your virtual environment configured in VSCode (you are using a virtual environment, right?).… Read More...

What’s new in Flask 0.11.x?

It had been a while since I last started a Flask-based project, so I decided to have a look at what’s. new in the current release. Earlier this year, Flask and several other Python web development projects were organized under the Pallets Projects open source community and governance model. Along with the move, Flask 0.11 was released with several improvements and new features.

So what’s new? Flask 0.11.x brings several JSON-related fixes and improvements, making it easier to build apps that primarily provide RESTful JSON APIs.  … Read More...

Creating a web development environment for Windows that doesn’t suck

While it’s true that many open source projects consider Windows a second class citizen, the reality is that it continues to be the operating system of choice for most business environments and many developers find themselves with no alternative. But this doesn’t mean you have to settle for a poor experience.

As far as code editing goes, you won’t have a problem. Fortunately, there’s no shortage of great web editors/IDEs to choose from for Windows. Atom, SublimeText, WebStorm and others both free and non are all great choices each with their own pros and cons.… Read More...

Newer posts »

© 2017 Keath Milligan

Theme by Anders NorenUp ↑