Programming

10 most used PHP features

10 most used PHP features

We have compiled a selection of top 10 PHP native functions, classes and features. We know first-hand how invaluable these features are, so we hope you find them to be useful too. 1. PDO Class We use the PDO (PHP Data Object) exclusively for connecting to our MySQL databases. PDO provides a nice abstraction layer…

Category : Programming   22-05-2013   by Janeth Kent

Jquery: Manage Cookies easily with Jquery.Cookies

Jquery: Manage Cookies easily with Jquery.Cookies

Jquery.Cookie is A simple, lightweight jQuery plugin for reading, writing and deleting cookies. Let's start with it, first of all include script after the jQuery library (unless you are packaging scripts somehow else): Note:The plugin can also be loaded as AMD module. Usage To Create permanent session cookie use $.cookie: $.cookie('the_cookie', 'the_value'); If you want…

Category : Programming   21-05-2013   by Janeth Kent

A collection of must-have front-end developer tools

A collection of must-have front-end developer tools

PREPROCESSORS For years, the front-end community debated over whether CSS preprocessing was necessary. The language is a simple one; why are we complicating it? Thankfully, over time, and as the web stack matured, the majority of front-end developers came to terms with the fact that, until the language itself matures a…

Category : Programming   20-05-2013   by Janeth Kent

Company Logos in Google Search Results, Thanks to New schema.org Markup

Company Logos in Google Search Results, Thanks to New schema.org Markup

Since announcing the schema.org project two years ago, little has changed with the markup. That changes today as Google announced a new schema that supports company logos. The logo designation is part of the Organization markup within schema.org. Using it will allow Google algorithms to understand which image on your server is your preferred logo. If you used…

Category : Programming   16-05-2013   by Janeth Kent

Microsoft to web developers: For everything you've done, thank you

Microsoft to web developers: For everything you've done, thank you

Microsoft has been working hard to boost the profile of its Internet Explorer 10 browser. From its 'browser you love to hate' campaign to talking up the advantages of touch in IE10, the company has extensively focused on transforming perceptions about Internet Explorer, in the hope that more people will adopt it as their…

Category : Programming   10-05-2013   by Janeth Kent

Mozilla launches Firefox OS Simulator 3.0

Mozilla launches Firefox OS Simulator 3.0

Mozilla on Thursday announced the release of Firefox OS Simulator 3.0, polishing all the features in the preview release as well as making a few more improvements. You can download version 3.0 now for Windows, Mac, and Linux from Mozilla Add-Ons. The simulator installs as an extension in Firefox, so you’ll need Mozilla’s browser to use…

Category : Programming   03-05-2013   by Janeth Kent

Google Summer of Code 2013.

Google Summer of Code 2013.

Propose a project for approval by a mentoring open source organization Code the summer away Achieve Ultimate Glory(and get a nice paycheck)   Google Summer of Code is a global program that offers student developers stipends to write code for various open source software projects. We work with many open source, free software, and technology-related groups…

Category : Programming   02-05-2013   by Janeth Kent

Setting headers for dynamic images with PHP

Setting headers for dynamic images with PHP

PHP provides an amazing library called Graphics Draw ( GD ) to generate images. You can create and output the images directly to the browser or you can store it as a image file. For example Google Charts API generates QR Code images and outputs it directly to the browser.…

Category : Programming   30-04-2013   by Janeth Kent

Php: Automatic Site/Directory Backup via FTP with PHP

Php: Automatic Site/Directory Backup via FTP with PHP

In this tutorial we are going to make a PHP script that archives your website into a .tar file, then automatically moves it to an external FTP server for safe keeping. We can then setup a cron for this script which will execute it automatically every day/week/month , however…

Category : Programming   29-04-2013   by Janeth Kent

How to Write a Chrome App for your Website in 5 Minutes

How to Write a Chrome App for your Website in 5 Minutes

Write a Chrome App for your Website This is easy. Download the sample chrome-app.zip file to your desktop, extract the archive and open the included manifest.json file in Notepad or any other text editor. You need to make a few changes to the file. Add your website name in Line #2, put a short…

Category : Programming   24-04-2013   by Janeth Kent

PHP get DNS Nameserver , Cname , MX , A records of a domain

PHP get DNS Nameserver , Cname , MX , A records of a domain

  PHP has a useful function called dns_get_record that can be used to get different types of records for a give domain , very easily. Nameserver - NS Records : $ php -a Interactive shell php > print_r(dns_get_record('www.binarytides.com' , DNS_NS)); Array ( => Array ( => binarytides.com => NS => omikro1.allwebserver.com => IN => 86140 ) => Array ( =>…

Category : Programming   11-04-2013   by Janeth Kent

5 tools for better PHP

5 tools for better PHP

When we work on our applications, whatever our language of choice, sometimes we can focus too much on the code itself. A really good development lifecycle is about so much more than the code, it brings in a selection of supporting tools to ensure quality and reliability of the application,…

Category : Programming   11-04-2013   by Janeth Kent

SEOStats Php class to get Seo Statistics

SEOStats Php class to get Seo Statistics

  SEOstats is a powerful open source PHP library to request a bunch of SEO relevant metrics such as detailed backlink analyses, keyword and traffic statistics, website trends, page authority, the Google Pagerank, the Alexa Trafficrank and much more. SEOstats offers over 50 different methods and gathers data from Google, Yahoo, Bing,…

Category : Programming   11-04-2013   by Janeth Kent

20 Useful and Amazing CSS3 Tutorials

20 Useful and Amazing CSS3 Tutorials

We have listed 20 Amazing CSS3 tutorials, which show you how to develop some top notch CSS3 effects for your websites and personal blogs. Enjoy! 1. Create a Stunning Menu in CSS3 In this tutorial you will learn how to develop a white stunning drop down menu using CSS3. You can download…

Category : Programming   11-04-2013   by Janeth Kent

Six Useful PHP code snippets

Six Useful PHP code snippets

Here’s a mini list of  useful PHP code snippets that we find using on a weekly basis. You could use these as is or expand them as part of other applications or add them to a php class.   Adjust server time Useful if you have a server in a different timezone, like…

Category : Programming   11-04-2013   by Janeth Kent

Learning Loops in Php: FOR

Learning Loops in Php: FOR

Loops come in several different flavors in PHP: for, while, do-while, and foreach. We will introduce you to each of them in 3 lessons and we will show you how they can making repetitive tasks straightforward and easy to maintain.   Lesson #1: The for Loop  The syntax of a for loop is: for (expr1; expr2; expr3) statement The first expression (expr1) is evaluated…

Category : Programming   11-04-2013   by Janeth Kent

A More Efficient Embedding Method for YouTube Videos

A More Efficient Embedding Method for YouTube Videos

When you embed any YouTube video on a website using standard IFRAME tags, you’ll be surprised to know how many extra pounds that video adds to your page. The web page has to download additional ~400 kB of resources (CSS, JavaSript and Image files) for rendering the video player alone and…

Category : Programming   11-04-2013   by Janeth Kent

page=3 Clicky