Axiom is an object database, or alternatively, an object-relational mapper.
Its primary goal is to provide an object-oriented layer with what we consider
to be the key aspects of OO, i.e. polymorphism and message dispatch, without
hindering the power of an RDBMS. It is designed to "feel pythonic", without
encouraging the typical ORM behavior such as potato programming.
Axiom provides a full interface to the database, which strongly suggests that
you do not write any SQL of your own. Metaprogramming is difficult and
dangerous (as many, many SQL injection attacks amply demonstrate). Writing
your own SQL is still possible, however, and Axiom does have several methods
which return fragments of generated schema if you wish to use them in your own
queries.
WWW: http://divmod.org/trac/wiki/DivmodAxiom
- deprecate port as it fails to build and distfile is unfetchable
PR: ports/160260
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by: maintainer timeout (26 days)
Approved by: bapt (mentor)
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
[NEW PORT] databases/py24-axiom: Axion is an object database in python using
sqlite3
Axiom is an object database, or alternatively, an
object-relational mapper.
Its primary goal is to provide an object-oriented layer
with what we consider to be the key aspects of OO, i.e.
polymorphism and message dispatch, without hindering the
power of an RDBMS. It is designed to "feel pythonic", without
encouraging the typical ORM behavior such as potato
programming.
Axiom provides a full interface to the database, which
strongly suggests that you do not write any SQL of your
own. Metaprogramming is difficult and dangerous (as many,
many SQL injection attacks amply demonstrate). Writing your
own SQL is still possible, however, and Axiom does have
several methods which return fragments of generated schema
if you wish to use them in your own queries.
WWW: http://divmod.org/trac/wiki/DivmodAxiom
PR: ports/95724
Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>