HipHop for PHP transforms PHP source code into highly optimized C++. It was developed by Facebook and released as open source in early 2010.
HipHop transforms your PHP source code into highly optimized C++ and then compiles it with g++ to build binary files. You keep coding in simpler PHP, then HipHop executes your source code in a semantically equivalent manner and sacrifices some rarely used features - such as eval() - in exchange for improved performance.
Facebook sees about a 50% reduc...
W3C has offered some new options for borders in CSS3, of which one is border-radius. Both Mozila/Firefox and Safari 3 have implemented this function, which allows you to create round corners on box-items.
This is an example:
Rounded corner example.
The code for example above is simple:
clueTip goes one step further than (mb)tooltip, it has many advanced options that you can utilize such as having the tooltip move with the mouse cursor, forcing the tooltip to stay on the page until a user action closes it, a really nice “loader” graphic which appears between the point that the event is fired and the tooltip is loaded, and much more.
The loader is actually very useful, especially when you are loading dynamic content into your tooltip via ajax for exampl...
This tutorial will only examine one particular way of implementing Gzip compression with PHP, but there is another way to accomplish it with Apache if you have administration access to your server.
Step 1: Enable zlib compression in php.
You can do this many ways, just choose one:
* Add a line to your .htaccess file:
* Add or change a line in your php.ini file:
* Add a line to the top of your PHP scripts before any output:
Now that you’ve done that (and particularly...
Following codes will display different statistics graphs / charts on your web page.
Replace 'yoursite' with your 'domain name' to use these.
Alexa traffic ranks graphs and charts for google.com look like these:
Thank you for taking the time to visit my blog! Take a second to peek around and check out some of my previous posts. Of course, I would love to find out what you think as well, so make sure to comment. See you around!