Hi :
could you file a bug at https://bugs.php.net/
this is the proper way to report a bug :)
thanks
--
Laruence Xinchen Hui
http://www.laruence.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You think this is PHP's bug? I'm not sure. Because PHP installed not
latest version and yesterday i tune memory_limit setting to 256M (was
-1) and no segfaults registered since that moment. I think, bad
designed script allocate too much memory and php-fpm worker become mad
and kill himself. But
On Thu, Sep 29, 2011 at 5:43 AM, Shaun Morrow morrow.sh...@gmail.comwrote:
I am running a server with cPanel on and want to have php run as a cgi
with
Suexec enabled
I cannot seem to rectify an issue, when I set the handler to cgi, my
rewrite
rules on one of my sites stop working
Sample
On Fri, Oct 8, 2010 at 09:53, Rakesh Mishra rakesh.mis...@gmail.com wrote:
Even I believe my knowledge, interest, market value with PHP 5 is getting
saturated.
Do you guys suggest me what other thing I can learn or work which help me to
keep my lust for PHP alive
and also boost my career.
On 10/08/2010 22:06, 惠新宸 wrote:
test,
i can't send mail to lists?
thanks
On 10/08/2010 22:02, 惠新宸 wrote:
Hi:
1. you can be a Software Architect
2. you can abstract common requirements, developed php extension.
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Fri, Oct 08, 2010 at 07:23:59PM +0530, Rakesh Mishra wrote:
Hi All,
I am PHP 4 PHP 5 developer for last 6 yrs. Last year also got Zend
certification.
Since now I have work on different CMS, Social Networking, telecome , horse
racing domains.
But now I am little bored with
On 8 October 2010 14:53, Rakesh Mishra rakesh.mis...@gmail.com wrote:
Hi All,
I am PHP 4 PHP 5 developer for last 6 yrs. Last year also got Zend
certification.
Since now I have work on different CMS, Social Networking, telecome , horse
racing domains.
But now I am little bored with
hi russell...
isn't the actual soap data/packet that's being sent over the wire viewable
via an app like livehttpheaders... (at least from firefox)
or are you looking for something in much more detail...
-Original Message-
From: rjon...@gmail.com [mailto:rjon...@gmail.com]on Behalf Of
Hi,
Wednesday, June 17, 2009, 1:21:47 AM, you wrote:
RJ I'm working on a project using SOAP and WS-Security in which I am failing
RJ miserably.
RJ Is there a way to inspect the actual XML, header, etc. that is actually
RJ being sent. I feel like I am constructing the call correctly, and I know
Anders Norrbring wrote:
I just saw that mhash is disabled in the spec file for php5 if SUSE version
is 11.0 or higher.
Simple question, does it do any harm?
If they decided to do that it's best to ask suse (or on the opensuse
lists if you're using that flavour).
It may just be because it's
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
Hello!
Seems that PHP gets more and more object oriented, which is good.
I am now running a course in PHP, using PHP 5, where we are going to
use the *DOM* interface. I am trying to teach them good OO practices,
meaning that
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates [EMAIL PROTECTED]
wrote:
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
Hello!
Seems that PHP gets more and more object oriented, which is good.
I am now running a course in PHP, using PHP 5, where we are going to
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates [EMAIL PROTECTED]
wrote:
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
Hello!
Seems that PHP gets more and more object oriented, which is good.
I
Nick Stinemates wrote:
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates [EMAIL PROTECTED]
wrote:
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
Hello!
Seems that PHP gets more and more object oriented, which
Data Hiding IS Encapsulation.
But, you have to agree,
?php
class Lol {
private $bar;
public function getBar() { return $bar }
public function setBar($bar) { $this-bar = $bar}
}
?
Is no different than:
?php
class Lol {
public $bar;
}
?
Here's a more thought out argument from
On Fri, Apr 18, 2008 at 11:21 AM, Nick Stinemates [EMAIL PROTECTED]
wrote:
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates [EMAIL PROTECTED]
wrote:
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
On Fri, Apr 18, 2008 at 11:50 AM, Nick Stinemates [EMAIL PROTECTED]
wrote:
That's a relatively narrow minded response to my point, since I gave
a pretty concrete example of exactly what I meant,
no, its a very valid criticism of your flawed example. you supply a
definition of encapsulation,
Nick Stinemates wrote:
Data Hiding IS Encapsulation.
But, you have to agree,
?php
class Lol {
private $bar;
public function getBar() { return $bar }
public function setBar($bar) { $this-bar = $bar}
}
?
Is no different than:
?php
class Lol {
public $bar;
}
?
Here's a more thought out argument
On Fri, 2008-04-18 at 11:50 -0700, Jim Lucas wrote:
Nick Stinemates wrote:
Data Hiding IS Encapsulation.
But, you have to agree,
?php
class Lol {
private $bar;
public function getBar() { return $bar }
public function setBar($bar) { $this-bar = $bar}
}
?
Is no different
On Fri, Apr 18, 2008 at 12:50 PM, Jim Lucas [EMAIL PROTECTED] wrote:
Let me quote, you said this: Is no different than You are wrong, in
fact it IS different. Having your own custom methods to get or set data
allows you to have more control over what data is injected into your object.
On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
What he means is don't ask for the data literally (by property name) ask
for it via a method. This allows wrapping the data in work. This is a
moot issue in PHP since PHP allows trapping the property accessor.
i dont
On Fri, 2008-04-18 at 13:17 -0600, Nathan Nobbe wrote:
On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
What he means is don't ask for the data literally (by property name) ask
for it via a method. This allows wrapping the data in work. This is a
moot issue in
On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Nope, the point is moot. If I've made my properties publicly accessible,
now, due to the ability to trap via __get() or __set(), I can remove
them and handle them. Thus, I can retrospectively change the semantics
On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote:
On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Nope, the point is moot. If I've made my properties publicly accessible,
now, due to the ability to trap via __get() or __set(), I can remove
them and handle
On Fri, Apr 18, 2008 at 2:28 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote:
On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Nope, the point is moot. If I've made my properties publicly
accessible,
now,
On Monday 10 March 2008, Samuel Marshall wrote:
I use PayPal as my ecommerce solution and I have a PHP script that captures
variables posted from PayPal to populate my database. The time variable
string is sent in the following format: HH:MM:SS DD Mmm YY, PST. The
script worked fine but
Hi everyone!
Generaly author of the first e-mail is right. Ofcource, crawling over the
code and getting out of it a few milliseconds off doesn't make it worth, but
you can learn what is good and what is bad and write your code correctly
from the start.
Why not to use
foreach ($data as $value)
if
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:
Hi Fellows,
I figured out, that PHP5 runs faster when I am not inherit classes,
I hope I use the right word.
I mean the class sub_class extends main_class notation.
As well I figured out, that I in most cases should references in
Richard Lynch wrote:
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:
Hi Fellows,
I figured out, that PHP5 runs faster when I am not inherit classes,
I hope I use the right word.
I mean the class sub_class extends main_class notation.
As well I figured out, that I in most cases
On Dec 31, 2007 3:37 PM, Michael McGlothlin [EMAIL PROTECTED] wrote:
Richard Lynch wrote:
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:
Hi Fellows,
I figured out, that PHP5 runs faster when I am not inherit classes,
I hope I use the right word.
I mean the class
Nathan Nobbe wrote:
On Dec 31, 2007 3:37 PM, Michael McGlothlin [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Richard Lynch wrote:
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:
Hi Fellows,
I figured out, that PHP5 runs faster when I am not inherit
On Dec 31, 2007 3:47 PM, Michael McGlothlin [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
On Dec 31, 2007 3:37 PM, Michael McGlothlin [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Richard Lynch wrote:
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:
Hi
Hi Robert, Stut List
Thanks for your replies which arrived after I had gone to bed |-Z
Robert :-
In PHP5 objects are no longer copied when assigned. Instead the object's
handle is assigned (similar to a reference but not quite). So the
behaviour is as expected.
Stut :-
I think I have
David Restall - System Administrator wrote:
My main obesrvation is that I'm glad that I decided to revisit all my
old PHP4 stuff and rewrite or clean it up. I have hundreds of
$Working_Class = $Under_Class;
lines in my code as well as
$Upper_Class = $Aristocracy;
lines too. I think the
Hi Alberto,
Try using the php5isapi.dll instead of CGI. Make sure you have an entry for
PHP5 in your Web Service Extensions list, and that it is marked as Allowed.
Also, open the properties of your Web Sites folder in IIS Manager, go to the
Home Directory Tab, click Configuration, and make
In PHP5 objects are no longer copied when assigned. Instead the object's
handle is assigned (similar to a reference but not quite). So the
behaviour is as expected.
Cheers,
Rob.
On Mon, 2007-10-08 at 21:42 +0100, David Restall - System Administrator
wrote:
Hi,
I think I have discovered a
David Restall - System Administrator wrote:
I think I have discovered a bug in php5. If I haven't, I've discovered
a bug in the documentation or a bug in my brain.
Start here: http://php.net/language.oop5.cloning
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
On Thu, 06 Sep 2007 15:57:57 +0300, Tijnema [EMAIL PROTECTED] wrote:
On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote:
I'm a german web-designer living in Turkey.
Sometimes I use opensource software like gallery2 or WP to have
customers
have some
nice web albums or blog. The turkish
On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote:
I'm a german web-designer living in Turkey.
Sometimes I use opensource software like gallery2 or WP to have customers
have some
nice web albums or blog. The turkish translation files of such opensource
software
usually use gettext and .po
Now that's service!
On 9/6/07, Tijnema [EMAIL PROTECTED] wrote:
On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote:
I'm a german web-designer living in Turkey.
Sometimes I use opensource software like gallery2 or WP to have
customers
have some
nice web albums or blog. The turkish
On Thu, 06 Sep 2007 15:57:57 +0300, Tijnema [EMAIL PROTECTED] wrote:
On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote:
I'm a german web-designer living in Turkey.
Sometimes I use opensource software like gallery2 or WP to have
customers
have some
nice web albums or blog. The turkish
On 9/6/07, Tijnema [EMAIL PROTECTED] wrote:
On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote:
I'm a german web-designer living in Turkey.
Sometimes I use opensource software like gallery2 or WP to have customers
have some
nice web albums or blog. The turkish translation files of such
On Wed, 2007-07-11 at 16:46 +0100, Steve Perkins wrote:
I guess there are lots of workaround ways. I could write lots of
middleman code in generic and use things like __set and __get etc but its
lots of extra overhead. I also know I could use extends but that makes the
code the wrong way
I also don't really get the idea of interface and abstract classes ? They
don't seem to be any practical use ? Maybe that's me ? Anyway, not really
relevant to this post ...
there is a lot of usefulness in these constructs; look into design patterns.
also, there are code libraries already
On Wed, 2007-07-11 at 12:07 -0400, Nathan Nobbe wrote:
I also don't really get the idea of interface and abstract classes ? They
don't seem to be any practical use ? Maybe that's me ? Anyway, not really
relevant to this post ...
there is a lot of usefulness in these constructs; look into
some ideas about class design:
1. properties should normally (read almost always) be private.
2. the apps interface to the DB [connection] is via the 'generic'
class, the app should have to know nothing about the drive object and
should have no direct access to it.
3. use an interface definition
Robert,
I looked at your code in InterJinn a couple of times; i havent gone over all
of it mind you but it looks pretty sweet.
have you had a look at any of the other frameworks i mentioned earlier in
this thread?
ez components, onPHP, and now there is a new one ive found (in recent
thread)
On Wed, 2007-07-11 at 12:50 -0400, Nathan Nobbe wrote:
Robert,
I looked at your code in InterJinn a couple of times; i havent gone over all
of it mind you but it looks pretty sweet.
It's very different in many respects from other styles of coding. It's
an MVC approach for the most part but
You probably ought to have:
class mysql_driver extends generic_driver {
}
Seems like that would be the most reasonable OOP model, imho.
That said, I suspect that if you do something like:
$driver = $this-driver;
You then may be able to access the driver-specific data using
$driver-propl;
[mailto:[EMAIL PROTECTED]
Sent: 11 July 2007 21:29
To: Steve Perkins
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP5 objects access/instantiation model (correction)
You probably ought to have:
class mysql_driver extends generic_driver { }
Seems like that would be the most reasonable OOP
hello, other interesting articles to give a bird's eye view of new
features for php5
http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html
http://devzone.zend.com/node/view/id/1714
http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/
hth.
yashesh bhatia.
On 6/26/07, Preethi [EMAIL
Hi Preethi
Kindly suggest me the good online tutorial for PHP5.
Am already working on php4.
Need to migrate from php4 to php5.
i think this is very important for OOP:
http://www.php.net/manual/en/language.oop5.php
and this one:
http://www.php.net/manual/en/language.exceptions.php
if you want to spend a little i would recommend this book from php|arch
http://www.phparch.com/shop_product.php?itemid=135
-nathan
On 6/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Preethi
Kindly suggest me the good online tutorial for PHP5.
Am already working on php4.
Need to
On Saturday 09 June 2007, Robert Cummings wrote:
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost EVERYWHERE.
Yep, it is. PHP 4 is trying to eat your brains.
On 6/10/07, Larry Garfield [EMAIL PROTECTED] wrote:
On Saturday 09 June 2007, Robert Cummings wrote:
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost
On Sun, 2007-06-10 at 11:01 -0500, Larry Garfield wrote:
On Saturday 09 June 2007, Robert Cummings wrote:
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost
At 10:05 PM -0400 6/9/07, Robert Cummings wrote:
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost EVERYWHERE.
Cheers,
Rob.
Rob:
You raise an excellent and
On Sunday 10 June 2007, tedd wrote:
At 10:05 PM -0400 6/9/07, Robert Cummings wrote:
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost EVERYWHERE.
Cheers,
On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote:
Hi all,
After designing and testing my web pages in PHP 5.2.1 I learned
that our web server has PHP 4.4.1 and I have to rollback to version 4 ! .
There is no OO implementation like classes or objects in my scripts but every
On Sat, June 9, 2007 1:59 pm, elk dolk wrote:
After designing and testing my web pages in PHP 5.2.1 I
learned that our web server has PHP 4.4.1 and I have to
rollback to version 4 ! . There is no OO implementation like
classes or objects in my scripts but every page has some
On 6/9/07, elk dolk [EMAIL PROTECTED] wrote:
Hi all,
After designing and testing my web pages in PHP 5.2.1 I learned that
our web server has PHP 4.4.1 and I have to rollback to version 4 ! . There is
no OO implementation like classes or objects in my scripts but every page has
At 3:27 PM -0400 6/9/07, Robert Cummings wrote:
On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote:
Hi all,
After designing and testing my web pages in PHP 5.2.1 I
learned that our web server has PHP 4.4.1 and I have to rollback
to version 4 ! . There is no OO implementation
You should get a new server that supports PHP 5.2.1. PHP 4 is dead. It
hasn't had a non-security/bug release in years. PHP 5 is 3 years old. The
one and only reason to care about PHP 4 at this point is if you're writing
something that has to run on any possible cheap shared web host, and
On Sat, 2007-06-09 at 18:10 -0400, tedd wrote:
At 3:27 PM -0400 6/9/07, Robert Cummings wrote:
On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote:
Hi all,
After designing and testing my web pages in PHP 5.2.1 I
learned that our web server has PHP 4.4.1 and I have to rollback
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost EVERYWHERE.
Cheers,
Rob.
--
..
| InterJinn Application
Andrei wrote:
Hi list,
I have a class which I use to parse simple bbcode inside some comments.
I noticed on PHP5 that scope of preg_replace function is changed
when function is called inside a class. To the point:
[CODE]
class PHS_editor
{
...
function parse_content( $str
Stut wrote:
Andrei wrote:
Hi list,
I have a class which I use to parse simple bbcode inside some
comments.
I noticed on PHP5 that scope of preg_replace function is changed
when function is called inside a class. To the point:
[CODE]
class PHS_editor
{
...
On Fri, May 18, 2007 4:45 pm, Greg Donald wrote:
Anyone wanna share their insights into the php5 cert test? The php4
test was pretty simple for me, but that was a couple of years ago. It
seems there's quite a bit of new material being covered on the php5
version. I figure with the same
On Sun, May 20, 2007 10:14 am, Danial Rahmanzadeh wrote:
are volcan exams really harder than actual php5 exam as phparch
asserted?
I'm pretty sure after seeing Star Trek: Voyage Home, that Vulcan exams
are MUCH harder than the PHP 5 exam.
--
Some people have a gift link here.
Know what I
Actually I found the real exam harder than the test exam. It may have just
been the question set I ended up with, but it was a lot more nitpicky on
details that I rarely use in my work.
On Sunday 20 May 2007, Danial Rahmanzadeh wrote:
are volcan exams really harder than actual php5 exam as
This one time, at band camp, Greg Donald [EMAIL PROTECTED] wrote:
Anyone wanna share their insights into the php5 cert test?
As worthless as the php4 cert.
Kevin
--
Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote.
--
On 5/19/07, Kevin Waterson [EMAIL PROTECTED] wrote:
As worthless as the php4 cert.
Mine has been very valuable to me, lots more job interviews and
freelance work compared to before I got it.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To
On 5/13/07, Al [EMAIL PROTECTED] wrote:
I've got a cgi file in my cgi-bin folder that I'm calling with include(). It
worked with php4.
My shared host just upgraded to my server to php5.2.0 and the function doesn't
work. I can't tell if the problem is a
php5 or server configuration [which may
Tijnema ! wrote:
On 5/13/07, Al [EMAIL PROTECTED] wrote:
I've got a cgi file in my cgi-bin folder that I'm calling with
include(). It worked with php4.
My shared host just upgraded to my server to php5.2.0 and the
function doesn't work. I can't tell if the problem is a
php5 or server
Al wrote:
I've got a cgi file in my cgi-bin folder that I'm calling with
include(). It worked with php4.
My shared host just upgraded to my server to php5.2.0 and the function
doesn't work. I can't tell if the problem is a php5 or server
configuration [which may have changed during the
Is there an alternate way to execute a php in cgi-bin so it can do a chmod() on site
directories as the owner?
My approach was the only way I could think of. Given the obvious problem(s),
it appears that it may not be a good choice.
Richard Davey wrote:
Al wrote:
I've got a cgi file in my
On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote:
Has anybody else seen this style of syntax?
http://5ive.uwc.ac.za/index.php?module=blogaction=viewsinglepostid=init_8059_1163957717userid=5729061010
I don't think that its really useful for anything, except maybe creating
overly complex SQL
Paul Scott wrote:
On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote:
Has anybody else seen this style of syntax?
http://5ive.uwc.ac.za/index.php?module=blogaction=viewsinglepostid=init_8059_1163957717userid=5729061010
I don't think that its really useful for anything, except maybe creating
Paul Scott wrote:
On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote:
Has anybody else seen this style of syntax?
http://5ive.uwc.ac.za/index.php?module=blogaction=viewsinglepostid=init_8059_1163957717userid=5729061010
I don't think that its really useful for anything, except maybe creating
# [EMAIL PROTECTED] / 2007-04-11 23:36:56 -0700:
Paul Scott wrote:
On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote:
Has anybody else seen this style of syntax?
I don't think that its really useful for anything, except maybe creating
overly complex SQL queries.
What about using it for
# [EMAIL PROTECTED] / 2007-04-11 23:44:16 -0700:
Paul Scott wrote:
On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote:
Has anybody else seen this style of syntax?
http://5ive.uwc.ac.za/index.php?module=blogaction=viewsinglepostid=init_8059_1163957717userid=5729061010
I don't think that
I've seen it referred to as a Fluent Interface. I built one just
to see how hard it was, using a standard problem: data validation.
The results were promising.
I combined it with an object designed to work as a factory for an
internally stored decorator pattern.
Class Input was the
I suppose I should have summarized what I learned from that
experiment, putting myself more squarely on topic: Simply put, a
Fluent interface let me move from
$_input-addCheck('Integer');
$_input-addCheck('Range',3,9);
$_input-addCheck('NonEmpty');
to
$_input-addCheck('Integer')
nice write up. :-)
Tim Stiles wrote:
I suppose I should have summarized what I learned from that experiment,
putting myself more squarely on topic: Simply put, a Fluent interface
let me move from
/snip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
a) I don't see how the part about the dot notation has anything to
do with the class presetned
b) I don't see any benefit to the class presented
c) Trying to follow the chain of - operators and method calls just
gave me a headache.
Other than that, it's really nifty. :-v
On Thu, April 12, 2007
I have never heard that described as a fluent interface before, but you'd
probably like jQuery. :-) It's a javascript library that uses much the same
concept, although it refers to it as function chaining. It also operates
on multiple objects simultaneously, which is even niftier.
On
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 2:55 AM
To: tedd
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP5 Commercial Development
tedd wrote:
At 12:06 AM -0500 2/5/07, Craige Leeder wrote:
PHP is fine for commercial environments
Robert Cummings skrev:
On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote:
Could you point out to me where exactly the discussion became about PHP4
versus PHP5? I seem to be smelling the red herring technique of changing
the conversation focus so as to inappropriately lend credence to the
On Wed, 2007-02-07 at 09:47 +0100, Lars Gunther wrote:
Robert Cummings skrev:
On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote:
Could you point out to me where exactly the discussion became about PHP4
versus PHP5? I seem to be smelling the red herring technique of changing
the
Robert Cummings skrev:
I sincerely question the competence of someone who advocates a one size
fits all approach to programming. There are many reasons why a developer
may work with the old-school interface calls. For instance they may be
supporting an old school application. They might be
On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote:
The question PHP 4 or PHP 5: If you stay with 4 you are bound to a one
size fits all solution. In PHP 5 you can use DB-specific drivers or PDO
or a PHP-based abstraction layer. That's *more* choice, not less!
To summarize: With PDO or
2:55 AM
To: tedd
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP5 Commercial Development
tedd wrote:
At 12:06 AM -0500 2/5/07, Craige Leeder wrote:
PHP is fine for commercial environments. Many people are just afraid
of it due to the fact it is known to break some poorly written PHP 4
At 12:06 AM -0500 2/5/07, Craige Leeder wrote:
Eric,
PHP is fine for commercial environments. Many people are just afraid
of it due to the fact it is known to break some poorly written PHP 4
scripts, and the fact that many people don't think it's new features
are necessary. It is perfectly fine
tedd wrote:
At 12:06 AM -0500 2/5/07, Craige Leeder wrote:
PHP is fine for commercial environments. Many people are just afraid
of it due to the fact it is known to break some poorly written PHP 4
scripts, and the fact that many people don't think it's new features
are necessary. It is
Eric Gorr skrev:
I haven't tracked this particular issue, but I know when PHP5 was first
released is wasn't recommended in a commercial/production environment.
However, a lot of time has passed and we're at v5.2 now...have things
changed? Have GoogleYahoo, for example, moved to PHP5? Or is
On Mon, 2007-02-05 at 22:00 +0100, Keryx Web wrote:
Eric Gorr skrev:
I haven't tracked this particular issue, but I know when PHP5 was first
released is wasn't recommended in a commercial/production environment.
However, a lot of time has passed and we're at v5.2 now...have things
Stut wrote:
tedd wrote:
At 12:06 AM -0500 2/5/07, Craige Leeder wrote:
PHP is fine for commercial environments. Many people are just afraid
of it due to the fact it is known to break some poorly written PHP 4
scripts, and the fact that many people don't think it's new features
are necessary.
Robert Cummings wrote:
On Mon, 2007-02-05 at 22:00 +0100, Keryx Web wrote:
Eric Gorr skrev:
I haven't tracked this particular issue, but I know when PHP5 was first
released is wasn't recommended in a commercial/production environment.
However, a lot of time has passed and we're at v5.2
On Mon, February 5, 2007 10:55 am, Stut wrote:
tedd wrote:
At 12:06 AM -0500 2/5/07, Craige Leeder wrote:
PHP is fine for commercial environments. Many people are just
afraid
of it due to the fact it is known to break some poorly written PHP
4
scripts, and the fact that many people
Eric,
PHP is fine for commercial environments. Many people are just afraid
of it due to the fact it is known to break some poorly written PHP 4
scripts, and the fact that many people don't think it's new features
are necessary. It is perfectly fine to use it in a commercial
environment however.
1 - 100 of 377 matches
Mail list logo