[SNG-chat] Skimming through Lucas' files
Status: Planning
Brought to you by:
dengel
|
From: Daniele N. (J. <jo...@so...> - 2003-01-18 12:14:16
|
> There might be one or several config files (one per module ?). Those > should be > organized in a hierarchical way. I think that there should be a single config file to be read by the Config module, which could contain some include directives to split the config into smaller files. This would let anyone choose their way to configure Services, e.g. having a single big file or moving something out of it. > The config files should be written in an easy to modify format (XML ?) Maybe a simpler (i.e. easier to read and understand) syntax could be preferred. Something on the line of Epona's conf, maybe? > The logger should be the first thing to be started. On start, it > should only > use the StdOut output. Other outputs should be added after the config > files > are read. By default, the stdout output should be as concise as possible when Services are not running in a debug environment. This means that it could write an error message if something goes wrong, otherwise silently fork into background. Maybe this should be changed via a command line option? And how about logging to stderr by default? > 6. Language Abstraction Layers > They handle the internationalization of services. How this will be > done is > undetermined for now. No idea yet, but I fear that the whole text stuff should be loaded in memory. Maybe Services could dynamically unload language packs that aren't used by any user, and possibly load them back when someone needs them. For the sake of memory allocation, the config file(s) should allow to list the language packs that must always stay in memory. > - It seems difficult to create a generic DB abstraction layer (that > every > SModule author could use transparently). It seems more likely that > every > SModule will have its own DB abstraction layer. But several SModules > could > still share the same. This is still to be determined. At least with SQL DBMSs, the stuff is quite similar. I'm no good at it so I'd better shut up 'fore saying crazy things. My useless 2 cents about the whole stuff. :) -- Daniele Nicolucci (Jollino) - jo...@so... Web applications programmer (www.webdreamers.net) IRC Operator on Discussioni.Org (www.discussioni.org) Administrator of the Lingua Mundi project, www.linguamundi.sogno.net |