Here we are, the last day of our Apache Wicket series. Â While there was only one day that focused on Apache Wicket, we’ve laid the groundwork needed to get a J2EE project that uses a web framework off the ground. Â And step-by-step, if you follow along with the team on all 4 days preceding, you will have a greater understanding of how everything is put together, and why.
And as you can see, the actual work that went into the front-end of MysticPaste, didn’t take very long at all. Â And as good community citizens, we’ve made the finished product and source code available.
MysticPaste.com - our implemented pastebin based on the code examples and tutorials shown throughout this series
MysticPaste Source - the source code for the pastebin, open source.
On Day 1, we learned the many steps it takes to put together a project that can be worked on in a team environment. Â We’ve enjoyed your comments on different methodologies, and some we will definitely take into account. Â The biggest thing to take away from that day, is to understand the underpinnings of why things are where they are in a project, and how adherence to the fairly accepted Maven standard structure can make life much much easier.
On Day 2, we ran through some basics on Mocks, and with a bit of upfront design on interfaces, a testing harness is available for building out the backend. Â We also learned how to take Unitils and extend our tests passed just a functional unit, and move through many layers of the built system, and ensure we go a bit beyond just code coverage.
On Day 3, with unit tests in place, we felt safe writing some implementations so we moved the codebase from failing tests due to no implementation, to working tests. Â We learned a bit about designing your domain model based on requirements and design discussions, and molding the service and persistence layer to support your business goals.
On Day 4, we got to the most exciting part of our journey, Apache Wicket. Â The article walked you through some of the basics of putting a page together using markup inheritance, and amazingly enough, how this simple act removes the need for technology so common in the MVC world to support this. Â Best of all, because its all in Java, ultimately you can actually use your IDE and refactor or debug as needed. Â Each of the most basic components with forms, and display, and the wicket-based tags that act as extensions to your HTML pages, were reviewed with links off to the Javadoc for further discovery. Â One of the many reasons to love Wicket, is the clear separation of functional concerns, no code in your template pages, it’s just HTML.
If you’re like the members of the Mystic team, you will CRAVE more. Â More information, more discovery into how we can fully integrate Apache Wicket as a tool in our arsenal. Â Aside from downloading the distribution and following along with our tutorial, here are some options ahead:
- TSSJS / LV - Architecting Applications using Apache Wicket - A talk at the symposium by Andrew Lombardi about Apache Wicket.
- Apache Wicket Training - Mystic is available for corporate trainings, and is in process of putting together a schedule for different technologies to learn about in 2009. Â If you'd like to have us come to your business, have your manager contact us at: trainings@mysticcoders.com
What's next?
With the concepts in these articles, we’ve laid the groundwork for many more short articles on interesting technology in the future. Â There is definitely a lot of new and interesting items we can add to MysticPaste without overcomplicating the streamlined interface, such as:
- Syntax Highlighting
- Embedding AJAX where it makes sense
- Remote Interface to the API for pasting from IDE's
- IRC-based bot integration
- Thoughts? What other things would you like to see us cover on the blog? Drop us a line at: talk@mysticcoders.com