Hongmu Notes
Home Program Notes Empire Big Data Project Notes
Program Notes Empire cms

Empire Big Data Project Notes

Empire Big Data Project Notes

No. 2022.10.6

1. Create an aggregation table, the pioneer of big data!

Create aggregate tables, three:

CREATE TABLE `i9j_cn`.`phome_book_1` ( `id` INT(10) NOT NULL AUTO_INCREMENT COMMENT 'id' , `book` VARCHAR(255) NOT NULL COMMENT '本页聚合名' , `pageid` VARCHAR(255) NOT NULL COMMENT '关联的文章id' , `bookerid` INT(10) NOT NULL COMMENT '作者id' , `bookurl` VARCHAR(100) NOT NULL COMMENT '本页的链接' , `description` VARCHAR(255) NOT NULL COMMENT '本页的描述' , `bookerurl` VARCHAR(100) NOT NULL COMMENT '作者链接' , PRIMARY KEY (`id`), UNIQUE `book` (`book`)) ENGINE = InnoDB;
CREATE TABLE `i9j_cn`.`phome_book_2` ( `id` INT(10) NOT NULL AUTO_INCREMENT COMMENT 'id' , `book` VARCHAR(255) NOT NULL COMMENT '本页聚合名' , `pageid` VARCHAR(255) NOT NULL COMMENT '关联的文章id' , `bookerid` INT(10) NOT NULL COMMENT '作者id' , `bookurl` VARCHAR(100) NOT NULL COMMENT '本页的链接' , `description` VARCHAR(255) NOT NULL COMMENT '本页的描述' , `bookerurl` VARCHAR(100) NOT NULL COMMENT '作者链接' , PRIMARY KEY (`id`), UNIQUE `book` (`book`)) ENGINE = InnoDB;
CREATE TABLE `i9j_cn`.`phome_book_3` ( `id` INT(10) NOT NULL AUTO_INCREMENT COMMENT 'id' , `book` VARCHAR(255) NOT NULL COMMENT '本页聚合名' , `pageid` VARCHAR(255) NOT NULL COMMENT '关联的文章id' , `bookerid` INT(10) NOT NULL COMMENT '作者id' , `bookurl` VARCHAR(100) NOT NULL COMMENT '本页的链接' , `description` VARCHAR(255) NOT NULL COMMENT '本页的描述' , `bookerurl` VARCHAR(100) NOT NULL COMMENT '作者链接' , PRIMARY KEY (`id`), UNIQUE `book` (`book`)) ENGINE = InnoDB;

Create an author table, build it yourself, divided into four fields: id, author, author link, work id collection

2. Import the prepared author data
Previously, 1.5 million pieces of unique data have been collected into another data table.
So I exported the previous data table and put it in the database of the current project.

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Empire CMS database statement & SQL statement format

Empire CMS database statement & SQL statement format Program Notes Empire cms

Introduction to Imperial CMS extended SQL program writing, basic examples of Imperial CMS database statements & SQL statement formats: Note: The following examples are based on placing PHP files in the system root directory. Example 1: Connect to MYSQL program. (a.php)<?php require('e/class/connect.php'); //Introduce database configuration files and public function files requ…
👁 351
Empire CMS obtains the system COOKIE variable function getcvar()

Empire CMS obtains the system COOKIE variable function getcvar() Program Notes Empire cms

Get the system COOKIE variable function syntax: getcvar($var,$ecms) Description: $var: is the variable name $ecms: 0 is to set the foreground COOKIE variable, 1 is to set the background COOKIE variable. This parameter can be omitted and defaults to 0. Usage example: getcvar('mlusername'), get the user name of the front-end login member getcvar('loginu...
👁 295
Empire CMS smart label call field collection

Empire CMS smart label call field collection Program Notes Empire cms

Collect and classify all fields that support smart tag calls into Empire CMS smart tags: [e:loop={column ID/topic ID, number of items displayed, operation type, only display pictures with titles, additional SQL conditions, display sorting}] Template code content [/e:loop] Calling time: <?=date('m-d',$bqr[newstime])?> <?=dat…
👁 3749

Recommended reading

Responsive Data Security Website Template 0580

Responsive Data Security Website Template 0580 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for the data and information security industry. Its modern, secure design effectively showcases data security products, information security services, solutions, and technical expertise. It helps cybersecurity companies present their brand online and attract corporate clients. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS...
👁 54
Website Development – Marketing Website Templates 0581

Website Development – Marketing Website Templates 0581 Practical Collection Yiyou template

An eYouCMS template designed for website development and marketing websites. Its modern, tech-driven design is ideal for showcasing website development projects, marketing services, technical solutions, and corporate strength. This template helps digital marketing agencies attract business clients seeking website development or promotional services online. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for eYouCMS | eYouCMS...
👁 49
Responsive high-end website development – Internet marketing website template – 0582

Responsive high-end website development – Internet marketing website template – 0582 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for high-end website development and internet marketing projects. Its innovative and sophisticated design style effectively showcases premium website development cases, internet marketing services, brand strategy initiatives, and technical expertise, helping premium web development firms attract corporate clients online. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS...
👁 46
Resource website typecho001 template

Resource website typecho001 template Program Notes Typecho

typecho001 template template please do not modify the folder name of this template. The folder name is: typecho001 1.4 Fix the js output problem on the article page 1.3 Fix the error prompt when the plug-in is not installed Optimize the list page code output 1.2 Fix the comment function and add a custom homepage title 1.1 Fix the comment reply asymmetry function Add a separate title setting function on the homepage Add the website favicon.ico icon Add one...
👁 198
Responsive high-end website development – Internet marketing website template_20240807_101727 0583

Responsive high-end website development – Internet marketing website template_20240807_101727 0583 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for high-end website development and internet marketing projects. Its innovative and sophisticated design style effectively showcases premium website development cases, internet marketing services, brand strategy initiatives, and technical expertise, helping premium web development firms attract corporate clients online. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS...
👁 52
Modification of typecho paging style

Modification of typecho paging style Program Notes Typecho

Sir, times have changed! Typecho is currently the most perfect solution, because Baidu can only see the code of fixed thinking. The actual generated HTML code is breathtakingly clean and fully customized, including adding classes to the li element, adding classes to the a element, adding classes to the previous page and next page, and removing the li tags that come with typecho to express more. I can even add some text to the content inside...
👁 517