Week Four (MGDP2060)

From Wiki @ Karl Jones dot com
Revision as of 09:34, 17 September 2015 by Karl Jones (Talk | contribs)

Jump to: navigation, search

This article lists topics for week four of Web Design and Development III (MGDP2060).

See also Week Four Exercises (MGDP2060).

In the news

Items of interest

Little Bobby Tables

See:

Get versus Post

...

student_ftp

The class web server now has a folder named student_ftp for students to store class-related resources which are not part of their website, such as class notes, Photoshop files, etc.

  • Create a subfolder in the student_ftp folder.
  • Give this subfolder the same name as you gave your website subfolder.

Within your FTP folder, you are free to store create further subfolders, to organize your work.

Some classroom exercises will require you to make folders, give them specific names, and store particular files there.

Wireframe

In your FTP folder, create a folder named wireframe.

  • Upload your wireframe to this folder
  • Keep any other wireframe-related documents you make in this folder

Web page conventions

Follow these web page conventions when creating class-related web pages.

See also Naming convention for more general information.

wordpress.htcwebcreative.com

See wordpress.htcwebcreative.com.

Downloading WordPress

WordPress is available for free download at:

  • [ wordpress.org]

Do not confuse with wordpress.com -- a commercial web hosting service.

About .tar and .gz

  • .tar and .gz are file formats for archiving and compression
    • OS X has built-in handling for these formats
    • Microsoft Windows does not, you will need to download 7-Zip or some other application

WordPress folder

Move the wordpress folder into your local root folder.

Alternately, you can move the WordPress files into the local root folder, which automatically makes the Home page display WordPress.

  • Don't do so for this class, but you may wish to do so for other sites

Using the subfolder gives you options:

  • You can browse WordPress using the subfolder in the URL
  • You can make your Home page display WordPress by running a PHP script in the Home page
    • This is a widely-used approach

Changing the folder name

You can change the subfolder name from wordpress to something else.

  • To do this, you must specify the new subfolder name in the admin console
  • Don't do so for this class

Some people (TO DO: who?) advocate changing the folder name to something not obvious, hoping to escape the attention of WordPress-exploiting bots

My own feeling is some WordPress-exploiting bots can almost always identify a WordPress-based site, and that changing the folder name does not do much good. Some good -- some bots may fail to identify a WordPress site, if you change the file name. But I'm skeptical.

None of this is significant when you are running on localhost -- only when your site is on the World Wide Web, where bots can get at it.

Running phpMyAdmin

phpMyAdmin is a browser-based tool for creating and managing MySQL databases.

MAMP provides a convenient shortcut to phpMyAdmin.

Creating a database in phpMyAdmin

Browse phpMyAdmin.

..

Browsing your WordPress website

View your WordPress site in a browser.

Managing your WordPress website

Manage your WordPress site by logging into the administrative control panel:

WordPress Themes

In WordPress, a theme provides the HTML and CSS (the front end) which WordPress will use when generating web pages.

Many free themes are available, along with commercial themes.

You can create your own WordPress theme; we will do so in this class.

WordPress: any type of website

WordPress was originally written as blog software, but you can make any type of website with WordPress,

  • Blogging can be omitted altogether
  • Blogging can be re-branded as "News" or whatever, can appear on interior page(s) rather than home page.
  • Custom post types allow you to specify new post types, which behave like blog posts, but are customized to your subject matter
    • For example, profiles -- see [ Mondovi Dental]

Demonstrations

Exercises

Vocabulary

See complete list.

New vocabulary

Previous vocabulary

See also