3 ms·
Wordpress in next to not manageable with git anyway in my experience.The plugin system is totally broken when it comes to versioncontrol. Anything added to word
by aikah 12y ago
Wordpress in next to not manageable with git anyway in my experience.The plugin system is totally broken when it comes to versioncontrol. Anything added to wordpress might f.. up the db or the cms itself.
Wordpress codebase is f.ed up, ugly, badly architectured yet this is the most popular CMS and its ecosystem is huge.
It's amazing and scary.
- woah 12y agoYou sound like you may not know how to do it. I manage a medium-large sized site with Wordpress and git and it works great. Why would you ever try to check plugins into git? You are not supposed to touch anything outside of your theme folder. I have never had any issue updating anything.
- morgante 12y ago> You are not supposed to touch anything outside of your theme folder. Uh, what? Any medium/large site inevitably ends up with a few custom plugins.
- TheAcen 12y agoPlugin functionality can be coded into the theme itself. Unless it isn't 'custom' that is. Then there is a plugins folder.
- nuetrino 12y agoThemes should only be used as templates. Functionality for the most part belongs in plugins.
- rwhitman 12y agoThats a pretty bold statement. Kind of curious the reasoning
- nuetrino 12y agoI guess I view this separation as an adaption of The Single Responsibility Principle. This is how I view themes & plugins, and their relationship. Your theme is used to display your site, it's navigation, content, it controls the markup browsers see. Plugins are for adding functionality to your site, if you want a sitemap, there's a plugin for that. Not happy with your current sitemap? Install/Create a new plugin, replacing the old one. If your sitemap isn't working, where do you look? Your sitemap plugin's code. The importance of having this separation of tasks, removes a lot of risks too in my opinion. If your site isn't working instead of risking having to change your theme, you can deactivate the troublesome plugin. Albeit finding the offending may be difficult, but at least you're not changing the total design of your site. Hence why I believe in plugins and themes having distinct tasks. It really helped me organise the development, and maintenance of sites. Here's a pretty decent setup for using git with WordPress too. https://github.com/markjaquith/WordPress-Skeleton https://github.com/markjaquith/WordPress-Skeleton http://en.wikipedia.org/wiki/Single_responsibility_principle http://en.wikipedia.org/wiki/Single_responsibility_principle
- gandalfar 12y agoTreat plugins as separate and independent modulse, just as you would in any other project and put each plugin into their own git repository.