Blog Archives

Dynamically change z-index on Google Maps markers

As many have noticed Google Maps API does not include a setIndex() method on the marker. You can set the z-index when adding a marker to the map. But it is not possible to change this afterwards. I didn’t find

Tagged with: , ,
Posted in Javascript

Site architecture based on Zend Framework

After working on the Swedish weather site klart.se for awhile I now work on my own projects again. So I have switched Codeigniter to Zend Framework again. After a trip to Dublin I finally launched the beginning of a new

Tagged with: , , , , ,
Posted in PHP

Reordering nested sets using PHP and Javascript

The adjancency method Representing a tree of nodes, for example product categories, in a relational database is not hard. The most common way of doing it is to store a parentid with each node. This is also known as the

Tagged with: , ,
Posted in Javascript, PHP

PHP 5.2 ajaxified

PHP 5.2.0 was released a few weeks ago. Apart from the usual bigger, better badder there are two small additions that I think are worth mentioning. A new extension for JSON decoding and encoding enabled by default. Hooks for tracking

Tagged with: ,
Posted in Javascript, PHP

Accessible forms and unobtrusive javascript

I usually try to separate backend logic from the user interface logic when creating new PHP applications. I am pro fat gui and usually have a lot of client side scripting going on. I mostly use AJAX or other remote

Tagged with: ,
Posted in Javascript, Web

Cross site scripting

While looking around for cross site scripting resources I stumbled upon this “ha.ckers.org” site which is an excellent source for ideas on how to check for XSS vulnerabilities. I have seen it before but I obviously forgot to bookmark it.

Tagged with: ,
Posted in Javascript, PHP

Aspect Oriented Programming and javascript

After investigating AOP a bit more I am convinced that the concept is well worth the effort. I really like object oriented architectures as I think it is a good way of modelling applications. I don’t like to overdo it

Tagged with: ,
Posted in Javascript

Announcing Toxic – an Ajax toolkit

The project is no longer available. Might be so in the future. Recently I have been working hard on my SRSS (whatever) project. The result is nearly finished and has been dubbed Toxic. Toxic is an AJAX toolkit, or framework,

Tagged with: , ,
Posted in Javascript, PHP

Google Web Accelerator

Recently the Google Web Accelerator (GWA)has received a lot of attention from web application developers. Rightly so. When installing GWA for use in your browser it speeds up surfing by prefetching pages. This can be very useful but also extremely

Tagged with: ,
Posted in Javascript, PHP, Web

Remote Scripting (AJAX) framework

Spare time to spend on interesting projects is not plentiful nowadays. Even so I have managed to put quite a few hours into a small web application framework. My goal is to make it easier to develop web applications that

Tagged with: , , ,
Posted in Javascript, PHP