4 ms·
Welcome to programming - where there is no right answer and theres 1000 different ways to do what you want to do. Years of experience wouldn't make this an eas
by lsiunsuex 10y ago
Welcome to programming - where there is no right answer and theres 1000 different ways to do what you want to do.
Years of experience wouldn't make this an easy question to answer - everyone has their preferred stack; way of doing things; etc...
(personally) I like Wordpress for just a strait up blog. Anything more should get some custom code / CMS. It's not to say you couldn't do this in WP, but why lock yourself into a framework which may do more then you need it to do or less and you need to write custom code anyway?
If you write a custom API / CMS, you need to do everything yourself - user authentication, data storage, UI, the API, etc... It's a lot more work, but you'll get exactly what you build, no more, no less.
I would do a custom API, and use a CSS framework / JS framework where you can to save a bit of time. Plugin stuff like Bootstrap to get started quickly with the layout; there are thousands of JS script for JQuery, React, Vue, Angular to add any frontend features you'd like, etc... Then, if you ever decide to build a mobile app, the API is already written and you just need to hook up the app frontend to it.
It won't hurt to start on WP and see how far you get; if you out grow it or are feeling limited, start new and switch to a custom API / frontend. While it may be a PITA, It's not uncommon for new products to go through multiple revisions in the first year, especially when there isn't a huge team behind it to prototype different ideas.
- k__ 10y agoThank you. WP seems to be a nice fit, but I wanted to avoid deploying my own servers. Does this work with the SaaS version of WP? And does this allow access control of the content based on roles?
- lsiunsuex 10y agoWordpress can do roles for sure - admin, author, editor, etc... You can look at something like this - https://wordpress.org/plugins/user-role-editor/ https://wordpress.org/plugins/user-role-editor/ - if you don't want to try to build it yourself. There are many ways to use Wordpress without rolling your own servers; can configure a Digital Ocean droplet with WP pre-installed; use wordpress.com, even AWS has a Wordpress autoscale template. My concerns with using WP is always what comes down the line. Once your stuck inside a box, sometimes it's hard to get out of it or change the box into something else. You can change WP all you want with custom plugins, custom functions, etc... but at what point do you say, this would be easier with something custom then to try to make WP do what you want. Plus - WP has a colorful security history. Google Wordpress security updates and such and you'll get very mixed reviews on if you should use it for anything security sensitive.