Takeaways from Justin Searls' video series about creating a rails app from scratch
1st episode
cone of uncertainty
Before thinking the app from top to bottom (fancy well-designed ui and ux) or bottom to top (thought out database model with all attributes and interactions), focus on figuring out if the app can do the most important thing it should do, try that out in some place, like the console and then move on from there.
lib folder
All apps are essentially ETL bodies. We take data from somewhere (api, forms, imported files), do something with it and push it on (api or webhook, html site, etc). The transformation is the thing that is the business logic, the service, the work. That can really start living in a lib module, namespaced. Starting with self.function
model functions.
last responsible moment
Have the maximum possibility space by waiting with a decision until the last moment when you have to take it.
The Sequel to Searls After Dark
I started a screencast series last week, and I can call it a series now because there's a second one.
justin․searls․co