What is Framework
One of the concepts that software developers are often familiar with is the framework. Frameworks, also known as libraries, are structures developed to complete the project faster. Since these pre-prepared structures will facilitate the developed project, many frameworks have been developed today.
What is the use of Framework?
As we mentioned above, the structures that reduce the software languages to their simplest form and accelerate the work are called frameworks. Inferring from this sentence, if you are doing a development process and having the structure you will add to your project ready in the framework, your code writing process will be reduced to almost one line. This process will directly ensure that the project is completed more quickly.
To explain the frameworks with an example, let's assume that you are performing database operations, membership, registration etc. using PHP language. Doing these operations using only PHP will take your time. Many frameworks have been developed using the PHP language to overcome this problem. Examples of these frameworks consisting of ready-made structures are Laravel, Codeigniter, Yii. By using these libraries, you can perform the operations I mentioned above more quickly. Also, if you want to have detailed information about Laravel, one of the PHP libraries, I recommend you to take a look at our previous article.
How to Use Framework?
If you wish, you can learn how to use frameworks, one of the most preferred libraries of the CSS language. Let's explain it through the Bootstrap library.
Bootstrap, one of the libraries frequently preferred by web developers, was developed by Twitter. Since it contains many ready-made structures, this library is increasing its preference rate day by day. Calling ready-made classes has made things much easier for developers who do this. At the same time, mobile compatible websites have been made more easily by using Bootstrap. The fact that the library is open source is also an indication that it can be easily changed. In other words, you can easily edit the features you do not like in the library by entering them into the codes.
Advantages of Using Framework
It saves you time while the project is being developed.
It is safe because it is constantly tested.
It is very effective in writing cleaner code.
It adds value to the project.
It is up to date because it is constantly being developed.
It makes the project developed as a team more effective.
It provides some convenience to those who want to write components.
Disadvantages of Using Framework
It is slower than writing normal code.
Your programming knowledge declines because you are put on the spot.
One mistake and the project may fail.
It may take time to learn.
If the library has a cumbersome structure, it may slow down the performance of the project.
When and by Who Should Use Framework?
The saying "There is no need to reinvent America" is exactly what it says. It summarizes why frameworks should be used. After learning a language, you should use libraries developed using that language so that the project you will carry out in that language can be completed more quickly and practically. This will save you a lot of time. But whether you use frameworks or not is up to your choice. If you know OPP, or Object Oriented Programming, you may need to use a framework, and if you are developing by a team, you may need to use a framework so that the project can progress more regularly. You can see below which framework you may or may not prefer.
Interface Frameworks
Developers who use the CSS language to create cleaner and more beautiful works have easily carried out many design operations through this language. However, repeating the steps repeatedly will take time. For this reason, some libraries have been developed to make operations faster while developing the interface. You can review these libraries below.
CSS Frameworks
Bootstrap
Foundation
Kube
Pure
Skeleton
Using only the above libraries is insufficient to make the design functional. You can easily overcome this problem through the Javascript language. With this language, you can make animations or make your site more dynamic. But you can only develop by using this language.Cultivating will make your job harder. You can eliminate this difficulty by using the following libraries.
Javascipt Frameworks
JQuery
AngularJS
VueJS
ReactJS
TypeScript
NodeJS
Backend Frameworks
The operations performed while developing a project are not limited to the front end. There will definitely be a back side to the process. Some libraries have emerged to facilitate the work done in this background. You can review them by language below.
PHP Frameworks
PhalconPHP
Laravel
Symfony
Yii
Codeigniter
C# Frameworks
ASP
ASP.NET
Python Frameworks
Django
Flask