What is HTTP? And what is the difference between GET and POST?

In this  article  we will be  discussing  about HTTP protocol. HTTP is the foundation of data communication for the world wide web. HTTP  stands for “Hyper Text Transfer Protocol”. It was implemented first by Tim Berners-Lee at CERN in 1990.The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers.

HTTP works as a request-response protocol between a client and server.

A web browser using which a request is initiated is called as a client and a web server which respond’s to that request is called as a server.





  • Parameters remain in browser history because they are part of the URL.
  • The GET method is restricted to send upto 1024 characters only.
  • GET can’t be used to send binary data, like images or word documents, to the server.
  • GET method should not be used when sending passwords or other sensitive information.
  • The data sent by GET method can be accessed using QUERY_STRING environment variable.
  • Can be bookmarked.
  • The PHP provides $_GET associative array to access all the sent information using GET method.


  • Parameters are not saved in browser history.
  • The POST method does not have any restriction on data size to be sent.
  • The POST method can be used to send ASCII as well as binary data.
  • The data sent by POST method goes through HTTP header so security depends on HTTP protocol. By using Secure HTTP you can make sure that your information is secure.
  • Can not be bookmarked.
  • The PHP provides $_POST associative array to access all the sent information using POST method.

WordPress is no more just a blogging platform

WordPress is the most popular CMS in the world. 74,652,825  WordPress websites are there in the world. WordPress is popular for blogging in the past. But now WordPress is popular for business, e-commerce, corporate, creative, Directory & Listings, Education, Entertainment etc and so on.

Why WordPress is popular?

WordPress is popular CMS because it’s build with a nice and easy user interface. Anybody can modify or make a WordPress website easily. WordPress is an open source platform, so it’s have a lot free feature for the website needs. WordPress can also handle a lots of web application for multiple purpose.

WordPress have a lot’s of free and premium themes and plugins for different purpose. Anybody can build and grow their own business with WordPress. WordPress also Gives a lot’s of feature for e-commerce platform. Anyone can sell their product easily by using WordPress Plugin called WooCommerce.

WordPress is also very easy for the developers. Developers can easily build their product by using WordPress Action hooks and filters. For developers, WordPress give action hooks and filters for add additional requirement for any websites need.

WordPress websites are increasing day by day because it’s a open source CMS and have a lot’s of functionality for develop multi category Websites.

What is Composer And Why to Use It


What is Composer And Why

Composer is a dependency manager of PHP programming language, which provides a flexible environment to manage project’s dependencies and libraries. It’s quite easier to use to manage the dependencies and libraries of a project. Composer became most essential tools to programmer or web developer who working with PHP.

The main concept comes from Node.js’s “npm” and Ruby’s “bundler“. Nils Adermann and Jordi Boggiano two programmer inspired by npm and bundler and start together and then finally invented the composer at 2012. Actually, they move the PHP world into the new stage.

Composer is working with Packagist (Packagist is the default package repository) and also Github repositories. Anyone can submit their package into packagist.

Before you use composer in your project you have to install composer on your machine. You can go their official website to install composer, they have very clear instruction for installation. Official website address https://getcomposer.org/

After installing composer on your system, then you have to create a composer.json file into the root directory of your project. Write your required libraries or dependencies into composer.json file. You will just have to write your requirements in a valid JSON format.

Sample of composer.json

From the above snippet, you can see I have written some libraries (PHP, Slim, Monolog) as “require” key’s value. And these have some other meta tag tools also, you can learn about them from their official website.

Why to Use It:

Before coming composer, It was really heard to manage the project’s libraries or dependencies. Programmers had to download a library and placed somewhere into their project. They require that where they need that library.

If some cases they had to remove (no longer needed) any dependency they had to delete that from project files and remove from requiring (PHP require).

If they had to upgrade any dependencies, then they had to delete the oldest version from the project and download the newest version. Then placed that into the project and required. they were doing the same thing again and again.

These are too annoying and easy to occurring error/warning.  To overcome this situation every we must have to use composer. I hope you can understand the necessary of Composer.

You can also see the related article Why Should Use Composer and How to Use It

What I learned from my team in the beginning of my job.

I think that as a beginning  label  the most important it is to work  with a team.

When you work individually  you don’t know what you don’t know.  But when you join a team,  your senior  people and your team leader  find out your weak point and they are help  you in proper way  to improve your skill. You don’t know what the senior people know- no matter how good you think you are. It is good to exposure to both the best and the worst of what other people do. You can learn from both.

After learning programming and software development  a beginner  can write code and build project. But  in individual time period  he does not know how to write code in organized way  but if  he does work with a team he can learn from  senior people and team leader how to write aswame code.

We can learn lots of thing  from a team  such as team management system, group working, new technologies, new ideas etc.

What is OAuth And How it’s Work

What is OAuth And How it's Work

OAuth is an authorization protocol which provides ‘secure delegated access’ to resources on behalf of a resource owner. OAuth is a process to authorizing a third party application to using/sharing owners resources such as timeline, post, tweets, profile etc. With the OAuth authentication protocol, a user can give access to another application to use his resources (limited resources) without giving away their password.

OAuth is a standard for authorize and the developer can easily implement it. It’s woking fine with HTTP, authorize drives, API.

In 2006 developers of Twitter and Gnolia met up and discussed on authenticate Internet services. In that time there is no standard for API Access Delegation. So they founded a committee for OAuth and they are making a draft proposal for OAuth. And then in the year of 2010, they released OAuth 1.0 protocol standard under RFC5849.

How OAuth Works:

There are three things needed for an OAuth workflow such as User, Consumer, and a Service Provider. I will use a real life example to explain the workflow of OAuth. In my example, Sohel Rana is a User, Bitly is a Consumer and Twitter is a Service Provider. Let’s go ahead.


Sohel Rana (User): Hello BitlyI would like to give you access to post some tweet on my stream.

Bitly (Consumer): OK, No problem. Then I need permission from twitter for it. Let me asking for the permission.



Bitly (Consumer): TwitterMy user would like to post his tweet on his own twitter stream, So I need a request token for him. Can I have the request token?

Twitter (Service Provider): hmm, ok no problem. Here is the token and secret code for him.



Bitly (Consumer): Sohel Rana, we got the token and secret code for you, Now I am sending you to Twitter for your approval. Please approve that request and keep that token with you and return back to me.

Sohel Rana (User): OK, No problem, I will remember it.



Sohel Rana (User): Twitter, I would like you to authorize this request token which given by Bitly to me.

Twitter (Service Provider): OK, no problem, Just make sure Bitly will get authorization on A, B, and C on your Twitter Account. Do you ensure that?

Sohel Rana (User): Yes I do.

Twitter (Service Provider): Sohel Rana, go back to Bitly let them know Twitter accepted/authorized their request token. Now they can use their request token.



Bitly (Consumer): Twitter, I would like to exchange the request token for the access token, Can I have that?

Twitter (Service Provider): OK, No problem. Here is your access token and secret.



Bitly (Consumer): I want to post Tweet on Sohel Rana’s stream. I have my access token and here is the access token.

Twitter (Service Provider): OK, your tween has been published successfully!
So, these are the working flow of OAuth, I hope this will help you to understand the mechanism the OAuth.