27 December 2006

5 things you don't know about me

I got tagged by Arje the other day, so here goes:

Five things you don't know about me:


  1. I listen a lot to loud house music, but I appreciate some peace and quit

  2. My girlfriend is quarter Chinese, quarter Arabic, quarter Dutch and a quarter Polish

  3. I drive a Fiat model 'dot'

  4. I used to be addicted to Half-life Counterstrike for over 2 years.(it kept me up till 2am)

  5. I'm going to move from the big city to the small countryside in 2007



Over to Ross, Jelle and Niels.

20 December 2006

HippoCMS.org restructure

As you might have noticed, we are currently moving some pages around on the HippoCMS.org website. This really needed to happen, since it was becoming one big mess. I think that a good product needs good documentation, so i'll try to add as much undocumented features on the website over the next couple of weeks.

But of course you can help us out here. If you found out some nice feature of Hippo CMS , which does not have any documentation on our website, be sure to post your story on to our mailinglist, so we can put it up there!

18 December 2006

Hippo CMS progress update

As I promised a while ago I would keep everybody up to date on my progress with some new/improved CMS features.

So what's new? Well there are two new/improved features available in the Hippo CMS trunk.


  • Multiple asset upload

  • Copy document made it into the document actions panel



More exciting things are coming up soon. I will keep you posted!

Zoom zoom zoom

89_9.JPG
Well this weekend I went on a wild chase for the Canon EF 70-300mm f/4-5.6 IS USM zoom lens. I looked around on several pricewatch websites to get this lens as cheap as possible, but ended up with nothing after a Saturday cruising around Amsterdam. It seemed the lens was out of stock in every shop and they did not know when it would arrive at the store again, since Canon seemed to have had some delivery problems with this lens for the entire year.

I figured this would happen, especially at the end of the year, since the lens was one of the items in the cashback book coming with my Canon eos 350D. So back at home I was not giving up and called in Google. I ended up at the DigitalWareHouse, which was located in Haarlem. They did not have live stock on their webshop, so I just send them an email. Sunday afternoon I got a reply saying that they still had it in stock, so I reserved the lens I picked it up the same day. They guys at the DWH was very friendly and knew a lot about the lens. I would recommend the shop to everyone driving by Haarlem.

Blackbird in the garden Here is one of my first shots. It's not that impressive, since it was taken behind glass and the light was very bad at the end of the day, as it was going to rain. The image is best viewed large, so you can see the details on the bird. The great thing about this lens is the Image Stabilizer. It's really great when you zoom in a lot. Any small movement is corrected by the IS. If you are thinking of buying a zoom lens: save the extra money for the IS lens, because it's really worth it!

Looking at the size of my camera with the lens attached I feel a bit like a paparazzi. :-)



13 December 2006

Christmas at Flickr.com

Happy things are happening over at Flickr.com. It seems they are in the Christmas mood!
They've created a Christmas Gift Certificate card, but even better:

Your recipients will get unlimited uploads — the two gigabyte monthly limit is no more (yep, pro users have no limits on how many photos they can upload)! At the same time, we've upped the limit for free account members as well, from 20MB per month up to 100MB (yep, five times more)!


I was planning to upgrade soon, since I plan to make more use of my 350D then before, but having the 100MB upload for now is great!

One other note is that you can now attach notes on Flickr with the text ‘ho ho ho beard’ or ‘ho ho ho hat’. It will give you the nice Santa beard or hat :-)

GWT 1.3 Release Candidate is 100% Open Source

As of yesterday Google WebToolkit (GWT 1.3 Release Candidate) is 100% Open Source and Apache 2.0 licensed. This is a great step for GWT and for web developers around the world.


Since our primary mission is to help users (as opposed to hoarding proprietary development tools), opening up GWT has always been a no-brainer -- we just had to decide when. Now that GWT has some serious adoption and a lively user community, open-sourcing is the obvious next step to help GWT evolve more quickly.


We've been playing around with GWT here at Hippo to get some insight on the toolkit for Hippo CMS 7. We haven't decided yet on what framework will power Hippo CMS 7, but Google's decision makes it more interesting.

08 December 2006

Enabling WPA on Ubuntu Dapper the easy way

I've been strugling with WPA on my Ubuntu Dapper installation for a while now. There are numerous installation guides to get WPA working, but none of them worked for me or they were extremely complex and far beyond my linux knowledge. I would like to work with Dapper more, but it did not allow me to connect with the wifi network at the Hippo office or at home.

Yesterday I continued my WPA quest and I am happy to report that I finally got it to work.
Fred made an easy list to follow and in the end I actually did get it working. I tried it this morning in the office as well and it works like a charm.

04 December 2006

What's up for this week?

Well last week I was told that I was about to get some time for implementing cool new features in the CMS like Niels mentioned last week.

First up is the multiple binaries upload which will make working with the CMS a lot easier for most people. I'll promise to keep you up to date on my progress and let you know as soon as possible when these features are available, so you could give them a try.



26 November 2006

Playing around with Apache MyFaces

I've been playing around with Apache Myfaces since a couple of days, after Wander created a front-end for Hippo Repository with MyFaces. After looking at this prototype I got the urge to try myfaces out myself and get to know something about it.

The first thing I stumbled upon was how do I get started? The getting started page is not very clear about this, except that you need some certain packages.

Next step of couse was to move on to the MyFaces Wiki. The Wiki had exactly what I was looking for. A clean and simple maven 2 getting started page. It allowd me to create a simple webapp within 5 minutes after installing maven 2.

So now it's time to experiment some more. Let's see what kind of fun stuff is possible with MyFaces!

15 November 2006

Running a newer versions of TortoiseSVN with Eclipse v3.1 and Subclipse v1.0.3

Thanks to Dan and Bart van der Schans I figured out how to use a new version of TortoiseSVN in combination with Subclipse 1.0.3.

Hurray!

02 November 2006

FireFox 2.0 final

Mozilla released FireFox 2.0 last week, so I really had to give it a go. It feels more stable and even seems to perform a lot better. It has a slightly different look and feel, but it you can switch back to the old theme if you want. One of the first things of course was to test Hippo CMS, but as expected it still works like a charm.

Even though not all of my extensions (now called add-ons) seem to work yet, I love working with this new version. One of the good things is that FF 2 has the option to restore your previously opened sessions in case your browser crashes. Keep up the good work at Mozilla I would say!

24 October 2006

Hippo CMS compatible with Internet Explorer 7 and Firefox 2.0

After Microsoft's release of Internet Explorer 7 last week, we had to make sure that the changes made in Internet Explorer 7 wouldn't affect the functionality of Hippo CMS. The only thing which had to be tweaked was a CSS file, so from now on you can also use Hippo CMS together with Internet Explorer 7!

Mozilla is also releasing Firefox 2.0 soon, so gave it a go, but it appears to works as with preview versions of Firefox.

Batik and markers

Yesterday I stumbled upon another hidden feature of Batik, when I noticed that the Visio diagrams didn't show their arrowheads in the generated jpeg. It seems this is caused by an inappropriate
markerWidth/Height and viewbox. According to the SVG specification you need to make sure the marker does not overflow it's viewport.

A quick fix for this problem setting the overflow to visible on the marker.

<marker id="mrkr1-7" class="st2" v:arrowType="1" v:arrowSize="2" orient="auto" overflow="visible" markerUnits="strokeWidth" />

Thanks to Google and Thomas DeWeese!

19 October 2006

Microsoft releases IE7 final

Yesterday Microsoft released IE's newest version: IE7. The featureset is not new, since most of them are already available within FireFox and Opera. I just installed it and so for so good, but let's hope moving to IE7 will be as painless as possible.

Update

While browsing a bit with IE7, i noticed that creating tabs is extremely slow. Even for a blank page!
One nice new feature is Quicktabs. It creates an overview with small previews of which pages are open in your browser.

17 October 2006

Batik and imagemaps

Last week I was working on a project that translates svg to jpeg. Creating jpeg's from svg is pretty easy with the Apache Batik SVG toolkit.

But the customer needed to be able to link from the svg files to another location, so I had to create html imagemaps from the hyperlinks created from within the svg.
How to start? I did not have any experience with Batik yet, so I had to look around and see if there was something available that would help me out in this task. Well after a while I figured out there was no build-in functionality for imagemaps in Batik yet.

What's next? I was trying Google to see if I could find something about it, because I couldn't imagine I was the only one trying to do this. Well and what do you know! Torsten Knodt wrote some classes for batik to transcode svg to an imagemap in 2002, but they did not get committed into Batik.

Since they were Apache licensed and on the mailinglist, I was fortunate to be able to use them. I applied the patches to the batik 1.6 version, since it was the version used by Cocoon, and modified the SVGSerializer in Cocoon a bit to get it all working, but it did work. It outputs nice imagemap code from the SVG serializer, but there was still another issue to fix.

The coordinates for the hyperlinks were incorrectly positioned on top of the image. Since google was already becoming my best friend I gave it a shot and again in the search archives I found my answer. It seemed that the jpeg transcoder in batik changed the proportions of the outputted image. That caused my imagemap to have wrong locations for hyperlinks.

In the end I was glad that it was fixed by putting the "KEY_PIXEL_UNIT_TO_MILLIMETER" for jpg transcoder used by the SVGSerializer.

12 October 2006

CocoonGT: The week after

It has been a week since the CocoonGT2006. Time really flies, but now it's time for a quick flashback of all the things that happened during those days.

The GT Hackathon started for me on tuesday, since I was tied up at the office with still a lot of work to do before the big day. I was glad to be there for a couple of hours at the hackthon, so I was able to join Jeremy's talk about CForms and Dojo. I think we both came to the conclusion that Dojo is great and Cocoon should try to embrace Dojo even more, but the question remains: "What's the best way of integrating Dojo in Cocoon?".
After this interesting talk I had to head back to the Hippo office to finish up some unfinished work.

Wednesday was the big CocoonGT conference day. It started out early at 9am and kicked off with Arje's opening speech. I've seen several interesting talks about LDAP, Daisy, Hippo CMS and a very funy talk from Andrew, but there was one talk which showed something really new and exciting. Simone Gianni was talking about Cocoon blueprint. The demonstration by Simone was very interesting and Blueprint gives you a completely different perspective on building Cocoon websites. I hope he continues working on blueprint and there will be a release soon.

There are some photos available of the GT at Flickr, so be sure to check them out.

Well that's it for now. If you want to know more about the GT, be sure to attend it next year. There have been rumours going on, that it might be in Rome next year!

04 October 2006

Running AIGLX on my Latitude D610

A couple of days ago I succesfully managed to get AIGLX working on my Dell laptop in Ubuntu Dapper. I started out trying to install GLX a few months ago, but it was quite a strugle and I decided to leave it for now.

Last weekend I found a very solid manual for laptops having an onboard Intell videocard. My Latitude contains a videocard that uses the i810 Intell driver, which wasn't supported untill a few weeks ago.

AIGLX supports this type of videocard now and after reading some documenten about it I still could not get it working. Searching the Beryl (used to be compiz) forums I figured it out. It had to be the Beryl packages which I had to install instead of the deprecated Compiz packages.

If you still have no clue what GLX is, be sure to check out this video on GoogleVideo.

29 September 2006

Only two days left!!!

Only two days left till the first day of the Apache Cocoon Hackathon! Have you registered for the conference day?
If not, please do! See the CocoonGT website for more information.

27 September 2006

More iWaste?

home-visual-02.gif
Today I stumbled upon Greepeace's GreenApples campaign. Eventhough the purpose of this website is very serious I find the content rather hilarious. If you're an Apple lover or user, it's worth checking out.

20 September 2006

Internet Explorer on Ubuntu

The other day I discovered IEs 4 Linux - Internet Explorers for Linux. This great tool gives me another reason to start developing my web applications in my Ubuntu development environment. IEs 4 Linux gives you the full power of IE 5.0-6.0 inside linux in combination with Wine. The installation was very easy. No clicks needed. No boring setup processes. No Wine complications. Just one easy script and you'll get three IE versions. What else could you wish for right?

After having used FireFox, Thunderbird and Eclipse for many years, I can not see why I would not be able to do my daily work in a linux environment these days. Now I just need to convince my boss ;-)

15 September 2006

Creating my own Eclipse plugin

As you might have noticed, my latest interest is going out to creating my own Eclipse plugin. I've been thinking about this for a while, but recently I finally found some time to look into this. There is a lot of information about creating your own Eclipse plugin on the internet, so I think I will manage.

This is just a test project, but I have some plans in this direction in the future, so I will keep you posted.

13 September 2006

Del.icio.us daily blog posting

The other day I noticed a feature in del.icio.us which allows you to post your interesting bookmarks through XML-RPC on to your weblog. I tried the service, but it said it failed to authenticate over and over again. So I rechecked the settings again and again, but still could not find the problem.

Well what's left to do? Of course I googled it and after a while I found my answer somewhere on the internet. Thanks to Paulo I found out there was another password that needed to be set in MovableType before the posts were entered correctly into MT. The problem here was the MT API password, which you need to set separately from your regular username and password. You can find the password field in: "Main Menu > Authors > Yourself (where "Yourself" is you)."

From now on you can be expecting some interesting hyperlinks from day to day,

links for 2006-09-13




07 September 2006

Cocoon GT edition 5 is coming up

Year in year out people travel around the world to spread the word about this great product called Apache Cocoon. From ApacheCon's to OSCON's you will find people doing talks about Cocoon. The best place for talking about Cocoon is the annual Cocoon GetTogether where people from around the world meet and share knowledge about Cocoon.

This october will be edition number five of the Cocoon GetTogether and it will be held in Amsterdam, just like last year. The only difference with last year will be, that all events will take place at one location: The Felix Meritis.
Last years hackathon was succesfull, so this year there will be two days of hackathon again. The third day will be the conference day, where there will be a lot of people talking about new features, Cocoon's roadmap, existing projects and so on.

This years GT will be held from 2-4 October. Currently the counter is at 40 people from 7 different countries and it's still a month to go! It looks like this will be another succesfull year for the CocoonGT.

I will be there. Will you?

28 August 2006

Moving to Hoofddorp next year

Last friday I've put my signature for an appartment in Hoofddorp. A small city near Amsterdam and Schiphol airport. It wil still take a while before Soraya and and I can move in, because they still have to build the place. The appartment will be in Floriande-Zuid, where they are now finishing up the new shopping center. I hope they make some nice progress with the appartments so we might get in sooner. I can't wait! I will let you know how everything works out.

26 August 2006

Two steps forward and one step back

Sometimes I get the feeling that after making good progress you will always endup halfway. Or Is it just me?

20 August 2006

Vaction is over

Well my vacation is allmost over. Just a few hours left untill my first working day after two weeks of rest.
Looking back at these two weeks I can say I really needed them.

I hope that when I get to the office tomorrow, there will be some nice (new) projects waiting for me.
I've been trying to focus a little on my SCJP (Sun Certified Java Programmer) exam this week. Reading and not applying the newly learned techniques doesn't work for me, so I've been thinking of a nice project to test my new skills on. Perhaps I will let you in on that later on, but first I have to see if the workload at the office is giving me enough time to work this thing out.

15 August 2006

Returned from Marmaris

Cave at seaI've returned from my trip to Marmaris (Turkye) where Soraya and I spend our summer vacation this year. Turkye is a beautifull country with some great culture and an interesting history. The temperature was really nice with an average of 33 C and we had a full week of sunshine.

My main goal was to relax as much as possible, since I've been extremely busy at the office for the past 6 months. I can actually say that I got some real rest. I loved reading a book outside in the sun and taking an occasional dive in the pool. It was great having no computer around. Just me and my girlfriend and some piece and quiet. For some more impressions of my trip to Marmaris checkout the set at Flickr.



31 July 2006

Ultimate Web Developer Lists

While searching for some developer information I found the Ultimate Web Developer List. How utlimate it is depends on your own perspective I guess, but it contains a lot of information.

New Open Source Web Development IDE: Aptana

Aptana is a web development IDE based on the eclipse platform. It has a strong focus on Javascript, but it's a real nice plugin for web development. Since I try to use nothing else then Eclipse during my development, I'm very happy to see it's also available as a single Eclipse plugin. It's free and soon to be open sourced.

Via Ajaxian.

28 July 2006

Google launches Subversion driven open source project hosting service

At OSCON, the O’Reilly open source conference, Google announced an open source project hosting site called: Google Code Project Hosting. Greg Stein, an open source engineer with Google and chairman of the Apache Software Foundation, says in an interview with NewsForge that it's not supposed to rival SourceForge.net, but I guess that SF will of course suffer from Google's new service.

Google's new system is built on a modified Subversion repository that stores it's data in Big Table, a scalable, storage technology used in Google. Subversion is a very flexible and proven technology these days.

At a first glance, the smooth AJAX interface is not very present as with GMail and Google's Calendar, but as allways the interface is very straightforward. For now it doesn’t provide as much information as you would expect, but as Stein says: "it's not yet feature complete". They are working very hard on delivering new features.

Stein describes the project as ideal for smaller open source projects, rather than larger projects with more complex needs, such as Apache. However, they also say that larger projects are welcome of course.

Well let's wait and see what happens with this new service. A little competition doesn't hurt anybody!

27 July 2006

Picasa Web Albums


picasa_logo.gifGoogle has been busy as always. Creating new features, new application and thinking of innovative solutions.
Recently they released Picasa Web Albums. As you might have guessed, this is another web 2.0 application. It looks a little like Flickr, but has a real Google feeling to it.



Web Albums is free to use if you have an Google/Gmail account. The new Picasa version with the Web Albums feature is currently Windows only. Each Picasa Web Albums account comes with 250MB of free storage space, or room to post and share approximately 1,000 wallpaper-sized photos (at 1600 pixels each). Of course there is also an account with more space for a small fee.



26 July 2006

Lookout: Fast searching in MS Outlook

For all those Windows users out that still suffering with MS Outlook there is a free extension available that will boost your search result and give a result from your entire mailbox within seconds. It's called Lookout and it's quite old actually. Maybe some of you already heard about it, but I still wanted to mention it.

Lookout can search your messages, contacts, notes, etc and can be used in combination with Outlook 2000, Outlook XP and Outlook 2003, running on Windows 2000 or later. If you are in need of a fast search engine, go and check it out at their website. I noticed they are bought by Microsoft now, but the product still remains downloadable through their website.


11 July 2006

Javascript debugging in Internet Explorer

I guess most web developers feel the same about Javascript debugging in IE. I think it's really hard and it sucks bigtime. I just did not want to start placing alert's all over the place again, to see what was going on. There is just not enough information comming from the browser (by default), about what's really going wrong compared with how Firefox handles Javascript errors. The best Firefox script debugger in my opinion is Venkman of course. You should really give it a try.

In IE's alert window, the line number of an exception is almost always incorrect and nowhere to be found. After a frustrating start today, I went searching for what I hoped to be an extensions or something similar to improve IE's functionality.

I found out that there are a couple of them. Microsoft released a new script debugger with their latest Microsoft Office (XP/2003), called 'Microsoft Script Editor'. As an alternative you can also use the 'Microsoft Script Debugger' which is free to download from the Microsoft website. I never noticed it, but could it get any worse? I gave it a try and it presented me with more useable information of what IE was complaining about, so it made me very happy.

Before using any of these script debuggers you will have to enable debugging in IE.

Go to tools->internet options->advanced. Make sure that “Disable Script Debugging (other)” and “Disable Script Debugging (Internet Explorer) are NOT checked.

07 July 2006

Debugging the Hippo CMS GUI framework

All user interface components within Hippo CMS are handled by a javascript framework, which regulates the interaction between the different views and perspectives within the user interface. This framework will also handle the AJAX requests to the server for updating all perspectives and views.


I think one of the most unknown and underestimated features within Hippo CMS is the ability to debug this framework. If you want to create a new view or perspective within the CMS you will have to get a deeper understanding of what is going on in the background.


Ok well I will stop talking and show you guys how to do this! The configuration for the framework can be found in the framework component.xml. Each important component in the CMS has it's own component.xml. (perspectives, framework, workbench). For the debugger window to appear you will have to modify the following framework attributes:



  • showLogger: set this to true

  • logEnabled: set this to true

  • logLevel: set this to '1' to put this to DEBUG

  • logger: this should be the name that represents you component in the debug window.


A typical example of the framework component configuration is shown in the next code sample.




undockLogger="false" logEnabled="true"
logFrame="bottomframe" topFrame="topframe"
mainFrame="mainframe" logLevel="1"
logger="framework">

container="top" maxPoolSize="20"
wrapper="/workbench/remoteCall">


className="EventManager">




Each perspective has it's own component.xml file, where you can add the logger attribute to display only the messages of that specific perspective. So did you modify your component? OK! Now refresh the CMS instance in your browser window and you will notice the debug window in the bottom of the page. You can also detach this window if you want or detach it by default (see the other configuration options in the framework configuration). This debug window should give you enough information on what's going on inside the CMS, why your new view isn't working or what calls are beeing made to the server.


logframe.png


More information on how to handle debugging in Hippo CMS can be found on http://www.hippocms.org.



06 July 2006

Configurable cocoon.createObject()

Today I was working on a new feature in the CMS. I had to do some flowscript coding in order to implement this feature. By default you can create an instance of a Java class in flowscript by using the following syntax:


cocoon.createObject(Packages.nl.hippo.cms.Class);


Since I did not want to hardcode my class file, but wanted to create a configurable object, I had to find a solution.
So first I set the value of the variable in the DefaultsModule. (this can also be a XMLFileInputModule so you can really make this configurable from outside of you Cocoon application.



<component-instance class="org.apache.cocoon.components.modules.input.DefaultsModule" logger="core.modules.input" name="myconstants">

   <values>

     <cms-object>nl.hippo.test.XMLDemo</cms-object>

   </values>

</component-instance>



So now from my flowscript I can fetch the value of the cms-object constant.



var myConstants = cocoon.getComponent(InputModule.ROLE + "Selector").select("myconstants");



var myObject = myConstants.getAttribute("cms-object",null,null);



// Add the "" to the myObject variable, otherwise the interpreter will think that it's a scriptable object instead of a String or Class object.



var myXMLObject = cocoon.createObject(myObject+"");


You will have to declare the import for the Cocoon input package at the top of your flowscript before this will work.



importPackage(Packages.org.apache.cocoon.components.modules.input);

Well that's it! I could not find any documentation about how to do this. I hope this small chunk of code will help others out in the future.



Usefull links:




01 July 2006

ApacheCon Europe 2006 part 2

I'm sitting outside now in sunny Amsterdam, after catching up some sleep, rethinking the ApacheCon Europe 2006 in Dublin. Arthur, Dennis and myself arrived on wednesday evening, so we had all thursday to attend sessions. Most of them were about AJAX, but there were some other interesting sessions that I really wanted to attend as well.



The day started late for me, since I had to attend some other business first, which I will tell you about in a couple weeks or so. In the morning I had planned to attend the "The WebWork and Struts merger" session and the "Introduction to Apache MyFaces", but I was not able to join them due to the above. Arje did attend the session about Apache MyFaces and you can read-up on what happened during that session.
The next session was "MyFaces and Ajax" which was more about AJAX, then it was about MyFaces. I was interested in the AJAX part anyway, but afterwards I can't really think of what I was trying to get to know about this particular subject. It's just another way of implementing AJAX within a framework. What I did find interesting was that you hear a lot of projects switching from Prototype to the Dojo toolkit libraries. What really is there to learn about AJAX? In most cases it's just a couple of libraries for some fancy effects, XMLHTTPRequest handling or DOM processing.
In the afternoon I attended a session about "Building Highly Available Apps" which I found the be very interesting. The session was about how to build end-to-end highly available multi-tier web applications using Sequoia (http://sequoia.continuent.org) with Apache HTTP web server, Tomcat, Geronimo and Derby. The main focus in the talk was about using Sequoia.
The great thing about Sequoia is, that you do not have to change your application in order to use it, but you will just have to change the way you application connects with JDBC or ODBC. It also features high availability through an advanced RAIDb technology. I really need to give this prodcut try!
The last real session that I attended in the afternoon was about Cocoon and REST by Gianugo Rabellino. Gianugo is always fun to listen to. He's serious but has a nice way of presenting a certain subject. The talk was nothing new, but I never heard the term REST before. I learned REST (Representational State Transfer) is an architecture style of networked systems.
When all sessions ended, the Lighting Lottery Talks started. It was my first time, but it was very serious, but also very funny! Johan also did a small serious 5 minutes talk about SAnt (Shared Ant). One of the funniest session was: "What's on Kens belt". It was hilarious.
Well so far for my first ApacheCon EU experience. It was great and I hope to see everybody next year!

30 June 2006

ApacheCon EU 2006

Since I'm completely wasted and awake for over the past 30 hours, I will be posting my real entry about the Apache Con EU tomorrow. In the meantime you can already take a look at the ApacheCon Europe 2006 photos at Flickr.

25 June 2006

A little of me and a little of Picasa


picasa_logo.gif
After trying out the Macro function of my EOS 350D I was very pleased with the result of a picture with a spider hanging in it's web. I have the say that the EOS 350D takes really great pictures. The standard tools coming with the camera are nice, but since I heard some many good things about Googles Picasa I wanted to give it a try.



Spider through the window
As always with Google products the user interface is clean and simple. Picasa has a lot of usefull functionalities. It's Organise functionality is IMO a lot beter then the one that's coming with the camera.
Also in the edit screen they have this function called: "I 'm feeling lucky". It automagically adjusts the contrast and color and I was very pleased with the result!



20 June 2006

My sisters wedding

Happy couple Last friday I was witnessing two people beeing deeply in love. My sister married her boyfriend that day, who she has been dating for the past 5 (or is it 6) years. Since I was one of the masters of ceremony it has been a very busy, but wonderfull day that ended with a big party! Everybody had a lot of fun. I wish them all the luck in the world and I hope they will remain happy together.


More impressions of this day can be found here.



15 June 2006

Canon EOS 350D

EOS 350DAfter 3 years of having fun with my old Canon A70, I felt the urge to step up to the next level. So yesterday I went out to find myself a nice Canon EOS 350D. Of course SLR camera's are a completely different level, but I think i'm up for the chalange.
I'm getting more and more interested in photography, so I want to improve my skills. With a wedding and the ApacheCon coming up I can really give it a go. I'll be posting some pictures on my Flickr account soon, so be sure to check that out.

01 June 2006

Attending ApacheCon Europe 2006

ac2006eu_250x92trans.gif
It looks like some fellow Hippo developers and myself will be attending the ApacheCon Europe 2006 in Dublin next month. This will be my first big Apache Conference with developers from different projects within the Apache Software Foundation. I'm really exited about it and while looking at the sessions, my interest is going out to the Ajax and Apache MyFaces sessions (next to the Cocoon sessions of course).



I noticed more Cocooners are joining me in Dublin and it looks like Cocoon is well represented at the ApacheCon with people like Gianugo Rabellino (SourceSense), Bertrand Delacrétaz (Codeconsult) , Carsten Ziegeler(S&N) and Doug Tidwell (IBM) doing session about Cocoon.




I also see that there are some sessions on other CMS's. Maybe it's an idea to do a session on Hippo CMS next year? Sounds like a great idea to me! ;-)



30 May 2006

Taking the first steps with RoR

This evening I took my first steps with RoR. After watching the "Putting Flickr on Rails" movie I thought: "Hey that doesn't look that hard! " So I downloaded all libraries from the RoR website.
But how to continue? What kind of IDE can be used to program Ruby in? At first I thought of an Eclipse plugin (there are a couple), but after a while I found a project based on Eclipse called RadRails. It helped me getting started and I was up and running in no-time.

What better way is there, to try a sample and play around with the code to see what happens. Instead of creating the Flickr application in 5 minutes, like they tell you at the RoR website, it took me a little over an hour, but I managed to create my own web 2.0-ish Flickr application and setup the Rails environment on my laptop. I guess that's not that bad for a first try.. it's quite fast actually!

My next goal is to dig into the framework a little more. See if I can find something to use in combination with Hippo CMS. I will keep you posted!

29 May 2006

Looking into Ruby on Rails

rails.png
Since I've been very busy lately, I have not been able to find time to dig into development techniques like Ruby on Rails. RoR seems to be quite hot these days.
After reading Ugo's blog about Ruby for Java programmers it made me even more curious. Since I wanted to experiment with other techniques and combine them with Hippo CMS I think Rails might be nice to start with. After doing some research I found out that Stuart Eccles was already working on a WebDAV plugin for Rails. The plugin is not released yet, but when that happens, I am going to give it a go. In my opinion it would be nice to have a sample of how to connect Rails with Hippo CMS. I hope it's going to be released sone, so I can try and write some documentation about how to connect RoR with Hippo CMS. I'll keep you posted!



16 May 2006

Firefox extension: Server switcher

While browsing the Firefox extensions archive, I found this very nice developer extension called Server Switcher made by Czedik-Eysenberg.
It enables you to easily switch between sites on your development and live server(s), so you will immediately see the differences. I've played with it a little bit and it's a great tool to use! I would really recommend it to everybody.

08 May 2006

Monkey business

Last week I went to the Apenheul in Apeldoorn. The Apenheul is a zoo mainly for monkeys. Some of the smaller monkeys are free to walk among the visitors in some areas. This gives you a great opportunity to make some nice pictures!

Eating

For more pictures check out my photo album at Flickr.

24 April 2006

Performance boosting your Cocoon web application

As you might know, the user experience of a web application is very important. Fast request and response times are a must! You can do so much with Cocoon that sometimes you don't even know the functionality is there. There is already a lot written about Cocoon performance on the website as well as on the wiki, but over the past couple of years I came across a couple of things that could speed up the performance of you Cocoon web application. Here are a few tips:


  • Be carefull with non-caching components inside your caching pipelines (like the request generator).

  • Be carefull with using the resource-exists selector on non-filesystem sources.

  • Make good use of http headers within your sitemap( like the expires header ) for images, css and javascript. Cocoon is good in processing, but is not fast with sending resources back to the client. Make sure you keep the amount of requests to Cocoon as minimal as possible.

  • Pick the best XSLT processor in case you need to do a lot of transformations: Saxon or Xalan.

  • Try to keep the number of pipelines for a request as small as possible. All pipelines will have to be checked for their validity when a request comes in.



I hope you'll find these tips usefull. Always try to get as much out of you web application as possible!

21 April 2006

Karting with the projectteam

Yesterday we went go karting with the current projectteam. We did a small tournament with 1 test run and 3 qualifing runs. Because we had more then 20 people we were split up in two seperate groups. The first four of group A and B would be put together for the finale. There were soms crashes, spins and crazy drivers so we had a lot of fun.

The end resultwas: (in favor of Hippo...)


  1. Tjeerd

  2. Niels

  3. Reijn



You can find some photos on Andrew's page.



11 April 2006

XHTML versus your browser

Using XHTML with Cocoon is sometimes a little frustrating. It seems that by using the default XHTML serializer configuration located on the Cocoon Wiki your rendered page is not valid XHTML.
While taking a closer look at the configuration (see below) you will notice that it uses the XMLSerializer as its source.


<map:serializer name="xhtml"
src="org.apache.cocoon.serialization.XMLSerializer"
mime-type="text/html" logger="sitemap.serializer.xhtml"
pool-max="64">
<doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
<encoding>UTF-8</encoding>
</map:serializer>


While the output is XML valid, the browser does not completely seem to understand the requested XHTML.
For example: If you would use a div element that doesn't contain content it would make the browser choke and all the XHTML after that element, would be included in the div element. If you would view the page source, everything seems fine, but the browser does not parse the XHTML correctly because of the closed tag. The page source will show you the closed div tag.

<div />

The above looks valid in an XML point of view. But the only way the browser likes it, is if you open it and close it again.

<div></div>

At first I thought it was the browser to blaim, but after quick look at the W3C specs it seems that according to the official DTD you are not allowed to create 'empty' div elements or empty textarea elements. With 'empty' they mean <div />. A quick workaround is to put a space inside the empty element. This is not a clean way of fixing things and it could also break the design.

After digging through the Cocoon blocks I found a XHTMLSerializer in the serializers block that did fix this problem. The XHTMLSerializer has an closeElement implementation that leaves certain elements 'open', so the browser will render the page correctly.
This serializer has one disadvantage though: if you use inline Javascript, it will convert all quote characters to &quote;. A quick workaround is to put all your Javascript in to script tags and include them from a remote file.

That leaves me with a choise between two options that are not 100% what I need. For now it seems that I can continue to work with the XHTMLSerializer from the serializers block since I do not have inline Javascript function calls.

UPDATE
After reading Arthur's comment ( thanks !! ), I found out that I missed a part of the W3C specs. According to the W3C specs you will also have to provide the correct mime-type for the browser to render it as XHTML. When using XHTML you must send application/xhtml+xml as the mime-type to the browser and not text/html. After a quick test it seems that FireFox can handle this, but IE 6 can't. I've not been able to test it on IE 7 yet, but let's hope they fixed it.

In the end it still leaves me with the problem that I can't render my XHTML the way I want, without doing any work-arounds for some browsers.