This is an introductory post to Phoenix, Elixir’s web framework. It is not intended to be a complete guide since it’s a big framework with lots of things to dive into, but rather to show a side by side comparison of how things are done in both frameworks using the
This is the first of a series about StimulusReflex, a new tool to help you bring Rails to the era of the backend-side-managed frontends. I was surprised to see that Phoenix LiveView and following with things like Motion and Sockpuppet use WebSockets to push updates from the server to the client and update the DOM accordingly.
Introduction When it comes to apps with a lot of data, some SQL queries take more time than expected, especially when we want to search text through several model attributes. This most commonly happens with e-commerce stores, but these kinds of complex queries can happen in social media apps or
Choosing a Text Editor It may be a tough decision, as a programmer, to choose a text editor, since it will be your main tool to do your work, and you will use it every day in your work-life. Everybody has their favorite text editor, I have known people who
Working with ActiveAdmin At Rootstrap, my first assignment was to develop a Ruby on Rails application which uses ActiveAdmin (with ActiveAdmin Addons) as a framework to implement the user interface. I had never used ActiveAdmin before and I found myself reading a lot of documentation of the gem, in some
Here at Rootstrap, we don’t believe in reinventing the wheel. We believe in making things simple and high quality of course. In this blog post, you’ll learn how to start working with Stripe and quickly have fully functioning online payments in your apps. WHY STRIPE? Pros Easy to implement and use
What’s Best Buy Ruby? Best Buy Ruby is a new gem developed entirely here, at Rootstrap. It’s basically a wrapper for the different Best Buy APIs. It offers a simple and intuitive interface that allows users to access the required API with as much customizations as they like. Why use it?
Counter caches are great until you get 20,000 people following the same influencer and the counter cache on that person locks the whole database. The goal of this post is to go through the basics of counter caches explaining possible alternatives to overcome this. What are counter caches for? Counter