web programming


I needed to make a single page “house-for-sale” announcement on the web. I did not want to take the use of the commercial reap-estate sites where all that is automatized but make a simple, but elegant page with modern web standards. My web design information was dating from the days where elements were actually table cells. I decided that there was a need for a modern, CSS  Layer based design. I wanted also to take the use of layered techniques to propose a small photo-album that would look a little bit like it would have been created with Flash. Below I will explain how the photo-album was created. Should you want to take a look at the final output already, check the French and English versions of my sales leaflet. (more…)

You should always use /usr/sbin/system-config-network to modify the entire configurtion of all interfaces at once. But it sometimes fails, if you forget to define something: for example sometimes the outcome will be that the /etc/sysconfig/network contains hostname localhost.localdomain.. In any case, the system does not boot anymore, but remains stucked on cups printer services startup, or something similar happens. (more…)

The modern Javascript code is heavy, especially for portable devices which do have otherwise decent XHTML/DOM browsers nowadays but which are lacking the necessary bandwidth. So back to the old days: we would like to use conditional and dynamic loading of the Javascript code and we have to keep the frustrated user happy while the code is loading. While searching the Internet you have certainly seen the following code snippet:

function init() {
   var script= document.createElement('script');
   script.type= 'text/javascript';
   script.src= 'myScript.js';
   document.getElementsByTagName('head')[0].appendChild(script);
}

You would invoke the above function with one of the following methods:

<body onLoad="javascript:init();">
   // or
   window.onload = init;

Everything is alright if you are using the functions in myScript.js to respond to events within the loaded <body>. But if you want to use the loaded functions and objects within the <body onLoad=..> or window.onload invoked functions, you shoud read further. (more…)

Exactly speaking, six months since I evaluated Yahoo! Go 2.0 on my (then) new Nokia N95 and gave it a no-Go. Today I grabbed the new Yahoo! Go 3.0 Beta fresh from the oven (the publishing was delayed by 12 hours or so). (more…)

Ok, you have written a nifty application with an embedded SWF object. Now you would like to make the SWF object to reload itself because you know that meanwhile the Flash movie on the server has changed. You would dynamically rewrite the <div> ID block containing the SWF object using the same URL (because the server and the movie actually remains the same, only the contents has changed). (more…)

MediaWiki is a great tool with some super extensions. One of the most elegant and yet most useful extension is VideoFlash which allows easily embedding many type of Flash streams into the MediaWiki’s page structure. (more…)

This post explains how to install PHP5 on your local cPanel web host account and how to configure it to override the default PHP4 processing of .php files. (more…)

You cannot paste items containing Plone elements into a directory that you have created using Zope Management Interface (zmi). You will get a message such as “The object XXX does not support this operation“. See

http://plone.org/documentation/error/copyerror

You need to create the folder using Plone folder browser, then rename the short name to what ever you like and then paste the object in the directory.

I have been using for a while now a great tool called Web Developer on my Firefox browser to improve the looks of my web based applications. Now there is another exciting tool available for web application development on Firefox:

Firebug is a tool for Ajax developer, allowing you to debug HTML, CSS and JavaScript. Check this article on Dr. Dobb’s Journal.

The fight of who is going to be on your desktop in the near future is going on and we should better be watching the following three big contenders carefully: (more…)

Next Page »

Follow

Get every new post delivered to your Inbox.