Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

Content management systems

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

Twenty teachers, one website

A school website has 200 pages. Twenty teachers must update them. Nobody wants to write code.

What if a teacher opens a page, types, and presses Publish? No code at all.

A content management system does this. It is used on a huge number of websites.

Key words

WordWhat it meansExample
Content management system (CMS)Software that lets people create, edit and publish content without writing code.WordPress, Drupal
ContentThe pages, text, pictures and files of a website.
Search engine optimisation (SEO)Making pages easy for search engines to find, so they appear high in the results.
AnalyticsTools that count and show how people use a site.
WorkflowThe steps a page goes through before it is published, such as draft, review, publish.
ThemeA ready-made design that sets how a CMS website looks.
PluginA small add-on that gives a CMS a new feature.
RollbackGoing back to an older version.
Open APIA public way for other programs to read or add content.
MultilingualAvailable in more than one language.
DatabaseAn organised store of data that programs can search and change.
QueryA question you ask a database.
SQLThe language used to write a query.

The cells students fill in are left blank in this preview.

Twelve CMS features

FeatureWhat it doesWhy a school wants it
SEOSets page titles, descriptions and web addressesParents find the school in a search
Page and screen managementAdd, move and organise pages and menusEasy to keep the site in order
Social media integrationShare buttons and auto-postsNews reaches social media
Analytics toolsShow visits and popular pagesSee what parents read
Workflow managementDraft, review, approveA head teacher checks news first
Publishing controlsChoose who publishes and whenSchedule a notice for Monday 9 am
Security featuresLogins, roles, updates, backupsOnly staff can edit
Versioning and rollbackKeep old versions and go backUndo a mistake in one click
Content repositoriesOne store for pictures, files and textReuse the school logo everywhere
Open APIsOther programs read or add contentThe school app shows the same news
Multilingual supportPages in many languagesWelcome page in Polish and Urdu
SupportHelp, documentation and a communityA fix when something breaks

The cells students fill in are left blank in this preview.

Quick check: which feature?

Have a go

Quick check: which feature?

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Reading a query

You seeSay it in words
SELECT version, bodyShow me the version and body columns.
FROM page_versionLook in the page_version table.
WHERE page_id = 2Keep only the rows for page 2.
ORDER BY version DESCSort the rows, newest version first.
-- some wordsA note for people. The database skips it.

The cells students fill in are left blank in this preview.

Try it: versions in a database

Code: sql
-- A CMS keeps every version of a page. This shows the history of page 2.
SELECT version, body, status, edited_by
FROM page_version
WHERE page_id = 2
ORDER BY version DESC;

-- Which version is the last one that was published?

Using a CMS in design and development

In design, you choose a CMS by its features. Does it have the workflow, languages and security you need?

In development, you build a theme for the look. You add plugins for extra jobs. You use the API to link the CMS to other programs, such as a mobile app.

The lesson goes on

5 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.