2012/9/26 Stuart Dallas
> On 26 Sep 2012, at 22:29, Yves Goergen
> wrote:
>
> > On 26.09.2012 23:20 CE(S)T, Stuart Dallas wrote:
> >> If you mean what C# calls a static constructor, no that does not
> >> exist in PHP, but you can fake it.
> >
> > Okay, thank you for the quick info.
> >
> > How d
2012/9/27 Yves Goergen
> On 26.09.2012 23:38 CE(S)T, Stuart Dallas wrote:
> > On 26 Sep 2012, at 22:29, Yves Goergen
> > wrote:
> >> My class is a debug helper class, that can write trace messages and
> >> so on. I have added a random per-request tag to distinguish
> >> concurrent requests in th
On 26.09.2012 23:38 CE(S)T, Stuart Dallas wrote:
> On 26 Sep 2012, at 22:29, Yves Goergen
> wrote:
>> My class is a debug helper class, that can write trace messages and
>> so on. I have added a random per-request tag to distinguish
>> concurrent requests in the trace file and thought that generat
On 26 Sep 2012, at 22:29, Yves Goergen wrote:
> On 26.09.2012 23:20 CE(S)T, Stuart Dallas wrote:
>> If you mean what C# calls a static constructor, no that does not
>> exist in PHP, but you can fake it.
>
> Okay, thank you for the quick info.
>
> How do other languages than C# call that? :-)
T
On 26.09.2012 23:20 CE(S)T, Stuart Dallas wrote:
> If you mean what C# calls a static constructor, no that does not
> exist in PHP, but you can fake it.
Okay, thank you for the quick info.
How do other languages than C# call that? :-)
My class is a debug helper class, that can write trace messag
On 26 Sep 2012, at 22:13, Yves Goergen wrote:
> I couldn't find out whether PHP supports static constructors, and how
> the syntax is. The web and the PHP manual don't mention it. So is it not
> supported? If it is, is there a PHP version restriction?
If you mean what C# calls a static construct
Hi,
I couldn't find out whether PHP supports static constructors, and how
the syntax is. The web and the PHP manual don't mention it. So is it not
supported? If it is, is there a PHP version restriction?
--
Yves Goergen - nospam.l...@unclassified.de - http://unclassified.de
--
PHP General Mail
On 9/26/12 10:18, "Matijn Woudt" wrote:
>Writing scripts for an application server requires a much deeper
>understanding of threads and computer internals,so as a result it
>probably increases error rate.
Well... yes and no. PHP's architecture pretty much keeps you from having
to mess with thre
On Wed, Sep 26, 2012 at 5:23 PM, Maciej Liżewski
wrote:
> in Java (for example) you just write class:
> class Counter {
> static private counter = 0;
>
> public void increment() {
> this.counter++;
> }
> }
>
And here's where things go wrong.. You assume ++ is an atomic
operation, but in
On 9/26/2012 11:23 AM, Maciej Liżewski wrote:
Well.. many things changed during last 30 years. Cobol is not
mainstream, we have got OOP, Java, Python, Ruby, Google and other
great things :)
I am talking about stateful application server. There are plenty
examples in other programming languages:
Il Wed, 26 Sep 2012 17:23:35 +0200, Maciej Liżewski ha scritto:
> persistent application servers load resources only on startup (or when
> needed) and keep them in memory until programatically freed or until end
> of application (server shutdown).
You don't mention the downsides:
- every applic
Well.. many things changed during last 30 years. Cobol is not
mainstream, we have got OOP, Java, Python, Ruby, Google and other
great things :)
I am talking about stateful application server. There are plenty
examples in other programming languages: Java has Jetty, Tomcat, Ruby
On Rails, Python an
On 9/26/2012 5:58 AM, Maciej Liżewski wrote:
Hi,
Maybe this topic have been already on board, but I could not find nothing
in google, so my question to PHP maintaneers (and other users too) is:
Why there is no possibility to run PHP in "application server" way among
other SAPI modules and other
On Wed, Sep 26, 2012 at 5:58 AM, Maciej Liżewski
wrote:
>
> Why there is no possibility to run PHP in "application server" way among
> other SAPI modules and other possibilities to run PHP? PHP would encounter
> great performance boost and became more "enterprise" :) Just look at Ruby
> which is s
My recent experience is PHP eats more memory. But it matters when you are
running it under memory constraint device. For a high end server its not a
matter.
I built an chat server using socket functions which was intended to run on
embedded device. I didn't want to load apache. So I wrote it in pla
Hi,
Maybe this topic have been already on board, but I could not find nothing
in google, so my question to PHP maintaneers (and other users too) is:
Why there is no possibility to run PHP in "application server" way among
other SAPI modules and other possibilities to run PHP? PHP would encounter
Crikey, forgot to include the list.
-- Forwarded message --
From: tamouse mailing lists
Date: Wed, Sep 26, 2012 at 1:57 AM
Subject: Re: [PHP] output compression when host has disabled
mod_deflate, mod_gzip and php_value auto_prepend_file
To: edward eric pedersson
On Fri, Sep 2
17 matches
Mail list logo