Tuesday, January 7, 2020

Search Engine Optimization


             
What is SEO / Search Engine Optimization?
SEO Stands for Search Engine Optimization which is a component of Search Engine Marketing, Search Engine Optimization is essentially the practice of increasing the quality and quantity of visitors to a website through the Organic Search Results.
How SEO Works?
You may think of a Search Engine like Google of a website where you search magically for answers to your homework problem or to find a local service pro.

That’s 100% true, but there is a lot more put into this magical search, and that’s exactly what we’re going to talk about here.
Google, for example (or any other search engine), crawls the sites across the internet. Once content across the internet is crawled by the Google search engine, it results in an index. This index is then put into an “Algorithm” Since Google is the largest and most used search engine on the internet, the algorithm is much much more competitive due to the amount of creators or websites being indexed.
MOZ has a phenomenal image that will help you understand the search engine aspect of Search Engine Optimization, a group of experts grouped the factors this way:
What is the Google Algorithm?
If you want to stay on top of the trends, you need to understand the concept of algorithms and how Google changed them over the years.
By definition, an algorithm is a set of rules designed to solve a problem in a finite number of steps. The definition applies to every algorithm, including Google’s, which basically means that the platform uses a highly specific formula to identify the most appropriate search results for each query.
Given that Google typically changes its algorithm 500 to 600 times a year, it is essential to track progress and react promptly. It’s impossible to explain the entire history of Google algorithms in one post, but we can point out the most important updates:

  • Google Panda: Google released the Panda update in 2011 to reduce the influence of low-quality websites and boost the ranking of pages serving top-notch content. The point was to undermine sites with lots of duplicate content, low value, ads, and so on.
  • Google Penguin: Google released the Penguin update in 2012 to focus on sites with a huge number of irrelevant inbound links. From this point on, it was much more difficult to boost ranking by buying backlinks or generating them artificially.
  • Google Hummingbird: Google released the Hummingbird update in 2013 and it turned out to be the most influential change of all. Namely, the new algorithm has been designed to accurately interpret user intent and the true meaning behind search phrases, thus enabling Google to find better results and improving ranking results.
  • Google Pigeon: Google released the Pigeon update in 2014 with a highly specific goal in mind and that was to improve location-based search results. The algorithm takes into account maps and local directories to give more precise location-specific information.
  • Google Fred: Google released the Fred update in 2017 but refused to make any comments about it.

  • You can learn more about the google algorithm here.

    Sunday, January 5, 2020

    Computer & LAPTOP AMC


    Prime Programmer also deals in Computer & Laptop AMC. In here we offer the best Computer AMC companies and assist you with the set-up and installation procedures.
    We offers laptop AMC services and assistance that includes laptop information retrieval, virus separation, motherboard repair, hard road repair, antivirus facility, code installation, laptop door repair and many more services.
    We have several plans for AMC of laptops and you will decide the organization according to the requirement. We offer assistance for all Marques of laptops including Dell, Acer, Samsung, Compaq, Sony, Toshiba etc.
    We offer best AMC services and our programs are really adaptable according to individual requirements. You will select the best suited idea and enjoy our delivery. Enjoy the hassle free content with us.

    We are called the greatest service provider for computer AMC (yearly care Contract) . Our aggregation is accouterment AMC company for computers to our loved people at actual fair cost.
    We initiate Annual care bid for computer AMC companies computer , too as for laptops. Using newest and innovative software, we provide full result of computers on the basis of annual contract. Our experts assure to keep the practicality of machine to ensure smooth execution.
    Enlisted amid some of these important job families, we are methodically involved in rendering machine and Laptop AMC company. Rendered as per changed protocols, these presented services computer networking results are hugely appreciated and advocated owing to their adaptability, dependability and completion promptly.
    More to that, their cheap taxes have given us the recommended market option.

    Monday, October 14, 2019

    Patterns Program in C language type 2

    Patterns Programs in C language


    /*C program to print following Pyramid:
    *****
    ****
    ***
    **
    *
    */
    
    #include<stdio.h>
    
    #define LIMIT 5
    
    int main()
    {
     int i,j;
    
     for(i=LIMIT; i>=0; i--)
     {
      for(j=0;j<=i;j++)
      {
       printf("*");
      }
      printf("\n");
     }
        return 0;
    }

    How will you print pyramid

    /*C program to print below Pyramid: */
     
    #include<stdio.h>
     
    #define LIMIT 5

    int main()
    {
        int i,j;

        for(i=0; i< LIMIT; i++)
        {
            for(j=0;j<=i;j++)
            {
                printf("*");
            }
            printf("\n");
        }
        return 0;
       
    }

    Tuesday, October 1, 2019

    Easy pay ICICI payment gateway Integration (PHP)

    Hello All

    Make class for payment gateway integration

    <?php

    class Eazypay
    {
        public $merchant_id;
        public $encryption_key;
        public $sub_merchant_id;
        public $reference_no;
        public $paymode;
        public $return_url;

        const DEFAULT_BASE_URL = 'https://eazypay.icicibank.com/EazyPG?'; // Default URL from icici bank

        public function __construct() // define constructor
        {
             $this->merchant_id              =    '2360431'; //'Merchant Id';
            $this->encryption_key           =    '1162123812011105500';//'AES KEY';
            $this->sub_merchant_id          =    '1234';
            $this->merchant_reference_no    =    'Reference Number';
            $this->paymode                  =    '9';
            $this->return_url               =    'http://xyz.com/pages/success'; //'Return Url';
        }

        public function getPaymentUrl($amount, $reference_no, $optionalField=null)  // encrypted url
        {
            $mandatoryField   =    $this->getMandatoryField($amount, $reference_no);
            $optionalField    =    $this->getOptionalField($optionalField);
            $amount           =    $this->getAmount($amount);
            $reference_no     =    $this->getReferenceNo($reference_no);

            $paymentUrl = $this->generatePaymentUrl($mandatoryField, $optionalField, $amount, $reference_no);
            return $paymentUrl;
            // return redirect()->to($paymentUrl);
        }

        protected function generatePaymentUrl($mandatoryField, $optionalField, $amount, $reference_no)
        {
            $encryptedUrl = self::DEFAULT_BASE_URL."merchantid=".$this->merchant_id."&mandatory fields=".$mandatoryField."&optional fields=".$optionalField."&returnurl=".$this->getReturnUrl()."&Reference No=".$reference_no."&submerchantid=".$this->getSubMerchantId()."&transaction amount=".$amount."&paymode=".$this->getPaymode();

            return $encryptedUrl;
        }

        protected function getMandatoryField($amount, $reference_no)
        {
            return $this->getEncryptValue($reference_no.'|'.$this->sub_merchant_id.'|'.$amount);
        }

        // optional field must be seperated with | eg. (20|20|20|20)
        protected function getOptionalField($optionalField=null)
        {
            if (!is_null($optionalField)) {
                return $this->getEncryptValue($optionalField);
            }
            return null;
        }

        protected function getAmount($amount)
        {
            return $this->getEncryptValue($amount);
        }

        protected function getReturnUrl()
        {
            return $this->getEncryptValue($this->return_url);
        }

        protected function getReferenceNo($reference_no)
        {
            return $this->getEncryptValue($reference_no);
        }

        protected function getSubMerchantId()
        {
            return $this->getEncryptValue($this->sub_merchant_id);
        }

        protected function getPaymode()
        {
            return $this->getEncryptValue($this->paymode);
        }

        // use @ to avoid php warning php

        protected function getEncryptValue($str) // Encryption method
        {
            $block = @mcrypt_get_block_size('rijndael_128', 'ecb');
            $pad = $block - (strlen($str) % $block);
            $str .= str_repeat(chr($pad), $pad);
            return base64_encode(@mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $this->encryption_key, $str, MCRYPT_MODE_ECB));
        }
     
     
     
        //Plain URL for Eazypay
     
        public function BasegetPaymentUrl($amount, $reference_no, $optionalField=null)
        {
            $mandatoryField   =    $this->BasegetMandatoryField($amount, $reference_no);
            $optionalField    =    $this->BasegetOptionalField($optionalField);
            $amount           =    $this->BasegetAmount($amount);
            $reference_no     =    $this->BasegetReferenceNo($reference_no);

            $paymentUrl = $this->BasegeneratePaymentUrl($mandatoryField, $optionalField, $amount, $reference_no);
            return $paymentUrl;
            // return redirect()->to($paymentUrl);
        }

        protected function BasegeneratePaymentUrl($mandatoryField, $optionalField, $amount, $reference_no)
        {
            echo $encryptedUrl = self::DEFAULT_BASE_URL."merchantid=".$this->merchant_id."&mandatory fields=".$mandatoryField."&optional fields=".$optionalField."&returnurl=".$this->BasegetReturnUrl()."&Reference No=".$reference_no."&submerchantid=".$this->BasegetSubMerchantId()."&transaction amount=".$amount."&paymode=".$this->BasegetPaymode();

            return $encryptedUrl;
        }

        protected function BasegetMandatoryField($amount, $reference_no)
        {
            return ($reference_no.'|'.$this->sub_merchant_id.'|'.$amount);
        }

        // optional field must be seperated with | eg. (20|20|20|20)
        protected function BasegetOptionalField($optionalField=null)
        {
            if (!is_null($optionalField)) {
                return $optionalField;
            }
            return null;
        }

        protected function BasegetAmount($amount)
        {
            return $amount;
        }

        protected function BasegetReturnUrl()
        {
            return $this->return_url;
        }

        protected function BasegetReferenceNo($reference_no)
        {
            return $reference_no;
        }

        protected function BasegetSubMerchantId()
        {
            return $this->sub_merchant_id;
        }

        protected function BasegetPaymode()
        {
            return $this->paymode;
        }

     
    }


    In PHP file you have to call class and pass values

    $amount = 10;
        $refrenceNo = substr(sha1(time()), 0, 16);  //stands for order id or any other related to database table
        $optionalField =  '10|10|10|10';  //must be pass in pipe delimeter based on icici eazypay payment integration kit

    //echo $optionalField;die;
        $base=new Eazypay();
    // $baseurl=generatePaymentUrl();
    $baseurl=$base->BasegetPaymentUrl($amount,$refrenceNo,$optionalField);
    echo "<br>Plain URL: ".$baseurl;
                     $url=$base->getPaymentUrl($amount,$refrenceNo,$optionalField);

    echo "<br><br><br>Encrpyted URL: ".$url;
    //$this->redirect($url); this url
     //print_r($url); die;


    Regards

    Prime Programmer

    8795202855

    Wednesday, February 20, 2019

    Tools For Website

    Every Business man needs some kind of magic to generate link. , and they also move for quick action.

    Here we discuss about some tools to grow business.

    1. Website

    2. Digital Marketing(Bulksms, Facebook Marketing, Twitter, Google Adwords. etc)

    For startup and small business man we have a plan for website.

    By using this tool every business achieve success.

    Search Engine Optimization

                  What is SEO / Search Engine Optimization? SEO Stands for Search Engine Optimization which is a component of Search Engi...