Skip to content

u/buggedcom

In this archive from Nov 2010 to Apr 2017

1
posts
63
comments
1
media
131
score

Actually there is a way of extending the class function list programatically, however it is not particularly pretty. You would do so with Mixins. There is no native PHP functions to add mixins however I have cobbled it together using traits and a base Mixin class.

I've taken out the classes from one of my main projects and put them in a simple git repo with a very quick demo script.

1 points

I too have my own cms and have been considering writing an open source installer, not just to run updates but also for plugin installation. I've started spec'ing it out and to do it properly with security constraints, handling modification of files, chunking/patching modified files, file permissions, handling sql updates, interacting with repos etc, is a lot of work, but well worth a decent community effort.

If you are thinking of making an open source component library yourself, count me in. Send me a pm or something as I would love to collaborate on it.

2 points

I did some work with Elgg at one point, up until I discovered the number of database queries for a users profile page was upwards of over 1000 and had a memory usage footprint of over 25MB.

It's a shame it was that sloppy (I can't comment on the current state of affairs), because the community is very active.

5 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.