Understand how asynchronous JavaScript works: Read Henning's presentation about asynchronous Javascript (there's also a German video presentation in our shared folder) Read about Promises on MDN and...

...this visualization Read about async / await. Read about requestAnimationFrame and requestIdleCallback Note that requestAnimationFrame can be used to reduce the number of repaints for animations. This might benefit your application...

...JavaScript Basics, the goal of this card is for you to be able to read and write more complex ES6+ code. The JavaScript Object Model Read The JavaScript Object Model...

...no way for a JavaScript class to define its own concept of equality Closures Read "A javascript closures recap" to understand what a "closure" is in JavaScript Understand the reason...

cronjobs (managed with whenever) job queues, usually with Sidekiq Learn about cronjobs Read HowTo: Add Jobs To cron Under Linux or UNIX? Understand how we manage cronjobs with...

...a movie if it hasn't been accepted for 7 days. Learn about Sidekiq Read Sidekiq's Readme Read Sidekiq best practices Read Sidekiq Error Handling Understand how to schedule...

Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters: (1) Security Principles (3.3) Sessions and Cookies (3.5) Same-Origin-Policy (4.2) Angriffsfläche...

...Federation / Single-Sign on (11) Serverseitige Angriffe (12) Clientseitige Angriffe (13) Clientseitige Schutzmaßnahmen Read through the most known security issues in web application, often known as "OWASP Top...

makandra Curriculum

Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul and assignable_values can be used to implement arbitrary authorization...

Exercise: Read code In Cards, users can be given deck-specific read/write access. Play around in the cards UI to see that functionality. How does the application decide whether...

Read the following chapters from The Pragmatic Programmer, anniversary edition (in our library): Chapter 1, Topic 3: Software Entropy Chapter 2, Topic 9: The Evils of Duplication

...Topic 10: Orthogonality Chapter 5, Topic 28: Decoupling (and the Law of Demeter) Read the following chapters from Clean Code (in our library): Chapter 1: Clean Code Chapter 2: Meaningful...

Software engineering principles Read about the following software engineering principles and code smells: Single Responsibility Principle Law of Demeter Object Orgy Feature Envy Refresher: Tell Don't Ask

...Find some examples where code could be improved using the principles above. Technical debt Read about "Technical debt". Read this article: Are you experiencing technical drift Read this article: Moving...

makandra Curriculum

...a full irb console, even though it somewhat behaves that way. Use the byebug README, byebug's help command (check help help for its usage) and our byebug cheatsheet to...

...do the following in the debugging console: Understand your current position in the program Read local variables Call methods that are reachable from the current scope Switch into a full...

...backed by a database or not). If you're not familiar with the pattern, read or re-read "New rules for Rails" from Growing Rails Applications in Practice (in our...

...the following features: CRUD for stands Everything related to viewing and editing weekly reports Read Project management best practices: Issues on how we write user stories. Note that in practice...

Internet of Things Blockchain DevOps Artificial Intelligence or AI or Machine Learning Also read Awesome Cold Showers. Discuss a few of these technology with your mentor. Focus your discussion...

...you can build a habit of consuming it periodically, e.g. a blog feed to read on the train or a podcast you can listen to while shopping or cleaning.

...desktop and/or phone. A habit of skimming over large bodies of text before intensively reading their most relevant pieces Considered reducing distractions by disabling notifications. Getting things done

...For work it's often sufficient to have a single TODO list. Minimizing distractions Read an article about context switching Read an article about flow Watch Merlin Mann's Inbox...

makandra Curriculum

Read the Rails Guide about Active Record migrations Understand why we never use models in migrations. Checkout the repository Project Hero and read through some migrations in db/migrate. Find...

...discuss them with your mentor. Tip Find the largest files in the db/migrate folder. Read and understand How to write complex migrations in Rails Discuss with your mentor

...JS libraries with their dependencies and version history. How to chose a new technology Read the card "Choosing the right gems for your project" and the article "Choose Boring Technology...

...can receive different versions of those secondary packages at the same time. You can read a little bit about it here. Note that: This is possible in ES6, but not...

makandra Curriculum

...use on the backend. Goals After finishing this lesson you should be able to read and write simple Ruby programs. Gain an understanding of the following concepts: Working with basic...

...some tutorial to get you started with learning Ruby. You don't need to read them all. Pick some that work for you. codeacademy.com: Interactive tutorial Introduction to Programming with...

makandra Curriculum

Basic validations Read the Rails Guide on ActiveRecord Validations. You should have an overview which kinds of validations are built into Rails. Also read Testing ActiveRecord validations with RSpec.

...all your validations in MovieDB. Use Shoulda matchers where you think they improve the readability your code. Working with error messages Understand how to use the #errors method to inspect...

makandra Curriculum

The lifecycle of an issue How to write an issue Issue format Read the card Project management best practices: Issues. Gatekeeping Get familiar with our Gatekeeping process.

Commit squashing (and the resulting traceability through git blame) Our Merge request checklist Read the card Before you make a merge request: Checklist for common mistakes Include the checklist...

...with regular expressions works differently in every language Ruby: Making your regular expressions more readable with /x Regular Expressions - Cheat Sheet ReDOS: Denial of Service attack vector on inefficient regular...

...parses a .rb file containing a simple Ruby class: # student.rb class Student < Person attr_reader :first_name, :last_name, :disabled attr_accessor :credits def full_name first_name + ' ' + last_name...

Note This is an older video. FactoryGirl has since been renamed to FactoryBot. Read the FactoryBot Getting Started guide. Despite its name this is an in-depth guide and...

...This looks awesome, but at the risk of adding random strings to your screen. Read don't build randomness into your factories for more background. Tests should never influence each...

makandra Curriculum

...we are using popular authentication libraries like clearance or devise for this task. Learn Read the article Rails Authentication from Scratch You don't need to do write any code...

...make the movies' show view only accessible for authenticated users? How does logout work? Read the documentation of clearance in preparation for the exercise below Exercise: Authentication with Clearance

...all new projects. We try to migrate legacy projects to BEM, block-by-block. Read Read the chapter "Taming Stylesheets" from our book Growing Rails Applications in Practice (in our...

...this card by skimming over the linked resource. Discussion Growing Rails applications in practice Read the following chapters from our book Growing Rails Applications in Practice: On following fashions

...about the sandboxing cycle is quite on point on this topic. After the chuckle, read these resources: Pendulum swings by Mark Seemann The Pendulum Swing of Development and Technology Trends...

Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived copy) For each chapter in each article:

...very powerful tool. Most notably, it allows you to represent data in a very readable manner. For example, Rails offers a compact DSL to define new routes. A big drawback...

...feature. If you can't think of one, discuss it with your mentor. Also read through the card How to not repeat yourself in Cucumber scenarios. Cucumber Factory

...a very useful gem to create test data in cucumber: cucumber_factory. Read through the README. Integrate it into your MovieDB and replace your custom model creation steps with Cucumber...

...object.singleton_class.include(SomeModule)? How does include and extend work together with inheritance? You may also read more about the Ruby Object Model, if all of this is quite confusing to you...

...out how ActiveSupport::Concern works. Understand the documentation for our Modularity gem Forwarding arguments Read and understand the card "Changes to positional and keyword args in Ruby 3.0" Monkey patching...