What are gitHub, gitLab and bitBucket? How does gitHub work?

gitHub, gitLab and bitBucket are some of the most popular web-based hosting services in our Git repository. They have a web-based graphical interface with all the benefits of the git tool and clients for desktop and mobile. Simply put, services like gitHub, GitLab, and bitBucket are a great place to share your code with friends, colleagues, classmates, and even complete strangers. This does not mean that if you use these hosting services, others will know everything about you. Such a public repository can be opened here. In the same way, if you want to protect the privacy of your code, you can open a private (unlimited or limited number of free) repository. Many open-source projects continue to work with their huge community using these hosting services (gitHub, GitLab, and bitBucket). They do not require an account for anyone to read the public repository’s code, and the entire repository can be cloned to one’s own PC with the click of a mouse. You usually need an account to open a repository in these then you can open public or (unlimited or limited number of free for a small amount of money) private repository. You can put code of many projects in these hosting services. You can put the code of one of your projects in a repository. One of the advantages of these hosting services is that the code you type in them can be seen by anyone around the world. Anyone can develop the source code of your application. Since it is an online storage system, you can access it from anywhere and commit to change the code.

Connecting the Git Repository to gitHub:

Now we will connect our Git Repository to one of our GitHub accounts. And for this, you must first have an account on GitHub. Hopefully, you can do this job on your own very easily.

Once the account is created, you need to login to your GitHub account. After login, you will see a plus sign on the top right. Clicking there will open a menu where you will see the text New Repository. Clicking here will take you to the page to create a new repo.

Then first give the owner and name of your repository here. Remember that repository names should be unique and URL friendly. And since the description field is optional, you can give something if you want and you can leave it blank. But it is better to write about repositories in detail than to leave them blank. In the next field, select whether you want to make it a public repository or a private one. However, if you have a free account, you will only have access to the public repository. Now leave the rest of the fields as they are and click on the Create repository button.

Now with the click of the Create Repository button, a new repository will be created in your GitHub.

Now we will see how to connect to our already created Git repository with our created GitHub or push Repository there.

Push on GitHub:

We have to be sure of a few things before pushing to GitHub. That means you have to make sure you have everything committed. Also, need to check if you are in the master branch? You can easily check it with the git status command.

If all goes well, now you need to clone the new repository created in your GitHub as below.

Once cloned, you need to add remote origin in this way

git remote add origin https://github.com/username/git-learn.git

This will basically set the location of the project created in your GitHub. And you only have to add it to your project once, no more pushing next time. That means he will remember from next time. Then you just have to push. Now if you want to push the project, you have to give the following push command:

git push origin master

Or if you want to push a specific branch, you have to give the name of the branch in place of master. For example, the push command for our showTable branch will be as follows:

git push origin showTable

If all goes well, your project will go to GitHub. However, you may need to enter your GitHub username and password here. In this case, you can set up the SSH key for your machine if you want without repeatedly giving the username password while pushing in this way, and if you use SSH, you don’t have to give username and password anymore. If you want to set up SSH, you can take the guide from here.

Pull from GitHub

You may have to pull the project from GitHub for many reasons, many times you do not have the project on your local PC, but previously pushed to gitHub. Again, maybe another collaborator or a team member in your project has pushed it to do something new in your project. Now automatically but that work update will not come from GitHub to your local machine. That’s why you have to pull it from GitHub like this:

git pull origin master

Before you pool, you must see if you have any work left to commit. If so, you have to commit it first. Other than that there may be conflict when pulling a lot of time. This means that many times when two collaborators edit the same file, Git merges those tasks as automatically as possible, much like merging branches. And if there is a conflict, Git highlights the codes of that line with some special writing everywhere. Then we have to go to those places manually and decide which line to put and which line to leave out and then we have to commit the changes again.

Project cloning from GitHub

A lot of the time anyone who is on GitHub has to sit on our local machine to work on any project. Then we have to download a clone copy of that project to our local PC. If you want, you can clone any public project of GitHub like this. For this, first you have to find the link of the clone of the project you will clone. And the cloning link you can go to any project page of GitHub in the top right corner of the project file listing in the button called Clone or download.

However, if you want, you can download the zip file from here. However, the current branch of the GP contains only the files. Git has no configuration. Clone with the command line in git like this:

git clone

Here you first need a git clone then a link to the GitHub repository. You can then enter the name of the directory in which you want to place the project on your local machine. It is optional to give the name of the local directory, otherwise the name of the default repository will be cloned in the directory of that name. Suppose, we will clone this project opensourcepos. So I will open the command line and write the following command:

git clone https://github.com/opensourcepos/opensourcepos.git

Now if you enter, the project will be slowly cloned to your local machine. Now if you want you can go inside it and use Git while working, you can modify the project locally, you can do everything. And this projector remote will be set automatically from where you cloned. If you are not the Collaborator of this project, you will not be able to push remotely, and if you are the Collaborator, you will be able to push this project, any new commitments you have made.

Creating Pull REQUEST on someone else’s project

Suppose you want to contribute to someone else’s project. Fork is a lot like a clone. The difference is that cloning is like downloading a copy to your local machine. But if you fork, the copy will be created in your GitHub account without downloading to the local machine. You can use that copy as your repository. You can also clone that forked repository and bring it down to the local machine. This fork button is located in the top right corner of GitHub’s desired project page.

After being forked, you can now clone from your account and work on it.

PHP Basic Part-1: What is PHP (What is PHP)?

PHP is a server-side scripting language developed by Rasmus Lardorf in 1994. Which is specifically used to create any dynamic and interactive web development or web based software and web based applications. It is now also called General Purpose Programming Language. That is, everything that can be done with other programming languages ​​can be done with PHP. Also PHP is more popular with web programmers as it is open source. However, it is most commonly used for web development, web-based software and web-based applications. PHP also provides maximum security when storing information on the web. PHP can be used in conjunction with HTML. There are many advanced open source content management systems developed using PHP, Ex: WordPress, Joomla are created by PHP. Custom content management systems can be created using PHP. PHP is also widely used in e-commerce, management, online banking software, etc. PHP is a very popular language, according to w3techs, 82% of the world’s web sites use PHP in server side scripting. Currently 90% of freelancers in Bangladesh (i.e. those who work from home and abroad) work through PhP language.

What do I need to know before start learning PHP?

What are the things you need to know about computer programming before learning PHP? What is the web? What is the Internet? There should be ideas on databases, and MySQL etc. Without it, if you know HTML, CSS, you will enjoy learning PHP.

What kind of computer do you need to learn PHP? Which software needs to be installed?

The latest operating systems such as windows-7, windows-8, windows-10 or those that work on Linux, such as: ubuntu-15, ubuntu-16, ubuntu-7 should be a computer that supports any.

What other type of software do you need to install:

  1. Server software such as: XAMPP, WAMP, EasyPHP etc. All of these softwares are free and open source. And these softwares are basically the sum of everything you need for a web development environment setup.
  2. Code writing software such as: SublimeText, VS Code, Notepad ++, NetBeans, Aptana, Eclipse etc. All of these softwares are free and open source.
  3. And any browser to see the output, such as: Mozilla Firefox, Google Chrome, Opera, safari, etc. Those who use Windows OS can continue working with the Edge browser.

What is Laravel Framework?

What is PHP Laravel Framework? To understand that we first need to know what is PHP? And what is the framework?

What is PHP?

PHP is a server-side scripting language developed by Rasmus Lardorf in 1994. Which is specifically used to create any dynamic and interactive web development or web-based software and web-based applications. It is now also called General Purpose Programming Language. That is, everything that can be done with other programming languages ​​can be done with PHP. Also, PHP is more popular with web programmers as it is open source. However, it is most commonly used for web development, web-based software, and web-based applications. PHP also provides maximum security when storing information on the web. PHP can be used in conjunction with HTML. Several advanced open source content management systems (CMS) including WordPress, Joomla are created by PHP. Custom content management systems can be created using PHP. PHP is also widely used in e-commerce, management, online banking software, etc. PHP is a very popular language, according to w3techs, 82% of the world’s web sites use PHP in server-side scripting. To work with the PHP Framework you need to have a very good idea about PHP Object-Oriented Programming.

What is the framework?

Suppose you are a building construction engineer and you are allowed to build a building. You are now given two options:

First, you are given a plot, the architectural design of the building, and all the money you need to build the building and are asked to build a building. But you are not given any of the building materials like bricks, sand, cement, rods, mixers, labor, and all the other equipment, all of which you have to collect or make and use for building work.

And secondly, you are given the plot of the building, the architectural design of the building, building materials such as bricks, sand, cement, rods, mixers, labor, and all the other tools, now you just have to use them to build the building. Which would be a better option for you as an engineer?

Undoubtedly the second. Although it is possible to work with the first one, the biggest problem is that you will need a lot more time here. Which will increase both the time and cost of constructing the building?

In this case, the second option is better. Because everything is already ready here and it will greatly reduce both the time and cost of building your building.

The framework is similar to our second option, where everything is ready for web development, application development, and software development and you just need to know how to use it. This will greatly reduce the time and cost of your web development, application development, and software development. In other words, the framework is a collection of readymade classes and interfaces through which we can do different types of web development, application development, and software development very easily and in less time.

What is PHP Laravel Framework?

We know about PHP and Framework, let’s know what is Laravel? Laravel is currently the most powerful and popular PHP Framework. It is an Opensource Secure PHP MVC Web Framework designed for developers who need a simple and elegant toolkit that can build full-featured web applications. It quickly became popular among various PHP web programmers around the world for its outstanding features. In 2011, Taylor Otwel developed the first Laravel. Currently running version 5.5 of laravel.

What are the things to know before learning PHP Laravel Framework?

Before you start learning PHP Laravel Framework, you must know the following:

  • PHP
  • Object-Oriented Concepts and
  • Clear idea about MVC structure.

Composers must be installed to manage the dependency of the Laravel Framework.

Thank you so much for reading the article, if you like the article please comment and share it with your friends.

What is Web Design and Web Development?

Web Design means what we see on websites, determining what a website will look like or what it will look like in general. As a web designer, your job is to create a complete web site template. For example, what will be its layout? Inside the header section, where the menu will be, whether there will be a sidebar, how to display the images, etc. In other words, it is the job of the web designer to determine how the information will be displayed, regardless of what the website information will be and where it will be stored. And to determine this design you have to use some tools like PHOTOSHOP, GIMP, etc. and some markup and scripting languages like HTML, CSS, and JavaScript, etc. We can also call web designers’ front-end developers.

And web development is the lifeblood of a web site.

Web Development is the process of making every piece of design that a web designer makes functional and dynamic.

A web site can be divided into three parts such as design or template, content management system and database.

A web developer combines these three things to make the whole system active and dynamic.

The job of a web developer is to process data, control the database, build security, control the user and admin capabilities, make all the features of the application functional and dynamic, and control the functionality and usability of the entire system.

If you want to be a good web developer you need to have detailed knowledge about PHP, MySQL as well as HTML, CSS, JAVASCRIPT, JQUERY, Bootstrap.

What will you learn? Design? Or development?

In a word, if you are creative, if your choices are more beautiful than a thousand people, then you can do well in web designing. Otherwise it is better not to go that way. Because it takes one designer as opposed to one hundred developers in the market. This means that there is a lot of competition in the designing sector. On the other hand, to be a web developer, you don’t have to be so creative.

What are the qualifications of a web developer?

  • Personal skills are more important if you want to work as a web developer. In many cases, appointments are made on the basis of personal skills, even if they do not have educational qualifications. However, if you want to work as a web developer, the qualification is institutional, but usually someone with a bachelor’s degree in computer engineering is hired. In some cases you may be hired even if you have a diploma degree in computer engineering. In most cases, degrees in information technology or IT, computer engineering, telecommunication engineering are mentioned. In addition, in most cases, the degree mentioned in the recruitment circular is relaxed for recruitment based on old experience and thorough ideas and knowledge. In many cases, you will be hired based on your coding and programming concept, not just a specific subject but a bachelor’s or master’s degree. In this case, the subject is completely institutional and even if you do not have a degree in computer engineering, you can get a job. While most do not require a degree, in some cases a master’s degree in computer engineering may be mentioned.
  • Experience is important when working as a web developer. Minimum 1 year experience for recruitment is compulsory in most cases. In some cases 4 to 6 years of experience may be required. Usually, if you have 1 to 3 years of experience, you can be hired as a web developer
  • If you want to work as a web developer, the recruitment of female or male candidates is usually mentioned separately and there is no such obligation. Since both men and women carry the same burden of work and money, both men and women can work as web developers without any predominance.

Suppose I learned it well. Where and how to work later?

Online marketplaces such as upwork.com, freelancer.com, fiverr.com web page designers and web developers are in great demand. In these markets you can earn a minimum of ২ 2 to ১০ 100 per hour. Apart from that, you can earn lakhs of rupees every month by selling your web applications in marketplaces like themeforest.net, codecanyon.net. And you can work for thousands of software and web development companies in Bangladesh. The big advantage in this sector is that you can get a good salary job in software companies without having to read and write in computer science.