Help:COAP-3180/hw2

The educational technology and digital learning wiki
Jump to navigation Jump to search

1 Homework 2 - COAP 3180 Fall 2 2007

COAP 3180 Course Page

2 Summary

Continue the activity started in the classroom, i.e.

  • Configure a portal in a WAMP setting
  • Start configuring the Joomla portalware

Purpose: Gain some familiarity with portalware, (W)AMP software, installation procedures and documentation reading.

Note: You will have to turn in a first version of this homework next Monday (week 3). We then will discuss what you should add to this mini-project.

3 Homework tasks

  1. Think about a web application implemented with a content management system
    • Examples: A portal for an association or an institution
  2. Select an server environment to work with, i.e. choose between:
    • WOS on a memory stick. Easiest to install. Runs from any directory, including a memory stick
    • A WAMP of your choice on your personal laptop. We suggest to download and install WampServer. You get some extra functionality compared to WOS, but it will not run on a memory stick. You will have to bring your laptop to class !
    • Installation with a web hosting service. Best solution if you plan to profit from this course to start working on a web application that you actually might use.
  3. Write down functionalities you'd like to have
    • Implement the ones that you can manage. Try to consult as much documentation as you can.
    • Configure the start page of the portal and add 2-3 users.
    • We will discuss the result during our next meeting and then discuss how to add some more features to your portal

Tip: Examine a few portals on the web in your domain of interest in order to get some better ideas for your project.

3.1 Dates

  • The first version of this homework is due at start of the week 3 Monday lesson
  • The instructor will ask you to present the purpose of your portal and to discuss its current state
  • Part II of this homework will then require you to add some extra information / modules and it is due Monday Week 5.

3.2 Evaluation

  • Task completion (all required elements are present)
  • Quality of your configuration.
  • Note: I will evaluate after part II of this homework

Tip: Quality is essentially related to the idea that your applications are useful to a given range of users.

4 Tips about the LAMP/WAMP environment

These tips are not complete. The purpose of this homework is to encourage you to explore the world of LAMP/WAMP portalware installation and configuration. That includes learning how to deal with documentation and on-line help

4.1 WOS installation

The instructor will provide you with 2 versions of a WOS distribution. All you need to do is to unzip one of these.

Medium distribution

wos-dist.zip - 28 MB
  • includes several web applications
  • May take up to an hour to unzip on a memory stick
  • Unzipped Size: about 182 MB (!) on a stick and 123 MB on a hard disk

Small distribution

wos-joomla.zip - 17MB
  • only includes the Joomla portal and the MySQL database server administration tool (phpmyadmin)
  • Unzips in about 20 minutes depending on your model
  • Unzipped Size: about 105MB on a memory stick and 77 MB on hard disk

You also can "mix" your own if you wish to try. Go to: http://www.chsoftware.net/en/useware/wos/wos.htm?action=download

Make sur that you get:

  • An Apache webserver
  • A MySQL database server
  • A PhP
  • Joomla
  • Phpmyadmin

You always can add additional packages from the wos mixer web site

IMPORTANT:

  • Install the WOS mix first on your hard disk. Installing it on a memory stick may create write errors. You then can copy to a memory stick (this may take an hour or more, since memory sticks take a long time to copy a few thousands of little files).
  • If you nstalled an application package (TYPO3, Joomla, WordPress etc.), the administration login always will be "admin" with the password "password"!

Here is a recent screendump of the WOS mixer:

WOS Mixer - selection of WAMP configuration and the Joomla! Portalware

4.2 Start/stop WOS

  • Go to the WOS directory and double-click on the wos icon
  • Look at your web site by opening the http://localhost/ URL
  • To stop WOS, click the "END" button in the WOS window. Don't forget this, otherwise the WOS configuration may end up in a bad state.

4.3 MySQL administration

  • To use Joomla with WOS there is nothing to do
  • But you still should try to create a new database and a new user
  • Typically, each portal you install needs a database and a user that has full access rights to this database.

To add a new database

  • Fill in the create new database field with a database name and hit return
Create a new database

To add a new users:

  • Click on the home button
  • Click on privileges
  • Click on "add new user"
Create a new database

To give this user full rights on a new database:

  • Click on the home button
  • Click on privileges
  • Then edit priviledges of your new user
  • Check most boxes (adminstration is not needed)
Create a new database


4.4 Installation with a provider or a WAMP system

(WOS users are not concerned by this)

When installing it for the first time, Joomla! will ask for the following information:

  • The name of your MySQL database - (this may be pre-set on some hosted server set-ups)
  • The name of the MySQL host - This is usually called "localhost" if you are installing on a PC or a local server
  • A MySQL username - This may have been allocated by your server provider - a local MySQL installation generally has the default administrator username set as "root".
  • A MySQL password - This may have been allocated by your server provider - a local MySQL installation generally has the default administrator password set to a blank field, unless this was manually changed during installation of the database server.

Then, read the installation manual (see below)

Help: the Joomla website includes various forms of help, e.g.

4.5 Joomla configuration

When you first start up Joomla 1.x, you will see something like this:

Joomla 1.x default startpage

Click on the administrator menu button and log in. Default username and password in a WOS installation are admin and password.

When you enter the administration tool, you can configure the portal through menus. The most important items are available through the control panel

Joomla 1.x Administrator Control Panel

You then can for example add contents. On the top right you have a help button that will provide some contextual help. If you want to save changes hit the Apply button.

Joomla 1.x Administrator Adding Contents page

After you added some contents, you then can place it with the Content Iterms Manager that will appear. This window also allows you to publish/unpublish articles.

You now should add 2-3 users and try to understand user roles. Use another browser (i.e. IE if your normal browser is Firefox) to play with the other user at the same time.

5 Final tips

  • Make a backup copy of all the files to your harddisk !

6 Links

Joomla

Help: the Joomla help website includes various forms of help, e.g.

Main links in this wiki
Examples

7 To do

7.1 D.

  • On Wos
  • probably will work with hosting
  • little forms input/output
  • Add the Flash presentation
  • May become a real website

7.2 Ag.

  • content types
  • WOS (will keep it)

7.3 Sa.

  • Installed Joomla
  • Wants to incorporate Forum
  • Topic: technology development

7.4 Ad.

  • XAMPP/ based
  • Topic airplanes

7.5 An.

  • wait