>
> There has been a POC implementation in Python:
> http://pypi.python.org/pypi/pybean
> which supports SQLite, but looking at it's description, is not meant
> for primetime yet.
>
Also, this: https://github.com/stochastic-technologies/goatfish
I experience too many unexpected changes during development as it
is. :)
Having an ORM create more would not be good.
During development I might inadvertently attempt to insert a string
into a decimal field. I do dumb stuff like that sometimes, as I think
most of us do. Would the schema then ch
On Wednesday, February 1, 2012 9:02:01 AM UTC-5, Cliff wrote:
>
>
> > insert prompts the creation of the 'name' column in the 'person' table
> > (type is inferred based on the data, and altered if necessary based on
> > subsequent inserts)
>
> Wow. I would not be comfortable with this.
>
My un
> insert prompts the creation of the 'name' column in the 'person' table
> (type is inferred based on the data, and altered if necessary based on
> subsequent inserts)
Wow. I would not be comfortable with this.
On Jan 30, 10:13 am, Anthony wrote:
> On Monday, January 30, 2012 9:37:29 AM UTC-5,
Thanks Anthony, that's exactly right. In fact, there is even no need
for us to call db.define_table('person') at all with RedBean. It would
look more like dal.insert(, =, ...) and
gets created automatically if it does not exist.
The best use case IMO is the ability to store/insert variable
dictio
On Monday, January 30, 2012 9:37:29 AM UTC-5, Massimo Di Pierro wrote:
>
> You can create schemas on the fly with web2py (web2py will do the
> alter table).
I think in RedBean you don't have to define the schema at all. With the
DAL, it would look something like:
db.define_table('person')
db.p
You can create schemas on the fly with web2py (web2py will do the
alter table). It would be possible to allow redefining a table within
the same http request but why?
you can also do this:
def associate(t1, t2, *fields):
db = t1._db
f1 = t1._tablename+'_id'
f2 = t2._tablename+'_id'
It brings in the power of NoSQL. On my part, having used SQLObject,
SQLAlchemy, DAL, and RedBean, I find that Redbean does a wonderful job
of removing obstacles, no doubt many might deem them to be
insignificant, during development. It does make a big difference for
me, especially during developmen
Is the main benefit not having to pre-define models? I suppose that could
be nice during development but don't find that to be a big problem with DAL.
DAL is pretty integral to Web2py and one of the most popular features. And
it has many of the same advantages as RedBean and from my brief look,
> However, there is nothing stopping you from using RedBrean or even
> SQLAlchemy in your web2py projects.
RedBean is a php library... :)
I used it but I can't say that it is better than web2pys DAL
I don't know about future development plans, but I can say that web2py does
not use an ORM, it uses a database abstraction layer that generates the
proper SQL (and NoSQL) code. Lack of an ORM is sometimes touted as a
feature of web2py because ORMs are usually big, complicated, and difficult
to
11 matches
Mail list logo