Categories
AngularJS

AngularJS services

AngularJs services are javaScript function that perform a specific tasks only. Using dependency injection mechanism services are normally attached. AngularJS provides some build in services i.e. $http, $route, $window, $location etc where each service is responsible for different tasks. For example, $http is used for ajax call, $route is for routing information. There are two […]

Categories
AngularJS

AngularJS dependency injection

AngularJS dependency injection is a software design pattern in which components are given their dependencies rather than hard coding within component i.e. for reusing, maintainable and testable. Following core components are injected into other as dependencies: value: This is a javaScript object used to pass values to controller during config phase. factory: This is used […]

Categories
MySQL

MySQL Best Practices

Sometimes we may face about performance issues while opening a website. Not only databases but we need to optimize our programming code also. MySQL Best Practices means few tips to optimize the MySQL query: Avoid SELECT * and use particular fields from a table what you require. Use ENUM rather than VARCHAR because ENUM type […]

Categories
Creative blog

Robots.Txt: stops search engine bots to crawl part of your blog

Using robots.txt file you can give instructions about their site to web robots. While search engine bot comes to your blog they have limited resources to crawl. So after certain crawling they stop and you website may not indexed. Sometimes there may be some folder or pages you do not want to crawl. For example […]

Categories
Creative blog Google Adsense

10 mistake how Google Adsense get banned

Google Adsense is very strict and you can get blacklisted at any time by misuse like invalid click, copyright etc. Here are top 10 things by which Google Adsense get banned, so you should avoid this. Paid Traffic: Buying traffic is not allowed according to Google Adsense terms of services. Copyright content: Distributing copyright content […]

Categories
Creative blog

BackLinkWatch: Find Backlinks with Anchor text

Back Links are link to your website from another website. If your page has more backlinks then your page has better pagerank. It indicates us how popular website is. One easy way to increase your backlink count is while posting in other blog, leave you website link with Dofollow attribute. BacklinkWatch is an online free […]

Categories
Google Adsense

What is CTR in Google Adsense?

For online internet marketing CTR holds a good responsibility for advertisers and publishers. For generating money CTR plays an important role. Click Through Rate is nothing but number of times an advertisement is clicked divided by number of time page advertisement is viewed. So it is the percentage of number of clicks on advertisement and […]

Categories
Creative blog

Backup Your BlogSpot Blog

Google blogger or Blogspot is one of the top free blogging platform where you may have your own blog for articles without any cost. But it has many limitations because as Google is the owner of this blog so only Google has the right to do many things. Starting a blog on Blogger.com is very […]

Categories
jQuery

jsPDF : client-side javaScript PDF generation

It is an open-source HTML5 client-side solution for generating PDF documents using JavaScript. Browser compatibility: IE6+*, Firefox 3+, Chrome, Safari 3+, Opera. source: http://jspdf.com/ DOWNLOAD

Categories
jQuery

jQuery document viewer

jQuery document viewer is a jQuery plugin which allows you to view directly several file formats in a webpage. Supported file formats are: PDF Files Audio: mp3, m4a, oga, webma, fla Video: m4v, ogv, ogg, webmv, flv Images: png, jpg, jpeg, gif This uses the following 3rd party utilities: jPlayer pdf.js Google Code Prettify Flowplayer […]