3 ms·
I try to work backwards from the public api to get a sense of the operations that are supported by the system. A trick I picked up from a thoughtbot training vi
by estsauver 11y ago
I try to work backwards from the public api to get a sense of the operations that are supported by the system. A trick I picked up from a thoughtbot training video a couple years ago for Rails applications is to look at the routes file. If you work with webapps, the routes generally define the things that people can do.
- almog 11y agoThis routes-trick is my starting point as well on web apps. The next place I try to understand is the persistence layer - be it the a database scheme or models working against remote APIs. Building a mental model of the the data (around which the app surrounds) serves as a map for the rest of the code tour.