官术网_书友最值得收藏!

Understanding the WordPress database

Typical full stack web development frameworks don't come with a preplanned database structure. Instead, these frameworks focus on the core foundation of an application while allowing the developers to focus on application-specific features. On the other hand, WordPress provides a preplanned database structure with a fixed set of tables. WordPress is built to function as a content management system and hence it can be classified as a product rather than a pure development framework. A WordPress core database is designed to power the generic functionalities of a CMS. So, it's our responsibility to use our skills to make it work as an application development framework.

Our WordPress database is intended to work with MySQL and hence we need to have a MySQL database set up before installing WordPress. On successful installation, WordPress will create 11 database tables to cater to core functionality with the default MySQL table engine.

Note

MyISAM was used as the default MySQL table engine prior to Version 5.5 and has been changed to InnoDB from Version 5.5 onwards.

WordPress core features will always be limited to these 11 tables, and it's quite surprising to see the flexibility of building a wide range of applications with such a limited number of tables. Both WordPress and framework developers need to have a thorough understanding of the existing tables in order to associate them in web applications.

主站蜘蛛池模板: 富阳市| 申扎县| 乌恰县| 民勤县| 洛扎县| 申扎县| 清远市| 留坝县| 环江| 凤翔县| 万山特区| 石首市| 灯塔市| 策勒县| 蕲春县| 铜川市| 虹口区| 阿鲁科尔沁旗| 张家口市| 元江| 景宁| 晋州市| 金湖县| 和田市| 大厂| 罗山县| 昆明市| 胶州市| 麦盖提县| 宝山区| 沙湾县| 四子王旗| 宁武县| 常州市| 通渭县| 长武县| 越西县| 宜良县| 靖西县| 丰都县| 南华县|