140 likes | 251 Vues
This slideshow by Mark Kelly McKinnon offers an insightful overview of static and dynamic websites, distinguishing between the two types and their functionalities. It explores Content Management Systems (CMS) like WordPress, Joomla, and Drupal, detailing how they generate pages based on user interaction and database content. Additionally, it covers the role of Cascading Style Sheets (CSS) in web formatting and design. The content is designed for teachers and students in secondary education and is freely distributable for educational purposes.
E N D
Power Websites CMS and CSS VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com
Contents • Static websites • CMS – Content Management System • CSS – Cascading Style Sheets
Static Websites • Each page is produced by hand, using GUI web editor (e.g. Dreamweaver) or raw HTML code • Pages never change without being edited • Can be dull and unresponsive to current conditions • Imagine a static eBay site where the finishing time of all auctions had to be entered by hand every second.
Dynamic Websites • Constantly changing – e.g. eBay • Can respond to events and the profile of the user • Can be achieved to a degree with Javascript (e.g. a countdown timer on a static page)
Content Management Systems • CMS • Examples – Wordpress, Joomla, Drupal • Database-driven software that creates pages when needed and tailor-makes them for the time, the circumstances, the user
CMS • The CMS fetches content (e.g. text, data, pictures) from the database and creates a webpage with pre-defined formatting chosen by the webmaster. • The same pages might look different for each person viewing it (e.g. their ‘My eBay’ pages, or their Facebook pages.)
The CMS combines content, media, formatting to create web pages which are sent to the visitor’s browser
Cascading Style Sheets • CSS • Instead of repetitively formatting lots of types of text in the same way, define the formatting in a CSS file and just mark text with the style it needs
CSS • To change the look of main headings, change the definition of HEADING1 once in the CSS file. • Don’t have to find and change every piece of HEADING1 text across the site • Far quicker, easier • Creates consistently formatted sites
CSS • E.g. CSS file contains “Heading 1 = Bold, TNR, size 20” • In a webpage, some text is tagged as being “Heading 1” style.
VCE IT THEORY SLIDESHOWS By Mark Kelly McKinnon Secondary College vceit.com These slideshows may be freely used, modified or distributed by teachers and students anywhere on the planet (but not elsewhere). They may NOT be sold. They must NOT be redistributed if you modify them.