I´m working on a PHP-Codeigniter Page that uses a MySQL Database.
On this page Users can login with their Google-OpenID and save some file-upload "Projects".
class Entry
{
private $mEntID;
private $mCatID;
private $mName;
private $mDescription;
private $mUserID;
private $mMainThumb;
}
class User
{
private $mUserID;
private $mIdentityURL;
private $mFirstname;
private $mLastname;
private $mEmail;
}
On some Pages I will show user-details of each Entry.
Which is the best way?
The first solution needs more database-calls, but there are less updating-problems if user-details are changing, while the second solution probably has a better performance