[fw-general] Labs SVN access denied?

2008-12-12 Thread keith Pope
Hi, I am trying to checkout the laboratory using: http://framework.zend.com/svn/laboratory from http://framework.zend.com/wiki/display/ZFDEV/Subversion+Standards It keeps asking for authentication?? Have I got the wrong address from the wiki? Thx Keith

RE: [fw-general] Labs SVN access denied?

2008-12-12 Thread Jan Pieper
The correct url is: http://framework.zend.com/svn/framework/laboratory/ -Original Message- From: keith Pope [mailto:mute.p...@googlemail.com] Sent: Friday, December 12, 2008 12:25 PM To: fw-general Subject: [fw-general] Labs SVN access denied? Hi, I am trying to checkout the

RE: [fw-general] Re: Labs SVN access denied?

2008-12-12 Thread Jan Pieper
I corrected the url in wiki article. -- Jan -Original Message- From: keith Pope [mailto:mute.p...@googlemail.com] Sent: Friday, December 12, 2008 12:28 PM To: fw-general Subject: [fw-general] Re: Labs SVN access denied? Sorry ignore me the wiki link is wrong, I have it working

[fw-general] pdo_pgsql connection info string error

2008-12-12 Thread Justin Verweel
Hello all, I'm using Zend_Db to connect to a postgresql database server, works fine until today when I added a new login role with a whitespace in it's rolename. When I try to connect to the database with that rolename, an exception tells me there is something wrong with the rolename. I

[fw-general] Conflict between Zend_Session::setSaveHandler(memcache) and session.save_handler=memcache

2008-12-12 Thread Jake McGraw
I'm trying to create a custom Zend_Session save handler that works with memcache. The code basically goes like this: ?php class Custom_Session_SaveHandler_Memcached implements Zend_Session_SaveHandler_Interface { private $cache = null; public function __construct($cache) { $this-cache

[fw-general] Re: Conflict between Zend_Session::setSaveHandler(memcache) and session.save_handler=memcache

2008-12-12 Thread Jake McGraw
Update: Looks like the PECL serialize/unserialize used for storing the $_SESSION array is different from PHP serialize/unserialize, so when Zend app tries to read in the serialized data it doesn't understand the serialized $_SESSION array. Anyone have experience with this? - jake On Fri, Dec

[fw-general] How long need the CLA

2008-12-12 Thread Sebastian H.
Hi everyone, I send my CLA over one week ago. I doesn't hear anything! How long this process need normaly?! Best regards Sebastian

Re: [fw-general] Re: Conflict between Zend_Session::setSaveHandler(memcache) and session.save_handler=memcache

2008-12-12 Thread till
On Fri, Dec 12, 2008 at 7:30 PM, Jake McGraw jmcgr...@gmail.com wrote: Update: Looks like the PECL serialize/unserialize used for storing the $_SESSION array is different from PHP serialize/unserialize, so when Zend app tries to read in the serialized data it doesn't understand the

[fw-general] Implementing ACL w/ Multi-role User

2008-12-12 Thread Panman
I am having the darndest time figuring out how to implement ACLs. Long story short, I'm going to integrate ACL roles with Active Directory groups, and a few custom roles. Then I'm going to have an authenticated user, from AD, that has multiple roles associated to them. From there, I'd like to be

Re: [fw-general] Re: Conflict between Zend_Session::setSaveHandler(memcache) and session.save_handler=memcache

2008-12-12 Thread Jake McGraw
I figured it out, thanks to Ruby developers who wanted to use shared memcache sessions between Ruby and PHP: Apparently, PECL memcache for sessions stores a specially serialized string of the form: field|serialized_object;field|serialized_object; So I wrote a decode function: function

Re: [fw-general] Implementing ACL w/ Multi-role User

2008-12-12 Thread jkendall
Panman wrote: I am having the darndest time figuring out how to implement ACLs. Long story short, I'm going to integrate ACL roles with Active Directory groups, and a few custom roles. Then I'm going to have an authenticated user, from AD, that has multiple roles associated to them. From

Re: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-12 Thread Bill Karwin
On Dec 12, 2008, at 7:32 AM, Julian102 wrote: I think I was confused because a lot of the beginner tutorials I have read use methods like fetchAll and update in the controller. So I made the mistake of thinking that the controller is where the action happens and the model was some sort of

RE: [fw-general] Passing an object between actions.

2008-12-12 Thread A.J. Brown
Yes, you should avoid global variables (and global variable work-arounds) wherever possible. It creates unnecessary dependencies and can make testing harder. Granted, Zend_Registry could easily be mocked for testing, it's not really ideal. sinkingfish wrote: Thanks for the rapid reply,

Re: [fw-general] pdo_pgsql connection info string error

2008-12-12 Thread A.J. Brown
Yes, it would be helpful if it was done for you automatically :) There is already an issue open for this, though: http://framework.zend.com/issues/browse/ZF-4834 I added your email to the comments. I hope you don't mind :) Justin Verweel wrote: Hello all, I'm using Zend_Db to connect

[fw-general] Re: pdo_pgsql connection info string error

2008-12-12 Thread Justin Verweel
Hi A.J. I escape the whitespace with a backslash $aParams = array( 'host'= 'localhost', 'username'='jan\ willem', 'password'= 'bsouser', 'dbname'= 'bso' ); $oDb = Zend_Db::factory( 'pdo_pgsql',

Re: [fw-general] pdo_pgsql connection info string error

2008-12-12 Thread till
On Fri, Dec 12, 2008 at 11:12 PM, A.J. Brown a...@ajbrown.org wrote: Yes, it would be helpful if it was done for you automatically :) There is already an issue open for this, though: http://framework.zend.com/issues/browse/ZF-4834 I added your email to the comments. I hope you don't mind :)

Re: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-12 Thread A.J. Brown
Generating XML and Feeds should NOT be done with the model. Those are representations of the data, and should be done with in the controller and view layers. The controller layer should determine which representation to use by selecting the correct view, and the view should render the data.

Re: [fw-general] Dynamically create dojo form elements

2008-12-12 Thread Cameron
Dynamically adding form elements is painful, because of form validation issues. What I usually do is add all the possible form elements to the form up front, and then use JS / Controller logic to dictate what elements I should or shouldn't display. I guess you could store the form object in

Re: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-12 Thread Daniel Latter
Yes, thanks, you are right, but say you were creating a specific XML file from scratch using domdocument for example, that involved creating / appending a lot of elements, and this was wrapped up in the form of a custom class you created, wouldnt you store this in the model? And the use