A BEGINNER’S GUIDE TO USING THE APPLICATION CACHE – Reference: http://www.html5rocks.com/en/tutorials/appcache/beginner/ ……………………………………………… Using the cache interface gives your application three advantages: Offline browsing – users can navigate your full site when they’re offline Speed – cached resources are local, and therefore load faster. Reduced server load – the browser will only download resources from…
Year: 2012
MongoDB Library for Codeigniter
Codeigniter MongoDB Library Reference & Download: https://github.com/alexbilbie/codeigniter-mongodb-library/tree/v2 Using with CodeIgniter: Add the file Mongo_db.php to your /application/libraries folder. Add the file mongodb.php to your /application/config folder. Update the config file.
MongoDB PHP extension for MAMP in Mac OS X
The command ‘pecl’ in MAMP dos not work; therefore, it requires to download pre-complied PHP extensions from https://github.com/mongodb/mongo-php-driver/downloads Open php.ini and add below code [code]extension=mongo.so[/code] Reference: http://www.php.net/manual/en/mongo.installation.php#mongo.installation.osx
Media Queries to handle all device’s screens
To cover all screen resolution including portrait and landscape screens. Found from stuff & nonsense (http://www.stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/) /* Smartphones (portrait and landscape) ———– */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { /* Styles */ } /* Smartphones (landscape) ———– */ @media only screen and (min-width : 321px) { /* Styles…