Re: [fw-general] ZF 1.10.0RC1 Released

2010-01-22 Thread Jonathan Maron
I also noticed the images are missing (at least) here: http://framework.zend.com/manual/1.10/en/zend.service.livedocx.html On Fri, Jan 22, 2010 at 8:37 AM, Dennis Becker bec...@sipgate.de wrote: Manual looks a bit weired at http://framework.zend.com/manual/1.10/en/migration.110.html On Fri,

[fw-general] Zend_Form_Element_Checkbox

2010-01-22 Thread umpirsky
Hi. I have a problems with checkboxes when doing GET request. I have implemented small javascript method to fix get parameters to zf style param urls jQuery.fn.zfGet = function() { window.location = this.attr('action') + '/' + this.serialize().replace(//g, '/').replace(/=/g, '/');

[fw-general] Problem with Zend_Form_Element_Checkbox and zf style urls

2010-01-22 Thread umpirsky
Hi. I have a problems with checkboxes when doing GET request. I have implemented small javascript method to fix get parameters to zf style param urls jQuery.fn.zfGet = function() { window.location = this.attr('action') + '/' + this.serialize().replace(//g, '/').replace(/=/g, '/');

Re: [fw-general] ZF 1.10.0RC1 Released

2010-01-22 Thread mkk
You can always read my preview version: http://www.mikaelkael.fr/doczf/1.10/en/ Based on beta release, but it will be updated today or tomorrow. Mickael Message du 22/01/10 11:01 De : Jonathan Maron A : fw-annou...@lists.zend.com, fw-general@lists.zend.com Copie à : Objet : Re:

[fw-general] Zend_Search_Lucene issue

2010-01-22 Thread stef25
We run a ZF site that uses Lucene as the search engine. Recently it stopped working and the only message I can get the system to show is [message:protected] = Largest supported segment size (for 32-bit mode) is 2Gb However the site is a relatively small one and the indexes are nowhere near

[fw-general] Re: Zend_Pdf add special markup

2010-01-22 Thread Martijn Korse
I can't help you with converting HTML, but i can help you with the alignment problem: http://devshed.excudo.net/scripts/php/source/excudo+pdf+textblock -- View this message in context: http://n4.nabble.com/Zend-Pdf-add-special-markup-tp1018366p1099957.html Sent from the Zend Framework mailing

[fw-general] Integrating Symfony Dependency Injection Service Container with Zend Framework

2010-01-22 Thread Loïc Frering
Hello, I recently posted on integrating Symfony Dependency Injection Service Container with Zend Frameworkhttp://losohome.wordpress.com/2010/01/22/integrating-symfony-dependency-injection-service-container-with-zend-framework/. I'd like to have your feedbacks on this subject. What do you think

Re: [fw-general] Overriding Zend_Form::isValid()

2010-01-22 Thread drm
Hi, bparise wrote: But, this doesn't work. Zend_Form::isErrors() doesn't dynamically loop through elements to get errors (which means the form doesn't get notification of us adding an error the 'email' element). Plus, if you call parent::isValid($data) after we set the email error, they are

Re: [fw-general] ZF 1.10.0RC1 Released

2010-01-22 Thread Matthew Weier O'Phinney
-- Jonathan Maron jonathan.a.ma...@gmail.com wrote (on Friday, 22 January 2010, 11:01 AM +0100): I also noticed the images are missing (at least) here: http://framework.zend.com/manual/1.10/en/zend.service.livedocx.html Yeah, noticed that just before I signed off last night, and I'll be looking

[fw-general] query tracker in Zend_Db for some tables

2010-01-22 Thread Guillaume ORIOL
Hi, I would like to implement a query tracker in Zend_Db for some tables. The idea is to store in db an history of all SQL queries that were executed on these tables. Here is the kind of table schema I would like to populate with it: CREATE TABLE table_history ( id TIMESTAMP NOT NULL

Re: [fw-general] query tracker in Zend_Db for some tables

2010-01-22 Thread Hector Virgen
Writing to the database for every read can have a big impact on performance. If you're using MySQL, I'd take a look at the built in query logger, which writes queries to a file. http://dev.mysql.com/doc/refman/5.1/en/query-log.html -- Hector On Fri, Jan 22, 2010 at 7:29 AM, Guillaume ORIOL

Re: [fw-general] query tracker in Zend_Db for some tables

2010-01-22 Thread Guillaume ORIOL
I know the potential impact on performance, Hector. But I need only to store INSERT, UPDATE and DELETE queries, not SELECT and as I stated, it is only for SOME tables. The solution you suggest is not ne right one for me as the result could not be managed in my application back-office. And

Re: [fw-general] Zend_Search_Lucene issue

2010-01-22 Thread Jayson Minard
This error can also be reported from reading the .tii file and seeing that the index term count 32bit value. Is there a chance your index is full of an incredible amount of unique terms? It could also be: a corrupt index. I *think* this is the only place that error is really reported in the

Re: [fw-general] query tracker in Zend_Db for some tables

2010-01-22 Thread drm
Hi Guillaume, Guillaume ORIOL wrote: I would like to implement a query tracker in Zend_Db for some tables. The idea is to store in db an history of all SQL queries that were executed on these tables. First of all, never use a timestamp as a primary key. You can't be sure a timestamp is

Re: [fw-general] query tracker in Zend_Db for some tables

2010-01-22 Thread Hector Virgen
I mentioned the performance problem because we currently have that set up in one of our sites. All inserts, updates, and deletes are logged to a table, and it is impacting our performance. We are currently in the process of moving away from that system but, for us, it's a bit of a challenge

[fw-general] 1.10.0rc1 breaks resource autoloader

2010-01-22 Thread Hector Virgen
I've updated to 1.10.0rc1 and my resource autoloader is no longer working: Fatal error: Class 'Default_Model_Mapper_Blog' not found in /Users/hvirgen/Web/projects/virgentech/application/services/Blog.php on line 11 That line reads: $this-_blogMapper = new Default_Model_Mapper_Blog(); My

[fw-general] Re: 1.10.0rc1 breaks resource autoloader

2010-01-22 Thread Hector Virgen
Actually, it looks like Default_Model_Mapper is now defined in the resource autoloader and set to autoload from application/models/mappers. Previously, this was not defined, so I had created a folder named Mapper within /application/models. That allowed me to autoload classes that start with

[fw-general] reference guide is all messed up

2010-01-22 Thread Mark Wright
What's up with the reference guide? Was there an update to the guide that went horribly wrong? Mark -- Have fun or die trying - but try not to actually die.

[fw-general] Re: 1.10.0rc1 breaks resource autoloader

2010-01-22 Thread Hector Virgen
There seems to be some inconsistency here. The default path for mappers is models/mappers while the default path for db tables is models/DbTable. I suggest we keep the old naming convention and change the default path for mappers to models/Mapper. This is not only consistent but also prevents

Re: [fw-general] reference guide is all messed up

2010-01-22 Thread Hector Virgen
Looks the like stylesheets have changed. Try refreshing the page to force your browser cache to expire. -- Hector On Fri, Jan 22, 2010 at 11:41 AM, Mark Wright sparkymeis...@gmail.comwrote: What's up with the reference guide? Was there an update to the guide that went horribly wrong?

[fw-general] controller actions and zend_form both need db table access

2010-01-22 Thread David Mintz
I have a situation in which certain controller actions need to use an instance of my Model_DbTable_Foo (which extends Zend_Db_Table_Abstract), but those actions also instantiate my Zend_Form subclasses, which also need access to Model_DbTable_Foo for getting data to populate select menu options.

Re: [fw-general] reference guide is all messed up

2010-01-22 Thread Matthew Weier O'Phinney
-- Mark Wright sparkymeis...@gmail.com wrote (on Friday, 22 January 2010, 12:41 PM -0700): What's up with the reference guide? Was there an update to the guide that went horribly wrong? Likely you're not getting the new stylesheet; try refreshing. However, please also note that we've

Re: [fw-general] reference guide is all messed up

2010-01-22 Thread Nick Pack
Its a shame that you guys couldnt replicate the original navigation flow with the new version, IMO the previous version was a lot better! +2 cents Nick Matthew Weier O'Phinney wrote: -- Mark Wright sparkymeis...@gmail.com wrote (on Friday, 22 January 2010, 12:41 PM -0700): What's up

[fw-general] post vars and buttons

2010-01-22 Thread Michael Tramontano
Just a heads up to everybody out there since I just ran into this problem and found the cause. In FF, when you submit a form with nothing but a button, a statement like if($post = $this-getRequest()-getPost()) will not work in the controller because FF does not submit the name/value pair for the

Re: [fw-general] reference guide is all messed up

2010-01-22 Thread Mark Wright
I really miss the navigation in the side bar that linked to every component rather than just the current components sub pages. Is there any way to get that back? Mark On Fri, Jan 22, 2010 at 2:11 PM, Nick Pack n...@nickpack.com wrote: Its a shame that you guys couldnt replicate the original

Re: [fw-general] post vars and buttons

2010-01-22 Thread Hector Virgen
Yea, unfortunately buttons are not very reliable between browsers. IE will submit the inner HTML of the button, while Firefox will submit the value of the button's value attribute. I don't think Zend_Form adds the value attribute to button elements, which is why nothing is submitted at all. If

Re: [fw-general] reference guide is all messed up

2010-01-22 Thread Hector Virgen
+1 Also, the code samples look a bit pre-1997... anything I can do to help out with the CSS? Maybe something like this can help clean it up a bit: div.example{ background: #f0f9fc; border-left: 2px solid #c2c9d1; padding: 1em; margin: 1em 0 1em 1em; } div.programminglist{