Book Description
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.
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.
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.
This book will help you to scale your applications without having to add unnecessary complexity
Create powerful and versatile Spring Python applications using pragmatic libraries and useful abstractions
- Maximize the use of Spring features in Python and develop impressive Spring Python applications
- Explore the versatility of Spring Python by integrating it with frameworks, libraries, and tools
- Discover the non-intrusive Spring way of wiring together Python components
- Packed with hands-on-examples, case studies, and clear explanations for better understanding
What you will learn from this book
- Use the most advanced Inversion of Control or Dependency Injection container for Python
- Quickly write SQL queries without having to manage the connections
- Plug-in raw SQL without having to learn another query language
- Find out how to scale your application by spreading your components across multiple machines
- Link Python and Java components together with little effort through the power of Python
- Learn how to add security to your Python application without breaking the bank
- Utilize sophisticated database transactions without rewriting your application
- Configure database or LDAP-based Spring Security for your Python application
- Split your single-node application into a multi-node, scalable application with minimal changes
- Discover how to use Spring Python’s command-line utility and write your own plugin
- See how all the blocks work together in the case studies-filled with code samples, screenshots, and high-level diagrams
Approach
The book is an introduction to Spring Python. It starts with simple practical applications, moving on to more advanced applications with two advanced case studies at the end of the book. It is packed with screenshots, examples, and ready-to-use code making it very suitable for a beginner while also showing tactics and concepts suitable for the most experienced developers. Each chapter starts with a simple problem to solve, and then dives into how Spring Python provides the solution with step-by-step code samples. Along the way, screenshots and diagrams are used to show critical parts of the solution. The case studies start off with a handful of use cases, and then proceed step-by-step to incrementally develop features. Some use cases are left to the reader to implement as an exercise. Key problems discovered along the way are exposed and then solved, giving the reader the chance to solve them, or to read the author’s solutions.
Who this book is written for
This book is for Python developers who want to take their applications to the next level, by adding/using parts that scale their application up, without adding unnecessary complexity. It is also helpful for Java developers who want to mix in some Python to speed up their coding effort.
About the Author
Greg has worked since 1997 as a software engineer at Harris Corporation, always seeking the right tool for the job. Since 2002, Greg has been part of the senior software team working on Harris’ $3.5 billion FAA telco program, architecting mission-critical enterprise apps while managing a software team. He provides after hours support and 2nd-level engineering to support the nation-wide telco network and is no stranger to midnight failures and software triage. In 2010, Greg joined the SpringSource division of VMware.
Being a test-bitten script junky, Greg has used JUnit, TestNG, JMock, FEST, PyUnit, and pMock testing frameworks, along with other agile practices to produce top-quality code.
He has worked with Java, Spring, Spring Security, AspectJ, and Jython technologies and also developed sophisticated scripts for *nix and Windows platforms. Being a wiki evangelist, he also deployed a LAMP-based wiki website to provide finger-tip knowledge to users.
In 2006, Greg created the Spring Python project. The Spring Framework provided many useful features, and he wanted those same features available when working with Python.
Greg completed a master’s degree in Computer Engineering at Auburn University, and lives in the United States with his family.
Book Details
- Paperback: 264 pages
- Publisher: Packt Publishing; 1st New edition edition (May 21, 2010)
- Language: English
- ISBN-10: 1849510660
- ISBN-13: 978-1849510660
[Normal] - Packtpub.Spring.Python.1.1.May.2010.rar (7.2 MiB, 1,348 hits) [Direct] - Packtpub.Spring.Python.1.1.May.2010.rar [Fast] - Packtpub.Spring.Python.1.1.May.2010.rar |