[Home] [By Thread] [By Date] [Recent Entries]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >Nicolas LEHUEN wrote: > > * I've been quite fascinated by the Apache Jakarta Commons > Digester [1] approach, which takes rules that can build > objects, launch methods, etc. I think this kind of > rule-driven XML data processing is quite interesting to > investigate. Maybe using rules is a way to handle > extensibility more easily. > I totally agree. That's what I meant by "looking for a proper > design pattern". XML does lack a proper, extensible processing > model. Two links, same book. Worth reading. data directed programming: <http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html#%_toc_% _sec_2.4.3> logic programming: <http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-29.html#%_sec_ 4.4> > I mean, I can handle schema evolution. There is nothing that > can't be solved by (re)writing code... But I'd rather write > some code that would be less expensive to maintain when the > schema changes, or code that can still operate in a coherent > way when presented with a document following the new schema. > Note that rejecting a document for fear that something wrong > could be performed is coherent, too (think about > http://www.ge.com/services/nuclear/plantcontrol.wsdl). Another link. Same book: metacircular evaluators: <http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html#%_toc_% _sec_4.1> Bill de hÓra -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPITwLeaWiFwg2CH4EQJm0ACguVncEAJKbSUgT6kAkt/NocaBObwAoP5D lGh3kgYsVd3PHUqAcEYKAwWt =ZQe1 -----END PGP SIGNATURE-----
|

Cart



