Re: [fw-general] Zend_Auth/Zend_Acl questions

2007-04-14 Thread Simon Mundy
Hi Michael. I'd K.I.S for module + controller support and simply name each resource in the '_' style. That way it will be easier to re-assemble the resource name when it comes time for performing the checks. For a default module, 'news' becomes 'default_news', 'index' becomes 'default_i

Re: [fw-general] Zend_Auth/Zend_Acl questions

2007-04-14 Thread Michael Depetrillo
In your example you associate resources with controllers and privileges with actions. What approach would you suggest for adding modular based access control? On 4/10/07, Simon Mundy <[EMAIL PROTECTED]> wrote: I'll double-check but I'm sure that the DB row will serialise/unserialise without a

RE: [fw-general] Feeding Zend_Db_Table_Rowset to the view/smarty

2007-04-14 Thread Bill Karwin
> -Original Message- > From: Federico Galassi [mailto:[EMAIL PROTECTED] > > From ZF Roadmap: > > Full API and end-user documentation must always be provided and > > continuously maintained. > > This is evidently not the case. You're looking for > Zend_Db_Table_Rowset::to_Array() Yes,

Re: [fw-general] Feeding Zend_Db_Table_Rowset to the view/smarty

2007-04-14 Thread Federico Galassi
On 14/apr/07, at 23:15:04, mbneto wrote: Hi, I am starting to use Zend and one the question that I have is related to the better way to pass the result of a query to smarty. Usually my methods perform the query, iterates on the result set and returns an associate array with the values.

RE: [fw-general] Feeding Zend_Db_Table_Rowset to the view/smarty

2007-04-14 Thread Bill Karwin
Zend_Db_Table_Rowset/Row are serializable objects, but I don't think this is what you need for feeding the data to a template. Have you tried the Zend_Db_Table_Rowset::toArray() method? Regards, Bill Karwin From: mbneto [mailto:[EMAIL PROTECTED]

[fw-general] Feeding Zend_Db_Table_Rowset to the view/smarty

2007-04-14 Thread mbneto
Hi, I am starting to use Zend and one the question that I have is related to the better way to pass the result of a query to smarty. Usually my methods perform the query, iterates on the result set and returns an associate array with the values. With Zend I define a class that extends the Zend

Re: [fw-general] Zend_Pdf Image Support

2007-04-14 Thread Kevin McArthur
That script is far from simple... if you can write a clean implementation I'd be more than happy to review it/test it and recommend it's inclusion in zpdf. Remember that zend* generally frowns on external dependancies (especailly ones that aren't enabled in php5 by default) so some of that svg

Re: [fw-general] Zend_Pdf Image Support

2007-04-14 Thread Freddie Witherden
Hi I know theres some pdf support for SVG, but how to do that integration -- i haven't the slightest clue. The way that I have seen it done (such as by the svg2pdf script, http://www.godisaduck.com/svg2pdf_with_fpdf ) works by converting the SVG image to PostS

Re: [fw-general] Zend_Pdf Image Support

2007-04-14 Thread Kevin McArthur
There is also tiff support. The problem with SVG is it is a vector format and the current PDF image subsystems rely on bitmap-type images. I know theres some pdf support for SVG, but how to do that integration -- i haven't the slightest clue. So, as of right now, no there arent any plans for

[fw-general] Zend_Pdf Image Support

2007-04-14 Thread Freddie Witherden
I am currently playing around with Zend_Pdf and it would appear that currently only PNG and JPEG images are supported. I would be interested to know if there are currently any plans to add SVG support in the near future to the class?? PDF is a great, portable vector format and SVGs happen t

[fw-general] Zend_Search_Lucene and Zend_Memory for large index files

2007-04-14 Thread Jurriën Stutterheim
Hi all, While indexing a large database (> 100.000 records) I reached the memory limit for that shared host. The problem appears in Zend_Search_Lucene_Storage_File_Filesystem line 158 when the index file hits the 10MB. Is it possible to specify the max size for the index files? Or is it p

[fw-general] Using PDO fetch_style bitwise-OR

2007-04-14 Thread Stoyan Kyosev
Hi , I didn't found a way to fetch a query with PDO::FETCH_GROUP|PDO::FETCH_ASSOC, using Zend Framework. How am I supposed to do that ? -- Best regards, Stoyan mailto:[EMAIL PROTECTED]

[fw-general] ACL for modules

2007-04-14 Thread Teemu Välimäki
Hi, in case of defining ACL for module and everything under it how to do it? I can come up with extending. Thanks and have a great weekend!