Backing up your site using git and Makefile

3r37474. Translating a site into a set of static web pages allows you to reduce server load or even use free storage, as well as improve the reliability, speed and security of the site. In this article I will explain how to do this with the help of the familiar tools git and 3r3147. Makefile
. The advantage of this approach is also the ability to control versions of the content of web pages.
 
3r37474. The article describes how to make static versions of web pages for issuance by the server and how to put them in a repository for version control and backup. In this case, static and media ...
+ 0 -

Development of React-applications using ReasonReact

You are using React to create user interfaces? The author of the material, the translation of which we publish, says that he also works with React. Here he wants to talk about why it is worth using to write React-applications. ReasonML .
 
 
Development of React-applications using ReasonReact
 
 
React is a very good tool for developing interfaces. Can I make it even better? In order to improve the work with React, you first need to understand its main problems. In particular, the problem, the origins of which lies in the fact that React is a jаvascript library.
 

 


React and jаvascript


 
If you look closely at React, you ...[/h]
+ 0 -

Closures in JavaScript for Beginners

Closures are one of the fundamental concepts of jаvascript, which causes difficulties for many newbies, which every JS programmer should know and understand. Having well sorted out the closures, you can write better, efficient and clean code. And this, in turn, will contribute to your professional growth.
 
 
The material, the translation of which we publish today, is dedicated to the story of the internal mechanisms of closures and how they work in jаvascript programs.
 
 
Closures in JavaScript for Beginners
 
[h2]
What ...[/h]
+ 0 -

PHP Digest No. 140 (September 17 - 3? 2018)

PHP Digest No. 140 (September 17 - 3? 2018)

 
A fresh selection with links to news and materials. In the release: PHP 7.3 RC? Codeception 2.5 and other releases, typed properties in PHP 7.? the concept of preloading code from Dmitry Stogov, a portion of useful tools, and much more.
 
Enjoy reading!
 
PHP 7.3 RC2 - The second release candidate was delivered to timetable . The next release is expected on 11 October. One more review of innovations PHP ???r3r3502. .
 
PhpStorm 2018.3 EAP
- The early access ...
+ 0 -

Elementary design particles

Elementary design particlesare found.  Honestly, I myself slightly embarrassed to once again talk about Atomic design . About the concept of design systems, says almost everything and, it would seem, there is nothing to add. But wait! After all, the atoms in the real world come from something: protons, neutrons, electrons Is it possible to compare the structure of the atom with the design functional in which we work? I'm sure the answer is positive and that's why   general-fmv © Shutterstock   Now the most interesting. Has anyone already guessed which properties of the design object can be compared with the particles ...
+ 0 -

MVC + Scenario against Thick Controllers

MVC + Scenario Against Thick Controllers
 
Modern PHP frameworks (Symphony, Laravel, further everywhere) convincingly show that it is not so easy to implement the Model-View-Controller pattern. All implementations for some reason are prone to Thick Controllers ( Fat controllers ), Condemned by all, and developers, and the frameworks themselves.
 

Why is it so? And is it possible to cope with this somehow? Let's understand.

github.com .
 
This example is in the directory example MVCS.MVC + Scenario Against Thick Controllers Modern PHP frameworks (Symphony, Laravel, further everywhere) convincingly show that it is not so easy to implement the Model-View-Controller pattern. All implementations for some reason are prone to Thick Controllers ( Fat controllers ), Condemned by all, and developers, and the frameworks themselves.   Why is it so? And is it possible to cope with this somehow? Let's understand. github.com .   This example is in the directory example MVCS...
+ 0 -

Guide to Node.js, part 6: event loop, call stack, timers

Today, in the sixth part of the translation of the guide on Node.js, we'll talk about the event loop, the call stack, about the function process.nextTick () , about the timers. Understanding these and other Node.js mechanisms is one of the foundations for successful application development for this platform.
 

 
Guide to Node.js, part 6: event loop, call stack, timers
 

 
[Советуем почитать]Other parts of the cycle [/b]
Part 1: General information and the beginning of work
 
Part 2: [leech=https://habr.com/company/ruvds/blog/423153/] jаvascript, V? some ...
+ 0 -

A guide to Node.js, Part 5: npm and npx

Today, in the fifth part of the translation of the Node.js manual, we will finish the analysis of the npm capabilities, in particular, we will touch upon such issues as finding the installed versions of npm-packages, installing old versions of packages, updating dependencies, local and global uninstalling packages. Here we will talk about npx.
 
 
A guide to Node.js, Part 5: npm and npx
 
 
[Советуем почитать]Other parts of the [/b] cycle.
Part 1:
General information and getting started

 
Part 2: jаvascript, V? some tricks of development
 
Part 3: [leech=https://habr.com/company/ruvds/blog/423701/] ...
+ 0 -

Digest of fresh materials from the world of the frontend for the last week No. 331 (September 17 - 2? 2018)

We bring to your attention a selection with links to new materials from the frontend area and near it.
 
 
Digest of fresh materials from the world of the frontend for the last week No. 331 (September 17 - 2? 2018)
 
Media | | Web development | | CSS | | jаvascript | | Browsers | | Entertaining
 
 
News 512 - Issue №22 (??? - ???)
 
Podcast Weekly Vue # 5
 
Podcast "Five Minute React" # 48 There are two books : The greatness of Vue.js 2 (The Majesty of Vue.js 2) and the Way to study React (The Road to learn React) - which one will you read and which friend you will advise?
 
• [...
HTML / CSS
+ 0 -