Jun 9, 2020How I Quickstart ReasonML AppsJust want to see the code? Jump straight into the template repository and follow the instructions. Introducing the ReasonReact Starter Why should you use my template repository instead of the official bsb themes? The official ReasonReact template comes with a lot of unnecessary things I always delete and it doesn’t have much set up in terms of testing and building for production. …Functional Programming1 min readFunctional Programming1 min read
Jan 7, 2018An UX lesson from an ATM machineThis is not a technical post as I usually write, but rather something funny that happened to me and I wanted to share with you: I have been to Romania and got my card stuck in the ATM machine. A simple UX improvement could have prevented that! Last year I…UX3 min readUX3 min read
Published inNetscape·Aug 21, 2017Testing with the Angular HttpClient APIEmbracing Observables and Immutability FTW — The HttpClientTestingModule makes it easier to mock requests using the HttpTestingController service. In this post we’ll learn how to setup our tests and see real examples of how it can be used. Series This post is part of the HttpClient API series: The new Angular HttpClient API Testing with the Angular…JavaScript2 min readJavaScript2 min read
Published inAngular In Depth·Aug 14, 2017The new Angular HttpClient APIGiving us back the control — Typescript3 min readTypescript3 min read
Oct 5, 2015Angular 2 e o futurodo desenvolvimento Front-end Por que uma nova versão? Essa história foi escrita durante a preparação da palestra “Angular 2 e o futuro do desenvolvimento Front-end”. Nela eu explico porque a nova versão do Angular está sendo criada. Angular 1 O AngularJS simplificou o Front-end extendendo o HTML para criação de aplicações dinâmicas, o que torna o processo de desenvolvimento extremamente…Angularjs3 min readAngularjs3 min read
Oct 28, 2014Esclarecendo alguns mitos sobre o AngularJSFrequentemente em conferências, listas de discussão e no Twitter, escuto algumas afirmações sobre o AngularJS que não fazem o menor sentido. Resolvi escrever este post para esclarecer alguns destes mitos. Disclaimer 1: As opiniões deste post são baseadas em minha experiência trabalhando com o framework e envolvimento com a sua…3 min read3 min read
Oct 7, 2014AngularJS cares about accessibility!A11y made easy with angular-aria — The ARIA attributes are designed to improve the accessibility of Rich Internet Applications. A more know example is the tabindex: <form ng-submit="signUp()"> <input type="text" ng-model="name" tabindex="1"> <input type="text" ng-model="email" tabindex="2"> <button tabindex="3">Sign up</button> </form> The tabindex attributes in the HTML elements, guide the user through the different controls of the…2 min read2 min read
Sep 21, 2014AngularJS: How to name directivesQuick tips to avoid issues with custom directive names AngularJS directives allow us to use our own vocabulary to create semantic HTML components. To take advantage of that we should be aware of how it works to avoid some annoying and hard to find issues. Differences between defining and using Before start digging into the…2 min read2 min read
Jul 3, 2014Diretivas AngularJS: isolate scopeDiretivas nos permitem estender o HTML e criar nossos próprios elementos. Podemos definir como esses elementos vão se comportar em cada caso usando atributos, bem parecido com os Custom Elements. Neste post vamos entender o que é isolate scope e como ele funciona. Scope No objeto de definição de uma diretiva…2 min read2 min read
Apr 17, 2014How to unit test AngularJS DecoratorsYou could use decorators to enhance any kind of AngularJS module. Unit testing a decorator is all about testing the kind of service that you’re dealing with and making sure that the expected behaviour is what actually happens. …2 min read2 min read