Dirk Meyer wrote: > Cliff Wells wrote: >> On Sat, 2006-01-21 at 18:42 +0100, Dirk Meyer wrote: >>> "Daniel C. Casimiro" wrote: >>> > Next, a "view" is defined in a file "music_view.pyxml." This would be >>> > the tricky implementation part... >>> > >>> > <canvas style="video menu"> >>> > <image name="background" width="100%" height="100%"/> >>> > <container x="overscan_x1" y="overscan_y1" width="complete width >>> > overscan_x1 - overscan_x2" height="..."> >>> > <% for item in music_library: %> // Python code... >>> > <text> <% item.name %> </text> >>> > ... >>> >>> By playing with a webserver (see kaa.cherrypy) I found Kid >>> (http://kid.lesscode.org/). Maybe we can use that. >>> >> >> I'd recommend taking a look *inside* kid before you do that. It's not >> pretty. User defined variables clash with class attributes, so you can't >> use certain variables in your templates (the docs mention 3 or 4 of >> them, but there's actually around twice that many). > > So it is 6-8. Depending of the name, it does not seems to be a > problem.
Looks that they are content, generate, initialize, pull, serialize,
serializer, transform and write. So yes, twice as 3 or 4. Not good,
but I can live with that.
Dischi
--
I come from a small town whose population never changed. Each time a woman
got pregnant, someone left town.
-- Michael Prichard
pgpjuCleLTfVH.pgp
Description: PGP signature
