Archived entries for Web development

Responsive images

Responsive images should ideally serve the client images in sizes that fit the media, instead of serving 1000 pixel images to small handheld devices, which is both a waste of your time, bandwidth and data you may be paying for. There are no de facto standards for solving this part of the responsive web design puzzle just yet, but here are some suggestions I have collected to help you get started.

Continue reading…

OpenX: M2M authentication error fix

We just received this error on our OpenX server after a version upgrade:
Dashboard Error: M2M authentication error – password invalid (code: 823). If this error repeats please describe your problem in detail and post it on the OpenX forum.

With the encouragement to post the error on the forum, naturally alot of people do. Actually, a quick search of the OpenX forums revealed that this question is posted on the OpenX forums almost once pr day, and people rarely get a response too. Why OpenX would not fix their product so that this error does not occur is beyond me, but the solution still was simple.

Read the solution

Asynchronous Google Analytics

Already available since Dec. 1st 2009, Google Analytics now supports Asynchronous Tracking. AT will lessen the impact the tracking has on your website’s user experience, as well as increase the likelihood that the tracking beacon will be sent before the user leaves the page.

…but beware of the pitfalls

Hide view or layout in the Joomla menu manager

If you are building your own component, and you have layouts or entire views you wish to hide from the backend menu manager, you can do so with very little effort and some bits of XML.

Continue reading…

Version control: Automatic SVN propsets

Propset in SVN, or property setting, is the process of adding versioned metadata to your files. In Joomla development it is common to set the magic svn:keyword property to php-files, to put useful and dynamic information about a file into the file itself. In particular you will very often see the Id keyword being used in the docblock heading of the file. In this tutorial we will look at how you can set this property in your php-files, and how you can configure subversion to do it automatically for you.

More about propsets in SVN…



WP Theme by Rodrigo Galindez.