News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Understanding and Working with Relationships Between Data in WordPress
August 01, 2014 @ 09:21:54

NetTuts.com has posted the second part of their series looking at the "guts" of a typical WordPress installation. In the first part they gave an overview of the structure and contents of the various database tables. In this second part they get more into the relationships between them.

In the first part of this series on data in WordPress, I gave an overview of the WordPress database tables, and which tables are used to store what kind of data. In this second part, I'll outline how WordPress manages the relationships between that data. As you'll see, WordPress uses three kinds of data relationship - one-to-one, one-to-many and many-to-many. I'll look at each of these and what they mean for your WordPress site.

He goes through each of the relationship types and includes examples from the WordPress database to illustrate them. He then gets into a bit more depth, talking about the specifics of some relationships like: posts-to-users, posts-to-comments, comment-to-comment and the structure of the many-to-many relationships too.

0 comments voice your opinion now!
wordpress series data database relationship tutorial part2

Link: http://code.tutsplus.com/tutorials/understanding-and-working-with-relationships-between-data-in-wordpress--cms-20632

blog comments powered by Disqus

Similar Posts

Hasin Hayder's Blog: Building services like FriendFeed using PHP - Part2

Daniel Krook\'s Blog: Public draft - Developing PHP Applications for IBM Data Servers

Stefan Mischook's Blog: Building Objects Video (Parts 1, 2 & 3)

HowToForge.com: Installing Lighttpd With PHP5 And MySQL Support On OpenSUSE 11.1

Abhinav Singh's Blog: How to use locks in PHP cron jobs to avoid cron overlaps


Community Events





Don't see your event here?
Let us know!


podcast series symfony introduction library release api developer deployment laravel language community tips zendserver interview bugfix threedevsandamaybe list opinion framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework