Useful methods for arrays and objects in JavaScript

The author of the article, whose translation we are publishing today, says that her idea was prompted to him by one of the issues of podcast Syntax FM , which gave an overview of useful methods of objects and arrays in jаvascript. These methods help developers write clean and readable code. Their use reduces the need for third-party libraries like Lodash .
 
 
Useful methods for arrays and objects in JavaScript
 
Array.prototype.filter ...
+ 0 -

CSRF vulnerabilities are still valid

CSRF vulnerabilities are still validCSFR (Sross Site Request Forgery) in translation into Russian is a forgery of cross-site requests.
Mikhail Egorov
( .0ang3el ) In his report at 3-3r38. Highload ++
2017 talked about CSRF-vulnerabilities, about what protection mechanisms are commonly used, and how they can still be circumvented. And in the end, he brought a number of tips on how to properly defend against CSFR-attacks. Under the cut decoding of this speech.
 
 
+ 0 -

The practice of using proxy objects in JavaScript

Perhaps you've heard that new objects have appeared in jаvascript ES6 - the so-called proxies. Those who know what proxy objects are and can work with them, they can bring a lot of benefit. Today we publish a translation of the material, which is aimed at explaining to everyone who wants to work with JS proxy objects on a lot of examples.
 
 
The practice of using proxy objects in JavaScript
 
 
Also open our previous post in the new tab: jаvascript-proxy: and beautiful, and useful
 
...
+ 0 -

How to customize the reference block in a group in VKontakte

How to customize the reference block in a group in VKontakte

 
Content, though the king, but to attract the audience into your publics, one is not enough. Good design of groups, suitable high-quality images, tailored to the specifics of the social network - play an equally important role in the promotion of your accounts.
 
On the example of our group in Vkontakte, I want to show how you can nicely design a link unit.
 
Postman , which allows you to make requests to the server and pass the necessary parameters.
 
 
Chrome browser, you can and any other, but it has a convenient built-in development tool. Right-click and select "Inspect" in the context menu ...
+ 0 -

How to deploy artifacts Adaptavist ScriptRunner

How to deploy artifacts Adaptavist ScriptRunner In the software development process, several environments are commonly used: environments for development, testing, and industrial use. In this article, we'll talk about how to transfer the Adaptavist ScriptRunner artifacts between the Atlasian Jira environments.
 
 
The source code of the plug-in developed in this article can be viewed here .
 
here . An example of a script plugin can be viewed ...
+ 0 -

Summer vacation: how not to worry about the work of your site in vain

Soon the summer, and everyone wants to rest. But, as statistics show, not everyone can afford it, and it's not only and not so much in the means. And then, to go to the seaside, but sitting there with a laptop in the room, solving the questions of the category "without-me-not-sort it out" is also a rather popular approach. What to do? Delegate, delegate and delegate. Why a full vacation is so important, and how can you take care of sites /servers with a special site accessibility monitoring service - We will tell below.
 
 
Summer vacation: how not to worry about the work of your site in vain ...
+ 0 -

A guide for promises for those who want to understand them

The forest is wonderful, dark - look deep.
 
But first I'll return all my debts
 
And many miles, until I fall asleep,
 
So many miles, while I fall asleep

 
Robert Frost
 
 
A guide for promises for those who want to understand them
 
 
Promises are one of the most remarkable innovations of ES6. jаvascript supports asynchronous programming through callback functions and using other mechanisms . However, when using callback functions, we encounter some problems. Among them - " hell callbacks "And" ...
+ 0 -

How to pack three large banks in one site

Until recently, the site vtb.ru fully met the requirements of VTB Bank. But after the accession of the Bank of Moscow and VTB2? it began to cover only a small segment of the expanded array of products and services. Own sites of the Bank of Moscow and VTB24 were to eventually cease to exist. So we had to figure out how to connect all the information so that the user could clearly understand what was happening on his display. In this post we will tell you how to solve this problem and came to the updated vtb.ru, launched in the beginning of the year.
 
 
How to pack three large banks in one site ...
+ 0 -

Figma - we make the system design

Figma - we make the system design
 
 
Greetings to you colleagues! My name is Dmitry Volkov and I have been working in the profession for more than ten years. I decided to write an article for those who create web and mobile design in modern programs.
 
 
Very often there is a problem when the designer made a source code, with which it is hard to work as a developer, and to another designer.
 
 
Therefore, I will share my personal experience in the development of interface design using the example of the popular editor of Figma.
 
 
I will not tell you about Figma, since there are already many articles on this topic. I just want to draw ...
+ 0 -

What has more conversion, design lending approved by the customer, or a simple short page with the

What has more conversion, design lending approved by the customer, or a simple short page with thearea. Beautiful long landings developed by marketing agencies do not always have a big conversion than simple, half-empty pages with a deal and basic information. Wooden houses on a turn-key basis - The business packaging was carried out, the advantages of the customer were found, according to them we developed a page layout for which 4 specialists were involved who made this beauty.  Houses made of foam blocks under the key - The page was created in 1 hour, according to the layout (the first screen, 12 typical projects, a small article of frequently asked questions and the form of capture)...
+ 0 -