Spring Python

Spring Python

 

Spring Python是基于Java的Spring框架(Spring Framework)和Spring安全(Spring Security)的一个分支,它以Python语言为目标。Spring提供了许多有用的特征功能,同样地这些特征功能在Python下也应当有效。
-- Greg Turnquist(项目Leader)

 

此项目利用Spring的原理,并将其应用于Python语言和Python环境。这包括很多实际的库和有用的抽象,可实现快速开发。

 

关键特征:
1)反转控制IoC
接口级的两个类解耦。有助于建立软件的可重用组件,支持可插拔。可使用XMLConfig,PythonConfig/@Object,PyContainerConfig,SpringJavaConfig,允许读入多种格式。

 

2)面向方面的编程AOP
Spring Python提供了良好的方法来封装对象的通知。主要应用:
· 远程
· 调试跟踪和性能跟踪

 

3)数据访问(Data Access)
从数据库读需要单调的周期:打开游标、读行、关闭游标,并伴随着异常处理。使用模板类,所有你需要做的事是写SQL查询和行处理功能,Spring Python完成了其它部分。

 

4)事务管理(Transaction Management)
封装多个带事务处理的数据库调用可以让你的代码很难读。该模块提供了多种方式来定义事务,使代码简化。

 

5)安全Security
插件安全拦截器锁定方法的访问,它利用两种身份验证和域授权。

 

6)远程
可以很容易地转换本地应用为分布式应用。如果您已经使用IoC容器建立客户端和服务器,那么从本地到分布式应用仅仅需要做配置更改。

 

7)插件/命令行工具
使用插件系统的设计有助于快速开发应用。

 

8)样例
帮助说明Spring Python的各种特征。
· PetClinic  它是一个怎样使用框架的例子。
· Spring Wiki  Wikis是存储和管理内容的有效方式,本例就是创建Wikis的例子。
· Spring Bot  使用框架建立管理IRC通道的例子。

 

下载地址:
http://www.springsource.com/download/community?project=Spring%20Extensions

 

最新版本:Spring Python 1.0.0.RC2
发布时间:Wed, 2009-06-03 15:34

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
# Author: Greg Lee Turnquist # Paperback: 264 pages # Publisher: Packt Publishing; 1st New edition edition (May 21, 2010) # Language: English # ISBN-10: 1849510660 # ISBN-13: 978-1849510660 Amazon 的介紹: http://www.amazon.com/Spring-Python-1-1-Greg-Turnquist/dp/1849510660 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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值