29 January 2007
Debugging with FireBug is great!
I've your not familiar with FireBug yet then here is a good article for you to read. In short: FireBug is an open source feature-rich web development plugin for FireFox. It has features like, debugging, profiling and javascript logging within your browser.
This month FireBug is more then a year old and has grown enormous over the past year. A couple of days ago version 1.0 came out and it's extremely stable. I use FireBug all the time while working on Hippo CMS, since it's full of Javascript and XMLHttpRequest calls and it helped me out a lot.
If you're not using FireBug yet, be sure to check it out and play with it for a while to get familiar with it.
31 July 2006
Ultimate Web Developer Lists
New Open Source Web Development IDE: Aptana
Via Ajaxian.
28 July 2006
Google launches Subversion driven open source project hosting 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
Google 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.
11 July 2006
Javascript debugging in Internet Explorer
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.
More information on how to handle debugging in Hippo CMS can be found on http://www.hippocms.org.
01 June 2006
Attending ApacheCon Europe 2006
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
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!