• 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 model

    what 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 plugin

    Plugin 2
    uses custom session class

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    By monolog do you mean https://github.com/Seldaek/monolog ?

    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

    We have to. People still use it. Some hosts won’t move off it, other people run MORE than WordPress, and those other apps require it. Wish we could, it won’t be for a couple years at this rate. It’s getting better :/

    Thread Starter Lee Mason

    (@nohalfpixels)

    yes monolog is a logging system which allows you to send logs to pretty much anywhere.

    WordPress doesn’t really have any built in logging capabilities which potentially means people are using the site and getting errors and no body knows it. could be built into wp_die and WP_Error

    i know what you mean with 5.2 but nobody is going to move forward without being pushed, php is on 5.5 already.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple feature request, please read’ is closed to new replies.