Designing solutions through programming - January 18 2017 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...")
 
No edit summary
 
Line 5: Line 5:
==[[File:class_plan.png]] What are we going to learn today?==
==[[File:class_plan.png]] What are we going to learn today?==


# We will configure our IDE's
# I am out sick today
# Another excellent bootstrap tutorial can be found [https://www.youtube.com/watch?v=314m7YBRFvQ by clicking this link]
# your goal is to create a functional html form which passes variables to a php script.
# We will learn about the [https://www.youtube.com/watch?v=XFrbkhWP0rM the bootstrap grid system]
## you must do this inside of bootstrap template
# you will please recall the very simple html form -> php script we use
# in bootstrap, simply ensure your form has an action and method which point to your php script
## you will probably end up with a template.php file with your form
## and a template2.php with the php code


I would ask that you create a form which asks users how many hours a week they exercise. the php script should then use a simple conditional to tell them to exercise more, stay the same, or be careful about exercising to much!




Line 18: Line 23:
==[[file:homework.png]] What is our homework? ==
==[[file:homework.png]] What is our homework? ==


# Please copy the file on our webserver, template.php to backup_template.php
None.
# We will learn about the bootstrap grid system
# Please review some other components of bootstrap by [http://getbootstrap.com/components/ clicking this link]
 





Latest revision as of 09:28, 18 January 2017

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

  1. I am out sick today
  2. your goal is to create a functional html form which passes variables to a php script.
    1. you must do this inside of bootstrap template
  3. you will please recall the very simple html form -> php script we use
  4. in bootstrap, simply ensure your form has an action and method which point to your php script
    1. you will probably end up with a template.php file with your form
    2. and a template2.php with the php code

I would ask that you create a form which asks users how many hours a week they exercise. the php script should then use a simple conditional to tell them to exercise more, stay the same, or be careful about exercising to much!


Homework.png What is our homework?[edit]

None.


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

  1. You will be formatively assessed in class 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]