S
S
Snort2015-12-08 07:25:46
PHP
Snort, 2015-12-08 07:25:46

What's wrong with pure php?

I write all my projects in pure php, now I decided to find a new job and everywhere in the requirements of knowledge of any framework, and sometimes several at once. Why is pure php not valued, but only frameworks are required, because for a normal specialist it will not be difficult to learn a new syntax and switch to it.
PS
I do not impose my own code, and do not invent bicycles. Yes, I have my own developments that are more convenient for me to use, but in style, my code is still similar to other popular "bicycles". And about the complexity of support, everything depends on the programmers, you can write bad code on frameworks.

Answer the question

In order to leave comments, you need to log in

10 answer(s)
P
Puma Thailand, 2015-12-08
@opium

write too slowly
, the framework does half the work for you, if not more.
when a programmer makes a prototype in pure php in a week, and in a framework in a day, the conclusion is obvious, it’s simply not profitable to hire you.

D
DrunkMaster, 2015-12-08
@DrunkMaster

Because a framework is a basic code standard already present. Everyone knows what routing is there, what models, etc., and for your personal pure php, documentation is also needed for another developer, and this is already a standard.

A
Alexander, 2015-12-08
@Sassoft

Try framev, everything is already invented for us. Our task is to write business logic for the customer and not bother with routes, writing bare sql or user authorization systems.

I
ILoveYAnny, 2015-12-08
@ILoveYAnny

It all depends on the project, 70 percent of employers just after reading fashionable resumes enter the framework there when they have a site on Joomla 1.5. Or HRs are not far off, who do not understand anything in the IT field, just download a resume and copy-paste. In my job description, one of the items is something like:
"-compliance with generally accepted Internet norms and maintaining favorable trends on the Internet"
Here are the same people who write this write about frameworks. I recently started thinking about learning JS frameworks and did some digging. And I came to the conclusion that this is justified when you develop a large service, that is, you do not have a website in your browser, but you can say that software, such as Google Adwords or Azone. If you don’t have a service but a website, especially not specific in terms of functionality, then the tasks of the frameworks are performed by your CMS.

D
dmitriy, 2015-12-08
@dmitriylanets

because you work alone and most likely support the code yourself, and in offices it makes sense not only to write code, but also to support, improve by other developers. Therefore, frameworks not only provide functionality, but also dictate the development rules.

A
Alexey Ukolov, 2015-12-08
@alexey-m-ukolov

Because the main thing in frameworks is not syntax, but patterns, and you can’t learn them in a week.

A
Alexey, 2015-12-08
@alex-saratov

I write all my projects in pure php

Worthy, because it requires knowledge of the language, but.....
Frameworks are not written by one person and take into account many factors, including vulnerabilities (some even involve third-party testers to identify vulnerabilities). The framework at least solves the problem of inventing a bicycle, which, as you know, has already been solved. Another thing is if you write in pure PHP and your work is your own framework, then give it a "name" and write it in your resume (if you are sure that your code is safe).

A
Andrey Pavlenko, 2015-12-08
@Akdmeh

To the above. If you hire you, then in addition to paying for the site itself, he must pay for your time to develop the site core, framework, CMS, etc.
If you hire someone who owns the framework, the customer pays only for the development of the site.
Elementary:
you can make a simple blog on Yii2 in an hour or two. The same development from scratch in vanilla PHP can take half a day and the functions will be missing (there will be no form validation without reloading, etc.)

6
65536, 2015-12-08
@65536

Do you also write yourself?

T
trevoga_su, 2015-12-08
@trevoga_su

Yes, I have my own developments that are more convenient for me to use, but in style, my code is still similar to other popular "bicycles".
it's much easier to work with your own code, no doubt.
in fact, writing something of your own that did 90% of the tasks is quite simple. the question is simply that there is programming as a hobby, but there is a real market and business. and your code didn't give a fuck about this business for the reasons stated above. that is life.
if you want to abstract from frameworks - go to large self-written projects or do something of your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question