Skip to content

u/Gornius

In this archive from Mar 2018 to Dec 2026

4
posts
158
comments
1
media
1k
score

Top posts

Top comments

It's because you can route all the traffic through a single index.php, which gives you whole load of benefits.

  • You can start modeling your project as a single app rather than collection of pages.
  • Gives you ability to execute common code without using include (which is now discouraged in favor of autoloading).
  • Gives you the ability to make dynamic routes with parameters
  • Makes it IoC compliant, by giving every route a common, safe environment where it doesn't have to worry about stuff around app, just handle the endpoint itself.
  • And last but not least - makes handling different HTTP methods not total mess.

Pretty sure there are many more upsides, but I forgot to put them here.

68 points

It seems overly verbose to have to output everything

Verbosity is great. Half of the problem of JS is because it tried to be magic and "guess" what programmer meant.

If you look at a complex code it's a lot easier when you can just read what it does rather than having in mind all the potential gotchas that are created by trying to "simplify" code by making it more magic.

36 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.