6CS028 Workshop - Web Frameworks

From mi-linux
Jump to navigationJump to search

Main Page >> Advanced Web Development >> Workbook >> Week 03

Tutorial parts 2 and 3

Please work through parts 2 and 3 of the tuturial:

Important: You will need a MySQL database - more information here.

Take your time, read the instructions carefully, and ask questions in the workshops if you get stuck.

IMPORTANT: Remember that every time you create a new file or folder on the server, you need to set the permissions via Filezilla or Putty, or else you will get "Permission denied" errors.

Here is mine, as an example: https://mi-linux.wlv.ac.uk/~in9352/ci4/public/news

Hyperlinks

Every time the tutorial incudes an HTML link with a path, for example:

<form action="/news/create" method="post">
<a href="/news/">

You need to prefix the path with your base URL, using the helper as per like week:

<form action="<?=site_url()?>/news/create" method="post">
<a href="<?=site_url()?>/news/">