I was playing with Flask and I wrote my own Anti-Social Network.
Heroku platform is very flexible and it supports several programming languages. To deploy an application to Heroku, use Git to push the application to Heroku’s server.
Running in a Production Server
Heroku does not provide a web …more ...
Python has First Class Functions
def create_adder(x): def adder(y): return x + y return adder
>>> add_10 = create_adder(10) >>> add_10(3) 13
Python has Anonymous Functions
(lambda x: x > 2)(3) # => True
Python has Built-in Higher Order Functions
map(add_10, [1, 2, 3]) # => [11, 12, 13] filter(lambda …
LAMP is an acronym for a model of web service solution stacks: Linux, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language.
Building a MySQL Database
We will use a web interface to access data in our database:
Log in with your root login …