External links

Capgemini
Capgemini develops strategy with your management and secure implementation and creates the right conditions for success.
Read more about strategi...

SweSeek
Search engine in Sweden for regional search in the Swedish trade and industry.
Read more about svenskt näringsliv...

RIW Software Technology AB
RegitWise is a software that helps you to get controle over your inventory handling in an easy way.
Read more about inventariehantering...

Proact
Proact installed basic of high-end storage/computer storage and today consists of approximately 600 systems in Scandinavia and the Baltic States.
Read more about datalagring...

Aspect Oriented Programming and javascript

Written by Danne Lundqvist - 2005-06-17 16:25

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 though. In PHP projects I often end up with a few classes and a lot of procedural code. Mostly structured but still procedural.

Anyway I felt it was time to do some experimenting. I recently released my Toxic framework, a javascript and PHP communication toolkit, which is object oriented in both ends. Toxic does not force me but it incurrage me to program program Javascript in a more object oriented fashion. I decided to see if aspects could be applied to the javascript end of things. I think it could be really useful in rich web applications which mostly depend heavily on javascript. As javascript does not support AOP I had to do some coding. As it turns out javascript is very suitable for some nifty AOP coding.

read full post
0 comments on this post

Remote Scripting (AJAX) framework

Written by Danne Lundqvist - 2005-03-30 17:15

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 heavily depend on client server communication. I really want to get rid of the painfully boring and repetetive task of validating form data and sending it to a backend in PHP where the data has to be validated again. The framework is based on XMLHttpRequest for the communication between the client and the server. This kind of communication is commonly known as Remote Scripting. Some people (not me) likes to use the new, more catchy, acronym AJAX. Anyway, this is a sneak peak on how the framework will be used.

read full post
0 comments on this post

Awstats with virtual hosts on Apache

Written by Danne Lundqvist - 2005-01-04 12:48

Awstats is a very good weblog analyzer. It produce loads of statistics about your visitors and their behaviour. The first time it can be a bit tricky to setup if you have many virtual hosts. However good the application is, the documentation is a classical example of when programmers write the manual. They understand everything so it all makes perfect sense to them. This article describes how to setup the awstats package with authentication for multiple virtual hosts and how to use logrotate and scripts to automate tasks.

read full post
0 comments on this post

Remote scripting with SRSS

Written by Danne Lundqvist - 2004-12-29 15:24

I have ever since I wrote my old article on remote scripting using the script tag been intrigued by the possibilities of "behind the scenes" communication. Then Harry Fuecks started writing about XMLHttpRequest and how to connect it with PHP in a seamless manner resulting in JPSpan. The result works much like CORBA (or like CORBA was supposed to work).

You as application developer shouldn't be bothered about whether the object you work on is sitting on the client or the server. However good I found JPSpan a bit much for me as I normally just send pieces of data back and forth. Whence my own SSRS...

read full post
0 comments on this post

MySQL 4, Apache 1.3 and PHP 4.3 on Solaris x86

Written by Danne Lundqvist - 2004-09-02 03:49

Yesterday I decided it was time to get a proper PHP 4 environment configured on my new machine running the x86 version of Solaris 9. I know going outside Windows or Linux with PHP sometimes can be tricky. I haven't used PHP on Solaris since my time at AOL in Dublin three years ago, so I decided to write down exactly how, what and why I did things. I expected it to be a bit simpler then last time as I planned to use Apache rather than IPlanet (or whatever the name is today, it seems to change at least once a week). So my plan was to install a pretty standard LAMP environment. That is without the L ofcourse.

read full post
0 comments on this post

ODBC with PHP on RedHat 7.3

Written by Danne Lundqvist - 2004-05-04 09:20

I never thought the day would come when I would setup a system using something as old as RedHat 7.3 when not even RedHat 9 is supported any longer. Actually, I didn't think I would ever setup a website using both PHP, ASP, SQL Server and odbc at the same time.

Well, around came a friend of mine with weird corporate site where ASP was mingled together with PHP. Odbc is used in both languages to call two different databases, both on SQL Server. To complicate life even further PHP pages opened ASP pages via http, inserting the ASP generated content into the output of PHP. The site also relied heavily upon GIF functionality in the GD module which is no longer supported in newer versions.

read full post
0 comments on this post

PHP5 Overview

Written by Danne Lundqvist - 2003-11-10 00:47

PHP5 is still far from being finished even though you can already download a beta version. The performance improvements, the better object orientation and XML support, the new PDO extension and many other small and large changes make many of us wish it was already here. After attending the PHP Conference 2003 in Frankfurt I wrote this article to give you an overview of the major changes in PHP5 from PHP4 and what to expect when porting old applications.

read full post
0 comments on this post

Putting XSL and PHP to work

Written by Danne Lundqvist - 2002-08-15 00:46

We all know PHP is great for web development. We also know that XSLT is a great way of formatting, or tranforming, XML data. Combine these technologies and we have a very powerful toolkit in developing large scale web sites where content is clearly separated from logic and presentation. This article will show you how to put the revamped XSLT API in PHP 4.1 to good use.

read full post
0 comments on this post

Remote scripting with javascript

Written by Danne Lundqvist - 2002-08-13 10:35

I am currently working on a web based instant messenger client. In creating this I faced the problem of how to manipulate the web client from the server side. I didn't want the client to reload every time it needed to check for status changes of contacts, new messages, send messages and what not. When supporting thousands of users this generates a lot of traffic. So for this I needed a way for the server to send commands to the client. A stable lightweight remote scripting solution.

read full post
1 comment on this post

Quick and dirty XSLT Tutorial

Written by Danne Lundqvist - 2002-08-12 15:41

XSLT is a powerful way of getting data from an XML document into a HTML document, altough it is not the only use for it. This article will show you how to get started with XSLT using a simple example while explaining the basics of the language.

read full post
0 comments on this post

Using the range object in Mozilla

Written by Danne Lundqvist - 2001-03-30 18:14

In this column on the DOM Range Object I will be discussing the application of the Range object with JavaScript for HTML and XML documents. I have found that the Range object is possibly the singularly most powerful object given to us by the W3C DOM Level 2 Recommendation. The only drawback is that no browser currently fully supports it. At least, until now that is. [Article written by Jeffrey M. Yates 26 March 2001]

read full post
0 comments on this post

PHP 4 as a NSAPI module on Solaris

Written by Danne Lundqvist - 2001-01-10 17:34

This article describes how to install PHP 4.0.4 as a NSAPI module on a Solaris box. The version of Solaris is 2.8 using iPlanet Web Server 4.1. Additionally PHP is going to have support for MySQL and use Sablotron for parsing XML using XSL stylesheets.

read full post
0 comments on this post