Snap Open forked!

I have been using Snap open in gEdit for quite some time and I love it. It’s fast and easy to use, plus it saves me from using my mouse. However, the “fast” part seems to loose it’s grounds, when you start using it in larger projects. I even started to have problems on java projects.

After some investigation, I found out that it also looked in my target folder. The .snap_open_ignore file helped a lot here though. But still the search was slow and some times the search window stalled for longer periods.

Read more »

Overriding Firebug

The other day at work, I deployed a test release of a product to the test servers, which ofcourse gave some problems… It seems that our CEO’s and other devs didn’t have Firebug installed which caused the app to stop loading. The reason for this is, that I like the console.log() feature, which I use intensively while developing apps.

Read more »

More features

Alrighty then… I finally got around to add some more features to my webpage, and the first thing I added was the comments section! it’s finally up and running, all you need, is an OpenID and you can login and type a comment to the various posts. I also updated my CakePHP backend to version 1.2rc3, just so i’d have all new thingies.
What else… ah yes… I’ve added a syntax highlighter to the code sections as well. It works rather well, but increases the load time on the page slightly… I’ve also included pagenation on the blog! Was actually kinda fast to implement, just a few lines of Cake code and wupti.

Read more »

CakePHP and the (in)famous Auth component

After struggling for a while with CakePHP (specifically 1.2 rc3, but also in general) and the Auth Component, I finally found out how it works. While working freelance on a site for a customer, I had to make some form of Authentication in order to login the users of the system etc. What better place to start than CakePHP’s own documentation: http://book.cakephp.org/view/172/Authentication

This didn’t really help me on my quest

Read more »

New homepage framework!

After a few discussions with the frontend group at work about writing everything yourself, they suggested that I looked at CakePHP. It looks a lot like Ruby On Rails and has most of the features it has, just for php :)

CakePHP is a Rapid development framework, written in php for php. It has a lot of cool features, such as Active Directory objects for databases, “search friendly urls” (almost by default), a good MVC pattern and much more!

Read more »

cxf, spring and http-conf:client problems…

Question:
Is there a way to shorten the timeout in CXF? (http://incubator.apache.org/cxf/)

Answer:
After looking through the CXF documentation, they state that you through Spring (www.springframework.org) can set a timout.

Read more »

JCS and performance

JCS is a caching system maintained at apache and is located here: http://jakarta.apache.org/jcs/

When using JCS in a large project, we did a lot of performance testing, and the cache seemed to perform just fine. After some more testing and the use of JProfiler (gotta love that tool) for optimizing, I discovered that lookups in the JCS cache (LRU) where really slow.

Read more »

Strange Hibernate behaviour

At work I decided to implement some DAO files in Hibernate. I started by making the smallest DAO first, and began with the work.

After making two HibernateDAO classes and beginning the third (file2DAO), which does nearly the same as second one (file1DAO). I simply copied all the data from the file1.hbm.xml file to the final file2.hbm.xml and edited the file to adjust it to the file2’s class.

Read more »