Designing solutions through programming - March 2 Lesson Notes: Difference between revisions

From Computer Science Wiki
(Created page with " # Watch this video and ensure your PHPStorm connection settings are correct. Pay attention to detail. https://youtu.be/mm1pnvjgxgU # Hello wonderful students. Today you wil...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
<table cellspacing="10" style="width:100%;">
<tr>
<td style="width:50%; margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#E6F9E6; align:right;vertical-align:top;">
==[[File:class_plan.png]] What are we going to learn today?==


# Watch this video and ensure your PHPStorm connection settings are correct. Pay attention to detail. https://youtu.be/mm1pnvjgxgU
# Watch this video and ensure your PHPStorm connection settings are correct. Pay attention to detail. https://youtu.be/mm1pnvjgxgU
Line 7: Line 11:
# Easy but annoying:  
# Easy but annoying:  
## you should have a project in PHP storm named login.  
## you should have a project in PHP storm named login.  
## the files in this project should EXACTLY like the files here:  https://github.com/bmackenty/login
## the files in this project should look EXACTLY like the files here:  https://github.com/bmackenty/login
## you can copy and paste them into your project
## you can copy and paste them into your project
## Please pay careful attention to database_connect.php !!
## Please pay careful attention to database_connect.php !!
Line 24: Line 28:


This is hard. Good luck.
This is hard. Good luck.
</td>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#E6F9E6; align:right;vertical-align:top;">
==[[file:homework.png]] What is our homework? ==
</td>
</tr>
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:lightyellow; align:right;vertical-align:top;" colspan="2">
==[[File:target.png]] How am I being assessed today? ==
# You will get a formative mark for your work today.
</td>
</tr>
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#FFF5FF; align:right;vertical-align:top;">
== [[File:ourstandards.png]] Standards we are covering today ==
* Apply your understanding of grid system and bootstrap
* Apply your understanding of forms to bootstrp
* [[Designing solutions through programming standards | Click here for all our standards]]
</td>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#FFF5FF; align:right;vertical-align:top;" colspan="2">
== [[Image:computer1.png]] As a computer scientist, you have: ==
* Confidence in dealing with complexity
* Persistence in working with difficult problems
* Tolerance for ambiguity
* The ability to deal with open-ended problems
* The ability to communicate and work with others to achieve a common goal or solution
</td>
</tr>
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:lightgray; align:right;vertical-align:top;" colspan="2">
== [[Image:credit.png]] Credits ==
* Icons used with tremendous gratitude by [http://www.freepik.com/ Freepik] from [http://www.flaticon.com/ flaticon]
</td>
</tr>
</table>
[[Category:2016-2017 Class Notes]]
[[Category:2016-2017 School Year]]

Latest revision as of 06:13, 1 March 2017

Class plan.png What are we going to learn today?[edit]

  1. Watch this video and ensure your PHPStorm connection settings are correct. Pay attention to detail. https://youtu.be/mm1pnvjgxgU
  1. Hello wonderful students. Today you will have two things to do. One easy (but annoying) and one kind of difficult.
  1. Easy but annoying:
    1. you should have a project in PHP storm named login.
    2. the files in this project should look EXACTLY like the files here: https://github.com/bmackenty/login
    3. you can copy and paste them into your project
    4. Please pay careful attention to database_connect.php !!
    5. Please also make sure the tables we reference are the correct names
    6. ALWAYS TEST to make sure anything you change works.
  1. a little difficult:
    1. note the file user_edit.php.
    2. this file is where we can change a users email address.
    3. however, we call a file named "update_user.php" but it doesn't exist.
    4. you will need to create this file and use the following SQL syntax to update a record:
UPDATE users SET email = new_value_here WHERE id LIKE $user_id

This is hard. Good luck.

Homework.png What is our homework?[edit]

Target.png How am I being assessed today?[edit]

  1. You will get a formative mark for your work today.

Ourstandards.png Standards we are covering today[edit]

Computer1.png As a computer scientist, you have:[edit]

  • Confidence in dealing with complexity
  • Persistence in working with difficult problems
  • Tolerance for ambiguity
  • The ability to deal with open-ended problems
  • The ability to communicate and work with others to achieve a common goal or solution

Credit.png Credits[edit]