i'm trying to create a wordpress plugin and got a bit lost.
I'm not looking for a solution in code but could anyone direct me to a tutorial/docs where to find the correct approach.
I'm trying to post an array of objects to a mysql database.
Most basic stuff that you can do - onClick function, that connects to a database.
My wordpress plugin is created using React and I have previously used AJAX, but this time it throws quite a lot of errors that I have not seen, so I don't even know where to begin.
mysql npm package is also not working as I have used it before so i'm just confused.
Essentially could anyone tell me which API to use and link a good tutorial
Related
I am trying to use a google sheet as the database for my React App. From what I can tell it seems that this isn't possible unless you use something like sheet.best
Is there another way? If so is there a free way, as I tried using sheet.best but quickly ran out of free requests. I tried Steinhq but am having trouble getting that installed
originally I was following tutorials for just simple node applications, but those don't seem compatible with react
Thanks!
I am coding simple CRUD application and would love to avoid backend (including PHP). Is there any way i could do it? If you have an idea that uses backend but still it's easy to initialize could you explain it to me please?
I have a folder with my simple CRUD application and I'm using only css,html and react.js
I have tried express but probably wrong and pgPool. I would love to connect directly somehow. Thing that i am trying to avoid the most is PHP
I haven't decided if i want to use mySQL or postgre yet, so im fully flexible with coice.
I am currently trying to teach myself django+reactjs. I have been able to get react to load with django run server but it doesn't live update. I can only see updates after I build and re-run django server. Is that how it is suppose to be or am I missing something? Please forgive me I am still very much a noob at programming.
I'm pretty new to react and building out a little prototype using Firebase as a backend. One of the primary functionalities involves a user writing a post in an editor, which is saved to firebase. On submit in the editor, I am trying to create a new standalone page for the post with the firebase uid as the ending part of the new unique URL.
The problem I'm having is figuring out a way to create the new page on submit. I haven't been able to find any documentation for a similar problem like this specific to react or firebase, and was just wondering on a high-level what a good approach to executing this might be? Thanks
The newly launched Firebase Hosting + Cloud Functions integration can help here. The first bullet point in the documentation looks like it describes your use case exactly.
You also mentioned React. There is a handy sample project showing how to implement an isomorphic React app with Firebase.
I'm new to WordPress and I've also been having fun experimenting with Angular/Firebase.
I'm looking to find a way to have an Angular app connect with the WP API in a way that goes further than just displaying posts.
Can someone direct me towards how to submit a form to Firebase and have it simultaneously create a new post and/or page in the WordPress backend? I've come across Zapier but, a) It doesn't seem to be flexible enough for what I want to do and b) It's not free and I'd rather figure it out on my own (with some help from you guys of course.)
I'm plenty fine with being able to use an $http request to list and display posts... but how can I create NEW posts?
PS: I don't NEED to use Firebase. Mainly, I'm really most concerned with creating a new post and/or comment without having to actually do it from the wp-admin.