
JavaScript *
High-level, interpreted programming language. It is a language which is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm
Frontend Weekly Digest (12 – 18 August 2019)
Web Worker easier than you thought
In this article, a DIRTY, unsafe, unstable and scary <em>eval</em>
method will be described. So, if you are uncomfortable with that, stop reading right now.
First off, some issues with convenience remained unresolved: in code sent to web web workers, closure can't be used.
All of us like new technologies, and all of us like new technologies to be convenient to use. However, it's not exactly the case with web workers. web workers accept files or links to files, which isn't convenient. It would be good to be able to put any task into web workers, not just specifically planned code.
What do we need to make web workers more convenient to operate? I believe, it's the following:
- A possibility to launch in web workers any code at any moment
- A possibility to send to web workers complicated data (class instances, functions)
- A possibility to receive a promise with a reply from a web worker.
Frontend Weekly Digest (5 – 11 August 2019)
On the way to durable applications with PSKOV static site generator as an example
Hi, my name is Michael Kapelko. I have been developing software professionally for more than 10 years. I develop games and game development tools in my spare time.
This article describes my first durable application for desktop PCs: PSKOV static site generator.
Durability
A durable application is an application that functions without a single change on operating systems released in years 2010-2030. In other words, a durable application has backward compatibility of 10 years and has the stability to run for 10 years. Actually, PSKOV runs even under Windows 2000, so PSKOV has backward compatibility of 19 years.
Frontend Weekly Digest (29 July – 4 August 2019)
Frontend Weekly Digest (22 – 28 July 2019)
Frontend Weekly Digest (1 – 7 July 2019)
Really typing Vue
inb4: This is not another "setting up" a new project with Vue and TypeScript tutorial. Let's do some deep dive into more complex topics!
typescript
is awesome. Vue
is awesome. No doubt, that a lot of people try to bundle them together. But, due to different reasons, it is hard to really type your Vue
app. Let's find out what are the problems and what can be done to solve them (or at least minimize the impact).
Frontend Weekly Digest (24 – 30 June 2019)
Frontend Weekly Digest (17 – 23 June 2019)
Angular vs. KnockoutJS: The Fundamental Differences and Similarities You Should Know
I faced the same situation recently when I had to choose one from Angular vs KnockoutJS. The most perplexing part of the two is Angular is a JavaScript-based open-source front-end web development framework while Knockout is a library.
So, the selection is a bit complex task and, as I had to, you might need to go through a systematic and understand the two technologies or web development framework thoroughly.

So, you need to begin following the one-by-one method.
What is Framework?
A framework is a model on which you have to build your home. It is having a collection of blueprints which from which it choose the right one for you. In short, the framework is in charge of the flow and it chooses when and how to go.
What is the Library?
The library is like going to a furniture house to get some furniture for your home. Here you are in charge of the flow and you decide when to call the code.
Overview of Angular and KnockoutJS
Angular |
KnockoutJS |
Stable Release | |
Version 8.0.0 on / May 29, 2019 | 3.5.0 / February 22, 2019 |
Managed by | |
Steve Anderson | |
Programming Language | |
JavaScript | JavaScript |
Type | |
Web Framework | JavaScript Library |
Routing | |
Angular Supports | Not Available |
Testing | |
Protractor works as test framework | Not Available |
Documentation | |
Well organized Documenations | Poor Documentation |
GitHub Stars | |
59,555 | 9,526 |
Top 10 JavaScript Hack for Optimized Performance
JavaScript has been ruling the tech arena for more than two decades and helping developers simplifying complex tasks. It allows developers to implement complex task web pages in a most simplified manner. For most of the developers minified JavaScript file is the common phenomena while very few developers may be aware of Optimized JavaScript code. While meeting through many Javascript developers, I have come to know that Optimized JavaScript code is something that confuses developers, some of them might be doing it, but they are not aware of this.
What is an Optimized JavaScript Code
When combinations of uniquely programmed logics along with small hacks utilized to enhance performance and speed is known as Optimized JavaScript code. Optimization not only optimizes performance and speed but also saves maximum development time. When you save time, you save some bucks as well.
So, I am here with some useful and fruitful hacks to help developers optimize performance, enhance speed and save time. Hope, you like the article and after going through it, you may utilize the best of Optimized JavaScript code.
Frontend Weekly Digest (10 – 16 June 2019)
Protocol for communication between iframe and the main window
From time to time, developers need to establish communication between several browser tabs to be able to send messages from one tab to another and receive responses. We have also faced this need at some point.
Some solutions already exist (like, for instance, BroadcastChannel API). However, its browser support leaves a lot to be desired, so we decided to use our own library. When the library was ready, that functionality was no longer required. Nevertheless, another task emerged: communication between an iframe and the main window.
On closer examination, it turned out that two-thirds of the library would not have to be changed — only some code refactoring was necessary. The library is a communication PROTOCOL that can work with text data. It can be applied in all cases in which text is transferred, such as iframes, window.open, worker, browser tabs or WebSocket.
How it works
Currently, the protocol has two functions: sending messages and subscription to events. Any message in the protocol is a data object. For us, the main field in that object is type, which tells us what kind of message it is. The type field is an enum with the following values:
Frontend Weekly Digest (3 – 9 June 2019)
Frontend Weekly Digest (27 May – 2 June 2019)
Frontend Weekly Digest (20 – 26 May 2019)
Frontend Weekly Digest (13 – 19 May 2019)
Frontend Weekly Digest (6 – 12 May 2019)
Authors' contribution
alexzfort 9303.0ru_vds 6346.8ilusha_sergeevich 2778.0azproduction 2516.8aio350 2362.9alizar 2063.6phillennium 1700.2TheShock 1133.0spmbt 944.6Sirion 766.0