4 things: Logging, statistics, JMX, graceful login error
Posted: 03 Aug 2009, 12:15
I just started using SmartFox, so here are the things that came up out of the box for me. In general I've had a very good experience with SmartFox server and look forward to using it further.
Logging Services - You have a full logging implementation, why not extend the trace() functionality to support standard multiple logger levels and provide each extension with its own log file. It would keep the console log free of debug clutter and the like.
Custom Admin Statistics - In the admin console, the extensions view should have a column for custom statistics. A reasonably complex extension will have custom statistics that would be nice to present through the admin console. This could be as simple as an array of room variables for the admin client and a UI update.
JMX style management of extensions - It would be nice to have some way to make calls to control complex extensions. This could be as simple as defining an internal event that can be fired from the admin console (perhaps you just define what events the admin user can fire in config.xml then provide a generic interface to fire such events from the admin console).
Graceful login failure - When you call the login function of the client API and pass it a zone that does not exist it hangs (no error event is sent). While this would typically be a simple code bug that will not show up in production, there is potential that a zone might be unloaded or the server mis-configured and clients will not receive a graceful error message (and the developer also has no way to receive the error message and take further action to notify the administrators directly from the client).
Logging Services - You have a full logging implementation, why not extend the trace() functionality to support standard multiple logger levels and provide each extension with its own log file. It would keep the console log free of debug clutter and the like.
Custom Admin Statistics - In the admin console, the extensions view should have a column for custom statistics. A reasonably complex extension will have custom statistics that would be nice to present through the admin console. This could be as simple as an array of room variables for the admin client and a UI update.
JMX style management of extensions - It would be nice to have some way to make calls to control complex extensions. This could be as simple as defining an internal event that can be fired from the admin console (perhaps you just define what events the admin user can fire in config.xml then provide a generic interface to fire such events from the admin console).
Graceful login failure - When you call the login function of the client API and pass it a zone that does not exist it hangs (no error event is sent). While this would typically be a simple code bug that will not show up in production, there is potential that a zone might be unloaded or the server mis-configured and clients will not receive a graceful error message (and the developer also has no way to receive the error message and take further action to notify the administrators directly from the client).