Re: [PHP] enterprise patterns headache

2005-04-14 Thread Robert Janeczek
On Wed, 13 Apr 2005, Richard Lynch wrote: On Wed, April 13, 2005 2:01 pm, Robert Janeczek said: I can't claim a detailed understanding of what you are doing, and, frankly, it sounds like you are creating a BUNCH of over-engineered headache-inducing code without a good, proven need for it.

[PHP] enterprise patterns headache

2005-04-13 Thread Robert Janeczek
Hi! I`m currently working on PHP5-based extranet system which makes intensive use of enterprise patterns. Some problems encountered during developement cause serious haeadaches, but we`re going forward :) I`m not 100% happy with architecture decisions we`ve made in the process and therefore I came

Re: [PHP] destructor not called for static members?

2005-03-10 Thread Robert Janeczek
[EMAIL PROTECTED] wrote: Hi It is an expected behavior because when you define a static variableit is shared by all objects of the same class. If When you unset one object and the destruct of the static object will be called, all the other objects will lose the static var as well. yes, but why d

[PHP] destructor not called for static members?

2005-03-10 Thread Robert Janeczek
am i missing something or destructor isn`t called for objects that are assigned to static fields in other objects? here is some example code: class c1 { public function __destruct() { echo '__destruct'; } } class c2 { private static $_ref; public function __construct() { self::$_

[PHP] [bug?] good old upload problem

2003-07-30 Thread Robert Janeczek
php 4.2.3 apache 1.3.20 when uploading files bigger than limits set in php.ini warning is being reported (in files) and no further script execution takes place. to be specific - it looks like no execution is being made at all. i get 0 bytes response. i don`t want to upload files bigger then limit

[PHP] php4 vs php5

2003-07-24 Thread Robert Janeczek
hi, i`m working on presentation of php5 features and i would like to add some comparison between php4 and php5. new coding features are of course available in doc on php.net, but i`m wondering where can i find benchmarks that show speed differences between the two. if there are none i would like to

[PHP] object variables declararing

2002-04-23 Thread robert janeczek
hi have look at this code: class test { function test(){ //$this->a = 10; print_r($this); } function test2(){ print_r($this); } } $t=new test(); $t->test2(); what do you see? empty object twice... now uncomment the commented line. now the object got a variable - which i

Re: [PHP] zend studio 2.0

2002-02-18 Thread robert janeczek
> The problems you were having with the server components of the studio sound > quite odd - can you elaborate on them? (probably off-list, it's best if > you could submit a bug report about it through zend.com/store/pickup.php, > evaluation support). > > This is water under the bridge now, but yo

Re: [PHP] zend studio 2.0

2002-02-17 Thread robert janeczek
> Well I was hoping that article was interesting. It wasn't. I should > have known when I saw the use of homesite as an alternative. sure, it was just simple look at zend studio, but it made me wonder why the tool didn`t work on my system :) [yes - i think i know what was wrong, no need to look f

[PHP] zend studio 2.0

2002-02-17 Thread robert janeczek
hi i write in php about 1.5 years. from the beginning i use macromedia homesite and i`m quite content of it. but...debugger, environment not optimized for php developers etc. so i wanted to try zend studio, i downloaded it, installed (w2k, i already had an apache, so i deleted what came with insta