MysqlAdmin Code

    The MysqlAdmin code is available for download, but it is not available for online viewing here.  This is for two reasons.  

    First, it's not easy getting the code up for online viewing.  That, unfortunately, is not the primary reason.  The primary reason is although the MysqlAdmin web application is extremely useful (at least I use it all the time!), the code is not very useful for learning.  This is because the MysqlAdmin code, although using the Apollo framework, used the Apollo framework from a couple years ago.  As a result, most of the most important features which contribute to an easier to read and more elegant design, were not part of apollo yet.  MysqlAdmin was written when the template system could only replace tokens, and could not parse html form elements.  MysqlAdmin was written before the EntryAssertionManager existed.  If you examine the MysqlAdmin code, you will discover that almost probably two thirds of the code is spent processing HTML elements, null checking them, and converting their value.  If the EAM had existed when MysqlAdmin was being written, it would have been a much simplier task to write. 

    As a result, I'm not placing the MysqlAdmin code for online viewing.  You may download the source along with the Apollo Demo site.  If people want to start adding new functionality or cleaning up the code, everybody's welcome.  I have been considering adding MysqlAdmin server administration to the application, such as the grants system.  If somebody were to work on that project, I think the community would benefit from a more veristile MysqlAdmin application.

    If people really disagree, and want the code displayed here, I'll put it up.  I just don't think it add value to the learning process.  It does however, speak volumes about how annoying working with servlets is without the EntryAssertionManager.