This website uses cookies for analytics and to improve provided services. By choosing I Accept, you consent to our use of them and other tracking technologies according to our Privacy Policy.

People to Watch If You're a Node.js Developer [Infographic]

Although nowadays we’re swamped with knowledge on more or less any topic we can imagine, it can still be hard sometimes to find reliable sources. In every industry, however, there is always a handful of individuals who really know their stuff and following their social media outlets, blogs, and their presence on other platforms is probably the best thing you can do for your career. In case you missed it, Karolina already drafted a similar list of Vue.js experts to watch in 2018. Now it’s time for Node.js.

Read more

How to build a reactive engine in JavaScript. Part 2: Computed properties and dependency tracking

Hey! If you have ever worked with Vue.js, Ember or MobX I’m pretty sure you stumbled upon so-called computed properties. They allow you to create functions that can be accessed just like normal values, but once computed they are cached until one of its dependencies has changed. In general this is a concept very similar to getters and in fact, the following implementation will be using getters. In a smart way. ;)

Read more

How to build a reactive engine in JavaScript. Part 1: Observable objects

The reactive way

With the growing need for robust and interactive web interfaces, many developers have started embracing the reactive programming paradigm.

Before we begin implementing our own reactive engine, let’s quickly explain what reactive programming actually is. Wikipedia gives us a classic example of a reactive interface implementation – namely a spreadsheet. Defining a formula such as =A1+B1 would update the cell whenever either A1 or B1 change. Such a formula can be considered a computed value.

Read more

Front-trends 2015

Front-trends

These days, being a front-end developer isn't easy. The time when our work was mostly writing HTML, CSS and some jQuery is long over. Hardly a month passes without a new JavaScript framework, new tools to ease our work, new template engines, new preprocessors, you name it. Is this bad? Well, in some ways it is, but this is more a side-effect of all the excitement in the community! This year's Front-trends conference is proof of how awesome front-end development can be and further proof of how much it has changed in recent years.

Read more

Karma on Rails

TL;DR

We have prepared a sample app with nothing more than the necessary configuration and a single, oversimplified spec file. You can find it on github now or first you can get more details about it below.

Read more

From Monterail with Love #1

A couple of months ago Bartosz described how we use Facebook to improve communication in our team. Actually most of the content on our wall are more or less interesting links from the internet. We quickly noticed a troubling pattern though—they are easy to forget. And if you forget them, you can’t use them.

Read more

How I learnt about jQuery Deferred thanks to Rails

If you are not a regular JS developer but Ruby one or whatever, you probably don't know every feature of JavaScript or jQuery, even if you use them every day. But some of them are worth spending some time to get to know - for me one of such features was jQuery.Deffered which I would like to introduce in this post.

Read more

Backbone.js, Rails 3 and asynchronous interfaces

Currently at Monterail we're building a frontend-heavy app. With a lot of cool stuff. Like preloading data for daily views so that you won't have to wait for every surrounding day to load. Many, many interactive elements that should be really interactive - not in an oldschool, ajax spinner way. And a lot of other stuff we shouldn't talk about yet.

Read more

Rails 2.2.2, Ajax and respond_to

As I wrote some time ago in the article about Rails, Ajax and jQuery, sometimes there are problems with Rails not interpreting correctly content type headers of ajax requests. It's because not all web browsers send that header in the same way. 

Read more

Rails, Ajax and jQuery

The more ajaxified application, the more fun it is to use. But it is also more painful do develop. What is written below is my approach to pairing Rails and Ajax. It's a mix of tips I found over the net on blogs and forums. I use jQuery for JavaScript, but I don't use jRails or any JS/Ajax helper methods provided by Rails. Note that all Javascript/HTML code presented here can be used even if you dont use Rails or Ruby as your web development platform. Let's begin.

Read more