[Grok-dev] simple (advanced) tuturial for grok+workflow engine+sqlalchemy?
peter at fry-it.com
Tue Dec 16 07:09:47 EST 2008
I've never used it myself but I hear that Storm is a pretty good
alternative to SqlAlchemy. The key difference is that SqlAlchemy
assumes that it can set up the tables whereas Storm leeches on an
existing of tables and stuff. Perhaps that's worth thinking about
considering that you'll be putting your python on top of an existing
Django "solves" this problem by a script that inspects a legacy
database structure and generates the python code (called "models"). I
don't know if there is such a feature in either SqlAlchemy or Storm.
2008/12/16 Alia <alia_khouri at yahoo.com>:
> I'm just about to start a project which entails a mass conversion of a number of corporate websites from a dated and somewhat difficult to maintain jboss/java custom framework to a python based web framework. I have begun to evaluate the current state of the art in pythonistan: django, turbogears2/pylons and grok with a view to making a decision. Now these are not overly complex websites for the immediate needs of the customer but I am anticipating that that will change over time, and I would like to use platform that will scale with the needs of the different businesses.
> One of these key initial requirements is that the data should be stored on a RDBMS (prob. MySQL in this case) so if I am going to evaluate grok relative to django/tg2 I would probably want to use sqlalchemy as opposed to the ZODB. Another thing I would like to consider (but it is not a requirement at this stage) is to hook in a workflow engine like zope.wfmc into the framework (incidentally the availability of multiple workflow options seems to be a major plus for grok/zope3).
> Now in order to make a fair comparison, I would want to at the very least use the latest version of grok with sqlalchemy so my first question is that is there something out there for grok that is relatively stable and workable? The second question I have is: has anybody used zope.wfmc or something like it in grok?
> The problem is obviously is that I don't have a huge amount of time to evaluate or to experiment, and it may be the case that if I can't demonstrate some interesting results relatively quickly, I will probably be inclined to go with a safe bet like django which would at least gain me some kudos for its admin interface.
> In any case, as an aside: my perception of grok/zope3 is that it is a very advanced and powerful framework but I am still a confused on how to harness all this power. Can I suggest that you include in the documentation an advanced tutorial that demonstrates this power. This would certainly allow grok to differentiate itself from the competition: perhaps something along the lines of what I suggest above (-:
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev