Source Code Signatures in PHP

This post is based on Ward Cunningham’s Signature Survey: A Method for Browsing Unfamiliar Code article. Ward suggests that when studying new and unfamiliar source codes, it is vital that a programmer get a intuitive sense of the code structure under consideration. One method he suggests is that of summarizing on a single line select punctuation characters from each source file. He calls this the file’s “signature”. This will help the developer gauge the complexity of the code base.

So for example, if we only consider using braces ‘{}’, and semicolon ‘;’ – one of the common punctuation elements in a PHP program, a programmer can get a feel for the structure of a source file. Usually braces delimit blocks and functions in PHP, and many other languages, so this can give a programmer a sense of the length of code blocks or function sizes.
(more…)

Read More

Internationalisation and Localisation of Web Applications

If you’re designing a web application, you may think that developing it in English will be quite enough. Remember, though, that only 22% of internet users speak English as their native language, and 85% of ecommerce consumers won’t buy a product if they can’t read about it in their native language, which leaves only one question to be asked: are you prepared to miss on those millions of potential customers?

Software developers worldwide know that a web application will only work the way it’s supposed to for its target market. Even if two countries speak the same language, there are plenty of other things to consider when it comes to localising an app. Take, for example, the UK and the United States. The date format in the UK is day/month/year, while the US uses month/day/year, which could be cause for problems if an app is not localised for its specific market.
(more…)

Read More

Auto website wireframes

Creating wireframes is one of the essential tasks of any web designer or information architect, and with a plethora of tools available it has become an easy task. Wireframes give you a birds eye view of the site before you actually commit to a design. It is also instructional to see the designs of other site, but then you have go to the drawing board and create one yourself. Wirify makes the job easier for you.

Wirify is a small bookmarklet that lets you quickly see the wire-frame of any website with a single click. For example below is a wireframe of the current site.
(more…)

Read More