Difference between revisions of "Talk:Tutorials webOS Getting JSON From An External MySQL Database"

From WebOS Internals
Jump to navigation Jump to search
(New page: I would '''''HIGHLY''''' suggest using this example as an example alone. You NEVER want to create a directly link to your database. Instead, you want to abstract it. Instead of accessing ...)
 
Line 1: Line 1:
I would '''''HIGHLY''''' suggest using this example as an example alone. You NEVER want to create a directly link to your database. Instead, you want to abstract it.
+
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.
 
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.
 
In fact, I feel that this tutorial is quite negligent as it doesn't teach good practice at all.

Revision as of 04:45, 31 October 2009

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.