• Hey guys,
    So I am working on a site that along with blogging and user generated content, is also connected to a digital tool written in JS. In the tool you will be able to adjust sliders and buttons and such to modify a js animation.
    What I want to be able to do is link the js file to my wordpress project and then when logged in be able to save the modified js animations to the specific users profile.
    So the way I was thinking of doing it would be to sending numerical data collected from the sliders directly to the database nested under the specific user.
    So I feel like I have a general idea on the basic structure of it all but am a little unsure on how to go about linking all the pieces.
    I have played around with Firebase before and was considering that but would rather do something with the wordpress database just to keep everything together and it will probably be easier to assign things to specific users that way.

    So, my question is, can anyone give me any guidance on how to go about doing this or any advice on places to learn so I can get going in the right direction?

    Or if anyone has any other suggestions on the way to accomplish what I am trying to do that would also be very much appreciated.

    Note: I am familiar with JS and Python but have yet to really get a handle on PHP. Also I don’t have any experience with mySQL. So any suggestions that might work together with my skills would be preferable. I understand that I may need to learn these though to achieve my goal.

    Thanks

Viewing 1 replies (of 1 total)
  • Well, if you’re willing to learn then that’s the way to go. I recommend starting with writing a plugin that will accept the values you need to store. Then you can use the update_user_meta function to store the data and the get_user_meta function to retrieve it. There are plenty of tutorials on writing WordPress plugins just a google search away. Good luck 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Guidance on sending numerical data to database’ is closed to new replies.