General guidelines to write clean, secure and easy to maintain code

Any fool can write code that a computer can understand. Good programmers write code that humans can understand—Martin Fowler

Web programmers write code to create software, application for business purpose. If we do not maintain a general coding guideline, we don’t recognize our own code after few months. After all we are human not a typist. So from the beginning of our career we should follow some good coding practice. In this article, I will share my experience and knowledge about general rules of writing good, clean and secure code. If you’re a developer or designer, please follow below points from your next project and you will surely see some difference in your code.
(more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Few techniques to save time for web design and development

As we all know time is money, so time management in all aspect is good for a professional person as well as for general persons.  If we always maintain our regular task on time, it will help us to grow our confident. It will give us some opportunities to learn about more new technology and plan for future. Now if we think about web developer & web designer, they must know how to save time when they work for client’s project as well as personal task. Here I will share some ideas and techniques which will save time for their work process and produce a better work output for small as well as big projects. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

How to set height of div equal to another div

Hello friend, welcome to my blog post how to set a height of div equal to another div jQuery. Suppose you have two div, div left and div right, now you need to set a height of left div according to your right side div height. How can you do this? You can do this by below method. At first, calculate the height of right side div using a jQuery function height. Then set this height into your left side div height. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Detecting Mobile and Tablet Users using PHP

Hello, welcome to my another blog post how to detecting Mobile and Tablet users using PHP and redirect them accordingly. Today I will show you how to detect your website visitors device and then do your steps accordingly. If you create two sites, one for a desktop user and another one is for mobile and tablet user, this script will do the redirection job for you. Here I create two simple functions, one for mobile device and another one is for a table. Both functions check the visitor browser type and give you information about user device. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Calculate distance between two lat long points php

Hello friend, welcome to my blog post how to calculate a distance between two lat long points PHP. Today I will give you a very interesting script to calculate a distance between two lat long. If you want to create listing and searching website like www.groupon.com or this types of websites you need this code. Using this code you can show the distance between customer and service provider or filter your area within a distance. Using the visitor IP address you can get visitor latitude, longitude and using service provider address you can get the latitude and longitude of the service provider. The using the below function you can get exact distance between to location. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

How to set custom page title for homepage WordPress

Hello friend, welcome to my blog post how to set custom page title for homepage WordPress. When we use a wp_title() function inside title tag and set a custom page template as a front page then we will see a blank page title in your page source code and see your domain name like www.example.com into your page title. So you need to set a custom page title for the homepage. So we can use WordPress filter hook to set page title. The wp_title filter is used to filter the title of the page (called with wp_title()). This filters the text appearing in the HTML title tag (sometimes called the “title tag” or “meta title”), not the post, page, or category title. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

How to add CC and BCC mail id in Contact Form 7

Hello friend, welcome to my blog post how to add CC and BCC mail id in Contact Form 7. Contact Form 7 is the most popular dynamic from builder plugin in WordPress. It has all the functionality to manage your form. But do you know how to add CC and BCC email address in Contact From 7. If not then please follow the below instruction to add CC and BCC email address into your form. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Increase subscribers list for your website

Hello friend, welcome to my blog post how to increase subscribers list for your blog. In today’s world if you want to increase your website visitors then it is necessary to create a huge email subscribers list. Because every person use email and they check it every time. A strong mailing list can give more traffic and increase conversions or sell product on your site. (more…)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •