- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: http://elixir.ematia.de/trac/wiki
- 软件文档: http://elixir.ematia.de/trac/wiki/Documentation
软件介绍
Elixir是基于python界有名的ORM库SQLAlchemy做的封装。而且是轻量级的封装,它提供了更简单的方式来创建Python类并直接映射到关系数据库表(即通常所说的Active Record设计模式),类似于Django中的ORM。
示例:
class Person(Entity):
name = Field(String(128))
addresses = OneToMany('Address')
class Address(Entity):
email = Field(Unicode(128))
owner = ManyToOne('Person')
class Person(Entity):
id = Field(Integer, primary_key=True)
name = Field(String(50), required=True)
ssn = Field(String(50), unique=True)
biography = Field(Text)
join_date = Field(DateTime, default=datetime.datetime.now)
photo = Field(Binary, deferred=True)
_email = Field(String(20), colname='email', synonym='email'
class Admin( Party.Admin ):
verbose_name = _( 'Person' )
list_display = ['first_name', 'last_name', 'contact_mechanisms_email', 'contact_mechanisms_phone']
The Algorithmic Beauty of Plants
Przemyslaw Prusinkiewicz、Aristid Lindenmayer / Springer / 1996-4-18 / USD 99.00
Now available in an affordable softcover edition, this classic in Springer's acclaimed Virtual Laboratory series is the first comprehensive account of the computer simulation of plant development. 150......一起来看看 《The Algorithmic Beauty of Plants》 这本书的介绍吧!
