From: Francesco M. <f18...@ya...> - 2005-06-30 19:00:31
|
Hi, > However I see that a wxCode database already exists; it also already > have some data in it (2 tables, components & newadds...)... were you > already using it ? besides this database issue (also I'd like to inform you that I've changed the password to 'test' to be able to access it...) I want to ask a thing: since Sinorca webtheme requires quite a lot of code repetition (like any other theme which is XHTML compliant) I've found successful two different types of solutions: 1) use PHP include() statement in all files to include the repeated stuff. Advantages: easy ! Disavantages: requires work from the server on each page request... 2) use an XSLT file which takes the text from rough XML files and then produces the well-formatted XHTML files; this could be set up to be done in real-time on each page request (but this would be useless since we are already using PHP technology for other things and this would be like solution #1 just using a different - perhaps slower - approach!) or to be done offline using an XSLT processor. This requires to have - iconv.dll - libxml2.dll - libxslt.dll - zlib1.dll - libexslt.dll - xsltproc.exe installed on the PC in order to have XSLTPROC working.... the advantage of doing the XHTML generation offline is that the server then needs only to send the page to the user and thus is faster. However since we will be using PHP for other things (like mySQL access) the pages still would require webserver processing and thus I suggest to use approach #1. Francesco |