Category: Uncategorized

Teaching Python

Teaching Python

Recently Learning Tree, a well-respected training company, invited me to teach Python for them. Last week I delivered my first course for them, their Advanced Python course A room full of people, nearly 500...

Namepy step 7 – Bringing it all together

Namepy step 7 – Bringing it all together

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) Time to show some real results on a web page. Extend the API to show the letter scoring...

Namepy step 6 – Load the data into the database

Namepy step 6 – Load the data into the database

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) We will need the following data in the database: Name frequencies – baby names by year Scrabble™ letter...

Namepy step 5 – Flask-Restless

Namepy step 5 – Flask-Restless

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) We will need Angular to use an Ajax call to request the data from Flask, using a REST-style...

Namepy step 4 – PostgreSQL, SQLAlchemy and Flask-SQLAlchemy

Namepy step 4 – PostgreSQL, SQLAlchemy and Flask-SQLAlchemy

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) I’ve used PostgreSQL for a number of different projects. It is the database of choice for Django developers,...

Namepy step 3 – Adding in Highcharts

Namepy step 3 – Adding in Highcharts

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) Highcharts is a JavaScript library for creating high quality interactive charts. It is not open source but requires...

Namepy step 2 – Flask and Angular

Namepy step 2 – Flask and Angular

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) We’re going to need some server-side processing, for which I’ll be using Python and the Flask micro framework...

Namepy step 1 – Angular “Hello World”

Namepy step 1 – Angular “Hello World”

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) Let’s make a very simple start, with a webpage with a basic Angular controller, just enough to show...