Talk:Tutorials webOS Getting JSON From An External MySQL Database
Jump to navigation
Jump to search
I would HIGHLY suggest using this example as an example alone. You NEVER want to create a direct link to your database. Instead, you want to abstract it.
Instead of accessing a table called users, you'd probably want to create a method for logging in, permissions, etc so no one can just view the contents of an entire table.
In fact, I feel that this tutorial is quite negligent as it doesn't teach good practice at all.