Re: [fw-general] Zend_Cache - Caching files to files

2007-02-08 Thread Bartosz Maciaszek
Hi, Sorry for not opening this bug report, but I still didn't get posting permission on JIRA. Anyway, thanks for fixes, but it still doesn't work as expected. Frontend 'File' is little bit different than others as cache validity should be calculated basing on master file's modification time and

[fw-general] Zend_View form helpers

2007-02-08 Thread Arnaud Limbourg
Hi all, When using the form helpers I noticed that passing an attribute of readonly => readonly effectively disables (in the framework sense) the element. It is then replaced with a hidden element of the same name. I'm quite baffled as to why it does that. My use case is that I have a text f

Re: [fw-general] ROR Flash in ZF

2007-02-08 Thread Christian Wittwer
http://svn.ralphschindler.com/repo/ZendFramework/library/ It currently uses Zend_Session, also implementing countable, iteratable interface. I use it to add messages in my controllers, and also to retrieve messages in my view scripts. FlashMessage::add($message); if (FlashMessage::hasMessag

Re: [fw-general] Zend_Search_Lucene questions ...

2007-02-08 Thread Alexander Veremyev
Hi Sebi, I've done with the first optimization issue and committed it. Please try current SVN version. In my environment it's faster (!) than Java Lucene for simple queries and has near the same result for complex boolean queries. If second optimization issue will be also fixed, then it has

Fwd: [fw-general] Zend_Cache - Caching files to files

2007-02-08 Thread Fabien MARTY
-- Forwarded message -- From: Fabien MARTY <[EMAIL PROTECTED]> Date: 8 févr. 2007 18:37 Subject: Re: [fw-general] Zend_Cache - Caching files to files To: Bartosz Maciaszek <[EMAIL PROTECTED]> Hi, Anyway, thanks for fixes, but it still doesn't work as expected. Frontend 'File' i

Re: [fw-general] ROR Flash in ZF

2007-02-08 Thread Ralph Schindler
Right, the Zend_Session API has changed very significantly yesterday, and we are in the stages of finializing the would be ZF 1.0 Zend_Session api. I will update FlashMessage to work with whats currently in svn, but do know that it could change only slightly more since we are in the finializin

Fw: [fw-general] Zend_Search_Lucene questions ...

2007-02-08 Thread Sebi
Thank you Alexander. I will try the SVN right now. :) I will keep you in touch with any result. See you. - Original Message From: Alexander Veremyev <[EMAIL PROTECTED]> To: Sebi <[EMAIL PROTECTED]> Cc: fw-general@lists.zend.com Sent: Thursday, February 8, 2007 6:27:07 PM Subject: Re:

Re: [fw-general] PDO problems

2007-02-08 Thread Bill Karwin
Tautvydas Andrikys wrote: Noticed this while doing query with Zend_Db_Adapter_Pdo_Mysql::fetchOne(...). After digging deeper into code I've found out that there is something wrong with PDO query execution. PDO somehow strangely executes this query: SELECT 'break:pdo \ xe:xe' Your code samples

[fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Colin Ross
Is the manual (or 'Programmer's Reference Guide') available as a PDF? I noticed somewhere that it was in Docbook format, so creating a PDF shouldn't be too hard, just not sure if anyone has made one. colin

Re: [fw-general] Zend_Cache - Caching files to files

2007-02-08 Thread Bartosz Maciaszek
Hi Actually if I set 'lifeTime' to 'null' expireTime seems to be set to 99 in Cache/Backend/File.php around line 487: private function _expireTime($lifeTime) { if (is_null($this->_directives['lifeTime'])) { return 99; } return time() + $lifeT

Re: [fw-general] Zend_Cache - Caching files to files

2007-02-08 Thread Fabien MARTY
You are right (File frontend is broken in SVN (only)) I'm going to : - open a bug report - have a look at unit tests - work on the problem Thanks 2007/2/8, Bartosz Maciaszek <[EMAIL PROTECTED]>: Hi Actually if I set 'lifeTime' to 'null' expireTime seems to be set to 99 in Cache/Backen

Re: [fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Gavin Vess
The manual is updated quite frequently. I use the online wiki copy, which is updated hourly from the XML docbook sources: Core Library http://framework.zend.com/wiki/display/ZFDOCDEV/Home Incubator Library http://framework.zend.com/wiki/display/ZFDOC/Home Click the "Browse Space" link in the u

[fw-general] PHP5 Security

2007-02-08 Thread Thomas Weidner
Hy, a friend of mine asked me why someone can change private and protected properties from an class within PHP. From my understanding of OOP and class handling a private property must not be changed or visible from outside the class. And protected properties should only be visible and change

Re: [fw-general] PHP5 Security

2007-02-08 Thread Stanislav Malyshev
First of all, I think it is important to note that this has nothing to do with security. Anyone who relies on OOP visibility features for any security is making a serious mistake, these are not security features and should not be used as such. From my understanding of OOP and class handling a

Re: [fw-general] PHP5 Security

2007-02-08 Thread Kevin McArthur
This is also easily achieved through the Reflection API and is a designed feature. The purpose of private/protected modifiers is ONLY to help developers use classes as intended. It is not a security model in any way shape or form. Kevin McArthur - Original Message - From: "Stanislav

Re: [fw-general] PHP5 Security

2007-02-08 Thread Andries Seutens
Hmm, the bug report doesn't try changing a private property. It changes the public properties of the StdClass. StdClass's properties are always public. Am i missing something? Andriesss Thomas Weidner schreef: Hy, a friend of mine asked me why someone can change private and protected pro

Re: [fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Matthew Weier O'Phinney
-- Gavin Vess <[EMAIL PROTECTED]> wrote (on Thursday, 08 February 2007, 10:39 AM -0800): > The manual is updated quite frequently. I use the online wiki copy, > which is updated hourly from the XML docbook sources: > > Core Library > http://framework.zend.com/wiki/display/ZFDOCDEV/Home > Incubat

Re: [fw-general] PHP5 Security

2007-02-08 Thread Jan Pieper
You are right but the content of a private property will be manipulated and I think it is the same if you change a private property directly or the content of it. You are changing its state. Hmm, the bug report doesn't try changing a private property. It changes the public properties of the St

Re: [fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Gavin Vess
The change to use xinclude in the incubator manual.xml requires changes to the wikification. Andries is working on this. Cheers, Gavin Matthew Weier O'Phinney wrote: -- Gavin Vess <[EMAIL PROTECTED]> wrote (on Thursday, 08 February 2007, 10:39 AM -0800): The manual is updated quite frequent

Re: [fw-general] PHP5 Security

2007-02-08 Thread Matthew Weier O'Phinney
-- Jan Pieper <[EMAIL PROTECTED]> wrote (on Thursday, 08 February 2007, 09:30 PM +0100): > You are right but the content of a private property will be manipulated > and I think it is the same if you change a private property directly or > the content of it. You are changing its state. Even in th

Re: [fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Matthew Weier O'Phinney
-- Gavin Vess <[EMAIL PROTECTED]> wrote (on Thursday, 08 February 2007, 12:31 PM -0800): > The change to use xinclude in the incubator manual.xml requires changes > to the wikification. > Andries is working on this. Ah -- that makes sense. Thanks for the update! > Matthew Weier O'Phinney wrote:

Re: [fw-general] PHP5 Security

2007-02-08 Thread Jan Pieper
Okay, it is no security lack, and you cannot manipulate non object properties but it also shouldn´t be possible to change a state of an private property containing an object. It is very abstract but there is the possibility to manipulate the object and i think it is an error. You must not have

Re: [fw-general] PHP5 Security

2007-02-08 Thread Christian Wittwer
Is this normal behaviour ?? Was my prof at the university wrong with standard oop definitions ?? I think this behaviour is normal, because it isn't a object anymore. you cast it explicit to an array. it would be strange, if you wouldn't be able to access any element of an array. Chris

Re: [fw-general] PHP5 Security

2007-02-08 Thread Jan Pieper
It is no object any more, okay, but isn´t it like iterating about an object by a foreach loop? Only public properties will be recorgnized. So after casting the object to an array you should only have the public properties because you do not need protected and private properties. Is this norm

Re: [fw-general] PHP5 Security

2007-02-08 Thread Thomas Weidner
Hy, Is this normal behaviour ?? Was my prof at the university wrong with standard oop definitions ?? I think this behaviour is normal, because it isn't a object anymore. you cast it explicit to an array. it would be strange, if you wouldn't be able to access any element of an array. What's

Re: [fw-general] PHP5 Security

2007-02-08 Thread Matthew Ratzloff
I understand your point, but I'm not sure how this discussion relates to Zend Framework. Perhaps it's better to direct this question to php-general@lists.php.net instead. -Matt - Original Message - From: "Jan Pieper" <[EMAIL PROTECTED]> To: Sent: Thursday, February 08, 2007 12:55 P

Re: [fw-general] PHP5 Security

2007-02-08 Thread Stanislav Malyshev
You are right but the content of a private property will be manipulated and I think it is the same if you change a private property directly or the content of it. You are changing its state. It's definitely not like you change the property directly. It's more like you would store value in the

Re: [fw-general] Zend_Cache - Caching files to files

2007-02-08 Thread Bartosz Maciaszek
Hi Now it works brilliantly. Thanks! Bartosz 2007/2/8, Fabien MARTY <[EMAIL PROTECTED]>: http://framework.zend.com/issues/browse/ZF-877 2007/2/8, Bartosz Maciaszek <[EMAIL PROTECTED]>: > Hi > > Actually if I set 'lifeTime' to 'null' expireTime seems to be set to > 99 in Cache/Backend/

[fw-general] bootstrap in a subdirectory of document root

2007-02-08 Thread Michael Baerwolf
I would like to put the bootstrap in a subdirectory of the webservers document root. But I'm not having any luck getting it to work. Want I want is ab.com/members/FooController/action ab.com/members/FoobarController/action etc,etc. I'm pretty sure I need to change to the route,but have not been

[fw-general] ZF-635: Zend_Db_Select getter methods to return individual parts

2007-02-08 Thread Shekar C Reddy
Just a couple of things: - public function getPart($part) + public function &getPart($part) // Returns part by reference instead of as a copy to conserve memory public function reset($part = null) { if ($part == null) { -$this->_parts = $this->_partsInit; +