React, Angular, etc question
- Started
- Last post
- 9 Responses
- BusterBoy0
Just curious...is it possible to use Wordpress as the underlying CMS but use react for your UI...and also the UI for a custom admin system? So there's no hint anywhere of Wordpress for anyone actually using the site?
On my project, there needs to be an area where stakeholders are able to load data into the site...loading up classifieds per se. But I wouldn't want them knowing it's Wordpress.
- Possible maybe, but not easily.monNom
- Wordpress probably the wrong choice for users uploading data to the site anyway. You'd want security/segregation as one of your core design requirements.monNom
- So what are the most robust type frameworks sitting under react?
Noob alert.BusterBoy - Not react but vue nuxt + wp REST api can do this. wordpress isn't necessary though. Look into static site generators, so many out there.sausages
- ernexbcn0
I hate wordpress, but why would you redo all the CMS with react or whatever?
You can instead keep the godamned wordpress to manage the content and then consume the API on the frontend for the public website.
- if you want to create your own "admin pages", google react crud or angular crud
crud = create, read, update, and deleteernexbcn
- if you want to create your own "admin pages", google react crud or angular crud
- section_0140
CMS is mostly a backend operation, driven by databases. If you have something in Wordpress, you could use their rest api, as opposed to the usual templating format.
Frontend frameworks like React and Angular handle the GUI, and that's it. Passing data back in forth is, almost exclusively, done with Ajax requests/responses (ie. passing JSON data back and forth).
- fwiw, I've been using VueJs for a sizeable project, and it's my favorite to use so far. I've used all the popular one's like Angular, React, Polymer, Backbone.section_014
- chrisRG0
yes, you can use the Wordpress Rest API with any framework, I've used it with both Angular 1-2 and React+VanillaJS
Angular1 example
https://1fix.io/angularjs-wp-res…
- BabySnakes0
I would think as long as your CMS can provide the front end with JSON data, an Angular app would work easily with it.
- ArmandoEstrada0
Just wondering how the CMS aspect is handled with these frameworks.
- zaq0
or if you need to use react
https://wptavern.com/ustwo-an-op…
- zaq1
but in reality, why use React if you have Wordpress?
- zaq0
- ArmandoEstrada
With all these frameworks out there, how do you handle the CMS part? How is the data entered for front end display? Clients want to update their sites often. Can something like Wordpress rest API be used to feed data to a site built in these frameworks? Any basic insight Into this would be appreciated or links to articles how this works from a CMS perspective.
Thanks.