PHP Classes

Classes of Sasa Radovanovic

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Sasa Radovanovic (1)  >  Mission progress status  >  Reputation  
Picture of Sasa Radovanovic
Name: Sasa Radovanovic <contact>
Classes: 1
Country: The Netherlands The Netherlands
Age: 48
All time rank: 272969 in The Netherlands The Netherlands
Week rank: 195 Up4 in The Netherlands The Netherlands Up
All time users: 765
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Table Data Management  
Interface to manipulate data in database tables
The TableDataManagement class is used as an interface to manipulate data in rows of an SQL database table.

Each object of the class can access individual rows of a given table.

How does it work?

On initalization of a class object it obtains information about the table it is interfacing.

After the initialization the class knows:

- what primary keys are defined
- what are the types of the table columns

After the object has been initialized the user can than either load the object with a specific record, or save a new record into the table.

Benefits
- select, update, save, delete records without having to write specific SQL queries
- Keep code clean by passing all needed data trough to the class object and calling the specific methods


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z