03
Jun
10
Posted in CSS | Tagged , | Leave a comment
01
Jun
10

Do you have a small business or home business? Do you have a website? Those questions are pretty easy to answer, but this third one might not be … Is your website working for you?

If it isn’t – or if you’re not sure – then you need to take action. Here are three steps to help you make massive improvements to your small business’s website:

Step 1: Watch Someone Use Your Website

Invite a friend over, someone who’s never used your website before. Try to find someone who will be about as web-savvy as your target audience. For example, if you sell second-hand computer equipment, your audience will probably be quite competent and knowledgeable. Continue reading

Posted in General | Tagged , | Leave a comment
15
May
10

Zend Framework 1.10 allows you to perform files/folder compression and decompression, all types of compression methods are available. These features are available in standard set of filters from Zend_Filter. Its really easy to create an Archive with the php_zip extension. The PHP 5.2.13 support all the extension for the compression, but older version will support the zip extension only. Make sure that the extension is available on your php, you can seen this from phpinfo(); function. phpinfo_zip Continue reading

Posted in PHP | Tagged , , , , , , , , | 1 Comment
13
May
10

Prepared statements are the ability to set up a statement once, and then execute it many times with different parameters. They are designed to replace building ad hoc query strings, and do so in a more secure and efficient manner.

Why Prepared Statements?

  • For security and better performance.
  • Prevent a very common type of vulnerability called an SQL injection attack.
  • When dealing with prepared statements, you don’t need to worry about functions that escape all of the necessary trouble characters, such as the single quote, double quote, and backslash characters.
  • The prepared statements executes only at initial time, so it will increase the performance. . Then if you execute the query many times, it will no longer have that overhead. This pre-parsing can lead to a speed increase if you need to run the same query many times, such as when doing many INSERT statements.
  • Performance may increase is through the use of the new binary protocol that prepared statements can use. The traditional protocol in MySQL always converts everything into strings before sending them across the network.
Posted in DataBase | Tagged , , | 1 Comment
06
May
10

JavaScript is a language with more than its share of bad parts. It went from non-existence to global adoption in an alarmingly short period of time. It never had an interval in the lab when it could be tried out and polished. JavaScript has some extraordinarily good parts. In JavaScript there is a beautiful, highly expressive language that is buried under a steaming pile of good intentions and blunders. The best nature of JavaScript was so effectively hidden that for many years the prevailing opinion of JavaScript was that it was an unsightly, incompetent abomination. This session will expose the goodness in JavaScript, an outstanding dynamic programming language. Within the language is an elegant subset that is vastly superior to the language as a whole, being more reliable, readable and maintainable. Continue reading

Posted in General, Javascript, Programming | Tagged , | 1 Comment