[fw-general] Zend Framework and Doctrine - Part 1

2008-04-22 Thread Емил Иванов / Emil Ivanov
Hi,

I just did a quick post to show you some of the bumps when using Zend
Framework and Doctrine.
http://vladev.blogspot.com/2008/04/zend-framework-and-doctrine-part-1.html
Be sure to check it out, comments are (more than) welcome. :)

Regards,
Emil Ivanov
-- 
My place to share my ideas:
http://vladev.blogspot.com


[fw-general] Re: [fw-mvc] Multi Element and Translation

2008-03-31 Thread Емил Иванов / Emil Ivanov
I think someone has already filed.
http://framework.zend.com/issues/browse/ZF-2847

On 28/03/2008, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
 -- Емил Иванов / Emil Ivanov [EMAIL PROTECTED] wrote
  (on Friday, 28 March 2008, 03:24 PM +0200):
   Any luck fixing this?

  I haven't had a chance to look at it yet, and I'm not sure Amr has filed
  an issue (Amr: hint, hint ;-) ).



   On 10/03/2008, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
-- Arthur M. Kang [EMAIL PROTECTED] wrote
 (on Monday, 10 March 2008, 11:57 AM -0700):
   
 Using latest SVN (8721).
 
  Not a major issue but when using translation and a multi element with 
 arrays as
  the options (optgroup), warnings are raised.  Don't know if this is a 
 multi
  issue or a translation issue so I didn't file anything...
 
  Controller:
  $translate = new Zend_Translate('array', array('Select Test'='Select 
 Test
  Translated'), 'en');
  Zend_Registry::set('Zend_Translate', $translate);
  $form = new Zend_Form(array(
  'elements' = array(
  'test' = array('Select', array(
  'label' = 'Select Test',
  'MultiOptions' = array(
  'Group 1' = array(
  '1-1' = 'Hi 1-1',
  '1-2' = 'Hi 1-2'
  ),
  'Group 2' = array(
  '2-1' = 'Hi 2-1',
  '2-2' = 'Hi 2-2'
  ),
  )
  ))
  )
  ));
  $this-view-form = $form;
 
  With...
 
  View:
  ?=$this-form?
 
  Produces...
 
  Warning: array_key_exists() [function.array-key-exists]: The first 
 argument
  should be either a string or an integer in 
 /directory/library/Zend/Translate/
  Adapter.php on line 452
   
   
I think I know what this is -- can you file an issue, please?
   
   
 --
 Matthew Weier O'Phinney
 PHP Developer| [EMAIL PROTECTED]
 Zend - The PHP Company   | http://www.zend.com/
   
  
  
   --
   My place to share my ideas:
   http://vladev.blogspot.com
  


 --

 Matthew Weier O'Phinney
  PHP Developer| [EMAIL PROTECTED]
  Zend - The PHP Company   | http://www.zend.com/



-- 
My place to share my ideas:
http://vladev.blogspot.com


[fw-general] Zend Framework intro

2008-01-14 Thread Емил Иванов / Emil Ivanov
Hi,

I wrote a few lines about Zend Framework. It would be very happy if you
check them out and comment if I've got something wrong (or right :)
The post is here:
http://vladev.blogspot.com/2008/01/zend-framework-how-framework-should-be.html

Regards,
Emil Ivanov

-- 
My place to share my ideas:
http://vladev.blogspot.com