[wp-trac] [WordPress Trac] #21300: Implement autoloader compatible with PSR-0 / PSR-4 for plugins and themes
WordPress Trac
noreply at wordpress.org
Fri Feb 14 21:59:48 UTC 2014
#21300: Implement autoloader compatible with PSR-0 / PSR-4 for plugins and themes
-----------------------------+-------------------------
Reporter: dave1010 | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Bootstrap/Load | Version:
Severity: normal | Resolution: maybelater
Keywords: | Focuses:
-----------------------------+-------------------------
Comment (by Denis-de-Bernardy):
Replying to [comment:20 MikeSchinkel]:
> Please don't. Deep directory structures are a real pain to deal,
especially when you are talking about a small number of files like with
most plugins.
But then, you and I mustn't be dealing with the same plugins on a day to
day basis.
> That said, struggling to find classes is a problem I never see. What
editor do you use? Doesn't your editor give you tools to find classes
easily?
Textmate, and it does.
Let me put it this way, though: my main customer at the moment is running
a nuclear wasteland comprising of ~80 mostly forked plugins and four
themes due to hard-coded references and child themes all over the place,
none of them up to date, with a grand total of ~8000 files full of buggy
spaghetti code.
It's not pretty, and the first thing that came to my mind was -- duh! --
to drop WP entirely and rebuild his entire site on top for a sane PHP
framework and Postgres.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21300#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list