Book Image

Building web applications with Python and Neo4j

By : Sumit Gupta
Book Image

Building web applications with Python and Neo4j

By: Sumit Gupta

Overview of this book

Table of Contents (14 chapters)
Building Web Applications with Python and Neo4j
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Build RESTful Service with Flask and Py2neo

The emergence of cloud-computing, and the growing interest in web-hosted applications and Representational State Transfer (REST) based web-services (also known as RESTful services) have gained popularity that can help both in the development of rich user interface clients calling into remote servers and in the development of actual servers for manipulating data structures in a client application (written in any language) or directly in the browser.

Representational State Transfer is a new software architecture style for networked systems consisting of clients and servers.

REST recommends you develop requests and responses around the transfer of representation of resources. A resource can be essentially any coherent and meaningful concept that is addressed. A representation of a resource is typically a document that captures the current or intended state of the resource.

Flask (http://flask.pocoo.org/) is a lightweight Python-based "microframework...