-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/16/2014 01:21 PM, Achim Domma wrote:
> I have a growing web application which implements sophisticated search
> and reporting functionality. To decouple some of our components, I
> would like to use the ZCA, but I'm not perfectly sure how to do
I'll second using Celery. I use it for the exact same things - Pyramid is
used to handle the request(s) and ask for some work to be completed.
Celery is used to handle the work.
I don't like the idea of forking new work off Pyramid. Pyramid is your web
server. You should really have it only
Hi
The bootstrap function from the pyramid.paster module may be what you're
looking for :
http://docs.pylonsproject.org/projects/pyramid/en/latest/api/paster.html
You can find some examples in the kotti project.
Here is the entry point :
https://github.com/Kotti/Kotti/blob/master/kotti/util.py#L3
Hi
i'm used to develeop with zope. With zope you can use zopectl run
somescript.py to start zope and run the script in the zopectl debug
environment and terminate when the script is done.
With pshell I can get a environment like zopectl debug. Is there a way
to start pshell with a script to execu
On 18.03.2014 14:08, Chris Rossi wrote:
> It should start its own connection via the standard ZODB API. You might
> consider moving the extra work to a different process. Redis pub/sub or
> list objects are good ways to communicate and set up a primitive, simple
> queue. I prefer that to more co
It should start its own connection via the standard ZODB API. You might
consider moving the extra work to a different process. Redis pub/sub or
list objects are good ways to communicate and set up a primitive, simple
queue. I prefer that to more complex queue/messaging frameworks. YMMV.
Chris
maybe http://www.celeryproject.org/ could be useful for that
On Mar 18, 2014 2:02 PM, "Gerhard Schmidt" wrote:
> HI
>
> sorry i think i wasn't clear on the purpose.
>
> I have a running request. This request should start some work but the
> request should finished without waiting for the works to
HI
sorry i think i wasn't clear on the purpose.
I have a running request. This request should start some work but the
request should finished without waiting for the works to finish.
e.g. start some calculations that are not required for the actual
request to finish but should be made as soon as
If you use ZEO, you can connect from multiple clients. Then you can have a
web server and a console script running simultaneously.
Chris
On Tue, Mar 18, 2014 at 7:39 AM, Gerhard Schmidt wrote:
> Hi,
>
> is there way to start a background thread to do some cleanup and
> maintaining things, wit
Hi,
is there way to start a background thread to do some cleanup and
maintaining things, without blocking the actual request.
Regards
Estartu
--
---
Gerhard Schmidt| http://www.augusta.de/~estartu |
Fischbachweg
Thanks a lot,
I got this working by using
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/assets.html#root-relative-custom-static-view-url-dispatch-onlygiven
by Tres. And its very useful.
Thanks Tres.
On Tue, Mar 18, 2014 at 12:47 PM, uralbash wrote:
> config.add_view(lambda
config.add_view(lambda x: {}, route_name='myroutename',
renderer='templates/mytemplate.jinja2')
понедельник, 17 марта 2014 г., 20:45:04 UTC+6 пользователь Abdul Wahid
написал:
>
> Hi All,
>
> I have gone through lots pyramid docs but still don't understand that how
> can I directly render and
12 matches
Mail list logo