Orkut Gmail Calendar Documents Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
CRUD with no database?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AFO  
View profile  
 More options Nov 20 2009, 12:21 am
From: AFO <allen.fow...@yahoo.com>
Date: Thu, 19 Nov 2009 10:51:33 -0800 (PST)
Local: Fri, Nov 20 2009 12:21 am
Subject: CRUD with no database?
Hello,

What toolkits/modules should I be looking at if I want to use TG2 to
build a CRUD UI to an in-house system.

The in-house system is not a database but the functionality
requirements for the UI are very CRUD-like.  I already have a python
module that supplies such methods as get/set/list/create/delete for
the various entities.

Basically, I'm looking for CRUD toolkit that will allow me to supply
my own get/set/list/create/delete methods, and it turn spit out basic
tables/forms.

(I am came across Sprox, and posted a similar message to their group,
but it's pretty low traffic and has not passed moderation yet...)

-- AF


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Ramm  
View profile  
 More options Nov 20 2009, 7:22 am
From: Mark Ramm <mark.mchristen...@gmail.com>
Date: Thu, 19 Nov 2009 20:52:53 -0500
Local: Fri, Nov 20 2009 7:22 am
Subject: Re: [TurboGears] CRUD with no database?
Well you can use http://turbogears.org/2.0/docs/main/RestControllers.html

Or you can extend Sprox with another data provider if you want to wire
it all up to some kind of introspection engine for your in house data
thing.  I don't have a doc for that...  But you can look at the code
for the existing one ;)

--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AFO  
View profile  
 More options Nov 21 2009, 1:00 am
From: AFO <allen.fow...@yahoo.com>
Date: Fri, 20 Nov 2009 11:30:58 -0800 (PST)
Local: Sat, Nov 21 2009 1:00 am
Subject: Re: CRUD with no database?
Thank you.

Couple of questions:

1) For a normal web-based UI app, what advantage does RestController
give in comparison to the standard TG2 Controller?

2) Are there any tutorials for ToscaWidgets used without SQLAlchemy?

3) What is the "tmpl_context" variable I see floating around in the
tutorials?

4) Can Sprox and/or ToscaWidgets generate a "view-only record details"
page?  (That is, a display of the details laid out like the
traditional "edit" page, but not using form fields to display the
values.)

Thank you,
:)

On Nov 19, 8:52 pm, Mark Ramm <mark.mchristen...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AFO  
View profile  
 More options Nov 23 2009, 3:04 am
From: AFO <allen.fow...@yahoo.com>
Date: Sun, 22 Nov 2009 13:34:36 -0800 (PST)
Local: Mon, Nov 23 2009 3:04 am
Subject: Re: CRUD with no database?
To answer my own questions..

:)

> 1) For a normal web-based UI app, what advantage does RestController
> give in comparison to the standard TG2 Controller?

It looks like it will call certain named methods (that you must write)
for certain URL formats.

See:  http://turbogears.org/2.1/docs/modules/tgcontroller.html#tg.controlle...

Where is the source code for RestController?

I looked at:
http://trac.turbogears.org/browser/trunk/tg/controllers.py

However, the definition "class RestController(DecoratedController)"
seems a bit sparse.

Where is the real definition?

> 2) Are there any tutorials for ToscaWidgets used without SQLAlchemy?

Still not found.  But it's really sprox that's so tightly bound to SA.

> 3) What is the "tmpl_context" variable I see floating around in the
> tutorials?

Still not sure.

> 4) Can Sprox and/or ToscaWidgets generate a "view-only record details"
> page?  (That is, a display of the details laid out like the
> traditional "edit" page, but not using form fields to display the
> values.)

ToscaWidgets: No.
Sprox: Still not sure.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google