O'Reilly logo

Spring Python 1.1 by Greg Lee Turnquist

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a skeleton CherryPy app

The rest of the files listed on the diagram above form a template of an application.

app_context.py

The Spring Python application context used to wire the generated application using decorator-driven PythonConfig

cherrypy-app.py

The main portion of the application that is runnable

controller.py

Contains the business logic of the application

view.py

Contains some the CherryPy rendering parts of the application

images

A subdirectory containing images used by the view layer of the application

  1. Before we create our CherryPy application, we are missing something. In the earlier screenshot, this plugin wasn't listed. We need to find it and install it. First, let's see how we can look up existing plugins. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required