Skip navigation

Lost password? | Help

Hello World

Practical programming... and stuff...

Going to Helsinki

I'm going to Helsinki today, to the Solid Fireparty LAN, to help with the event organization and to do other LAN-party'ish things, whatever they are. I might not post anything from the usual topics for the rest of this week, but stay tuned for photos from the trip (Oulu to Helsinki = 600km, something like 7 hours in a car if driven non-stop) and from the event itself.

LAN party place reservation

, ,

Let's take a look at one of my biggest PHP projects so far: Reservinator 1.0, or in other words, a very advanced place reservation system for LAN parties. The page is in finnish, but the post is not, so read on!

If you've even been to a LAN party, you might've used something similar to this system. Amongst other features, Reservinator let's you view an overview map of the event location, choose your place by clicking the place you wish to reserve, and sign up for competitions.

It also has various admin tools, such as sending email to users, marking their reservations as paid based on the bill reference number, and biggest of all, building the overview map with a very easy to use drag and drop interface for placing rooms, tables and other things.

Read more...

How to make a modal AJAX login box with Mootools

Sometimes I've been asked to do a modal AJAX login box for a website. What is that you ask?

It's basically what you can do in JavaScript with alert() but with different functionality: If you do alert('foo'), you get a box with text "foo" that you must close before doing anything else. This kind of dialogs are called modal dialogs.


In this post I'll show you how to make a modal login box that can work nicely even in browsers without proper JavaScript support. This is quite easy with the proper tools.

For this article, you will just need to know some HTML and JavaScript.

Read more...

Lively Kernel - Another waste of time?

, , ,

Sun Labs recently introduced Lively Kernel, which is an attempt to treat web applications in a similar way as desktop applications are programming-wise.

The Lively Kernel places a special emphasis on treating web applications as real applications, as opposed to the document-oriented nature of most web applications today. In general, we want to put programming into web development, as opposed to the current weaving of HTML, XML and CSS documents that is also sometimes referred to as programming.

Says it the best. Despite sounding interesting, this may all be a big waste of time.

Read more...

Blocking ads on websites is bad behavior

A lot of people really dislike any ads on a website. This shows in browsers too: Opera added a content blocker and Firefox has AdBlock and probably at least two other plugins for getting rid of ads. Some people even use separate ad blocking proxy tools such as Proxomitron and IP address blocks for servers known as ad servers.

I think people who block ads are wrong.

Read more...

Top 9 most useful web developer tools for Opera

Firefox has some tools for web developers, such as the excellent Firebug. But what does Opera have? Here is a list of top 9 developer tools for Opera - I bet you can't find these from Firefox.

Read more...

How to easily redirect PHP output to a file

,

Ever wanted to change where your PHP sends the output to a file instead of the browser?
I have, and it involved changing every echo and other printing statemenet to fwrite. But

there is a better solution to that...

Read more...

HTTP File Uploads

Here's a chance for Opera to shine again:

Make a better interface for file uploading.

Read more...

PHP on .NET?

,

Microsoft's ASP.NET has a lot of useful features, things you might want to have in PHP too.
But you can't run PHP as a .NET language because Microsoft already has ASP.NET... or can you?

It appears that some Czech programmers came up with this idea few years ago and they made a PHP compiler for .NET, Phalanger, which compiles PHP code into MSIL which is understood by the .NET Framework.

Read more...

MacGyver and programming

,

The other day I thought about using MacGyver as an example when talking about programming.
Why MacGyver?

In the TV series, he builds clever tools from common everyday things. I think this is why MacGyver is a very good programming analogy - in both good and bad.

Read more...