JavaScript Best Practices by Christian Heilman

The following is a presentation of well thought-out JavaScript tips and best practices by Christian Heilmann.

His tips include:

  • Make it understandable
  • Avoid globals
  • Stick to a strict coding style
  • Comment as much as needed but not more
  • Avoid mixing with other technologies
  • Use shortcut notations
  • Modularize
  • Enhance progressively
  • Allow for configuration and translation
  • Avoid heavy nesting
  • Optimize loops
  • Keep DOM access to a minimum
  • Don’t yield to browser whims
  • Don’t trust any data
  • Add functionality with JavaScript, not content
  • Build on the shoulders of giants
  • Development code is not live code

Read full storyComments { 0 }

How to configure an Apple iPhone or iPad for Microsoft Exchange

These 10 steps explain how to configure an Apple iPhone or iPad for Microsoft Exchange in either a hosted or local environment:

1. Open Settings on your iphone / iPad

2. Select ”Mail, Contacts, Calendars”

3. Select ”Add Account’

Read the rest of this entry »

Read full storyComments { 6 }

Communicating through sockets in PHP and Adobe Flex

Creating client server applications can be a pretty daunting task, however it needn’t be so. In this article we will be implementing a quick and easy solution written in PHP and Flex. At the end of this exercise we will have a working chat server and client.

Our first step to socket enlightenment is to create a server application. The server side of the system will accept incoming client connections, store these connections, and send and receive messages to/from these connections.

Let’s create a file called server.cli.php which will handle all our server side functionality. In this file we will add the following code:

Read the rest of this entry »

Read full storyComments { 1 }

Top 10 tips when buying a new laptop

So, you are looking to buy a new notebook, but you are unsure of what to look out for. You want something with as many bells and whistles as possible and you want to get the best value for your money, but you are not sure which notebook would best suite your needs. Take 10 minutes of your time to read through this article – it will give you basic tips that will help you select your perfect laptop.


1)    Does Size matter?

Indeed size definitely matters. You might have heard the words, “ the smaller the better” however this depends on the main purpose and function of the notebook. So your first step towards choosing your perfect laptop is to answer this question:  what exactly will you use the notebook for? Your answer is fundamental when purchasing a notebook and will help you to make the right decision.

Read the rest of this entry »

Read full storyComments { 1 }