Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit effbfbb

Browse files
authored
Merge pull request HackYourFuture#189 from HackYourFuture/improve-week1-lessonplan
Improve lessonplan for week 1
2 parents 196d78e + a2f66b4 commit effbfbb

File tree

1 file changed

+55
-43
lines changed

1 file changed

+55
-43
lines changed

Week1/LESSONPLAN.md

Lines changed: 55 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,47 @@ The purpose of this class is to introduce to the student:
1313

1414
## Core concepts
1515

16-
FIRST HALF (12.00 - 13.30)
16+
### FIRST HALF (12.00 - 13.30)
1717

18-
1. The 2 types of websites: static vs. dynamic
18+
#### 1. The 2 types of websites: static vs. dynamic
19+
20+
##### Explanation
21+
Static websites usually come with a fixed number of pages that have a specific layout. When the page runs on a browser, the content is literally static and doesn’t change in response to user actions. A static website is usually created with HTML and CSS
22+
Compared to static websites, which are purely informational, a dynamic website is more functional. It allows users to interact with the information that is listed on the page. Of course, that requires utilizing more than just HTML code.
23+
24+
##### Example
25+
Examples the two different kind of websites
26+
- Static: https://www.atlassian.com/time-wasting-at-work-infographic
27+
- Dynamic: https://www.facebook.com/
28+
29+
30+
##### Exercise
31+
Discuss in class which claim belongs to wich type of website:
1932

20-
- Explanation
21-
Static websites usually come with a fixed number of pages that have a specific layout. When the page runs on a browser, the content is literally static and doesn’t change in response to user actions. A static website is usually created with HTML and CSS
22-
Compared to static websites, which are purely informational, a dynamic website is more functional. It allows users to interact with the information that is listed on the page. Of course, that requires utilizing more than just HTML code.
23-
24-
- Example
25-
Examples the two different kind of websites
26-
Static: https://www.atlassian.com/time-wasting-at-work-infographic
27-
Dynamic: https://www.facebook.com/
28-
29-
-Exercise
30-
Discuss in class which claim belongs to wich type of website:
31-
3233
Content of Web pages can not be change at runtime.
3334
Server side languages such as PHP, Node.js are used.
3435
Content of Web pages can be changed.
35-
No interation with database possible.
36+
No interation with database possible.
3637
Interaction with database is possible
37-
It is faster to load as compared to the other typ of website.
38-
It is slower then staic website.
39-
Cheaper Development costs.
38+
It is faster to load as compared to the other typ of website.
39+
It is slower then static website.
40+
Lower Development costs.
4041
Content may change everytime the page is loaded.
4142
Feature of Content Management System.
42-
HTML, CSS, Javascript is used for developing the website.
43-
Same content is delivered everytime the page is loaded.
44-
43+
HTML, CSS, Javascript is used for developing the website.
44+
Same content is delivered everytime the page is loaded.
45+
46+
##### Essence
47+
[In the link is an article with (dis)advantages of both static and dynamic websites.](https://www.spiderwriting.co.uk/static-dynamic.php)
4548

46-
-Essence
47-
In the link is an article with (dis)advantages of both static and dynamic websites. https://www.spiderwriting.co.uk/static-dynamic.php
4849
Static:
4950
Advantage:
5051
- Flexible
5152
- Cheaper
5253
Disadvantages:
5354
- not updating content
5455
- Scalability
56+
5557
Dynamic:
5658
Advantage:
5759
- Easy to pull in data on stuctured and organised way
@@ -62,36 +64,46 @@ FIRST HALF (12.00 - 13.30)
6264

6365
_Show examples of static and dynamic websites_
6466

65-
2. The pillars of web development: HTML/CSS/JavaScript
66-
- Explanation
67-
HTML defines what the content is.
68-
CSS defines the appearance of the page.
69-
JavaScript defines behavior of the page.
70-
- Example
71-
An example about relationship between HTML, CSS and Javascript using a methaphor of building a city: https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/
72-
- Exercise
73-
74-
- Essence
75-
Up until now at HackYourFuture, we have been writing websites using HTML and CSS. Even though a website written with these two languages works just fine, it is only a static page. These static pages can interact with a visitor only through the use of forms. Once a form is filled out and submitted, a request is sent back to the server where a new static web page is constructed and eventually downloaded into the browser. The big disadavantage of web pages like this is that the only way that a visitor has of interacting with the page is by filling out the form and waiting for a new page to load. It doesn't exhibit any dynamic behaviour like:
67+
#### 2. The pillars of web development: HTML/CSS/JavaScript
68+
69+
##### Explanation
70+
- HTML defines what the content is.
71+
- CSS defines the appearance of the page.
72+
- JavaScript defines behavior of the page.
7673

77-
reacting to user actions such as mouse click events or key presses.
78-
rendering complex animations
79-
sending requests over network to servers and fetching a response
80-
And this is where JavaScript steps in.
74+
##### Example
75+
- An example about relationship between HTML, CSS and Javascript using a methaphor of building a city: https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/
76+
77+
##### Exercise
8178

79+
##### Essence
80+
Up until now at HackYourFuture, we have been writing websites using HTML and CSS.
81+
Even though a website written with these two languages works just fine, it is only a static page.
82+
83+
These static pages can interact with a visitor only through the use of forms. Once a form is filled out and submitted,
84+
a request is sent back to the server where a new static web page is constructed and eventually downloaded into the browser.
85+
86+
The big disadavantage of web pages like this is that the only way that a visitor has of interacting with the page is by filling out the form and waiting for a new page to load.
87+
88+
It doesn't exhibit any dynamic behaviour like:
89+
90+
1. reacting to user actions such as mouse click events or key presses.
91+
1. rendering complex animations
92+
1. sending requests over network to servers and fetching a response
93+
1. And this is where JavaScript steps in.
8294

83-
3. What are variables (const & let) & naming conventions
84-
- Explanation
95+
#### 3. What are variables (const & let) & naming conventions
8596

97+
##### Explanation
8698

8799
**Do Exercise**
88100

89-
SECOND HALF (14.00 - 16.00)
101+
### SECOND HALF (14.00 - 16.00)
90102

91-
4. The basic data types (string, boolean, number, undefined, null)
103+
#### 4. The basic data types (string, boolean, number, undefined, null)
92104

93105
**Do Exercise**
94106

95-
5. The compound data types (object, array)
107+
#### 5. The compound data types (object, array)
96108

97109
**Do Exercise**

0 commit comments

Comments
 (0)