Book Image

Spring Python 1.1

By : Greg L. Turnquist
Book Image

Spring Python 1.1

By: Greg L. Turnquist

Overview of this book

<p>Spring Python captures the concepts of the Spring Framework and Spring Security and brings them to the world of Python and provides many functional parts to assemble applications. Spring Python is all about using the many useful features of Spring to the fullest and making these features available when working with Python.<br /><br />Get to grips with all of the concepts of Spring and apply these to the language and environment of Python to develop powerful applications for your own personal requirements. The book provides an introduction to Spring Python and steadily takes you towards the advanced features that this integration has to offer.<br /><br />Spring uses the Java programming language. Spring Python, the first Spring extension to go live, allows developers to make maximum use of Spring features in Python. This book starts off by introducing each of the core building blocks of Spring Python using real code examples and high-level diagrams. It explores the various concepts of Spring Python with the help of examples and case studies and focuses on vital Spring Python features to make the lives of Python and Java developers simple. The early chapters cover simple applications with simple operations including data access, and then subsequent chapters scale up to multi-node, secured, transactional applications stopping short of very advanced level complexity.</p>
Table of Contents (16 chapters)
Spring Python 1.1
Credits
About the Author
About the Reviewers
Preface
Index

Requirements for a good bank


Before we can embark on building our application, we need to establish the stories that we will implement in our coding sprint. What do we need to do to implement a good banking application?

  • A customer can open a new account with a balance of $0.00

  • A customer can close an account that has $0.00 balance

  • Opening and closing accounts written into a log visible to the owning customer and any manager

  • A customer can withdraw any amount up to the total balance of the account

  • A customer can deposit any amount into an existing account they own

  • A customer can transfer from one account they own to another account they own, up to the total balance of the source account

  • All withdrawals, deposits, and transfers are written into a log visible to the owning customer and any manager

  • Logs will be available through a secure, machine-to-machine format, requiring valid credentials

  • The action of a manager viewing a log will be logged separately. This log will be visible by a supervisor

This...