RUM progresses

1 view
Skip to first unread message

Michael Brickenstein

unread,
Nov 28, 2008, 5:44:56 AM11/28/08
to TurboGears Trunk
Hi!

During the last months, I worked on many improvements of the RUM CRUD-
Framework of Alberto Valverde.
This involves as well many features (like image preview), as well as
bugfixing.
In particular, embedding a RUM application into a TG2 application
works now.
Today, I just integrated the RUM flash messages with the TG2 flash
messages
(has to be configured).

On the November coding sprints, I worked with Alberto on setting up a
new version of the rum demo application.

http://rumdemo.toscawidgets.org/

One of the advancements is the demonstration of using sqlalchemy's
abilities of advanced data mapping (mapping several tables to a
class). You can see that in the demo as MovieInGenre, where you can
edit the movie and genre data (name) simultaneously.

I think, that demonstrates not only RUMs/SQLAlchemys power, but that
of TG2 in general,
as only very few Frameworks provide support for ORMs like SQLAlchemy,
that are so flexible.

I myself integrated RUM as admin interface in one of my webapps.
While RUM is not considered for production use yet, I am sure, it will
be soon in that state (I know, what works, ).
http://toscawidgets.org/trac/rum

So, I would like to invite you all, to have a look on the RUM and its
updated demo.

Thanks also to Alberto for this brilliant design.
Michael

Jorge Vargas

unread,
Nov 28, 2008, 8:55:26 AM11/28/08
to turbogea...@googlegroups.com

This is great news, I love rum, I used it during the development of
one of my apps and it's great for db modeling. I really think this is
going to be one of tg2 killer features, keep up the good work.

Michael Brickenstein

unread,
Dec 3, 2008, 5:40:32 AM12/3/08
to TurboGears Trunk
Hi Jorge!
Thanks for the nice words.
My goal is nothing less, than RUM being software, that actually
works ;-).
I think, the current state is at least better, than usual hand written
code (and has much better error handling).
I am seriously testing it with end users (non technicians are usually
the hardest audience).
So I use this feedback concerning stability and usability
to improve RUM even more.
RUM will be much more than a CRUD app in the sense of Catwalk, since
(in the end) it
will be really compatible with end users in production environments.
Furthermore, it integrates good into a more "problem specific" admin
application.
If you need a CRUD-action, just link into RUM, the user is
automatically
redirected after this action to the site, he came from (or any url you
specify).
Michael

Clemens Wehrmann

unread,
Dec 3, 2008, 4:34:46 PM12/3/08
to turbogea...@googlegroups.com
Very good news on the continuing work on RUM. A lovely framework with great
promise.

On Friday 28 November 2008 11:44:56 Michael Brickenstein wrote:

> http://rumdemo.toscawidgets.org/

I notice that several operations (adds, deletes, but also occasionally object
overviews like http://rumdemo.toscawidgets.org/rentals) return "500: Internal
server error"s. Is this related to the demo or something on the server?

Trying to install the demo using the instructions on the rumdemo main page
yields the following errors:

(rumdemo)clemens@shaun:~/devel/tg2/rumdemo$ easy_install -f
http://toscawidgets.org/download SQLAlchemy==0.4.6 Paste WebError RumAlchemy
tw.rum
...
Removing SQLAlchemy 0.4.6 from easy-install.pth file
Adding SQLAlchemy 0.5.0rc4 to easy-install.pth file
...
Searching for rum>=0.1
Reading http://pypi.python.org/simple/rum/
Couldn't retrieve index page for 'rum'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for rum>=0.1
error: Could not find suitable distribution for Requirement.parse('rum>=0.1')

Many thanks for all your work.
--clemens

Michael Brickenstein

unread,
Dec 4, 2008, 1:44:02 AM12/4/08
to TurboGears Trunk
Hi Clemens!
There are some problems with the demo, but this are only server
integration issues on toscawidgets.org.

Nevertheless you can download the latest RUM directly from
toscawidgets.org (we should do some new release at some time).
By the way (I have running RUM smoothly in production system mounted
in TG app, which is integrated into apache via proxy requests, so
server integration
in principal works).

Assuming you have installed mercurial, just do

hg clone http://toscawidgets.org/hg/rum/
hg clone http://toscawidgets.org/hg/tw.rum/
hg clone http://toscawidgets.org/hg/RumAlchemy/

Then run in rum, tw.rum, RumAlchemy directories (in this order)
python setup.py develop

Alternatively you, can download zip files
http://toscawidgets.org/download

Additionally, I recommend to install the optional packages:
easy_install tw.tinymce
and
PIL (from http://www.pythonware.com/products/pil/)

The demo can be found under RumAlchemy/docs/demo.py

Of course I recommend doing all this in a virtualenv.
I hope, that helps. If not, please don't hesitate to ask.
Michael

On 3 Dez., 22:34, Clemens Wehrmann <clem...@googlemail.com> wrote:
> Very good news on the continuing work on RUM.  A lovely framework with great
> promise.
>
> On Friday 28 November 2008 11:44:56 Michael Brickenstein wrote:
>
> >http://rumdemo.toscawidgets.org/
>
> I notice that several operations (adds, deletes, but also occasionally object
> overviews likehttp://rumdemo.toscawidgets.org/rentals) return "500: Internal
> server error"s.  Is this related to the demo or something on the server?
>
> Trying to install the demo using the instructions on the rumdemo main page
> yields the following errors:
>
> (rumdemo)clemens@shaun:~/devel/tg2/rumdemo$ easy_install -fhttp://toscawidgets.org/downloadSQLAlchemy==0.4.6 Paste WebError RumAlchemy
> tw.rum
> ...
> Removing SQLAlchemy 0.4.6 from easy-install.pth file
> Adding SQLAlchemy 0.5.0rc4 to easy-install.pth file
> ...
> Searching for rum>=0.1
> Readinghttp://pypi.python.org/simple/rum/
> Couldn't retrieve index page for 'rum'
> Scanning index of all packages (this may take a while)
> Readinghttp://pypi.python.org/simple/
Reply all
Reply to author
Forward
0 new messages