Hi Andreas,

I agree with the logging implementation. My new solution is to create an
interface IRpcLogger with isLogEnabled(LogType) and log(LogType, String,
Throwable) where LogType is an enum with all loggable things
(incomingData, outgoingData, parseError, serviceError and a few more).
And a default (Syserr) plus a commons-logging Implementation.

I also agree with your opinion to the enums. I'll serialize it to/from
string. And maybe I'll add custom serializer/deserializer and/or support
for Interfaces like IJSONizable.

For my own app, I'll add a custom interface to my enums (IKeyValue) plus
a custom serializer which does the same like the behavior i have
implemented now.

Regards,
Michael.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to