3 ms·
Rails, NodeJS, Django, they all do it with one entry point. That gives you maximum flexibility to decide what to do with a request once you've received it rathe
by astrodust 13y ago
Rails, NodeJS, Django, they all do it with one entry point. That gives you maximum flexibility to decide what to do with a request once you've received it rather than already being locked into some particular approach based on path.
This is done in the "Routing" layer which also helps provide diagnostics when it comes to seeing which bit of code was engaged.
There's a term for what an app with hundreds if not thousands of loosely defined entry points is called: A mess.