Multiple feature request, please read
-
ok so not sure if i should split this up into separate requests, but will see how this thread goes and split if needed.
Recently I’ve had multiple projects where the question for myself (being the dev on it) is “should i use wordpress or laravel?”.
but the requests are more about general framework features and not just laravel.
Every time i find myself wanting framework features, but also want to us wp as it just works right off the bat and i just add my features in a plugin.
More specifically and as matt has already publicly stated he sees wp as a application and not just a blog anymore here are my features which i would love to see in wordpress maybe.
1. monolog – not even going to explain this it should speak for itself
2. db schema builder and utility classes (instead of the rather prehistoric dbDelta and raw sql statements). this may be a bit early with current status of adding PDO to the core
3. migrations (sort of related to the above)
4. session support (opt in not on by default, there already a great plugin for this, which could be made core)
5. NAMESPACES!!!! – yes there 5.3+ but who cares about 5.2 anymore? it would add soo much to wp in terms of modularity and autoloading which would help with the “lightweight” ethos of WP
6. a decent ORM (doctrine?? Propel??) custom post types are great but defining a standard orm would be good for plugins with custom tables that don’t fit the cpt modelwhat does everyone think? I’m not suggesting they all get loaded all the time, just when needed.
adding an orm and a schema class would also help in keeping people within coding standards. Ive seems multiple different ways people keep schemas up to date in custom tables, all of which require raw sql statements which is just getting old.
plus things like the session i think should be core not because wp uses it, but because different plugins may use different options for the same thing.
Say you have:
Plugin 1
uses wp session pluginPlugin 2
uses custom session classSo now you have 2 different sessions! both of which are accessed differently and both which means another file include
It wordpress had a session class wordpress then controls the security of the session and wordpres defines how it should be used.
These are just examples and i may be way off what most people want, but id like to hear what people think.
- The topic ‘Multiple feature request, please read’ is closed to new replies.