Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Jurian Sluiman
Op Monday 01 June 2009 13:17:13 schreef Mary Nicole Hicks: > Tim Fountain wrote: > > Technically the breadcrumbs helper only needs the current page and its > > parents, [...] if the Zend_Navigation data structure could be > > cached in a tree like form matching the URL structure, some clever > > ca

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Mary Nicole Hicks
Tim Fountain wrote: > > Technically the breadcrumbs helper only needs the current page and its > parents, [...] if the Zend_Navigation data structure could be > cached in a tree like form matching the URL structure, some clever caching > mechanism could just include the bits it needs. But this w

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Tim Fountain
2009/5/29 Mary Nicole Hicks > > vince. wrote: > > > What's the problem with retrieving the entries from the DB, Assigning > them > > into a multi dimensional array and passing it into the zend_nagivation? > > The problem is that I can not do this for every navigable page on the site > all at once

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-05-29 Thread Dalibor Karlović
On Friday 29 May 2009 12:50:09 Mary Nicole Hicks wrote: > > What's the problem with retrieving the entries from the DB, Assigning > > them into a multi dimensional array and passing it into the > > zend_nagivation? > > The problem is that I can not do this for every navigable page on the site > al

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-05-29 Thread Mary Nicole Hicks
vince. wrote: > > Hi, > > What's the problem with retrieving the entries from the DB, Assigning them > into a multi dimensional array and passing it into the zend_nagivation? > > The problem is that I can not do this for every navigable page on the site all at once... for every request. 1.

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-05-29 Thread Vadim Gabriel
Hi, What's the problem with retreving the enteries from the DB, Assigning them into a multi dimensional array and passing it into the zend_nagivation? On Fri, May 29, 2009 at 1:20 PM, Mary Nicole Hicks < webmas...@marynicolehicks.com> wrote: > > Can anyone give me any example on how I could get

[fw-general] Creating a dynamic database based Zend_Navigation item?

2009-05-29 Thread Mary Nicole Hicks
Can anyone give me any example on how I could get Zend_Navigation to handle dynamic entries from a database? My current idea is to extend Zend_Navigation_Page_Mvc and overload most of the methods given by Zend_Navigation_Container. I have a route of "/articles/:title" and it would be good to ha