• Ildikó Tuck

    What is a Clickable Prototype?

    By Ildikó Tuck,

    Perhaps the most common question after "How are you?" in any context is “So, what do you do for a living?" If you’re a UX designer, answering that will get complicated quickly. Because, even though the field has been around for a while now, many people - even those working in IT - still aren’t sure what exactly UX is.

    Anyone working in this field for any significant amount of time would have the “off-the shelf” answer that doesn’t turn into a 5-minute soapbox moment where we explain what UX is and why it matters (so much!!). My answer is “it’s kind of like engaging an architect for a house, I create a blueprint for web apps that tells everyone where everything needs to go. And then I talk to people about it”. That answer is usually plenty complicated to yield some confused looks.

  • Rhiana Heath

    Simple CSSGrids for IE

    By Rhiana Heath,

    Yes you can use CSS Grid in IE 10 and 11, it’s just a different version so the syntax is a bit different. On the plus side though, it doesn’t interfere with your current CSS Grid setup. :-)

    Did you know that a Grid system was originally developed for Internet Explorer 10 (IE10) back in 2011? It was submitted to the W3C and, while a great start, it was not complete. They worked on it some more to develop the CSS Grid system we use today. So there are some similarities between the two, but the IE one is set up in a different way in parallel. Read more about the whole story here.

  • Stephen Huang

    How to structure JavaScript code when using AJAX in Rails

    By Stephen Huang,

    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.

  • Mikel Lindsaar

    To Microservice or Monolith, that is the question...

    By Mikel Lindsaar,

    To Microservice or Monolith, that is the question...

    Whether 'tis nobler in the mind to suffer
    The pains and troubles of hosting and maintaining,
    Or to take arms against a sea of troubles
    And by opposing the split of services, end them.

  • Victor Hazbun

    Using Ruby Closures to simulate classes

    By Victor Hazbun,

    A technique commonly used in JavaScript is to use closures in your objects instead of classes. This is done to ensure that variables do not leak out and inadvertently become overridden by some other function or operation.

    This technique can also be used in Ruby. The scoping rules of Ruby are such that when a lambda is defined, that lambda also has access to all the variables that are in scope.

  • Daniel Heath

    Using git rebase and git merge to optimise your pull requests

    By Daniel Heath,

    A popular and effective way of developing a complex application in a team setting is to make use of git feature branches and submitting a pull request to be merged into the develop branch. Sometimes, though, the pull request can become quite large. This may result in a lengthy wait to get your pull request reviewed, bugs being overlooked, and merge conflicts.

    These difficulties can be helped by shrinking your pull requests using the following two strategies:

  • Rhiana Heath

    DIY CSS Grids

    By Rhiana Heath,

    Grids are an effective way of getting all the components in your website into the right spot. It allows you to put things into columns and get them to line up nicely.

    If you don't have grids, your website is going to look something like this:

  • Daniel Heath

    Frankenstein's ActiveRecord: How to stitch together complex ActiveRecord queries from simple parts

    By Daniel Heath,

    Active record makes it easy to write simple queries anywhere in your application. The key phrase here is anywhere in your application: When database queries are scattered throughout your application, simple database changes may require modifications to your controllers, your views, helpers, mailers, etc.

    ActiveRecord provides you with scope which allows you to hide the details of your schema so that database changes don't affect the entire application.

  • Victor Hazbun

    Managing Stripe subscription payments in Rails

    By Victor Hazbun,

    Stripe has a great API to manage subscription payments. Here we take advantage of it to implement recurring subscriptions in Rails 5.

    Using the Stripe API means we do not have to store sensitive customer information like (credit card number or CVC), and the APIs are already set up to handle complex cases such as update plans, manage subscriptions, trigger refunds, and more.

  • Lucas Caton

    Five small hacks for your Ruby projects

    By Lucas Caton,

    Here are a few small hacks I have discovered over the years to streamline your Ruby projects.

    Many projects require a method that takes a date as a parameter and returns the date if it is valid and false if it is not. This method should also not raise an exception.