We are using the BEM pattern ("Block, Element, Modifier") to structure our CSS in all new projects. We try to migrate legacy projects to BEM, block-by-block.
Read the chapter "Taming Stylesheets" from our book Growing Rails Applications in Practice (in our library).
Talk with a colleague about the reasons for the naming conventions we use:
.block .block--element .block.is-modifier
Why are elements preceded by a double dash?
Why is it important modifiers start with
Take a look at the popular lodash library.
Understand all the terms in How Ruby method lookup works, in particular:
Do you understand why
object.extend(SomeModule) is the same as
extend work together with inheritance?
On the Movie DB index, show a random actor who was born today:
Automatically retrieve the year of a movie for any new movie entered into MovieDB, using the themoviedb.org API. For the UI this means that there is no longer a "Year" field when creating a movie. It is automatically fetched a…
git diff --cached.
git reset --hard
git rebase --onto.
git rebase -i
git commit --amenddo?
Add a find-as-you-type search to MovieDB. Above the list of movies there should be a text input that updates the list with the search results as the user is typing in the query. The user should not have to press a "Search" button (hint: you can bind to the [
Movies in MovieDB should have one of the following workflow states:
A movie always begins as a
draft and then transitions through the states as it's getting reviewed. This could be a typical state flow for a movie:
draft => pending => rejected => pending => accepted
Change the visibility rules (Consul powers) so:
.png) and vector images (like
Browse the internet in order to:
Read the following material:
Discuss what you took away with your mentor.
Look at 3 random websites and discuss their design.
Apply at least three of the techniques you learned to MovieDB.
Understand how we're approaching applications that are either old or adapted from a different team:
bundle && rake db:create db:migrate)
Also have a look at our homepage.
Browse the internet to answer the following questions:
$.ajaxnot simply return the response from the server?
Write a Cucumber feature that tests that the map shows the correct location. Hint: Use
Add the following feature to MovieDB:
Create two implementations of this requirement:
RAILS_ROOT/public/system, but incl…
Many of our clients can't or don't want to design their user interfaces. In the absence of a good UI design, you should always be able to come up with a default. Since the user interface makes up 70% of a typical web application, this is closely related to requirements analysis and cost estimation.
Talk with your mentor about the following topics:
Find out some differences between PostgreSQL and MySQL. At the very least you should look at differences in: