Re: [cowiki-dev] Complete reverse parser refusal
"Daniel T. Gorski" <[email protected]> Thu, 11 Aug 2005 06:31:07 +0200
| Newsgroups | gmane.comp.php.cowiki.devel |
|---|---|
| Message-ID | <20050811043107.GD545@bantha> |
On 09 Aug 06:18, Daniel T. Gorski wrote: > > 1. > > > > Therefore, I'm going to start on a class.WikiPseudoXmlConverter.php that > > will take legacy wiki database node data, in the old pseudo-XML format > > and output strict XML. > > > > <link strref="Hakan Küçükyilmaz">Contributor</link> > > > > will become... > > > > <link><strref><![CDATA[Hakan > > Küçükyilmaz]]></strref><![CDATA[Contributor]]></link> > > Such a conversion can be made _once_ by the installer (and its so called > "Migrator" classes). That means, that you won't need to check on each > request (read and save), whether you are working with a legacy document or > with a (new) strict one. > > This seems to be a proper solution to me - and future oriented. Of course it would be only safe with a transactional persistence (InnoDB) - especially if a bigger amount of documents needs to be converted. regards dtg