'Twas brillig, and Colin Guthrie at 11/12/08 11:54 did gyre and gimble:
Hi,

I'm in the position where I'd like to use XSLT scripts to render parts of my output (probably partials).

In order to achieve this, I think it makes sense to create a Zend_View_Xslt class that implements Zend_View_Interface. That much makes sense.

That said I'd be surprised if noone has done this before or not thought along the same lines :)

I did find a partial reference in the following PDF (slide 15):
http://slides.liip.ch/img/documents/zf-webtuesday.pdf

And just a simple google shows a few references to such a concept but I'm not seeing anything concrete.

Can anyone point me at something specific, or should I just roll my own for now and look to get it upstream (proposal, incubator etc.) as I become happy with it?

OK, I take it from the lack of replies on this topic that there genuinely is nothing out there based on XSLT in terms of view code?

I'll just mash something up myself for now and work on upstreaming it when I'm happy with the results. The general idea will be to use it to produce little blocks of views and thus it will probably be pretty thin on the "helper" integration front, but that's fine for my purposes.

Col

--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

Reply via email to