durusmail: quixote-users: Why class 'Session' has no method get_user() ?
Why class 'Session' has no method get_user() ?
2005-03-17
2005-03-17
2005-03-17
2005-03-17
2005-03-17
Why class 'Session' has no method get_user() ?
2005-03-17
Why class 'Session' has no method get_user() ?
2005-03-17
2005-03-17
2005-03-17
2005-03-17
2005-03-17
2005-03-17
Why class 'Session' has no method get_user() ?
Why class 'Session' has no method get_user() ?
Why class 'Session' has no method get_user() ?
2005-03-18
Why class 'Session' has no method get_user() ?
2005-03-18
Why class 'Session' has no method get_user() ?
2005-03-18
Why class 'Session' has no method get_user() ?
2005-03-18
Why class 'Session' has no method get_user() ?
"Template" components. Was: Why class 'Session' has no method get_user()?
2005-03-19
"Template" components. Was: Why class 'Session' has no method get_user()?
2005-03-19
Why class 'Session' has no method get_user() ?
2005-03-17
2005-03-17
2005-03-17
2005-03-17
2005-03-17
2005-03-17
Why class 'Session' has no method get_user() ?
Mike Orr
2005-03-18
Paul Moore wrote:

>On Fri, 18 Mar 2005 00:01:33 -0800, Shalabh Chaturvedi
> wrote:
>
>
>>Mike Orr wrote:
>>
>>
>>
>>>I was attracted to Quixote because of its minimalist approach, much
>>>smaller than other web application servers, yet every "essential" I
>>>needed was there:
>>>
>>>
>>>But as time goes on I find more essentials I wish Quixote had (things
>>>that David doesn't necessarily agree are essential :).  In my mind,
>>>Quixote or Quixote+batteries should come with everything one needs to
>>>build a straightforward professional app.
>>>
>>>
>>What is essential and what is not will vary from person to person.
>>
>>
>
>I agree entirely here. The one major lack I have found in every Python
>web framework I have tried is support for building simple CRUD (Create
>Report Update Delete) database applications. Something like a form
>library, but for table-based (paged) display of database recordsets.
>This perceived lack, however, reflects on my requirements rather than
>on a real omission in Quixote (or any other framework).
>
>

I have some code which, combined with Form, will do a
search/results/details view.  I have to run for a plane so I can't
post it now, but it will be in the next Superdemo next month.
Basically it saves the search results (a list of anything, presumably
record IDs or records) into the session (keeping multiple independent
searches in a dictionary) along with the current "page" number and
search criteria (a naive dictionary).  The page number represents a
subset of result rows.  There's a couple functions to help display a
results page (summary on top, table with hyperlinks and info in
middle, page flipper at bottom (first/prev/next/last/#).  There's a
DB-API wrapper (optional, and with some MySQL-isms), and a class
to build a variety of HTML tables from 2-dimensional lists.  The Table
class can be used for the results page and details page.  You'd
have to write the HTML for the hyperlinks yourself, along with the
add/edit/delete forms, but I have one site that's doing all that
(private).  Is something like this what you're looking for?



reply