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

Skip to content

Commit d20e4e3

Browse files
committed
Update MAKEME for multiple View classes
1 parent 0bbc9c2 commit d20e4e3

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

Week3/MAKEME.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,21 @@ Object Oriented Programming is a vast topic and in this homework we can only scr
7777

7878
> The relevant files can be found in the **homework-classes** folder.
7979
80-
| File | Description |
81-
| -------------- | -------------------------------------------------------------------------------------------- |
82-
| index.html | The application's HTML file. |
83-
| style.css | CSS styling. |
84-
| hyf.png | The HYF logo. |
85-
| App.js | The **App** class contains the start-up code and manages the overall orchestration of the app. |
80+
| File | Description |
81+
| -----| ------------ |
82+
| index.html | The application's HTML file. |
83+
| style.css | CSS styling. |
84+
| hyf.png | The HYF logo. |
85+
| App.js | The **App** class is the main container class for the app. |
86+
| Observable.js | The **Observable** class is a base class implementing functionality of the Observer pattern. |
8687
| Model.js | The **Model** class is concerned with all data handling (e.g. fetching). Extends the Observable class. |
87-
| View.js | The **View** class is concerned with rendering the data from the Model to the web page. Extends the Observer class. |
88-
| Observable.js | The **Observable** class is a component of a Observer pattern implementation. |
89-
| Observer.js | The **Observer** class is a component of a Observer pattern implementation. |
88+
| HeaderView.js | Renders the header with the select element. |
89+
| RepoView.js | Renders the details for the selected repository. |
90+
| ContributorsView.js | Render the contributors for the selected repository. |
91+
| ErrorView.js | Renders an error, of present. |
92+
| Util.js | Provides utility functions. |
9093

91-
>For this part of the homework you should need to modify **View.js**, by adding and adapting code from your non-OOP version of the homework to this file.
94+
>For this part of the homework you should modify the **xxxView.js** files, by adding and adapting code from your non-OOP version of the homework to these files. You should also copy the styling from your non-OOP version. Other files should not be modified.
9295
9396
_Read:_
9497

0 commit comments

Comments
 (0)