B
B
BonBon Slick2016-04-25 21:52:17
PHP
BonBon Slick, 2016-04-25 21:52:17

Do we need FrameWorks?

Hey! I need a site that will grow a lot in the future (a lot of features), I +- own bootstrap / Laravel. The question is, is it worth using them on a personal site, where there will be a high load of traffic and own features every day, or is it worth using clean code, without frameworks? What do you think? What do you advise?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
S
Sergey, 2016-04-25
@BonBonSlick

which will grow strongly in the future (a bunch of features)

1) you can mess up anything, with a framework, without a framework, the level of technical debt will still be high, you won’t write tests (because why), and therefore you won’t refactor (because there’s no time anyway - features need to be cut).
2) "high load" is a relative concept. In the vast majority of projects, buying a couple more servers is cheaper (time is money). If you were so worried about performance, then you would choose a different programming language. And so, even with laravel and other very bold frameworks, you can easily achieve a request processing time of <100ms
3) Instead of cutting features, you want to create your own framework (one way or another, you will form your own layers for working with the base, your own abstractions over HTTP, etc.). In principle, you can use ready-made components, but this should be done when you grow out of frameworks (that is, after 5 years of using ready-made ones, and preferably more than one framework).
Then make your own choice. This is your personal project and you take all the risks.

F
FoxInSox, 2016-04-25
@FoxInSox

is it worth using clean code, without frameworks?

I'm afraid in your case it will turn out to be govnokod, and not "clean code". So use frameworks if you want to at least do something.

A
Alexander N++, 2016-04-25
@sanchezzzhak

Why not? if it saves time. It is necessary to solve problems as they become available, when there is a load, then you will solve the problem.
Everything must be fired first.

V
VZVZ, 2016-04-25
@VZVZ

There are no sites without frameworks.
There are sites on ready-made frameworks or sites on self-written frameworks.
There are also shitty sites, but they are not sites.
Should I explain to you why this is so, why 1 line of code is better than 3, why 2 function arguments are better than 5? If you just can’t take and understand what others will tell you, then try it on your ass, maybe then you will at least understand what a site without a framework and without a CMS is.
> clean code
Clean shit? Is it like bees versus honey?

A
Alexander, 2016-04-25
@lasmaster

If you owned Laravel (as you write), then this issue would not arise at all.

T
trevoga_su, 2016-04-25
@trevoga_su

I would advise you to use YOUR frame, but it can take a VERY long time to develop it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question