-- Dennis Fogg <[EMAIL PROTECTED]> wrote
(on Thursday, 11 October 2007, 06:36 PM -0700):
>
> I completed the basic structure of my ZF infrastructure
> and noticed that it seemed quite slow.
> So, I did some performance profiling and used some
> performance tools only to find that ZF is pretty slo
Hi Parnell,
Thanks for the performance tips and references!
Yes, I am loading a number of my own files in unoptimized ways.
But my profiling tells me that it does not matter (at this point anyway)
since the times are dominated by ZF code.
Yeah, I did notice a blip in Zend_log also. I noticed
Hi Mike,
Thanks for your quick reply. I'm using Apache 2.2.4 and I just tried out
your MS Windows conjecture by trying:
which generally returns the page in .004 sec (4 ms) with a few spikes that
take longer.
So it seems that my PHP stack on Windows is plenty fast and is not the
problem.
ZF o
It depends alot on how you are loading those modules too. I try to use a
load on request for the less used classes (using autoload) and load the
heavily used classes in the bootstrap so they are available to the
entire app.
Major speed improvements when I use static methods in my own classes
inste
On 10/11/07, Dennis Fogg <[EMAIL PROTECTED]> wrote:
>
> I completed the basic structure of my ZF infrastructure
> and noticed that it seemed quite slow.
> Over 20+ runs, I got the following data:
>
> .57 sec (44%) for db connection even though it's persistent connection
> .26 sec (20%) for Zend_Co
Mike, thanks for the reply.
I've come up with something that works for my situation, but it
involves extending the Zend_Auth singleton class (which I know
probably isn't the best way to do things).
I do want to use Zend_Auth since I'm looking for the storage, which
was the oversight in my
On 10/11/07, Todd Wolaver <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have implemented Zend_Auth for admin users to login and I'm
> checking authentication and ACLs in a preDispatch plugin.
>
> Now I need to authenticate a different type of user which has nothing
> to do with the admins and uses a to
I completed the basic structure of my ZF infrastructure
and noticed that it seemed quite slow.
So, I did some performance profiling and used some
performance tools only to find that ZF is pretty slow for me:
a blank page takes 1.3 sec to load.
I'm pretty new to performance tuning so I'm seeking a
Hello,
I have implemented Zend_Auth for admin users to login and I'm
checking authentication and ACLs in a preDispatch plugin.
Now I need to authenticate a different type of user which has nothing
to do with the admins and uses a totally different storage engine and
auth adapter.
I'm tr
class Happy_Community {
function Zend_Framework_WikiandJira {
$server = $this->getActualServer();
for ($X = 1; $X < maxInvestment; ++$X) {
$serverfarm[$X] = clone($server);
}
return $serverfarm; // <-- here's your problem... instead of
serverfarm u use
Sorry for the renewed instability, guys. Basically, we seem to have a
thrashing problem that I can mostly prevent by making more resources
available to the apps and database, but only to the limits of the
hardware resources- at some point either the java apps or the database
get overloaded in one w
When me and Kevin talked about it on #zftalk, we both came to a
similar solution. We thought it should be up to us to do the
validation on the headers ourselves.. (Or, provide a method that can
do it...).
In the end, I think it's a better solution to just make the following
changes:
-
Check your php version. Zend_Session is incompatible with php v = 5.2.0
- Original Message -
From: ViShap
To: Zend Framework General
Sent: Thursday, October 11, 2007 10:13 AM
Subject: [fw-general] Zebd_Session bugs me :(
Hi all readers!
Following code:
$sez = new Zen
Hi all readers!
Following code:
$sez = new Zend_Session_Namespace('rex');
$x = $sez->ass;
$aff = (int) rand(1,20);
echo 'new: '. $aff .' - old: '. $x;
$sez->unlock();
$sez->ass = $aff;
$sez->lock();
Now i expect to happen that when reloading the page:
new 1 old 4
new 5 old 1
new 7 old 5
new .
Currently we throw exceptions when non-RFC-compliant HTTP headers are
passed to the setHeaders() method. Following ZF-2019 I did some
thinking, and it seems there is a good reason to allow a non-strict mode
in which users could add their own headers.
What I propose doing is one of the following:
...yet again. C'mon, give it a kick in the butt please.
Just made a proposal to a Zend_Bittorrent component that can be used for
decoding bittorrent encoded data (such as .torrent files) and encode
encodable PHP variables into their bittorrent counterparts.
The proposal can be found at
http://framework.zend.com/wiki/display/ZFPROP/Zend_Bittorrent+-+Chr
-- Waigani <[EMAIL PROTECTED]> wrote
(on Thursday, 11 October 2007, 01:57 AM -0700):
> Here is how I will do it: Generate the array keys as a string and then eval
> the whole thing.
eval() is almost never the right answer; it's both a performance hit and
a security risk.
Variable variables are ea
Ok on further reading the SPL is compiled by default, but the classes
provided by my default installation are below:
which seem to miss of the autoload functions - spl_autoload_call as
listed in full here - http://uk2.php.net/spl
SPL tells me to add the inc to a prepend which I did then it st
I have just finished installing:
Eclipse PDT
PHP 5.2.4
Apache 2.2.6
Zend Server Debugging
When I was debugging locally the debug output would show the reurned headers
eg.:
X-Powered-By: PHP/5.2.0
..
Content-Type: text/html
Since switching to remote debugging I have two quieries:
1. I am
Before I was using:
function __autoload($class)
{
Zend_Loader::loadClass($class);
}
Now it seems I need the SPL extension installed - I cant seem to find
any instructions on how to install this, I thought it was a PECL download?
So this doesnt work
Zend_Loader::registerAutoload()
Bit co
Here is how I will do it: Generate the array keys as a string and then eval
the whole thing.
Waigani wrote:
>
> Hi All,
>
> In the following script, how could I dynamically nest one key inside
> another to generate:
>
> $menu["tutorials"]["php"]["Language"]="#";
>
> I'm thinking of somethin
Hi All,
In the following script, how could I dynamically nest one key inside another
to generate:
$menu["tutorials"]["php"]["Language"]="#";
I'm thinking of something like variable variables, but they don't seem to
work with array keys - unless I'm doing it wrong.
here is the script:
$link)
23 matches
Mail list logo