Re: pylons and long polling

2009-07-23 Thread lasizoillo
2009/7/22 Brian O'Connor gatzby...@gmail.com: Hello all, I've been using pylons for a little while now (actually just developed a major university's newspaper web site in it), and am considering it for my next project. This project entails using long-polling extensively and am curious as

Re: pylons and long polling

2009-07-23 Thread lasizoillo
2009/7/23 lasizoillo lasizoi...@gmail.com: 2009/7/22 Brian O'Connor gatzby...@gmail.com: Forgot using nginx for long polling. Things that made great nginx are things that makes inviable to long polling. Use HAProxy instead. Excuse me, I was wrong: http://wiki.nginx.org

Re: PostgreSQL Conference West 2009 Call for Papers

2009-06-25 Thread lasizoillo
2009/6/24 Joshua D. Drake j...@commandprompt.com: PostgreSQL Conference West 2009 Call for Papers June 24th, 2009, the PostgreSQL Conference U.S. team is pleased to announce the West 2009 venue and call for papers. This year the premiere West Coast PostgreSQL Conference will be leaving its

Re: Pylons vs Tomcat+GWT

2009-02-03 Thread lasizoillo
2009/2/3 Tycon adie...@gmail.com: AnonymousGuy wrote: ..You do seem pretty intent on using GWT, no matter what advice is offered in this thread... I listen to advice from many different sources, and the advice in this thread ranks pretty low in its usefulness compared to the

Re: moving logic from controller to model

2009-01-28 Thread lasizoillo
2009/1/28 John Brennan jjb...@gmail.com: All the documentation I've found (pylons web site, examples, etc) tell the developer to put all this business logic in the controller and just setup a flimsy old model with the pass keyword. I myself did the same when first learning pylons. As my

Re: how to display different modules in the page ?

2009-01-24 Thread lasizoillo
2009/1/24 Mike Orr sluggos...@gmail.com: On Tue, Jan 13, 2009 at 4:12 PM, lasizoillo lasizoi...@gmail.com wrote: 2nd Idea: In pylons, list() and view() are functions that response an html content. You can call it, save result, and compose in other page. If you want only some things you can

Re: how to display different modules in the page ?

2009-01-13 Thread lasizoillo
2009/1/13 ipingu erik.clair...@gmail.com: Hello, I'm new to Pylons, there are many things I don't know yet. After looking on many docs, I still haven't found what I need, I'm surely thinking wrong about something. Here's my prob, we developed a module that display basically articles. It

Re: which version of python y'all are using ?

2009-01-11 Thread lasizoillo
2009/1/11 Tycon adie...@gmail.com: well I'm a performance person and I hate wasting time because of bad/ sloppy design and implementation. And even for low volume apps, a well tuned app will have a better response time, as well as higher load capacity and better sclalability. In pure

Re: Ten reasons why couchdb is better than (off topic)

2009-01-04 Thread lasizoillo
2009/1/3 mobil mobiledream...@gmail.com: Ten reasons why couchdb is better than (off topic) http://pylab.blogspot.com/2009/01/ten-reasons-why-couchdb-is-better-than.html Guys I wrote up a small list of reasons why i think couchdb is way bettter than mysql. Do let me know what you think

Re: Ten reasons why couchdb is better than (off topic)

2009-01-04 Thread lasizoillo
. It's still slow generating index. Without incremental generation of index by views is a madness use it. Regards, javi On Sun, Jan 4, 2009 at 8:15 AM, lasizoillo lasizoi...@gmail.com wrote: 2009/1/3 mobil mobiledream...@gmail.com: Ten reasons why couchdb is better than (off topic

Re: Yet another high-performance WSGI server

2008-08-28 Thread lasizoillo
2008/8/28 Ian Bicking [EMAIL PROTECTED]: Ben Bangert wrote: On Aug 14, 2008, at 6:23 PM, Cliff Wells wrote: Possible replacement for Paste#http: http://pypi.python.org/pypi/Spawning/0.7 A speed comparison of Django+mod_wsgi vs Spawning that lacks enough info to be labeled definitive,

Re: Deployment Question

2008-05-23 Thread lasizoillo
Hi 2008/5/22 Shannon -jj Behrens [EMAIL PROTECTED]: Here's my two cents: Has anyone tried out the mod_wsgi module for *Nginx*? Yeah, I know, weird: http://wiki.codemongers.com/NginxNgxWSGIModule But you need run cooperative wsgi app :-( Twisted's people handle this issue running the

Re: Deployment Question

2008-05-20 Thread lasizoillo
There are a few newer servers now (nginx, lighthttpd, cherokee) that claim to be smaller, more efficient, and better organized than Apache. Apache is a process/thread based server. Nginx, for example, is a event-driven server. If you have worked with Twisted, you know that even-driven code is

Re: authkit rev150

2008-04-07 Thread lasizoillo
2008/4/7 Chris Curvey [EMAIL PROTECTED]: I decided to install the trunk version of AuthKit into my Pylons app last night (in the hopes that it had solved another issue), but that seems to have been a mistake. Now every time I try to login to my site, I'm getting AssertionError:

Re: splitting validate in two

2008-04-01 Thread lasizoillo
2008/3/22, Wichert Akkerman [EMAIL PROTECTED]: I'm trying to use @validate but it does not quite fit my needs. Especially the fact that it automatically calls htmlfill which fails to handle XHTML makes it a no-go. I do see a use for htmlfill behaviour, but I'ld prefer if that happens as

Re: Auth and Auth

2008-03-29 Thread lasizoillo
My problems whith authkit: I can't say nothing about authkit docs. My english is very bad. I can't judge it. The code is clear ;-) AuthKit has many config options. This is a good think. In my work, the people is mad. Many options for flexibility are welcome. In SVN version, you have a

Re: Modifications in templates

2007-10-08 Thread lasizoillo
To force a browser cache expiration by server, is usual the next hack: change the file.js references to file.js?v=# where # is a code which is changed to force the cache expiration. I think that is possible do a helper that automate the sufix expiration reading the mod time property of the js

Re: Conceptual question for navigation / site structuring

2007-09-19 Thread lasizoillo
Hi Is it a good design put a view thing as navlinks[left] in the controller? I think is better create a mako function for this. What happen if you want render the customer links disabled for guest users? It's more easy change it if it's implemented in the view. I think is view responsability

Re: Enable SSL only for selected controllers

2007-07-23 Thread lasizoillo
Hi I try to explain this whith my limited english. If you don't understand the problem is mine. First, read this: http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts You need decrypt the https to run the controler dispatching. For decrypt the info, you must configure the ssl in the site.