JavaScript

JavaScript

Uploading files with React.js and Node.js

Uploading files is one of the most common tasks performed by web developers. It’s a pretty simple operation when using PHP or other server side frameworks. However, it is not so straightforward when using Node.js, unless you understand how to user Buffer API for reading streams of binary files (i.e. uploading file content as binary code). Luckily for us, the Node.js community came up with a few solutions.

Read
JavaScript

React.js route state name

React.js router is at version 2.0 as of now. It’s changing fast. So this may not work few months from now. I had the case where I wanted to create REST URLs but still re-use components where possible. That’s one of the selling points of React as a library. In my case I wanted to re-use form in the “new” and “update” pages

Read
JavaScript

Learning React.js and Redux

I had a hard time learning React.js, because it requires complex boilerplate setup, tooling and special application architecture such as Flux or Redux. After watching many intro videos or tutorials I wasn’t making progress until I decided to develop simple open source project

Read
JavaScript

Adaptive express.js and angular.js application

Mobile web is growing really fast and for some businesses it is a significant (if not majority) amount of traffic. The experience on mobile could be slightly different than desktop or it could be completely different depending on the project or the app.

Read
JavaScript

My experience with backbone.js and require.js

Backbone.js is... as some say - just another javascript plugin. And technically it is just 6KB javascript plugin that you can add to pretty much any website or web application, it's MV\* library, not a framework.

Read
JavaScript

Stay up to date with front-end development

My day job is front end web developer. That means I write JavaScript, HTML and CSS every single day (in that order). Front end development is not about static html pages anymore and JavaScript is not just for animations. It's much more than that. You can build any web application with these open source technologies, including on the server side (Node.js).

Read
JavaScript

JavaScript templates

JavaScript is the most used programming language these days, it's very powerful and can do more than home page slideshow or animations. AJAX is a big part of JavaScript and one of the reasons this language is so popular. It's possible to get any content from the server and send any content back to server, two way communication.

Read
JavaScript

Backbone.js explained

Backbone.js is one of many javascript MVC frameworks, others are Angular.js, Phantom.js, Ember.js. Why backbone? It's very small, only 6K minified, not opinionated, meaning it doesn't dictate how you should organize your code. A lot of big companies (like Pandora, USA Today, New York Times, Rdio) use backbone.js to power their web applications.

Read
JavaScript

Closures in JavaScript

Closures are very nice way to nest functions inside other functions. Closure function is an inner function within parent function and can access all the variables from the parent function.

Read