Tag: General
All the articles with the tag "General".
-
Simple SAX parser for PHP
Yesterday, I was working on PRAjax. The UpdatePanel did not work completely as I wanted it to work: in the background, the whole page was still fetched and updated. A cleaner way would be to just fetch updated content and not the whole page. In my search for a PHP HTML parsing class, I found a lot of libraries, but all with disadvantages: one was too big in file size, another only parsed XHTML, ... Luckily, I stumbled on SAX parser! So if you ever want to parse HTML and read out specific tags and attributes, try this one.
-
Internet Explorer 7 RC1 available
When I opened my RSS reader this morning, I saw good news: Internet Explorer 7 RC1 has just been released! You can download it here or install it as stand-alone version (unofficial!). Many people will like the new UI features, like tabbed browsing, tab preview, easier interface, less toolbars, ... The features I like are the better CSS support and other tech enhancements. For example, this blog uses several IE-specific CSS hacks to get everything (almost) in place. Now let's hope IE7 does not get confused by those hacks.
-
Google Analytics open for everyone!
Almost a year ago, Google acquired Urchin, a company specialised in providing web site statistics. They renamed Urchin's project to Google Analytics and started a beta for some. Today, it seems Google has opened Analytics for everyone. Get it while it's hot, they really provide in-depth statistics about what's happening on your website. I tried it out for a few days on my website Holidayhome.be, and experienced all possibilities. Currently, I use Statcounter there, which also provides detailed statistics, but only for the last 100 visits.
-
JavaScript URI parameter encoding
When creating a HTTP request in JavaScript, I always used encode() and decode() to pass data between client and server. I also used this approach in PRAjax, my open-source Ajax helper library for PHP. A developer working with PRAjax on his site reported to me last week that Swedish characters like å, ä, ö, ... were not passed corerctly to and from the server.
-
Goggles, a flight sim on Google Maps
You have probably already seen over a hundred uses for Google Maps. Today, I received a link of a new use: Goggles. Goggles allows you to fly a plane over a city, to climb and descent, to shoot at the scenery (I tried this over Amsterdam but didn't hear anything on the news. It's safe!). You even can crash. A while ago I thought on developing a game on Google Maps too. No action-game, no flight simulator, but more a strategic game. Imagine a sort of Risk or Transport Tycoon on satellite imagery. Unfortunately, I didn't find the time to even think about a nice game concept. Maybe once!
-
Kurkdroog
I regularly drink a glass of beer (I prefer the Belgian Trappists) or a glass of wine. While surfing, I stumbled upon a handy link for all Belgian people who love to drink wine too: Kurkdroog Kurkdroog is a website that acts as a hitlist of wines. You can select a price class, a supermarket, a country and a wine type (red, white, rosé, ...), and the site returns a list of wines matching your criteria, with the price and a short review next to it. Perfect stuff!
-
Age of Pirates
A few weeks ago, I discovered a nice online multi-player game: Age of Pirates. AoP is in a certain way similar to one of my favourite games Age of Empires, available as an offline game. In AoP, you have an island on which you have to gather resources in order to improve your economy and military activity.
-
Phalanger
Today, I noticed that Phalanger has released a new beta a few days ago (well OK, half a month ago [*-)]). Phalanger is an open-source project, aiming to provide tools to integrate PHP development in Visual Studio on one side, and aiming to provide a CLR compiler for PHP on the other side. In short, this means that Phalanger compiles PHP code to MSIL (Microsoft Intermediate Language) and thus can run PHP on the .NET Framework. I guess that would mean a huge PHP speed improvement!
-
Have you alreday tried PRAjax?
Some people who know me, have already experimented with my home-brew PHP Ajax framework, PRAjax. PRAjax is short for PHP Reflected Ajax, and provides the glue between server-side PHP and client-side Javascript. You should really try it out in your project! My blog uses PRAjax too. Try navigating to the homepage and clicking a [more...] link. The article body is then fetched behind the scenes and updated on your browser view. A small example... One can write a method in PHP, and make it callable by the client using JavaScript. For example, you have the following PHP code:
-
A new computer...
2 weeks ago, my previous computer died. A black screen with a white blinking cursor was the only thing it still did. Curious about that, I opened the case and saw... leaking capacitors. According to Google searches about that, something went wrong with industrial espionage a few years ago. Nice, I had spied capacitors and a dead computer. Even more typical was the fact that my warranty had expired 2 years ago. And that all in a week I planned to develop on my blog and some other private projects. The best cure to quicly get to work: a new computer.