The differences are mostly architectural but the goal is mostlty the same: provide an automatic CRUD interface for model objects. Which ones if better? Well, it depends on who you ask ;) Time will tell which one is able to accommodate the functionality it plans to implement in a better way.
Both should be fully customizable, probably Rum is more since it uses generic functions inside so you can hook into many points inside the application to override how it works (if you know how). For example, the SQLAlchemy plugin (RumAlchemy) extends in this way the default controller so it can handle the exceptions SQLAlchemy raises, all of this without you needing to use a different controller. However, this is both a blessing and a curse since it probably means Rum has a steeper learning curve if you're not familiar with generic functions. Anyway, besides the GF low-level way of customizing Rum there's an API that hides the peak.rules internals so you can go a long way without even knowing that they're used. Both use toscawidgets to generate forms, so you can carry this knowledge from Rum to TG2 to Catwalk and back. Once you know how to create a TW form you can plug it into any framework that uses them. Sprox is not required to build a tw.form (although it can save you some time). On the other hand, TW is not required to use Rum: you can easily build a custom form by hand or with other tools and plug it into Rum for certain views. Catwalk2 is a TG2 controller so you can only use it inside TG2. Rum is a stand-alone WSGI application so you can use it with any modern python framework. Although Sprox is independent of any framework, Sprox is only the automatic form generation library to build TW forms. Rum has decided to tightly couple the model introspection and form generation into its core since by doing that it has access to some basic services which Sprox doesn't have access to: url generation facilities to generate urls for any model, current locale, and (soon-to-be-implemented) security policy (to hide some fields from some users, etc...). This is one of the reasons Rum was designed to be a stand-alone app. in the first place. Catwalk2 will probably have a larger user-base than Rum in the long run since the TG lead quietly decided it will bundle it with TG2 instead of other alternatives. If this matters much to you you should take it into account. Finally, Rum has (and will probably have for a long time) horrible marketing so don't expect to hear much about its hidden gems out there in the streets if you don't ask (and someone is willing to elaborate on them) ;) Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
