Skip to content

u/filiped

In this archive from Dec 2010 to Aug 2023

4
posts
202
comments
3
media
956
score
1 saved before deletion

I shared this project for the first time in this very subreddit, some 2 years ago, while it was still called "damnit". Some 5 million packagist downloads later it's still going strong, in great part thanks to the help of one the project's early contributors, denis-sokolov, who I can't praise enough.

I've been working on a redesign of the error page for quite a while, and it's been recently released, along with some other goodies and bug fixes.

20 points

Halting (possible) progress on one side because of things on another unrelated side is an awful way to manage things.

what about the ability to namespace functions ?

That's already possible, isn't it?

3 points

1 - PHP has several problems with language design, core implementations, etc (many of these are legacy-related). It's also easy to get started with, which leads to a community with a large percentage of newbies making silly mistakes.

2 - (a lot of) programmers are elitists, bandwagon-lovers, or just trying to fit in; PHP is an easy target for the things I mentioned in the first point.

113 points

You can indeed do it with something Laravel, and it is a great idea for a small project to help you get your bearings on PHP. If you'd like, you could also either:

a) Try to do this sans-framework, as a way to get better acquainted with the standard library

b) Try to do this with a micro-framework, like Silex or Slim, integrating existing libraries (maybe using Imagine to handle image resizing? Paris, Doctrine, Propel as a database abstraction? etc, you get the idea), as a way to get to know what's out there, using composer, etc

Good luck!

2 points

I've pushed support for clickable editor links to its own feature branch, available here:

https://github.com/filp/whoops/tree/feature/open-in-editor

I'll merge it in after I clean-up the code a bit, and add some more default editors to the list (only textmate, sublime and emacs thus far; with support for adding more through the handler).

Again, thanks for the suggestions!

4 points

A lot of info is available but not displayed if empty, such as $_POST and $_SESSION data. Other useful information can be added for individual projects through the available methods (esp. PrettyPageHandler::addDataTable).

Some other contextually-sensitive information could indeed be made available, I'll work it into future updates.

As for the suggestion to make clickable IDE links - good idea! I'll put that into an update in the near future, thanks!

1 points

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.