dponrails
Ruby on Rails, React, Angular, Javascript - The Exploration of One Developer
React State Management & Promise.all Async Funneling
Multiple Async Calls Updating State In our app, we have multiple asynchronous calls firing off when it first loads up. Each call is updating the state with the information it retrieves, in turn components are receiving new props and triggering their setup process more than once. The first problem we have is the main container component rendering children before it is done gathering the data the children needs. To fix this we need to manage when the children are rendered....
Creating a Launch Page with Angular + Mailchimp
Using Angular & Mailchimp for your Launch Page This tutorial we are going to create a landing page for our potential customers to fill in their email, using HTML, Angular, and Mailchimp. The resources available to Angular developers is amazing. We will be using an Angular Module for Mailchimp. If you are familair with Ruby on Rails, Angular Modules are very much like Ruby Gems. What’s Required? You will already need to have Node Package Manger and Bower installed on...
React on Rails Tutorial
React.JS is a JavaScript library that allows us to build reuseable components. It is powerful, fast, and really easy to get started with. In contrast to full blown front-end MVC (Model View Controller) frameworks like Angular, Ember, and Backbone; React.js is only the view layer and actually can be used in any of those frameworks. The learning curve for React.js isn’t as steep as it is with MVC frameworks. With React.js we can replace particular components on our site, without...
Custom Filters in Angular
In Angular using the filter in views can be pretty straight forward when wanting to search for key terms, but what about when we want to do some thing a little more involved? What about Filter that does not equal data? In this post I am going to describe how you can build a custom filter that will let us dive a little more into the data. Filtering Out Records Basically to create a custom filter, we create a function...
Octopress? No Thanks.
Keep it Simple Stupid When I went down the path of using Jekyll for blogging, I really liked how in control I was of my content. The source was exactly as I had wrote it, WYWIWYG (what you write is what you get), and every post I wrote in markdown would be pushed to GitHub in its original format. I was able to edit posts easily from any device right on GitHub. However, when I switched over to Octopress, for...