I do not know. I do not remember writing the comment, even if it is in the book. It may be a cut and paste error. It may be a comment by a reviewer of the book that crept in there unintentionally.
On Monday, 28 May 2012 13:25:46 UTC-5, Richard wrote: > > Hello, > > I would like to have more detail about this note (in bold red in quote > below) : > > "SQLTABLE converts the rows into an HTML table with a header containing > the column names and one row per record. The rows are marked as alternating > class "even" and class "odd". Under the hood, Rows is first converted into > a SQLTABLE object (not to be confused with Table) and then serialized. The > values extracted from the database are also formatted by the validators > associated to the field and then escaped. (*Note: Using a db in this way > in a view is usually not considered good MVC practice.*)" > > http://web2py.com/books/default/chapter/29/6#Serializing-Rows-in-views > > Thanks > > Richard >