JavaScript best practices II

We’ve seen some basic recommendations we should all follow when writing JavaScript. Now let’s go through some more:

Read the rest of this entry »

JavaScript best practices I

Now that we’ve seen the basic JavaScript concepts, we’ll go through some recommendations to make a good code. These are some practices that should be followed if you want to make a readable and maintainable code. It is based on my knowledge and experience of JavaScript over several years of practical experience:

Read the rest of this entry »

GUI Testing

A very important thing you must do before releasing your web application into the wild is some sort of Graphical User Interface Testing. This kind of testing ensures that the interfaces between the client and servers execute in tandem. It is an important factor that these connections or interfaces work seamlessly without any failure or degradation in performance of speed and accuracy. The testing should also check for appropriate error messages. So, you must design these tests not only to check whether your application works as expected, but also to ensure that the performance is good enough.

Read the rest of this entry »

Browser comparisons

More comparisons among browsers… Six Revisions has performed some tests to the most important browsers.
The tools used to perform these tests are:

  • SunSpider JavaScript Benchmark
  • SlickSpeed (jQuery values reported)
  • Numion stopwatch
  • CSS Rendering Benchmark
  • Resource Monitor

And this is the result they came up with:

Read the rest of this entry »

Tired of IE’s issues? Turn it into Google Chrome

As web programmers, we’ve all dealed with IE’s incompatibility issues and its sluggishness, and I can assure that 99% of all of us are tired of how stubborn Microsoft is about not implementing web standards and trying to enforce its own private ways of doing things (although with the release of Internet Explorer 8 Microsoft has showed a bit of effort in trying to be more standards compliant). How much time have we wasted on writing workarounds for IE for code that works seamlessly in other browsers?

Well, Google seems to be worried about this as well, and now gives us one more possibility to solve the problem: turn Internet Explorer into Google Chrome.

Read the rest of this entry »