Is there anyway to send the page to the browser and continue processing the
script in symfony?
We essentially have a few api calls which slow down our page views, however
the responses from the api calls in no way effect the page being displayed,
we we would like to optimize this.
Thanks in adva
Mat,
You can use curl_multi to parallelize the api calls and reduce latency.
Also, if these api calls are not needed as part of the response, then create
a cron task.
- Dustin
On 11/25/07 9:37 AM, "Mat" <[EMAIL PROTECTED]> wrote:
>
> Is there anyway to send the page to the browser and cont
Thanks Dustin,
We about to swap onto curl_multi any way, but we could be hitting 1000 api
calls from a single page view, without too many problems. We could convert
it all to cron but it's a fair amount of work.
Essentially we have a news module, and when a news item is created, we go
back to th
Mat,
I would move the api calls to a cron script managed by a notifications table
in the db. It is possible to process things after the response is rendered
(or rather content is flushed), but in this case it seems like a bad idea.
- Dustin
On 11/25/07 9:52 AM, "Mat" <[EMAIL PROTECTED]> wrote:
Thanks Dustin,
We have looked into it, and to be honest it makes total sense to go for a
separate table/ cron script, especially as this could be going multi-server
shortly. I'm busy coding it up now, thanks for the advice its really
appreciated :)
Mat
-Original Message-
From: Dustin Wh
Hello,
I'm working on a Symfony project which has a rich-javascript front-
end. If there is an exception on the server side I'd like the server
to respond with some JSON data to the effect of: { errors: [ { id:
"Server Exception, msg: "Exception message" } ] }. Does Symfony
support a way to def
Hello,
If i understand you right, you'd like to redefine the "error page: 500"
template. Yes, you can redefine these default "factory standard"
templates. If you begin reading the chapter 19 of symfony book
you will get rapid enlightenment i hope. :)
> I'm working on a Symfony project which has
2007/11/24, Matthias N. <[EMAIL PROTECTED]>:
>
>
> On 24 Nov., 12:21, "Ian P. Christian" <[EMAIL PROTECTED]> wrote:
> > Piers Warmers wrote:
> >
> > > Ooops,
> >
> > > Sorry about that...
> >
> > > Maybe the recent domain changes have effected that?
> >
> > http://www.symfony-project.org/downloads/
On Friday, November 23, 2007, forkmantis wrote:
> PHP Fatal error: Class 'myUser' not found in //lib/symfony/user/
> sfUser.class.php on line 107
Hi,
This issue is not related to sfLucene. Try clearing your cache and checking
your configuration factories for the user.
Carl
--~--~-~--
hitting 1000 api calls from a single page view ...!?
On 11/25/07, Mat <[EMAIL PROTECTED]> wrote:
>
>
> Thanks Dustin,
>
> We have looked into it, and to be honest it makes total sense to go for a
> separate table/ cron script, especially as this could be going
> multi-server
> shortly. I'm busy co
Is the Doctrine Plugin stable? Does it support the admin generator and
command line tools?
Is propel 1.3 due out anytime soon?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to
11 matches
Mail list logo