I am building a course booking system in monorail and in the process of uploading the source to google code. This is basically a way for me to understand the MVC approach to building websites using the castle monorail project. I figured the code may be of use to others tackling similar tasks or who just want to hack around with existing code to see how it works. I am not by any means a monorail expert so some of the approaches I have taken may be wrong or ill advised but that is kind of the point learning by experience is my favourite approach. Let me know if you spot any. All help gratefully received.
This will be a system designed to help administrators organise training courses. The initial need is for it to be able to handle first aid courses run by a health clinic.
The system will be used by non-technical admin staff who are familiar with email and basic word processing on windows pc’s.
The development of the project uses the .net framework 2.0 and an MVC pattern with the Monorail Castle framework. It makes use of the Active Record ORM to handle data access. SQL Server is used for the database. I have elected to use nVelocity for the view templates. I have also elected not to write tests and use tdd. I know I should it’s just that my brain cannot absorb that many new things at once.
The system allows new courses to be setup, new course types to be configured. Courses can be managed with new attendees booked on to courses.
If the courses are for certification purposes if an attendee passes the course the certificate issued can be tracked so renewal notification can be sent out.
The system allows attendees to be moved from one course to another and for their booking to be cancelled.
The system will produce reports for invoicing, courses and reminders for expired certificates.
You can find the project here: