Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 24. Network, web, and database p... > Sample project—creating a message wa...

24.4. Sample project—creating a message wall

To see what you can do with a WSGI application, let’s create a simple example: a message wall where the messages are stored in a sqlite3 database and the URL is used to indicate the user and tags being searched for. Note that this is a simple example, and we won’t be implementing any kind of security, session management, and so on, so don’t use this in production. This application is intended to show you the possibilities for writing web applications in Python.

As you’ve seen, we need to create an application object to pass to the server when we create it. This application needs to be able to do the following:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint