C
C
colorkid2017-10-21 18:11:21
Programming languages
colorkid, 2017-10-21 18:11:21

Php or any other server language for FrontEnd. What is the required minimum?

Hello. There was a question about the need for knowledge and skills of server programming languages ​​for a Front-end developer. I understand that it is not necessary to know the subtleties from and to, but still ...
Please describe the sections and levels in php, for example, which can really be useful to front in work and what (most importantly) will increase its value in the market?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
Zlatoslav Desyatnikov, 2017-10-21
@colorkid

If you plan to deal only with the frontend, then it is enough for you to know the structure of template engines (in the case of server-side rendering of pages) and the protocols for interacting with the server in the case of client-side rendering: rest, graphql.
You shouldn't learn server languages, it's better to upgrade your skills in the front-end: use fashionable and good tools, improve the quality of the code both in terms of efficiency and codestyle. Learn git if you haven't already.

S
Stalker_RED, 2017-10-21
@Stalker_RED

Syntax basics, loops, the ability to access data in arrays and pull object methods, date formatting, the ability to correct the path to resources, if necessary. In general, the ability to write something like this:

<div class="articles">
<? foreach($articles as $article) { ?>
    <div class="article">
       <h1><?=$article->getTitle()?></h1>
       <img src="/oldimages/<?=$article->getImg()?>">
       <span class="date"><?=date('Y-m-d', $article->getPublicationDate())?></span>
    </div>
<?}?>
</div>

The list is certainly incomplete, you can develop the skill until you turn into a backender :)

P
Puma Thailand, 2017-10-22
@opium

if you are a pure fronter, why the hell do you need a backend language?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question