From: Mark W. <ma...@rw...> - 2011-03-08 23:48:39
|
Hello, I have got quite a few updates to make to the site loading aspects of the site aswell as a neat way to tidy up the root directory, but it will mean quite a few files will change or even move. Therefore, before I am asking whether anyone has any outstanding changes before I do anything? Main updates include: a) Updated the error handler code to give trace stacks, show the actual line of code at fault and just generally more debug information. b)Updated site class, integrated the installation handling stuff into site class thus removing install.site.class and other install related files that were effectively nasty duplication hacks. c) tidied up the template parser code. d) implemented template parser tags that allow functions as well as files to be called. e)a method to tidy up the root directory. f) implemented a method to log errors to a database (optional) Now in reference to Scotts email: Certainly for now we may aswell leave the class names as J*. It is only a find a replace if we want to change them later. What do you need to know about the error handler class? - the code is still not very mature and lots can be done with it to tidy it up and improve its functionality. I agree, most of the code (the initialisation stuff) in test-lang-stuff.php could go into the site class. Thanks Mark _____________________________________________ Mob: 07725 695178 Email: ma...@rw... On 08/03/2011 23:16, Scott Miller wrote: > Hi all, > > I've checked in a few more changes, mainly focused on further trimming > down of un-needed stuff from the various classes, and the removal of > un-needed classes. > > I'm still waiting for a discussion on whether we want to continue > using J* class names (JLanguage, JText, JFile, JFolder, etc) or if we > want to use something different, and if so, what. > > Also still waiting to hear about how the error classes work, and how > to replace the commented out error stuff in the jclasses with error > stuff that will actually work for us. > > I'm beginning to think about how to go about integrating the JLanguage > stuff into our existing classes. Should the JLanguage stuff be part > of the master site class? I'm currently thinking it should. > > Isabelle, I think it will be useful to have language specific routines > that deal with how to correctly format times, dates, and numbers in > general. Can you point us in the right direction as to how to go > about doing this? > > -Scott |