This discussion begs a question I pointed out yesterday - coupling across layers
We have view actions being closely tied to model layer ... Someone is appropriately trying to have controller function in between (the only way it should be) and is having trouble. I think we need to revisit the fundamental issue here... In a separate thread. In preparation please review my note last night re: MVC ==> data / logic / presentation. Regards, Yarko -----Original Message----- From: billf <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2008 8:53 AM To: web2py Web Framework <web2py@googlegroups.com> Subject: [web2py:12062] Re: itemize temporary data SQLite appears to have a ":memory:" keyword for in-memory databases. It looks like a minor change to sql.py to change the way it parses the uri from db=SQLDB('slqlite://something') so that it can say sqlite3.Connection(":memory:") when required. SQLite "virtual tables" also look interesting. See http://www.sqlite.org/cvstrac/wiki?p=VirtualTables MySQL has an equivalent ENGINE=MEMORY. See http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html On Nov 18, 2:01 pm, mdipierro <[EMAIL PROTECTED]> wrote: > If sqlite can create a database in ram than this is possible. I will > take a look. > > Massimo > > On Nov 18, 7:33 am, billf <[EMAIL PROTECTED]> wrote: > > > > > I don't think you can - as you say itemize takes tables and an > > optional query. I think you will have to create your own "itemize" > > that works off your results. Looking at T2.itemize, it should not be > > difficult. [The entire original message is not included] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---