- When I use "form_order" -- I suppose I have to have it on my model, it wasn't clear on the video --, can I specify what will be the screen name for the field? For example, you had "Pagename", how could I make it into "Page Name" or even "New wiki page name"?

in turbogears.fastdata.formmaker you have column_widget_generic_col which returns:
        widgets.TextField(column.name)

The could be extended to check if your model column has a title attribute and a default value: return widgets.TextField(name=column.name,label=(column.title or column.name), default=column.default)

I really liked the way you implemented "form_order", specially because one usually want hiding "useless" information such as ids,
          timestamps and other auditing columns.

        - How can I create pages of data?  After your wiki example had
something like 700 entries, it wouldn't be comfortable to work with all of them at once... Imagine some application where you can heve 1000 entries added everyday... :-) Retrieving a fixed ammount of entries -- I default to 50 entries -- grants me a fixed ammount of time to render a page, no matter how many entries there are on the database. Using it freely will make rendering time increase, hence
          diminish the productivity of the person (people) using the
          system...

The grid you saw in the demo consists of 23 lines of codes.It's a starting point. This can (and will) be able to handle things like paging, defaulting to fx. 20 items in a view. More rows than that, and you get a table footer with previous/back buttons, a 'page <textfield> 3</textfield>out of 6' label and a drop-down where you can select how many item to show per page (20, 50, 100, 200,etc)


        - Last, but not least important, how will I18N work here?

About Forms:

- It really gave me the idea of putting an attribute 'error_message' into each Widget so that form validation could be more verbose when
          showing the form back to the user, so that he knows what is
wrong... For FormTable, I believe the message could go on the same column the widget itself is shown, after a "<br />", putting it on
          the line below the field the user filled -- and in red? ;-)

- The default is OK to be maintained and in fact it is *very* helpful,
          but again, how to I18Nize it?  ;-)

I am seriously considering delaying a delivery to use this CRUD mechanism...
I think it will be more "professional" ;-)


And, by the way, with your first video I also had to turn the sound to the maximum. Isn't there any recording set you can do to make it louder? :-) I jumped from my chair 5 times with ICQ/MSN noises of people getting in and out
because I had the volume at the maximum to hear your videocast :-)


--
Jorge Godoy      <[EMAIL PROTECTED]>

Ronald

________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog



Reply via email to