Designing solutions through programming - February 10 Lesson Notes: Difference between revisions

From Computer Science Wiki
(Created page with " __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 1...")
 
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:


# 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
# We will continue to learn about databases
# We will work on a user registration system
## [https://gist.github.com/hofmannsven/9164408 this  MYSQL cheat sheet is helpful]
# we will discuss salting and hashing user passwords
## you will think about how a user table should be designed
## but first: what is a hash table: https://www.youtube.com/watch?v=h2d9b_nEzoA
## you will learn to connect to mysql
## and another video about hash tables: https://www.youtube.com/watch?v=shs0KM3wKv8
## you will learn to use simple commands in SQL
## https://www.youtube.com/watch?v=sjEeqtZ7Tw4
# We will learn a few tricks to understand sessions:
 
<syntaxhighlight lang="php">
<?php
echo "Sessions: <pre>";
print_r($_SESSION);
echo "</pre>";
?>
</syntaxhighlight>
 




Line 21: Line 31:
==[[file:homework.png]] What is our homework? ==
==[[file:homework.png]] What is our homework? ==


# review this [[Media:Databases 1.pdf | presentation from todays class]]
# Enjoy your weekend
# review this [[Media:Databases 2.pdf | presentation from todays class]]
# It is time for you to dedicate at least 30-45 minutes every evening to working on your app.  
# It is time for you to dedicate at least 30-45 minutes every evening to working on your app.  



Latest revision as of 06:10, 10 February 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
  2. We will work on a user registration system
  3. we will discuss salting and hashing user passwords
    1. but first: what is a hash table: https://www.youtube.com/watch?v=h2d9b_nEzoA
    2. and another video about hash tables: https://www.youtube.com/watch?v=shs0KM3wKv8
    3. https://www.youtube.com/watch?v=sjEeqtZ7Tw4
  4. We will learn a few tricks to understand sessions:
<?php
echo "Sessions: <pre>";
print_r($_SESSION);
echo "</pre>";
?>



Homework.png What is our homework?[edit]

  1. Enjoy your weekend
  2. It is time for you to dedicate at least 30-45 minutes every evening to working on your app.


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]