Archive

Archive for March, 2008

Installing Mapserver on Debian (reprise)

March 28th, 2008 rupert Comments off

As noted from my previous blog post regarding Mapserver on Debian, you don’t get AGG with Mapserver when installing directly from Debian packages. Thus, it would be better to install Mapserver by source. However, debian still helps because it would install all the necessary libraries needed for compiling mapserver. Read more…

Categories: debian, linux, mapserver Tags: , ,

ExtJS: Window Snippet

March 27th, 2008 rupert Comments off

Just a quick example on creating floatable windows

Note that renderTo: ‘document.body’ would result in an error, use renderTo: document.body instead

Categories: ExtJS Tags: ,

Test Driven Development using Test.AnotherWay and mxUnit

March 20th, 2008 rupert Comments off

Time and time again, I have debugging bugs and redeveloping code which some I wrote but mostly done by others as well. Experience is still my best teacher in web development and I believe it would be a heavier burden later on if we continuously pursue rapid development without any testing at all.

You may have heard of writing test cases before diving into code which is well known as Test Driven Development. This methodology has been widely adapted in programming (Java thru JUnit, etc). Following Kent Beck’s Test Driven Development (TDD) we will follow this simple method:

  1. Write the test first
  2. Watch the test fail
  3. Write the component
  4. Watch the test pass

Read more…

Categories: javascript Tags:

Aptana Impressions

March 16th, 2008 rupert Comments off

I recently downloaded Aptana Studio 1.1 Community Edition and have been using it mostly for my Javascript/ColdFusion development.

But one of the major problems I encountered was the startup. Sometimes, for some unknown reason, Aptana cannot start using the executable it provided during the install. However, I was able to weed that problem out by instead launching it from startup.jar. All of these is documented from Aptana’s JIRA ticket.

1. Downloaded and install Aptana

2. Watched Aptana TV Overview

3. Installed cfeclipse http://www.cfeclipse.org/update

4. Installed viPlugin http://satokar.com/ (Note that the viPlugin would not work with files = *.html)

5. Added the extjs2.0 code assist

Trac slow on updating or creating tickets

March 9th, 2008 rupert Comments off

This has been a productivity hogger for us for quite a few weeks and we really had no clue at it first. What I noticed was after enabling logging on trac.ini:

[logging]
log_file = trac.log
log_level = CRITICAL
log_type = file

was that every post was being sent to an SMTP server.

Read more…

Categories: Uncategorized Tags: ,