moaxcp
moaxcp is an old web site I created at johnmercier.net. I started working on this project in 2003 while I attending PTI. The web site is actually built on top of another project I made for blogging called blogson. Blogson has many blogging features but is not very good for everything a website might need. moaxcp was a presentation of every project I had made at that time.
Technology used: jsp, jdbc
Design Pattern: Model 1
The view is not seperated from the model or control at all. In fact, all three of them are combined. Each module of the program is in its own jsp file so the index.jsp only has to include the header, footer, left, center, and right jsp files. The index.jsp file also includes a connection.jsp file which connects to the database and creates a Statement object for all the modules to use. Each jsp file can include other jsp pages. This allows for a seperation of code but does not seperate the scope used for each jsp. This is slightly different from the traditional Model 1 approach but once the jsp is precompiled it all gets turned into one jsp page for the program.Interesting featers:
- The ant build script creates a build.properties file containing an auto-incrementing build number and date. This file is read by the jsp page to display the information.
- The ant build script actually deployed the entire site, through ftp, to the host server.
- The ant build script zipped all projects into a zip file for the Download section of the site.
- The ant build script created md5 checksums for each download in the Download section.