Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Ted
RE: housecleaning [ reply ]  
2004-01-04 20:12
Sounds good to me. I was taken by suprise when I saw a bunch of HTML generation code in the midst of an object persistance library.

By: Dima Sabanin
RE: housecleaning [ reply ]  
2003-11-27 06:42
I have no objections personally. Ruby has enough of classes with that functions, either builtin or on RAA. So go on :)

By: Francis Hwang
housecleaning [ reply ]  
2003-11-27 05:31
So there's too much code in Lafcadio. A lot of this comes from the fact that I once conceived of this as a web-centric library, but it just makes Lafcadio bloated.

So I'm planning on cutting out or reorganizing the following classes & methods. Probably nobody is actually using these classes and methods, but I thought I'd give people a chance to let me know if they want to keep anything around. Speak now or forever hold your peace ...

CLASSES AND METHODS TO DELETE
everything in /cgi/
everything in /command/
DateFormatter
DateTimeUtil
DomainObject.englishName (actually implemented in ObjectType)
everything in /email/
everything in /html/
everything in /htmlUtil/
MockEmailer
MockFieldManager
FieldViewer and all descendents
ObjectField#valueFromCGI
ObjectField#valueAsHTML
ObjectField#setDefault
ObjectField#javaScriptFunction
ObjectField#viewer
ImageField
SortOrderField
ObjectStore::Collection is a subclass of Array, it will be replaced with just Array
CgiCommandTestCase
FileManager
Logger
everything in /xml/

CLASS AND METHODS TO RENAME
ClassUtil will be deprecated and methods will move to Class
DomainUtil will be deprecated and methods will move to DomainObject
EnglishUtil will be renamed English
StrUtil will be deprecated and methods will move to String