Programming

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  

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  

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  

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  

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  

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  

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  

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  

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  

6 Things to Consider when Choosing a Framework

You’ve decided that it makes sense to use a framework when writing your next new application, and chances are that if you’re already familiar with a specific framework, then you’ll probably be leaning towards using that one when you start. But are you sure it’s really the most appropriate for…

Category : Programming   22-04-2013  

Learn Php Handy Functions for beginners

  If you’re new to PHP language, we’ll introduce you to seven really handy PHP functions in this quick tip!     Function 1 : isset     Check if a variable has been set. You just pass it a variable name, and it will return true if that variable exists, and is set to something other…

Category : Programming   11-04-2013  

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  

24 great PHP libraries and classes you should know about

  It is an exciting time to be a PHP developer. There are lots of useful libraries released every day, and with the help of Composer and Github, they are easy to discover and use. Here are 24 of the coolest that I’ve come across. Your favorite is not on the list? Share it in…

Category : Programming   11-04-2013  

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  

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  

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  

PHP JSON: An Example Javascript JSON Client With PHP Server

While JSON has many uses, probably the most common use is to pass data structures to Javascript. JSON is simply a standard format for data structures. In this example we’ll use a PHP page as a JSON server; we’ll use an HTML page with embedded javascript to contact the server, retrieve…

Category : Programming   11-04-2013  

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  

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  

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