# put
-
Riew _ 2020-01-06
Part 1: We need channels! A gentle introduction to communicating sequential processes.
CSP is a formal language for describing patterns of interaction in concurrent systems. It's used in Go, Crystal, Clojure's core.async and a couple of other places. The idea in its core is nothing so complicated but it offers some interesting capabilities. Surprisingly enough it is not really popular in JavaScript. Recently I'm exploring this pattern and here are my findings.
-
JavaScript _ 2019-07-03
React: rendering vs running your components
Recently I stumbled upon on an interesting bug which reminded me what is actually happening with my components when React is rendering them.
-
JavaScript _ 2017-10-27
You are managing state? Think twice.
Recently I started questioning the state management in React applications. I’ve made some really interesting conclusions and in this article I’ll show you that what we call a state management may not be exactly about managing state.
-
CSS3 _ 2013-06-16
Get computed css styles for a given element
I just found out that it is possible with pure javascript. It's supported in all the major browsers. Find more information here.
-
JavaScript _ 2013-06-11
Convert HTML string to DOM element
Checkout Revealing the magic: How to properly convert HTML string to a DOM element article.
I'm working on a chrome extension which accepts user text, work with it and output the result in a div. I used jQuery in the beginning, for several tasks, but later I decided to remove it and deal with pure javascript/DOM manipulations. The output div was filled by using innerHTML property and everything was ok. But, at some point, I sent few buttons to the user and he has to interact with them. However, once I update the div's content the event listeners are detached and the buttons became non-functional.
-
Nodejs _ 2012-10-14
Testing with headless browser (Zombie.js + Jasmine)
I was planning to post this article a few weeks ago, but today I finally finished the examples and I can't wait to share it. We all know that the testing is a big part of our daily tasks and we should use every existing tool to make our lives easier. I really like test driven development and once I found the concept of the headless browsing I started to think that we can automate every single aspect of the testing. In this post I'll show you how to use Nodejs to test a simple php site.
-
Architecture _ 2012-05-16
Brian McCallister and the code
_Programming and the Profession of Programming are quite different things. Programming is being able to efficiently tell a computer exactly what to do in a repeatable manner. The profession of programming is being able to efficiently convert business requirements into bugs._Read the full article here.
-
JavaScript _ 2011-10-11
Filtering data with jQuery
We are working with data every day and there is a part of our applications, which is responsible for presenting the information to the user. Sometimes we need to show a lot of records and then we are using pagination or additional server requests to filter the data. A little JavaScript code could change the things a lot - fast data filtering and better user experience.
-
ActionScript _ 2010-12-18
How to generate SWC file from ActionScript package
SWC file format is really useful when you want to transfer or to compact your ActionScript libraries. It is also used for exporting assets, which can be used later. Let's imagine that you want to create a .swc file for only small part of your application, i.e. pure .as files. I searched a lot for the fastest and easier solution and finally I think that the usage of compc.exe is the best option.