Difference between revisions of "6CS028 Workshop - Web Frameworks"

From mi-linux
Jump to navigationJump to search
Line 1: Line 1:
 
[[Main Page]] >> [[6CS028|Advanced Web Development]] >> [[6CS028 - Workbook|Workbook]] >> Week 03
 
[[Main Page]] >> [[6CS028|Advanced Web Development]] >> [[6CS028 - Workbook|Workbook]] >> Week 03
  
== Tutorial parts 2 and 3 ==
+
[[Main Page]] >> [[6CS028|Advanced Web Development]] >> [[6CS028 - Workbook|Workbook]] >> Week 02
Please work through parts 2 and 3 of the tuturial:
 
* [https://codeigniter.com/user_guide/tutorial/news_section.html News section]
 
* [https://codeigniter.com/user_guide/tutorial/create_news_items.html Create news items]
 
  
Important: You will need a MySQL database - more information [[MySQL|here]].
+
== PHP Web Frameworks and databases ==
  
Take your time, read the instructions carefully, and ask questions in the workshops if you get stuck.
+
=== CodeIgniter ===
  
'''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.'''
+
This week, go through the following steps of the tutorial:
 +
* [https://codeigniter.com/user_guide/tutorial/news_section.html News Section]
 +
* [https://codeigniter.com/user_guide/tutorial/create_news_items.html Create News Items]
  
Here is mine, as an example: [https://mi-linux.wlv.ac.uk/~in9352/ci4/public/news https://mi-linux.wlv.ac.uk/~in9352/ci4/public/news]
+
=== Laravel ===
  
=== Hyperlinks ===
+
This week, go through the following steps of the tutorial:
Every time the tutorial incudes an HTML link with a path, for example:
+
* [https://laravel.com/docs/9.x/installation Installation]
<pre>
+
* [https://laravel.com/docs/9.x/lifecycle Read the Architecture Concepts]
<form action="/news/create" method="post">
+
* [https://laravel.com/docs/9.x/routing Work through the Basics]
<a href="/news/">
 
</pre>
 
 
 
You need to prefix the path with your base URL, using the helper as per like week:
 
<pre>
 
<form action="<?=site_url()?>/news/create" method="post">
 
<a href="<?=site_url()?>/news/">
 
</pre>
 

Revision as of 13:35, 10 January 2023

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

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

PHP Web Frameworks and databases

CodeIgniter

This week, go through the following steps of the tutorial:

Laravel

This week, go through the following steps of the tutorial: