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/
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
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! :)
Thanks, Matthew, I appreciate your feedback as always.
Peace
Etienne
> --
> 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.
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
Best regards,
Etienne