I'd be willing to donate some time to this project. I think we need very standard variable names. For example, any and all pages about a single patron should have a standard patron variable ( let's say "Borrower" ). The same thing should go for records. Each record should have the biblio and biblioitem fields at the first level, and an "items" field that is an array of the items. Any pages with a plurality of records or patrons would just have a plural name instead ( "Borrowers" ), and be an array of the same data the singular would have. 

My instinct is telling my that DBIx::Class would make this easy, as it can do lazy fetches of data so we aren't loading up data that never gets used. Please correct me if I'm wrong.

Kyle

http://www.kylehall.info
ByWater Solutions ( http://bywatersolutions.com )
Meadville Public Library ( http://www.meadvillelibrary.org )
Crawford County Federated Library System ( http://www.ccfls.org )
Mill Run Technology Solutions ( http://millruntech.com )


On Mon, May 6, 2013 at 11:18 AM, Galen Charlton <gmc@esilibrary.com> wrote:
Hi,

On Mon, May 6, 2013 at 4:26 AM, Ian Walls <koha.sekjal@gmail.com> wrote:
> I'd like to interject here again the idea of creating a stable API for
> template variables, so that if people feel the need to template out there
> out theme, they can do so without having to re-engineer it mid-release.  Any
> changes to this API would need to be well publicized between major releases.
>
> In order to accomplish this, the following steps would need to occur:
>
> Identify the variables demanded by each page
> Consolidate variables that are shared into centralized includes/objects
> Fill in any missing variables or generalize where appropriate
> Document

I am in favor of this idea, particularly if we emphasize
consolidation, which I'm reading as increasing the consistency of the
template variables that we expose.

Who might be interested in working on this project?

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  gmc@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org