Back-end development articles by our experts
Using Policy Objects helps to keep your code clean, tight, and most of all, correct. Today’s blog post walks through Policy Object solutions used in a large Ruby on Rails application. Check it out!
Node.js and Ruby on Rails are two excellent choices for companies developing web-based applications. In most cases, either one of these two technologies will do the job. Ruby on Rails has recently been cited as the better option for smaller projects and teams, when speed of development and time to market are the most crucial aspects. Node.js can often do better when a large team wants to work on a project simultaneously by dividing it into modules, and to improve performance in specific cases. And sometimes, it’s the other way around. This article contains a breakdown of the main advantages and disadvantages of Ruby on Rails and Node.js, to help CEOs and startup founders decide which technology will better serve their business.
Oct 3, 2018
If you’re looking for a Ruby on Rails development team, you likely know RoR’s advantages. It’s a great back-end framework for rapidly developing robust web apps. Thanks to how mature both the community and the technology are, Rails resources (most iconic of which are its libraries, called gems) are stable and trustworthy. Instead of writing a user registration feature from scratch, developers can focus their attention on what makes the project truly unique. And on top of all that, Rails’ testing culture and support are excellent.
Knowing this, what you need next is to find the experts that’ll help you leverage Rails’ strengths.
Do you know what Airbnb, GitHub and Kickstarter have in common? Their websites are built with Ruby on Rails, a well-known and much-loved back-end framework. Though widely used for large-scale projects, Rails offers a particular advantage to startups, as it allows for rapid development and helps shorten time-to-market while maintaining high code quality. Rails is a web framework for the programming language Ruby, which has been around since the mid 1990s and is still popular among developers. Its main rivals in the world of web development are Python and PHP, and in this article, we’d like to take a closer look at the advantages and disadvantages of these three technologies.
Sep 14, 2018
Node.js is a modern back-end technology for building web applications, particularly real-time ones. The technology’s goal is to be efficient and lightweight, and to allow for building fast, scalable products. It’s being used across industries, including fintech, social media and e-commerce. Node’s many advantages apply particularly well to SaaS platforms. Here’s how.
Jul 20, 2018
Finding excellent Node.js developers can be a real struggle. Many companies won’t even know what exactly they are looking for! We have gathered together some of the best practices for both general and Node.js software development to help out. Read on to find out how to spot a specialist in web applications development and what habits he or she should follow when handling Node.js ventures.
Jul 13, 2018
Are you using Datadog and Heroku? Would you like to send your Ruby on Rails application’s logs to Datadog for history purposes and easier processing? We will show you how to do it.
Jun 8, 2018
Node.js has been used by many renowned companies for creating their web applications. You probably don’t realize how many of these you are already dealing with in your everyday life. Node.js is a mature technology for web application development, one full of advantages, that can be - and has been - used in huge commercial projects. Let’s take a look at which ones exactly - and why these famous companies decided to move their apps to Node.
May 17, 2018
When you’re using Solr, sometimes the search can index records that have already been removed from your database - causing some frustration. Here’s how to remove these hanging records from Solr so you have a clean search again.
Apr 20, 2018
Often improving performance means saving money, and vice versa - when looking into how to save money, we can find ways to optimize the performance of Ruby on Rails apps. We care deeply about efficient and economic work, so we often come up with solutions to save money, development time and make our jobs easier.
Design patterns in large Ruby on Rails web applications: constructing a Query Object class that is responsible for elegantly querying a database. Read our blog post to find out how to make a simple and easy to test Query Object implementation within a Rails application.
Jan 19, 2018
Thanks to Chain’s new Ivy language for Bitcoin, we’re now able to build smart contracts in Bitcoin with ease - even if it is still experimental. This post covers smart contracts in Bitcoin, Ivy, plus full code examples, including a Mutually Assured Destruction (MAD) Escrow transaction.
Those in the know use Arel as a clever SQL AST manager for Ruby. It makes SQL queries easy to read, reliable, and secure - and it’s database agnostic. Learn the basics of Arel right here in our mini-tutorial.
Jan 4, 2018
Get smart. In this article, we continue our series about Smart Contracts that build on Ethereum’s blockchain backbone, with a focus on deploying and verifying the Smart Contract we wrote previously.
Dec 28, 2017
Part 3 in our series, our final blog post tackles uploading files from your Ruby web app to S3 as a background process using the Shrine gem, referenced only by a remote URL. Detailed instructions and code inside!
Dec 20, 2017
Blockchain and cryptocurrencies are the hottest topics right now, as the value of cryptocurrencies, especially Bitcoin, is record-breakingly high. Central banks are now even starting to look closely at how to treat digital money, since the popularity of blockchain technology and cryptos is skyrocketing. As a tech company, we are interested in the technology behind cryptocurrencies - the blockchain. One of the most interesting subjects in the crypto space are Smart Contracts on the Ethereum blockchain.
Learn how to directly upload files from your Ruby web app to Amazon S3 storage using the Shrine gem in Part 2 of our series. Covers all the code and configuration files you need to upload efficiently as a background process.
Dec 6, 2017
A step-by-step guide to sending emails from a Phoenix web app (Elixir). If you don’t have any on hand - don’t worry, we will show you also how to create a Phoenix app, then how to write your first mailer to be sent from it and how to preview emails during development. Let’s go!
Store Your Files on S3 Using the Ruby Shrine Gem (Part 1 of our series), details how to set up the Shrine gem and configure it for uploading files to S3. Our goal for the series is to upload files as a background process, as well as check the files for correctness as a security measure. Follow our step by step instructions right here.
Nov 23, 2017
There’s a new kid in town… GraphQL presents a new way to build APIs, that builds on solid concepts of the past and comes to grips with the inefficiencies RESTful architectures. Check out the differences, similarities, and comparison code snippets in this article.
Storing web application user files is quite easy with Amazon S3, Amazon’s highly scalable and durable object storage. We will show you how to connect it to your Ruby web application and manipulate files on it with a use of a Ruby Fog gem.
Sep 15, 2017
An introduction to serverless architecture; we outline the pros and cons of using this setup for running applications and take you through an example serverless app. We’ll guide you through building your own serverless web service with Node.js so you can see just how efficient this technology really is.
Aug 25, 2017
A step-by-step guide to installing the Elixir programming language with version manager asdf. Asdf is also handy for installing and managing Erlang, as well as for managing other languages and databases. Here’s how to easily obtain Elixir and Erlang and set them up on your Mac.
Apr 21, 2017
Today I wanted to have a closer look at the different ways for passing boolean arguments and assigning default values to them.
Mar 31, 2017
When you work on a project that’s been around for quite a while, you’re probably going to - sooner or later - encounter a few skeletons in the closet. These skeletons might be sections of code or design patterns that people know about, know they are bad, and yet no one is addressing them for various reasons. Probably because nobody wants to do the redesign if the code just “works” - even if it’s terrible. What’s worse is when these same structures or patterns are being repeated, because people are blindly following them!
Mar 3, 2017
Working correctly with database indexes is always the key to application performance and reliability. Especially when the amount of data grows rapidly, well designed database architecture really pays off. However, when we’re working with database indexes, it can be easy to miss something, or fall into the trap of a tricky outlying case. One of these is when performing unique indexing on multiple columns, where at least one of them is null.