Schevo 3.2.0 wrap up

2 views
Skip to first unread message

Etienne Robillard

unread,
Feb 3, 2010, 1:54:50 PM2/3/10
to notmm-...@googlegroups.com, sch...@googlegroups.com, montrea...@googlegroups.com

Hi everyone,

I have been quite silent in the past months so here's a
few updates on integration of Schevo DBMS in the notmm WSGI toolkit! :)

Firstly, I've decided to include xdserver package within notmm toolkit,
in hope that it can be used for internal uses by a new Schevo ORM
backend. This new ORM backend and xdserver packages can be found in
notmm.dbapi.schevo_orm.

Also, the Durus extended server is really working well
and I think it can be used more efficiently by third-party applications
needing concurrent access to Durus databases, so thanks very much
for having made Schevo a solid alternative to SQL-only DBMS! ;)

Moreover, I've also created a new field type which I called
BlowfishHashField, for storing hash values using the python-bcrypt
library. The code for BlowfishHashField is

class BlowfishHashField(HashedValue):
"""Field stored as a one-way hash using the ``bcrypt`` module."""

def hash_encode(self, value, salt=None):
try:
import bcrypt
except ImportError:
raise ImportError("The bcrypt library is needed for using
Blowfish encryption.")

if salt is None:
salt = bcrypt.gensalt()

hashed_value = bcrypt.hashpw(value, salt)
return self.hash_header + hashed_value


Next is notmm.dbapi.schevo_orm.DatabaseProxy, a proxy class which uses
__getattr__ builtin method for accessing Entity classes in a proxy-like
behavior. i.e:

>>> from notmm.dbapi.schevo_orm import DatabaseProxy
>>> db = DatabaseProxy('accounts')

would create a ``db`` instance with no side-effects, as
xdserver backend is used for handling database connections in
non-blocking mode (which is super cool btw.. ;)

Finally, I added a roadmap for Schevo 3.2.0 development. It's accessible
here: http://gthc.org/Schevo/Roadmap

I hope you liked this short summary of my current Schevo development
work, and feel free to ask questions if I made a point unclear of if you
any questions surrounding Schevo or the notmm toolkit!


Best Regards,

Etienne


Schevo DBMS: http://schevo.org/

The notmm WSGI toolkit: http://gthc.org/projects/notmm/

robillard_etienne.vcf

Etienne Robillard

unread,
Feb 4, 2010, 8:32:13 AM2/4/10
to sch...@googlegroups.com, notmm-...@googlegroups.com, montrea...@googlegroups.com
More practical notes:

1. To implement Durus authentication will requires changes in xdserver
client package to support generic username/password authentication.

2. Durus extended server supports socket connections all the way, so to
have secure authentication TLS/SSL encryption should be used, to not
send the username and password strings in plain-text.

3. Schevo-editor (SchevoGtk2) can be modified to support rsync protocol.
This will allow easy remote and local syncronisation of durus databases
from the main app window. For instance:

1. connect to remote durus server....
2. do custom authentication handshake....
3. if authentication works, use rsync to syncronize both databases...
4. refresh window to reflect updated/current database


Any thoughts ?

Thanks,
Etienne

robillard_etienne.vcf

Etienne Robillard

unread,
Mar 10, 2010, 6:05:01 AM3/10/10
to sch...@googlegroups.com, notmm-...@googlegroups.com, montrea...@googlegroups.com
or put it this way if you like

is SQLAlchemy better suited for building twitter bots, social network
phishing games, fake linked in job posts, and related iphones and
facebook applications ?

I'll let you respond to the answer as an exercise.

Thanks,

Etienne


Etienne Robillard wrote:
> Great. Sounds like i should restart everything from scratch
> and use SQLAlchemy.
>
> Thanks, Matthew, I appreciate your feedback as always.
>
> Peace
>
> Etienne
>
> Matthew Scott wrote:
>> Etienne,
>>
>> Thank you for your continued interest in Schevo, especially in relation
>> to integrating it into your toolkit.
>>
>> I apologize for the delay in responding to your posts.
>>
>> As it stands, there does not seem to be much interest in the use of
>> Schevo as opposed to more widely used SQL-based approaches or the
>> "NoSQL" approaches that have gained popularity and notoriety as of late.
>> I'd like to be straightforward in acknowledging that it has a very slow
>> momentum and a very small number of users and adopters.
>>
>> I still believe Schevo to be an interesting system that could be
>> suitable for some niche uses, but I also believe that many projects are
>> better suited to use other database packages (e.g. SqlAlchemy),
>> primarily because one will find a higher level of adoption and support
>> in other packages.


>>
>>
>> On Wed, Feb 3, 2010 at 10:54, Etienne Robillard
>> <robillar...@gmail.com <mailto:robillar...@gmail.com>> wrote:
>>
>> I have been quite silent in the past months so here's a
>> few updates on integration of Schevo DBMS in the notmm WSGI toolkit! :)
>>
>>
>>
>>

>> --
>> Matthew Scott
>> ElevenCraft, Inc.
>> http://11craft.com/
>> +1 360 389-2512
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Schevo" group.
>> To post to this group, send email to sch...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> schevo+un...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/schevo?hl=en.
>

robillard_etienne.vcf

Etienne Robillard

unread,
Mar 10, 2010, 6:16:54 AM3/10/10
to notmm-...@googlegroups.com, sch...@googlegroups.com, montrea...@googlegroups.com
sorry but i'm not interested in building such apps, probably never will,
and will most likely continue using Schevo in the future, even if you
continue ignoring my posts.

Best regards,

Etienne

robillard_etienne.vcf

Etienne Robillard

unread,
Mar 10, 2010, 7:00:12 AM3/10/10
to montrea...@googlegroups.com, notmm-...@googlegroups.com

Mathieu,

i have run very few benchmarks yet.. last time I checked with ab (apache
bench) it was sufficient for my use case (a small-medium blog website..)

also i believe Schevo/Durus is really a fair alternative to mongodb and
others, but without benchmarks its hard to measure. Over-shadowed by
other open source "competitors" perhaps ?


Have a great day,

Etienne

Mathieu Leduc-Hamel wrote:
> Hello Etienne,
>
> We don't ignoring your posts. In fact what I know is that me I'm reading them.
>
> I was curious to have comparison of Schevo with other NoSQL database.
> How are the perf in general ? I cannot access your website right now
> but I would like to know what is the target audience of your project.
> I was on the impression that it was more desktop oriented, am I right
> ?
>
> ciao
>
> math

>> --
>> Vous recevez ce message, car vous �tes abonn� au groupe Google Groupes MontrealPython.
>> Pour envoyer un message � ce groupe, adressez un e-mail � montrea...@googlegroups.com.
>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse montrealpytho...@googlegroups.com.
>> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
>>
>>
>

robillard_etienne.vcf
Reply all
Reply to author
Forward
0 new messages