Book Image

Python 3 Web Development Beginner's Guide

By : Michel Anders
Book Image

Python 3 Web Development Beginner's Guide

By: Michel Anders

Overview of this book

<p>Building your own Python web applications provides you with the opportunity to have great functionality, with no restrictions. However, creating web applications with Python is not straightforward. Coupled with learning a new skill of developing web applications, you would normally have to learn how to work with a framework as well.</p> <p><em>Python 3 Web Development Beginner's Guide</em> shows you how to independently build your own web application that is easy to use, performs smoothly, and is themed to your taste – all without having to learn another web framework.</p> <p>Web development can take time and is often fiddly to get right. This book will show you how to design and implement a complex program from start to finish. Each chapter looks at a different type of web application, meaning that you will learn about a wide variety of features and how to add them to your custom web application. You will also learn to implement jQuery into your web application to give it extra functionality. By using the right combination of a wide range of tools, you can have a fully functional, complex web application up and running in no time.</p>
Table of Contents (19 chapters)
Python 3 Web Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing jQuery and jQuery UI


The applications we will design and implement in this chapter and the following chapters depend heavily on the jQuery and jQuery UI libraries. These libraries consist mainly of JavaScript files and some cascading style sheets, and images to style the widgets.

These files are served to the web browser as part of the application, and in general, there are two locations where they may be served from:

  1. A (sub)directory on the server that runs CherryPy together with the other files that make up our application.

  2. Or from an external web location like Google's or Microsoft's content delivery networks.

The latter option might be the best choice if your application gets a lot of traffic as these publicly available resources are designed for high availability and can cope with an enormous number of requests. This might seriously reduce the load on your server and thus reduce costs. More information on this can be found on jQuery's download section http://docs.jquery.com/Downloading_jQuery...