Web Mystery - Web Development Blog

Web Mystery

Hello, my name is Andrey, and this is my personal blog. At the very beginning of my career, I called "Web mysteries" things behaviour of which I couldn't explain. As it came with experience, everything happens for a reason - you just need to take more time on learning, debugging or googling the issue. This blog was initially meant to explain such "mysteries" and save time of the readers, but in fact contains general articles split into 3 categories: Front End, Drupal and Tools. Welcome!

Running a Discord bot written in Deno in Docker

Docker bot in AWS

In the previous article, I explained how to create a simple Discord bot with Deno and run it locally. In a real-world scenario, we would like to keep our bot online 24/7, and a home computer is not the best choice for this purpose. Read on to find out how to run out bot in a Docker container in the AWS cloud.

Making a Discord bot with Deno and Discordeno

Discord bot with Deno

A few days ago, Deno was released, and I couldn’t resist to try it out. In a nutshell, Deno is a new secure JavaScript and TypeScript runtime that supports importing modules from URLs (npm is no longer needed), has a flexible permission system, modern promise-based APIs and many more goodies.

Contextual Menus in a Cross-Platform Electron Application

Context menu in Electron

Electron applications do not come with contextual menu out of the box. However, it is always a good idea to add a context menu to your project – it does bring more native look and feel.

Making customized (white label) builds of a Cordova application – Android

White label Cordova Application

Imagine that you are developing a super useful Android application (backed by Cordova or Ionic) and several your customers would like to have it. However, they want to put their logo and are willing to pay extra for this.

Making HTTP-request During React Server-Side Rendering on Electrode Platform

HTTP requests in Electrode app

Imagine a React application with SSR where you need to make an external HTTP request and set use its result as initial state.

Setting up Build Environment for Cordova (Android) Applications on Cent OS 7

Setting up Build Environment for Cordova

Sometimes, it becomes necessary to set up a Cordova build process on a Linux server – to let your colleagues make builds without doing any set up or make the built files available for download from the web.

Blog’s revival. Angular 7 and Server-Side Rendering

Angular blog - bad indexing

Finally, after a bit of intense work, the Web Mystery blog has been updated to the latest version of Angular with Server-Side Rendering support. This will allow search engines to index pages more effectively and hopefully will bring the website back to Google.

How to Make APNS Push Notifications in a Cordova iOS Application

Cordova iOS push notifications

It has been almost 2 years since I wrote this post about making push notification on Android with Google Cloud Messaging.

Adding WebRTC support to an iOS Cordova based application

WebRTC support to an iOS Cordova

Despite the recent rise of frameworks that utilize native UI, Cordova is still remaining one of the most popular and easy ways to build an Android or iOS application.

Creating a dynamically resizing textarea and wrapping it in an Angular 1 directive

Angular textarea resize directive

Hello! For some reason I have very little content about JavaScript and Angular JS on my blog, even though most of the code I currently write is exactly in this language and framework.