Josh and I did our 4H today with me in the driver’s seat. I’m still doing Ruby tutorials, so we did Chapter 6 (Iteration A of the Depot application) from Agile Web Development with Rails. Pretty neat, data validation from forms is really easy in Rails. The database migration stuff also seems very cool.
Philip and I did a combined 4H and individual meeting on Wednesday. For our 4H time, Philip was in the driver’s seat and we talked about Restlet, which is the Java REST framework that we’ll be using in Hackystat version 8.
We walked through the tutorials included with Restlet, and after adding a bunch of JARs to Philip’s Eclipse library path, they all seemed to work. There was one that downloaded the most recent bookmarks from del.icio.us, and also Yahoo searches. I believe the examples came from the upcoming O’Reilly book RESTful Web Services. All in all, Restlet looks like a decent foundation for Hackystat 8, and there is even some evidence that it performs well compared to Tomcat.
David and I did our 4H today in his office. We were working through his issues on the jEdit sensor. Following a trail from the jEdit Activity Log, we determined that his plugin was not getting loaded by jEdit. After unjaring some other plugins, we determined that the path to the plugin class was being inferred by the names of properties in the required plugin properties file in the jar (shame jEdit!). This was not obvious because the example plugin uses the default package so it was not clear that the property names had to include the whole package path to the plugin class.
After changing the properties file, jEdit was able to load the plugin so at least that hurdle has been resolved. Sounds like jEdit needs better documentation on writing a decent plugin (what’s up with using the default package, that’s amateur Java programming).
Pavel and I did our 4H on Friday. I was in the driver’s seat, and decided to finish up the Rails tutorial that I presented the first portion of last Wednesday at the CSDL meeting.
We used the CSDL meeting area for our 4H, and since we were working through a tutorial we used the projector as a second monitor rather than a mirrored display: tutorial web page on the projector, Eclipse on the laptop display. This worked pretty well I think, and I would encourage it as an option for other 4Hs.
As for what was learned, the rest of the tutorial had more actual Rails coding and went more into modifying view pages in RHTML.
P.S. I forgot that we were supposed to spend the last 5 minutes blogging about it, so this is a belated blog entry.