Page 76 of 126 (2520 total posts)

April 2021

06-04-2021
API With Sinatra and Sequel: Ruby Tutorial | Toptal

API With Sinatra and Sequel: Ruby Tutorial | Toptal

Source: toptal.com

The rise of the web and mobile applications has led to an increased need for back-end API services. Ruby on Rails' philosophy seemingly makes it the ideal framework for creating back-end APIs. However, using Rails only for the API is overkill. In this article, Freelance Software Engineer Boško Ivanišević explore...

Tags: software-engineering
06-04-2021
Company Logo API

Company Logo API

Source: blog.clearbit.com

We're happy to announce Clearbit's free Logo API. While services like Gravatar make it straightforward to pull in a user's default avatar, we haven't found anything that caters well to company logos. And yet there's a lot of clear use-cases ranging from setting an organization's default image on signup to

Tags: software-engineering
06-04-2021
Unit Testing in Ruby - via @codeship | via @codeship

Unit Testing in Ruby - via @codeship | via @codeship

Source: blog.codeship.com

cancelled_at).to be_a(Time) end end end SINGLE RESPONSIBILITY If your method doesn't fall into one of the three categories above - meaning that its purpose isn't defined by a result, a method call, or a side effect - perhaps it's doing too much.

Tags: software-engineering
06-04-2021
How and why should you use JSON API in your Rails API? - Arkency Blog

How and why should you use JSON API in your Rails API? - Arkency Blog

Source: blog.arkency.com

How and why should you use JSON API in your Rails API? Crafting a well-behaving API is a virtue. It is not easy to come up with good standards of serializing resources, handling errors and providing HATEOAS utilities to your design. There are a lot application-level concerns you need to make - whether you want to send back responses in mutation requests (like PUT/PATCH/POST requests) or just use HTTP headers. And it is hard - and by hard I mean you need to spend some time to get it right. There are other things you need to be focused on which are far more important than your API. Good under...

Tags: software-engineering
06-04-2021
The

The "Goal" of Performance Tuning - via @codeship | via @codeship

Source: blog.codeship.com

Parts are machined for a transmission (my father actually worked as a manager for a company that produced automatic transmissions), and in this factory, raw metal is cut to size for gears, then it's placed in milling machines.

Tags: software-engineering