I am new to Framer.JS and CoffeeScript, the last time I programmed was a while ago.Can anyone refer me to a good example how to connect and query My SQL to load data into Framer.JS?
So to recap:1) No. You cannot directly query MySQL from the client-side (Chrome, Safari, FramerStudio)
2) You will need to have a server side script written in any server language like PHP, Node.js or Ruby to run that query and get the response.
...As I said this is very broad and probably I just confused you more...but there are many good resources to learn this. I would start with something like the JS tutorial in W3Schools. That would definitely solve some doubts: http://www.w3schools.com/js/
Thank you Juan J. Ramirez for your response, I installed Note.js, and run the "npm install mysql" under the [modules] directory of my project, so now I have [modules/mysql] directory]. In my Framer.js project, I put the first line to state mysql = require('mysql'), and I am getting the message [framer.generated.js]Error: Module mysql can't be found.
I know that I am missing something :-)
Doron Etzioni That MySQL module is a Node.JS driver.... I don't think there's a way to run that from Framer since it needs an actual Node.JS instance to run.
Thanks. I will keep trying