Perché dici vecchio approccio? Se devo fare una query su un DB con cui sono collegato via ODBC, come faccio a farlo in maniera ottimale con Zope 3.1.x? Se non ricordo male, se scrivi la query con ZSQL Method hai anche il filtro per i vari attacchi SQL Injection? Grazie per i chiarimenti!!
Luca-7 wrote: > > On Mon, Aug 4, 2008 at 10:11 AM, Yuri <[EMAIL PROTECTED]> wrote: >> Luca ha scritto: >>> >>> On Mon, Aug 4, 2008 at 9:24 AM, Yuri <[EMAIL PROTECTED]> wrote: >>> >>>> >>>> My ZSQL product has a very simple feature for hooking up up to >>>> memcache but with one caveat: that you can't invalidate the cache. >>>> It only works for selects of course but it's really easy to work with. >>>> E.g. >>>> >>>> SQLSelectAverageUserAge(min=10, max=20, memcache__=True) >>>> (defaults to 5*60 seconds) >>>> ...or... >>>> SQLSelectAverageUserAge(min=10, max=20, memcache__=10) >>>> (10 seconds) >>>> >>> >>> Non ho capito di quale prodotto si stia parlando >>> >>> >> >> zsql method >> > > Gli ZSql method sono forniti con Zope (sorry credevo parlassi di > qualche nuovo prodotto esterno). Intendi dire che basta fornire quel > parametro "memcache__" e si ottiene quel comportamento? E' davvero > interessante, ho un paio di vecchie applicazioni che ancora utilizzano > quel vecchio approccio! > > -- > -- luca > > _______________________________________________ > Plone-IT mailing list > Plone-IT@lists.plone.org > http://lists.plone.org/mailman/listinfo/plone-it > http://www.nabble.com/Plone---Italy-f21728.html > > -- View this message in context: http://n2.nabble.com/cachare-le-select-di-ZSQL-tp667951p673142.html Sent from the Plone - Italy mailing list archive at Nabble.com.
_______________________________________________ Plone-IT mailing list Plone-IT@lists.plone.org http://lists.plone.org/mailman/listinfo/plone-it http://www.nabble.com/Plone---Italy-f21728.html