Thursday May 01, 2003
|
Vanity Foul Dedicated to the wanderings of an egotistical mind. |
|
Why you should love open source While I'm patting myself on the back, I might as well mention that I also contributed a fix to Velocidoc as well. This is what I love about working with "open source" (and others have said, likely better): If I find a problem, I can fix it myself! When I have a problem with Weblogic, all I can do is search the web for a workaround, or pray that BEA has released a patch that fixes it. While it isn't Open Source (notice the capitals), when I run into a problem with Resin I can open up the code and take a stab at fixing it myself. And once I do, I can post the bug/solution with Caucho and feel safe it'll be integrated into the next release. Why can't we all just get along? Jeremy Rayner reported an unfortunate bug against Roller, but it's not quite Roller's fault: we use LIMIT in our SQL to limit the results of some queries (most noticeably the Home page). But HSQLDB doesn't support "LIMIT #", unlike MySQL and Postgresql - you have to use TOP #. Of course, writing our persistence layer such that it knows what database you are using would be lame. In the course of my research into this problem I found wide inconsistencies in MySql, Postgresql, and Hsqldb (didn't look at the others). Read the comments in the bug report above and you'll see what I mean. So for the last couple days its been perculating in the back of my mind on how to fix this. Fixing it in Roller's code isn't appropriate, it's really up to the persistence layers (Castor & Hibernate) to address the differences in databases. In my research I had also come across a couple similar issues entered against Castor, and one proposed solution. That solution wouldn't address our problem, but after a day of simmering the answer came to mind. I'm really rather pleased with myself, which is the whole reason for this post. Hey, this is "Vanity Foul" after all. Roller needs ETag support Note to self: We added Last-Modified/If-Modified-Since support some time ago, to be complete we should add ETag support.
(
Apr 29 2003, 01:05:06 PM
)
Roller
Permalink
Re: Very Fricken Cool! I have to echo Matt here, what Dave has done to Roller's Wiki looks very good. Keep up the good work Dave! I try to contribute here and there, but you da man!
(
Apr 27 2003, 08:15:35 PM
)
Roller
Permalink
Help, I'm evil! Just as was Carlos, so am I
(
Apr 25 2003, 11:00:39 PM
)
Entertainment
Permalink
Javier's calendar issue fixed Dave Johnson checked in a fix for Javier's issue with the calendar rendering. Thanks Dave! Sorry Javier, but you won't get to see it until Anthony is confident in Roller 0.9.7.x. Re: Velocity vs. JSP Javier elaborates on the post I previously commented on. It is nice to see the usages explicity expounded on, and I think you will see there is little difference between the JSP+code example and the Velocity version (except that the JSP version has the "ugly" angle brackets: <%= request.getParameter("foo") %> ). My beef isn't so much with Velocity itself, it does a nice job. It's just that in certain circumstances where a significant amount of logic is required (such as in the calendar example) Velocity's "anti-code" stance becomes a disadvantage. Here again, it is the fanatical proponents of any technology that get my back up: "My technology is the best for everything, and yours stinks!". This isn't Velocity's fault, and one usage I wish I had time to explore more is how it can be used in other contexts. And maybe I'm just dense, but I don't see how the Pull Model as expounded for Velocity et al differs significantly from standard JSP/MVC usage. "Major" re-org in process I finally tackled a bit of Roller restructuring I've been wanting to get to: eliminating the need to include the Castor jar when building Roller's presentation layer. There were some "helper" classes that extended classes from the data model (which require Castor's Timestampable interface). I managed to shift the extra work the helpers were doing around to other appropriate locations. As a matter of fact, this entry is being written on my "testbed". But I've got to wait for Dave to finish branching the 0.9.7.x release before putting this major change to bed.
|
|
||||||