Re: Is there sample app that provides REST API?

2012-01-30 Thread Jemes Hsu
Thanks for all the pointers. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/QDo20IDeir8J. To post to this group, send email to

any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Krishnakant Mane
hello all, I am developing a pylons app related to finance. I have decided to go with nginx as my http server. What option will be better, fast cgi or reverce proxy? my pylons app runs on port 8080 and the server hosting the app does not have apachi or any other web server for that matter.

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread cd34
You could use uwsgi (http://projects.unbit.it/uwsgi/) which I think is a lot better than using fastcgi. However, if fastcgi/reverse proxy are your only choices, I think I would choose paster with a reverse proxy. -- You received this message because you are subscribed to the Google Groups

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Raoul Snyman
On 30 January 2012 19:20, cd34 mcd...@gmail.com wrote: You could use uwsgi (http://projects.unbit.it/uwsgi/) which I think is a lot better than using fastcgi. However, if fastcgi/reverse proxy are your only choices, I think I would choose paster with a reverse proxy. As much as it sounds like

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Jonathan Vanasco
Raoul - You've got nginx configured to serve static files directly, right? If not, that'll really improve your system. On Jan 30, 12:48 pm, Raoul Snyman raoul.sny...@gmail.com wrote: On 30 January 2012 19:20, cd34 mcd...@gmail.com wrote: You could use uwsgi (http://projects.unbit.it/uwsgi/)

Re: Redirect failure in page templates

2012-01-30 Thread Jonathan Vanasco
could you share the code that raised the exception , or an approximation of it ? -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Gael Pasgrimaud
Hi, On Mon, Jan 30, 2012 at 4:12 PM, Krishnakant Mane krm...@gmail.com wrote: hello all, I am developing a pylons app related to finance. I have decided to go with nginx as my http server. What option will be better, fast cgi or reverce proxy? my pylons app runs on port 8080 and the server

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Raoul Snyman
On 30 January 2012 20:25, Jonathan Vanasco jonat...@findmeon.com wrote: You've got nginx configured to serve static files directly, right?  If not, that'll really improve your system. No, at the moment Apache is set up to serve the static files directly. My set up is a little more complicated

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Jonathan Vanasco
ah. well, I'd highly recommend doing that if you need to speed up your system. it cuts down on CPU and memory usage drastically. On Jan 30, 2:20 pm, Raoul Snyman raoul.sny...@gmail.com wrote: On 30 January 2012 20:25, Jonathan Vanasco jonat...@findmeon.com wrote: You've got nginx configured

Re: Pyramid Simpleform and Colander

2012-01-30 Thread binadam
i ended up using wtforms. definitely check it out (http:// wtforms.simplecodes.com/) if you want validation, widgets control over layout, etc On Jan 29, 7:21 pm, BruceC bruce.co...@hp.com wrote: Thanks to everyone for contributing to this discussion. I guess I should summarize my findings, for

Storing settings on module level -- bad idea?

2012-01-30 Thread Tom Lazar
hi there, i was getting tired of either a) having to pass in the request all over the place (mainly from views down to helper methods) in order for the latter to have access to the settings via request.settings or b) having to call get_current_registry() all the time (which would mean my tests

Re: Storing settings on module level -- bad idea?

2012-01-30 Thread Chris McDonough
On Tue, 2012-01-31 at 00:34 +0100, Tom Lazar wrote: hi there, i was getting tired of either a) having to pass in the request all over the place (mainly from views down to helper methods) in order for the latter to have access to the settings via request.settings or b) having to call

Re: Pylons can be confusing to Pyramid

2012-01-30 Thread Eric Ongerth
+1 here, even from myself who had some legacy Pylons apps lying around. On Jan 27, 6:50 pm, Jemes Hsu jemes...@gmail.com wrote: Pyramid is carrying a lot of old baggage. Reading about Pyramid, you are reading the history about repoze, ZOPE and Pylons and about Pylons projects. One needs to

pyramid_rpc

2012-01-30 Thread binadam
I hope this is the right place for my question: Does pyramid_rpc.jsonrpc only accept 2.0 requests? when i use android- json-rpc client to make rpc call i get JsonRpcRequestInvalid exception, so I'm guessing android client is sending v1.0 requests (must admit I don't know difference between

chameleon: How to check whether user is logged in or not

2012-01-30 Thread Kesav Kumar Kolla
I want to conditionally include some links in my chameleon template. How to write condition in chameleon to check whether user is logged in? Thanks in advance -kesav -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To view this discussion on