Ruby on Rails Is Dead — 2018 Edition – JetRuby

  • The rumors of Ruby’s nascent (inevitable, immutable, irreversible) demise have been whispered about for years inside developer locker rooms, and yet the language and Rails, the framework, are still around, powering hundreds of thousands of websites.
  • The TIOBE index (the index that uses search engine results) places Ruby in the top 20 technologies.
  • It just so happens that due to the unique nature of Ruby, we’re able to write clean code — faster, which is a great thing for startups and businesses that run on lean innovation.
  • Let’s not forget what makes Ruby greatRuby teaches you some great coding habits: such as TDD approach, MVC pattern, separate databases, DRY code, and restful routes, which in the end translates to clean code that needs less testing.
  • It’s up to you, but the truth is: if you’re making a web or enterprise app, with Ruby you’ll write better quality code, spend less time testing and launch your product before your competitors do, so you can start getting revenue and think about where to take your product next….

It’s 2018, and it’s high time for us at JetRuby to once again scrutinise everything we believe in, and answer the million (ish)-dollar question: The rumors of Ruby’s nascent (inevitable, immutable…
Continue reading “Ruby on Rails Is Dead — 2018 Edition – JetRuby”

Ruby on Rails Is Dead — 2018 Edition – JetRuby

  • The rumors of Ruby’s nascent (inevitable, immutable, irreversible) demise have been whispered about for years inside developer locker rooms, and yet the language and Rails, the framework, are still around, powering hundreds of thousands of websites.
  • The TIOBE index (the index that uses search engine results) places Ruby in the top 20 technologies.
  • It just so happens that due to the unique nature of Ruby, we’re able to write clean code — faster, which is a great thing for startups and businesses that run on lean innovation.
  • Let’s not forget what makes Ruby greatRuby teaches you some great coding habits: such as TDD approach, MVC pattern, separate databases, DRY code, and restful routes, which in the end translates to clean code that needs less testing.
  • It’s up to you, but the truth is: if you’re making a web or enterprise app, with Ruby you’ll write better quality code, spend less time testing and launch your product before your competitors do, so you can start getting revenue and think about where to take your product next….

It’s 2018, and it’s high time for us at JetRuby to once again scrutinise everything we believe in, and answer the million (ish)-dollar question: The rumors of Ruby’s nascent (inevitable, immutable…
Continue reading “Ruby on Rails Is Dead — 2018 Edition – JetRuby”

Ruby on Rails Is Dead — 2018 Edition – JetRuby

  • The rumors of Ruby’s nascent (inevitable, immutable, irreversible) demise have been whispered about for years inside developer locker rooms, and yet the language and Rails, the framework, are still around, powering hundreds of thousands of websites.
  • The TIOBE index (the index that uses search engine results) places Ruby in the top 20 technologies.
  • It just so happens that due to the unique nature of Ruby, we’re able to write clean code — faster, which is a great thing for startups and businesses that run on lean innovation.
  • Let’s not forget what makes Ruby greatRuby teaches you some great coding habits: such as TDD approach, MVC pattern, separate databases, DRY code, and restful routes, which in the end translates to clean code that needs less testing.
  • It’s up to you, but the truth is: if you’re making a web or enterprise app, with Ruby you’ll write better quality code, spend less time testing and launch your product before your competitors do, so you can start getting revenue and think about where to take your product next….

It’s 2018, and it’s high time for us at JetRuby to once again scrutinise everything we believe in, and answer the million (ish)-dollar question: The rumors of Ruby’s nascent (inevitable, immutable…
Continue reading “Ruby on Rails Is Dead — 2018 Edition – JetRuby”

Ruby on Rails Is Dead — 2018 Edition – JetRuby

  • The rumors of Ruby’s nascent (inevitable, immutable, irreversible) demise have been whispered about for years inside developer locker rooms, and yet the language and Rails, the framework, are still around, powering hundreds of thousands of websites.
  • The TIOBE index (the index that uses search engine results) places Ruby in the top 20 technologies.
  • It just so happens that due to the unique nature of Ruby, we’re able to write clean code — faster, which is a great thing for startups and businesses that run on lean innovation.
  • Let’s not forget what makes Ruby greatRuby teaches you some great coding habits: such as TDD approach, MVC pattern, separate databases, DRY code, and restful routes, which in the end translates to clean code that needs less testing.
  • It’s up to you, but the truth is: if you’re making a web or enterprise app, with Ruby you’ll write better quality code, spend less time testing and launch your product before your competitors do, so you can start getting revenue and think about where to take your product next….

It’s 2018, and it’s high time for us at JetRuby to once again scrutinise everything we believe in, and answer the million (ish)-dollar question: The rumors of Ruby’s nascent (inevitable, immutable…
Continue reading “Ruby on Rails Is Dead — 2018 Edition – JetRuby”

Ruby on Rails Is Dead — 2018 Edition – JetRuby

  • To me, that’s a sign of doing pretty darn good, arguably, better than most programming languages, since not all languages/tools are lucky enough to reach these peaks of prominence/awesomeness and credibility.So perhaps it’s time to move away from the morbid, sensationalist language of technological death and discuss Ruby on Rails…
  • It just so happens that due to the unique nature of Ruby, we’re able to write clean code — faster, which is a great thing for startups and businesses that run on lean innovation.Let’s not forget what makes Ruby greatRuby teaches you some great coding habits: such as TDD approach, MVC pattern, separate…
  • Ruby/Rails support community is vast and reliable, which means it’s a viable technology and it’s not going away anytime soon.It might not be the hot new technology, but it’s a stable mature technology, which is a lot more valuable for a business than just being cool.The NowRuby is not a…
  • You want your next MVP built with stable proven technology and not a fad that might disappear tomorrow and you’ll be scrambling to find the last available developer to support you.Is it the only technology you will ever need?No.Okay, well, you might choose to do what Twitter did: launch on Ruby,…
  • It’s up to you, but the truth is: if you’re making a web or enterprise app, with Ruby you’ll write better quality code, spend less time testing and launch your product before your competitors do, so you can start getting revenue and think about where to take your product next.Also,…

It’s 2018, and it’s high time for us at JetRuby to once again scrutinise everything we believe in, and answer the million (ish)-dollar question: The rumors of Ruby’s nascent (inevitable, immutable…
Continue reading “Ruby on Rails Is Dead — 2018 Edition – JetRuby”

How to do end-to-end testing on React Native with Detox

  • They are being performed on matched elements.Expect verifies if a certain value is as expected to be.As we can see detox covers a lot of possible user interactions that can be automated.Make our tests more readableTo be honest, we can do much better.First let’s get rid of the duplication for matchers…
  • Automate the process and land on the moon 🚀Once we reached a certain amount of tests, we thought it could be nice to automate the process and think in terms of “continuous testing”.
  • That’s why we decided to run the end-to-end test on our build server.Every new pull request that comes in, triggers unit tests with Jest on CircleCI and now also our end-to-end tests on Bitrise (our build server).
  • This is mostly due to the Detox build scripts.AlternativesWe also considered others libraries such as:Appium which is a cross platform test library where tests can be written in many languages (node, ruby, java, … ).
  • Hence, our choice of using Detox.ConclusionIn this article we saw how to handle Detox and its API, how to automate everything with Bitrise (or any CI that can runs an IOS Simulator).

When we started writing our React-Native app at Home, testing was something we took seriously from day one. While it was easy to setup a proper unit-tests workflow with Jest and Typescript, we figure…
Continue reading “How to do end-to-end testing on React Native with Detox”

React Behavioral Wrapper Components – Ian Carlson – Medium

React Behavioral Wrapper Components  #ui #react #javascript #reactjs

  • But because of how flexible React is you can create wrapper components that add behavior to the children being passed through.
  • This is more applicable when using Redux since not all the backend requests are made within the same component, like a session container for example.Here’s a example of creating an opacity animation component that adds the animation to any child component.
  • This is based on the example in the React documentation using the CSS transition group extension to apply fade-in, fade-out animations based on the lifecycle of the child component(s).
  • The former is actual animation time and the latter is how long temporary classes will stay in existence.Here’s an example of how to use the OpacityAnimation:You can also pass an array of children as well, but it’s important to carefully manage the key properties on each child — even for just one child.
  • For example, a tooltip component would display the children as is, but then attach event handlers to display the tooltip on the right conditions.

Another great thing about React is how easy it is to add behavior to components through composition. Typically new people only think of composition in terms of layout. But because of how flexible…
Continue reading “React Behavioral Wrapper Components – Ian Carlson – Medium”