Another way to use Webpack 4 and code division is

Prehistory
 
It's no secret that with the release of Webpack 4 the strategy of code sharing has changed dramatically. It's even better to say that it was re-invented, because the old approach simply stopped working, and the new one is not clear how to use it.
 
For those who still do not know, plugin webpack.optimize.CommonsChunkPlugin is no more. Absolutely. Instead, it is suggested to write in the config. following :
 
module.exports = {
//
optimization: {
splitChunks: {
chunks: "all"
}
}
//
}

 

This should work like magic. Those. now we do not tell the webpack what ...

+ 0 -

Single page on Kotlin and SpringBoot without using JSP

Disclaimer [/b]
The author is not a prog, he can not cipher
 
I'm not a guru or cool specialist in either Kotlin or Spring, nor in any other technology used in this article. I'm an ordinary java junior who decided to try out kotlin. Everything is done in Sapsan on the knee on the road with techtrain
 

For whom


 
For java developers who only heard about the boiler, but his hands still did not touch
 

For what is


 
Show that kotlin works fine with spring boot, and in combination with DSL in the part of working with html to be more convenient than the classical approach with jsp.
...[/h][/h]
+ 0 -

Digest of fresh materials from the world of the frontend for the last week № 329 (August 27 - September ? 2018)

We bring to your attention a selection with links to new materials from the frontend area and near it.
 
FYI: There will not be a digest next week due to the vacation.
 
 
Digest of fresh materials from the world of the frontend for the last week № 329 (August 27 - September ? 2018)
 
Media | | Web development | | CSS | | jаvascript | | Browsers
 
 
# 68 - Egor Bugaenko about how and why you need to distinguish yourself from the crowd of other programmers
 
...
HTML / CSS
+ 0 -

Dracula Theme - a universal theme for almost

Dracula Theme - a universal theme for almost

 

Introduction


 
Hello everyone, some time ago I have to deal with a lot of different text editors and IDE, on different operating systems. Then I really began to get annoyed at such a moment that each of them has its own theme of code design, plus a few others to choose from. There were good and bad, but they were all different, which for me at that time was a problem and constantly had to get used to the new design.
draculatheme.com .
This site is a universal theme for different applications - Dracula Theme ( ? license MIT
).
 
 
On this site I found exactly what I need. There are ...[/h]
+ 0 -

Continuous growth of JSON

The article was written in September 2017
 
 
Continuous growth of JSON  
 
JSON has conquered the world. If today any two applications communicate with each other via the Internet, then most likely they do it using JSON. The standard is accepted by all major players: among the ten most popular Web APIs, developed primarily by large companies such as Google, Facebook and Twitter, only one API transfers the data to XML, not JSON. For example, Twitter supported XML until 201? when it released a new version of the API solely on JSON. Among other developers JSON is also popular: according to Stack Overflow, ...
+ 0 -

Custom approach for normalizing and resetting styles (custom-reset.css)

Custom approach for normalizing and resetting styles (custom-reset.css)  
 
Here I will share my experience for normalization and resetting styles.
 
For several years I have formed a small file, based on which, initially, was taken normal.
 
 
Why is it normal, not resets? It is sharpened precisely under cross-browser compatibility, which is very important. But in its pure form, he did not suit me at all, various indents, borderers, etc., only interfered, because I slightly adjusted it to my needs, poddalav what I did not need.
 
Over time, the file grew, the excess from the normal was deleted, the missing was added.
 
The main purpose of its creation was to prepare the basis ...
+ 0 -

Digest of fresh materials from the world of the frontend for the last week No. 327 (August 13 - 1? 2018)

HTML / CSS
+ 0 -

Do not reset or normalize?

Do not reset or normalize?  
 
Here I will share my experience for normalization and resetting styles.
 
For several years I have formed a small file, based on which, initially, was taken normal.
 
 
Why is it normal, not resets? It is sharpened precisely under cross-browser compatibility, which is very important. But in its pure form, he did not suit me at all, various indents, borderers, etc., only interfered, because I slightly adjusted it to my needs, poddalav what I did not need.
 
Over time, the file grew, the excess from the normal was deleted, the missing was added.
 
The main purpose of its creation was to prepare the basis ...
HTML / CSS
+ 0 -

Can children in the villages become programmers if a number is only taught to railway workers. The conversation with the "Circle"

Can children in the villages become programmers if a number is only taught to railway workers. The conversation with the "Circle"  
 
I did not think that in modern times there will be a place for stories, when a person takes his knowledge, ideas about the world, and carries them literally on his own to far away distances. But it was always interesting what kind of people are driving. Calculation, faith in your own rightness, enthusiasm?
 
 
It turned out that such stories still happen. In 201? several young programming teachers from the Moscow schools gathered in the team, called it the "Circle" and went to the cities of Russia to tell children about the technologies. They visited Votkinsk, Kaluga, and Vyazma. Then in the village ...
+ 0 -

Digest of fresh materials from the world of the frontend for the last week № 326 (August 6 - 1? 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 № 326 (August 6 - 1? 2018)
 
Media | | Web development | | CSS | | jаvascript | | Browsers | | Entertaining
 
 
# 65 - Igor Sheko about how to become a protruding thimlide from the serial startup
 
Podcast "CSSSR" News 512 - Issue №18 (??? - ???)
 
"Devshahta podcast": # 45 - When the frontend becomes deodar
 
...
HTML / CSS
+ 0 -