Skip to content
PLAY VIDEO PLAY VIDEO PLAY VIDEO

Latest Articles on Javascript by Our Team

Our expert team of designers and developers love what the do and enjoy sharing their knowledge with the world.

How to structure JavaScript code when using AJAX in Rails

By Stephen Huang,

2018 development javascript learning rails

AJAX is a great solution that allows you to send and retrieve data from the server and update the page without having to reload the entire page.

In this article I will show you two strategies in Rails to use the data from server by executing JavaScript code: AJAX Callback Function and Server-generated JavaScript Responses. Then I'll explain how they work, and describe their benefits.

ActionCable for Rails and Angular JS 1.x

By Stephen Huang,

2018 development javascript rails

Action Cable is an awesome feature that uses Web Sockets to realise a real time application in Rails, and includes both the back-end and the front-end. In this article, we will use only the server side of Action Cable in Rails and client-side in AngularJS 1.x. This is not a step-by-step tutorial, but it is intended to help you to understand the purpose of each step.

The first thing we need to do is enable Action Cable in our back-end app. The simplest way is to mount action cable in the route:

The Quirky Array Constructor and a Use for Holey Arrays in ES6

By Adam Davies,

2016 development javascript rails

In JavaScript, an Array isn't like your typical array: it's an object with keys that are indexes. What this means is that you need to be aware that the length can be more than the number of elements and that there can be "holes".

In day-to-day development you'll probably just build up arrays using the literal syntax, like so:

We Hire Only the Best

reinteractive is Australia’s largest dedicated Ruby on Rails development company. We don’t cut corners and we know what we are doing.

We are an organisation made up of amazing individuals and we take pride in our team. We are 100% remote work enabling us to choose the best talent no matter which part of the country they live in. reinteractive is dedicated to making it a great place for any developer to work.

Free Community Workshops

We created the Ruby on Rails InstallFest and Ruby on Rails Development Hub to help introduce new people to software development and to help existing developers hone their skills. These workshops provide invaluable mentorship to train developers, addressing key skills shortages in the industry. Software development is a great career choice for all ages and these events help you get started and skilled up.

  • Webinars

    Webinars

    Webinars are our online portal for tips, tricks and lessons learned in everything we do. Make the most of this free resource to help you become a better developer.

    Learn more about webinars

  • Installfest

    Installfest

    The Ruby on Rails Installfest includes a full setup of your development environment and step-by-step instructions on how to build your first app hosted on Heroku. Over 1,800 attendees to date and counting.

    Learn more about Installfest

  • Development Hub

    Development Hub

    The Ruby on Rails Development Hub is a monthly event where you will get the chance to spend time with our team and others in the community to improve and hone your Ruby on Rails skills.

    Learn more about Development Hub

Our Services

We build stable, well-tested software, built with Ruby on Rails and Javascript. reinteractive provides a complete solution from project scoping, to UX, design, web and mobile development, through to hosting and maintenance. All driven by our seamless, agile project management processes.

We are experts at large, complex and customised solutions. Bring us your ideas, wish list, integration problem or technical need and we will solve it.

  • AppWorkshop - Consultation & Project Scoping

    We work hard to find the right digital solution for you. Through our AppWorkshop we work with you to identify opportunities and engage in expert planning for business-critical applications. The aim is to get your application delivered and operating as fast as possible, with the viewpoint of incrementally adding features as the site matures and grows.

    Learn more
  • User Experience (UX) Design
  • Visual Design
  • Web & Mobile App Development
  • OpsCare® Managed Hosting
  • CodeCare® Code Maintenance
  • AppReview
  • Code Inspect Service
  • Ruby on Rails Upgrade Support
  • Salesforce & Heroku Custom Solutions
  • storeConnect® ecommerce for Salesforce

AppWorkshop - Consultation & Project Scoping

We work hard to find the right digital solution for you. Through our AppWorkshop we work with you to identify opportunities and engage in expert planning for business-critical applications. The aim is to get your application delivered and operating as fast as possible, with the viewpoint of incrementally adding features as the site matures and grows.

Learn more about AppWorkshop - Consultation & Project Scoping

Get the “reinteractive Review” Monthly Email