Simplest Chrome Extension: Content Script

I really like the concept of browser extensions. Especially for Chrome. Surprisingly, though, I never remember Chrome Extensions being a hot topic. Why? If you’re front-end developer like I am, chances are that you spend most of your time in the browser. Why not to fix a thing or two?
What’s more interesting, writing extensions is not that difficult. In common scenario it’s manifest and JS file with logic. Just another JavaScript application.

Let’s take the simplest one: content script. Читать далее Simplest Chrome Extension: Content Script

When Server-Sent Events (SSE) is much better choice than WebSocket

Many web apps nowadays, including project I’m working on, rely on real time notifications from the server. GMail instantaneously adds incoming mail, Facebook shows chat messages and likes, list can go on.

My app does the same: it subscribes to certain topics and keeps open channel for server updates. Traditionally, we’ve been using long polling for that, but it felt like a hack, so we decided to switch to web sockets and fall back to long polling for legacy browsers. It took me 2 years to get to Ilya Grigorik’s «High Performance Browser Networking» book and realise that Server-Sent Events was much better choice. Here’s why. Читать далее When Server-Sent Events (SSE) is much better choice than WebSocket

«Soft Skills» by John Sonmez


I kept an eye on that book for a while before buying it and I’m totally happy I did that. It’s pure gold.

«Soft Skills», in my opinion, is a bit misleading title. The second title «The software developer’s life manual» is more precise and that what it is: life manual. It’s seven different topics, one per section. Section itself is divided in 2-10 pages long self-sufficient chapters, so it’s easy read. Читать далее «Soft Skills» by John Sonmez

Простейшее расширение для Google Chrome: content script

Меня, почему-то, очень воодушевляет возможность писать расширения для хрома. Это не значит, что я этим воодушевлением как-то пользуюсь, но тем не менее. Задачи я получаю через Chrome, в нем же их потом тестирую, в нем же читаю (не)довольные письма от заказчиков после коммита, и на каждой стадии хватает мелочей, которые можно улучшить.

А расширение — оно простое. Манифест + какой-нибудь js файл с логикой — и всё.

Читать далее Простейшее расширение для Google Chrome: content script

Размышления об эмиграции, жизни, и вообще