Using AJAX To Load Data From PHP Into Your Website

A few days ago I had to build a web-app for a mobile device. The problem was, that some external input device changed values in a database and I had to make this visible in my web-app.

I came across a good solution from the w3c school. The problem was that this only updated with a user input. Therefore I changed quite some part of their script and made it easy understandable. To keep the coding part as small and easy as possible, I will not access a database in my example. My PHP script only displays the PHP function date(“H:i:s”); which shows the current time. You could easy build what ever you want in the the PHP script but keep in mind that this code will be called often and could slow down  your server if you have many users and a short refresh time and therefore to many requests to your server.

Whats do you need in order to see this example.
I created this example in three files.
- The HTML File
- The Javascript File
- The PHP File
Read more »

Spot the Dogference

Last week, Spot the Dogference  came online as a public beta. Time to write a blog post about this project I worked on during my internship at Almer/Blank.

What is this game?

Spot the Dogference is an online game of spot the difference featuring pictures of dogs. It has 3 levels and one bonus level. You can share your score on twitter and it will be displayed on the spot the dogference website. Read more »

NOMA-HILFE CD-ROM

Lately I came across an old project I build back in 2008. It‘s not the latest project but for some of you it might be quite interesting to see what I worked on quite some time ago. The project NOMA was a CD-ROM for the Noma-Hilfe Schweiz  which helps poor people with NOMA. I worked on this project because I think its very important for people to know what NOMA  is and how we can help people with NOMA.

Read more »