On Tue, 9 May 2006, [UTF-8] BogusÅaw Brandys wrote:
> Alexandre Leclerc wrote: > > 2006/5/9, L505 <[EMAIL PROTECTED]>: > >> > 2006/5/9, A.J. Venter <[EMAIL PROTECTED]>: > >> > > On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: > >> > But my personal idea on help files for lazarus would probably be: > >> > - get very well built html files with many links > >> > - build a search tool in lazarus to search the html files in the help > >> > folder. It is more simple and will do the job. > >> > >> > >> Good idea - one way to accomplish this and have a fast indexing system > >> would be to Ditch XML and place the documents in a database. Database > >> would allow fast searching of the documentation. I know someone has > >> stated before that they already tried to put the docs into a database > >> for the FPDOC system and it didn't work out well because XML fits the > >> document model better .. I think it's still possible, though. Not > >> impossible, that's for sure. Just the time needed to make the system. > >> > >> Or, you could search the HTML/XML files.. but it would be slower than > >> just searching a DB directly. > > > > Yep, using a simple stand-alone DB which needs no setup and is > > cross-plateform. I've seen a TDataSet descendent > > stand-alone-single-file-db once in delphi. I think the little thing > > was TBinDataset (only url I found: > > http://kylecordes.com/bag/sol/tbinary.html) I cant' find the code > > anymore, but I have it at home I believe, if anyone is interested. > > > > The DB could be generated at first start of the help, which is a > > common behaviour with hlp files. We could have a nice algo to generate > > the index... > > > > -- > > Alexandre Leclerc > > > > sqlite is good candidate too (multiplatform,single file,fast, only one > dll/so required) Sorry, but no: - No external dependencies, please. - Specifically: sqlite is a horrible database for use in Pascal. And very slow for complex queries, in general. Michael. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
