Creating Angular 2 applications with plain “old” javascript (ES5). Updated to Beta 1.

In this post I will try to demonstrate how to make a simple Angular 2 application using EcmaScript 5 (plain “old” JavaScript). This is an update to beta 1, of a previous post that was using an Angular 2 alpha version.

Continue reading “Creating Angular 2 applications with plain “old” javascript (ES5). Updated to Beta 1.”

How does a full-text search engine work in practice and from a technical perspective

How does a full-text search engine work in practice and from a technical perspective

In a recent project, I’ve had the need of doing in browser full-text search. I couldn’t find any small javascript library to accomplish this without adding a lot more stuff that what I needed. I ended up writing my own 105 lines of code javascript engine. In this article I’m going to explain the different concepts involved in the search engine I implemented and that’s available on github.

Continue reading “How does a full-text search engine work in practice and from a technical perspective”

Creating testable rich web applications

Creating testable rich web applications

In traditional web applications it was relatively simple to perform end-to-end tests because of the synchronous nature of page load when there is no dynamic content in it. Once the browser is finished loading all the resources necessary to present the page, it triggers the “onLoad” event, and in this situation it is easy to automate navigation to ensure everything is in place.

Continue reading “Creating testable rich web applications”