On Mon, Jan 5, 2009 at 5:56 PM, Jorge Vargas <[email protected]> wrote:
>
> On Sat, Jan 3, 2009 at 3:14 PM, Mark Ramm <[email protected]> wrote:
>>
>> The paster crud command that lives in tg.devtools is currently
>> unmaintained and out of date.
>>
>> I've added a ticket to either update it or remove it.
>>
>> http://trac.turbogears.org/ticket/2102
>>
>> You can see a little bit about how it works from here:
>>
>> http://turbogears.org/2.0/docs/main/movie_tutorial.html

This tutorial is nice, I guess this command could be used to do a
subapp or sample controllers, am I correct?

Would be nice to have similar tutorial on rum and see how they compare.

What I initially though crud was for was automatic design of the app
based on the database content. It would be great if there was a tool
that would:

1. autoload existing database,
2. Create sample controller with create, read/select, update/edit,
delete controller functions for a given table,
3. Generate tw widgets for a coresponding function.
3. Allow easy manipulation of what gets displayed and how through some
nice interface similar to catwalk or other admin tool.

That would be a true crud command to me. Show it a table,  it creates
a sample controllers and widgets for me, I modify them to fit my
application needs, and be ready to go.

Lucas


>>
>> How do people feel about removing it?   Is anybody willing to help us
>> maintain it?  It definitely demos well, and it can provide a
>> reasonable starting point for jumping off, but I think with
>> catwalk/rum available it's less valuable.   And it generates quite a
>> bit of code, which is somewhat customizable, but it's still code
>> generation.
>>
>> It can always live as an external project the way that tgcrud did in
>> turbogears 1.x.
>>
>
> I think it should be removed.
>
> 1- Rum/Catwalk2 way is better
> 2- code generation is evil
> 3- the fact that is unmaintained shows no one needs that type of tool
> at this moment in time.
>
> >
>



-- 
How to create python package?
http://lucasmanual.com/mywiki/PythonPaste
Bazaar and Launchpad
http://lucasmanual.com/mywiki/Bazaar

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to