M
M
Michael2017-09-03 09:22:11
Frameworks
Michael, 2017-09-03 09:22:11

Who can explain what a framework "on the fingers" is?

I learn Laravel, Symphony, Ci, Yii2, the main question that takes place is what is it all about? At first I thought that this was a site template that could be edited, now I understand that this is an mvc type structure that helps organize the interaction of components as a complete program. But how it works is not clear to me. Answers like "read the documentation" are not accepted, I don't understand anything there, and I don't understand why make documentation that is simply incomprehensible and unreadable, which it should be.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Fedorov, 2017-09-03
@blackfoxy

This is a set of ready-made scripts connected by one tool, each frame has:
- unified work with GET and POST requests (consider a router)
- a unified system for working with exceptions
- a unified system for working with ANY database (ORM)
- a ready bunch of methods
- authorization
- ready implementation of modules and components
- ready-made implementation of helpers
- ready-made implementation of widgets
- code generators
In short - you make 10-20-100 identical projects, after the first projects your pieces will migrate from one project to another. So the framework is a set of these logically adjusted pieces, developed for a long time and with a large number of man-hours.
there is such a problem, for example, Yii2 has a separate section of the manual stuff.cebe.cc/yii2docs-ru/guide-README.html, and Symfony has a very detailed API
, Laravel only clean dock
such documentation is made for developers , not for beginners, maybe this is a guide, not an alphabet ...
UPD1: A. Makarov (Yii Core Team) spoke well on the dock https://youtu.be/EfL8lsUTlFo?t=2h47m7s

O
OnYourLips, 2017-09-03
@OnYourLips

A framework is the framework of an application. Project architecture agreement.
You either use ready-made or make your own (many people think that they do not use frameworks), or your code is unstructured noodles.
Usually, frameworks also have a set of libraries. And some projects are both frameworks and a set of libraries.

I
iBird Rose, 2017-09-03
@iiiBird

www.dbhelp.ru/what-is-framework/page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question