Archive for 2007

Update on Ext JS LiveGrid component

Posted by:

Ext JS LiveGrid componentThe Ext JS LiveGrid component has received some great feedback from the community since it has been released. Though I’m permanently tweaking the extension, fixing some minor bugs and adjusting behavior, I haven’t managed to release a new version yet. However, I have set up a project homepage, where you can Continue Reading →

7

LiveGrid component with ExtJS

Posted by:

I’m thrilled to announce a Sneak Preview of my LiveGrid component based on ExtJS 2.0 RC 1. After I was pretty sure that There is no spill! and I have been Fighting the spill, I refactored my algorithms to work with the ExtJS library.

When I’m speaking of the term “LiveGrid”, I simply refer to a (grid) view representing a large server side backed database. ...

Continue Reading →
31

Bookmark of the day

Posted by:

Isis Information Architects Inc.

Though updates to this site happened somewhen around 6 or 7 years ago, the authors give lots of examples on how to not design user interfaces. You should not miss the Hall of Shame – lots of nerdy slash geeky controls, but definetly nothing you want to sell your customer as highly intuitive.

The shovel analogy comes in mind. Check Continue Reading →

1

O’zapft is!

Posted by:

O’zapft is!

Sers! The Oktoberfest started yesterday here in Munich and I’m happy to be in town just right now. The city is overfilled with women wearing traditional Dirndls, while men chose to wear their Lederhosen. Lots of drunk people near the Theresienwiese, but that’s just part of the worldwide biggest fair. I’m going ...

Continue Reading →
0

Counterize II – missing backticks in install file (fix)

Posted by:

If you want to install V2.09 of Counterize II , you may get sql-errors when the plugin gets activated in the backend of WordPress.

This is caused by missing backticks ( ` ) in the file counterize_install.php. Take a close look at the sql-INSERT statements. The erroneous line numbers are:

  • 80
  • 87
  • 94

Add the missing backticks at the end of the respective lines and you should be set.

Continue Reading →
1

svndiff / deltav algorithm

Posted by:

(This post refers to svndiffs V0 compressed strings).

The article at http://svn.collab.net/repos/svn/trunk/notes/svndiff explains how the svndiffalgorithm works. This post tries to give a more concrete idea of what happens, refering to the example that can be found at the end of the above linked article.

SVN delivers the text deltas base64 encoded, so you first have to decode the string to work with it. Next step ist to check the string for it’s first four bytes, which must represent ...

Continue Reading →
0

introducing cudgets.widget.ListSelectionModel

Posted by:

A ListSelectionModel represents an interval of selections. A selection itself has two properties: index and selected. The index is a numeric value that points to a position in the interval and selected provides information about the state of the index in the selection-interval: true for selected, otherwise false.

Speaking of GUI, ListSelectionModels are needed when a set of items (a List) is available that allows a user to select/deselect any range of items.

A good programmer (who’s into design ...

Continue Reading →
0

hemingway reloaded fixes

Posted by:

Hemingway Reloaded is a great theme for the WordPress Blogging Software, however, it lacks a little bit IE 7 compatibility.

Here are two simple fixes for the style.css which will display the startpage correct.

First off, in style.css, change the width of #primary.twocol-stories .story to 47% instead of 48%:

#primary.twocol-stories .story{
    float:left;
    width:48%;
    marginContinue Reading →

10

javascript, prototypes and object references

Posted by:

If you are using OOP, you are familiar with initializing class members in the head of the source:

/**
 * Pseudocode
 */
class Foo {
    int i = 0;
    Array bar = new Array();
}

However, if you are using Javascript’s prototypying, assigning objects to class (prototype) members will result in static instance variables.

Example:

teaching javascript the concept of interfaces

Posted by:

There’s an easy way to simulate Interfaces in Javascript, this post shows you how it is done.

(Beware, I’m going to mix OO terms in this posts a little bit for the sake of Javascript, but readers familiar with OO concepts will understand what I mean.)

At first we will extend Javascript’s native Object with a method called __implements, which is responsible for comparing class-methods with method-stubs (declared as strings) in an “interface” (quoted, because it is not an Continue Reading →

1
Page 1 of 2 12