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

From mi-linux
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
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 ==
+
== PHP Web Frameworks and databases ==
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]].
+
=== CodeIgniter ===
  
Take your time, read the instructions carefully, and ask questions in the workshops if you get stuck.
+
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]
  
'''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.'''
+
Then read the following sections of the documentation, to consolidate the above:
 +
* [https://codeigniter.com/user_guide/database/index.html Working With Databases]
  
=== Hyperlinks ===
+
=== Laravel ===
Every time the tutorial incudes an HTML link with a path, for example:
 
<pre>
 
<form action="/news/create" method="post">
 
<a href="/news/">
 
</pre>
 
  
You need to prefix the path with your base URL, using the helper as per like week:
+
This week, read the following sections of the documentation:
<pre>
+
* [https://laravel.com/docs/10.x/database Database]
<form action="<?=site_url()?>/news/create" method="post">
+
 
<a href="<?=site_url()?>/news/">
+
And work through the remaining sections of the Bootcamp tutorial:
</pre>
+
* [https://bootcamp.laravel.com/inertia/editing-chirps Editing Chirps]
 +
* [https://bootcamp.laravel.com/inertia/deleting-chirps Deleting Chirps]
 +
* [https://bootcamp.laravel.com/inertia/notifications-and-events Notifications & Events]

Latest revision as of 12:44, 17 January 2024

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

PHP Web Frameworks and databases

CodeIgniter

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

Then read the following sections of the documentation, to consolidate the above:

Laravel

This week, read the following sections of the documentation:

And work through the remaining sections of the Bootcamp tutorial: