[daisy] PHP framework two weeks report

Kostiantyn Sokolinskyi sokol8 at gmail.com
Wed Aug 2 05:39:41 CDT 2006


Hallo!

This is the report for the last two weeks of development (actually
only one whole week due to some troubles).

- the problem with inlined tags changing is solved using string
functions - that's the only convinient way I found. It's also made in
the way that any future inlined tags conversion could be handled in an
easy way. Search results' styling could be held in the actual abstract
class descendant as the functions recieve XML node of the tag
converted.

- the previous method is also used for documents inclusion in the
DaisyPublisherResponsePreparedDocuments class that recieves publisher
response with already converted inlined tags and applies supplied
templates. It seems to me that two templates should be used: one for
each <d:document> tag and one for the <p:preparedDocuments> in order
to to compose the whole document. It seems to that it could be used
for adding coments, menus and other information needed to be processed
for the actually requested document and not for the included ones.

- to the DaisyPublisherResponseTemplateProcessor class (intended for
applying templates on any tags supplied) the possibility of returning
any attributes' values from the parent xml node within the html code
is added. I think I could also add possibility to get any child nodes
attributes values using xpath espressions supplied.

This week I am planning to add some minor enhancments in some of the
publisher processing classes. Error handling will be also considered
this week.

-- 
Looking forward to hear from you,

Sinc. Yours
Kostiantyn Sokolinskyi


More information about the daisy mailing list