On Wed, 2007-10-03 at 10:22 -0400, Nathan Nobbe wrote:
> On 10/3/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, 2007-10-03 at 09:52 -0400, Nathan Nobbe wrote:
> > >
> > > one nice trick you can easily implement is to compress your code before
> > > pushing it to production.
> > > th
On 10/3/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2007-10-03 at 09:52 -0400, Nathan Nobbe wrote:
> >
> > one nice trick you can easily implement is to compress your code before
> > pushing it to production.
> > the php cli exposes a method for stripping out the whitespace and
> com
On Wed, 2007-10-03 at 09:52 -0400, Nathan Nobbe wrote:
>
> one nice trick you can easily implement is to compress your code before
> pushing it to production.
> the php cli exposes a method for stripping out the whitespace and comments.
>
> php -w
Do it right, use a compile cache like Eaccelerato
On 10/3/07, ashish.sharma <[EMAIL PROTECTED]> wrote:
>
>
> Hello All,
>
> I am working on PHP from quite some time. I am pretty much comfortable in
> writing PHP code but I always want that I should write good, quality code.
> For this I always look for the best practices which other developers use
Zoltán Németh wrote:
> and anyway, the microseconds you could win with this really don't
> count that much to be worth the effort... find real bottlenecks and
> optimize against those.
And finally, if you're worried about microseconds, why are you using an
interpreted language?
/Per Jessen, Zü
2007. 10. 3, szerda keltezéssel 16.07-kor Cameron Just ezt írta:
> One trick that one of my friends has taught me is to only use double
> quotes "s where needed as they are parsed by PHP and instead use single
> quotes 's
>
> i.e.
> $fred['john'] = 10;
> is better than
> $fred["john"] = 10;
>
>
One trick that one of my friends has taught me is to only use double
quotes "s where needed as they are parsed by PHP and instead use single
quotes 's
i.e.
$fred['john'] = 10;
is better than
$fred["john"] = 10;
or
echo 'This is some text' . "\n";
instead of
echo "This is some text\n";
He told
First rule: Premature optimization is the root of all evil. Don't try to
squeeze every millisecond out of your code unless it really needs it.
That said, the conventional place to stick user account data is in the
database. The exact schema will vary, but you will want some sort of unique
u
8 matches
Mail list logo