News for hackers. Stuff that matters.
Re:Kill your index.php by astrodust on Tuesday January 28, 2014 @09:54PM (#7141529)
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.

There are no comments on this comment yet.