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

Chapter 2. Creating a Simple Spreadsheet

In this chapter, we will develop a simple spreadsheet application. The spreadsheet functionality will be entirely implemented in JavaScript plus jQuery UI, but we will configure CherryPy to deliver the page that contains the spreadsheet application dynamically.

On the presentation side, we will encounter our first jQuery UI widgets (buttons) and will see how we can design other elements to adhere to jQuery UI standards to fit seamlessly in jQuery UI's theme framework. We will also see how to find and use publically available jQuery plugins and integrate the jEditable plugin into our application.

That is a lot to grasp in one go, but don't worry if every detail is not clear the first time. We will encounter many variants of the issues first encountered here in the other chapters and will explain all relevant details again in their context.

In this chapter, we will be:

  • Creating an environment to develop and deliver our applications

  • Designing a simple spreadsheet...