Designing Solutions Through Programming

Tuesday 27 September 2022 - Block 1, Room C152
← previous note | most current note | next note →
 

Daily Note

  1. In today's class, you are going to learn to clean up forms that you import from bootstrap. As you are learning, you will learn more about bootstrap, and one incredibly helpful feature in PHP. When this class is over, you should have a page with all the major form elements. You will also learn to ask for help. 
     
  2. We will learn how to ask for help 

    == Part one of class, creating and understanding our basic template file == 
  1. Please create and save a new file named all_forms.php
  2. Please copy this code into that file and save.
  3. Please note the navbar
  4. Please take 5 minutes to simply read through the code. If it seems messy, you can right-click in the editor and choose "format document". 
  5. Please watch this video, which explains the code from the file, all_forms.php
  6. We discussed these ideas in our last class. If you need to review or you feel confused, please watch these videos:
    1. This video will help you understand Bootstrap
    2. This video will help you understand margins and padding in Bootstrap
    3. This video will help you understand forms in Bootstrap

      == Part two of class, cleaning up a form == 
       
  7. We will add a simple form and clean up the form.
    1. please keep this tab open when working with bootstrap
    2. please watch this video for instruction on adding and cleaning up a form (part 1)
    3. please follow along with the video.
    4. please watch this video for instructions on cleaning up a form (part 2) 
    5. please follow along with the video.
    6. please watch this video about testing your form. This is very important and will help you solve your own problems. 
    7. please follow along with the video 
       
  8. Please add a select input type to your login form.
  9. please don't forget what you have learned about cleaning up your forms!

    == Part Three, including a file == 
     
  10. please watch this video about including a file with PHP
  11. please follow along with the video

 

A little less comfortable

Content

Programs must solve the problem they were create to solve. We can worry about how effieciently or elegantly they solve the problem later on; not right now. The content of a program entails input, processing and output. All three of these elements must be clearly observable. A key question you will be asked (and you should ask yourself) is: to what extent does your code implement the features required by the specification?  

Process

Within the process, we are looking at six guiding questions: 

  • To what extent is your code written well (i.e. clearly, efficiently, elegantly, and/or logically)?
  • To what extent is your code eliminating repetition?
  • To what extent is your code using functions appropriately?
  • To what extent is your code readable?
  • To what extent is your code commented?
  • To what extent are your variables well named?

Product

As opposed to content, this section we focus on how well you solved the problem. A key question here is to what extent is your code free of bugs?

 

A little more comfortable

Content

Programs must solve the problem they were create to solve. You should ask yourself "Am I solving this elegantly?". The content of a program entails input, processing and output. All three of these elements must be clearly observable, and we must see evidence of sanitizing input and raising exceptions.  A key question you will be asked (and you should ask yourself) is: to what extent does your code implement the features required by the specification?  

Process

Within the process, we are looking at six guiding questions: 

  • To what extent is your code written well (i.e. clearly, efficiently, elegantly, and/or logically)?
  • To what extent is your code eliminating repetition?
  • To what extent is your code using functions appropriately?
  • To what extent is your code readable?
  • To what extent is your code commented?
  • To what extent are your variables well named?

For those more comfortable programming, we expect succinct, secure and effecient problem solving. 

Product

As opposed to content, this section we focus on how well you solved the problem. A key question here is to what extent is your code free of bugs? The real difference here is the complexity of the problem you have chosen to solve and how well you solved it. 

Our Big idea

The big idea for today is Programming.

The essential questions for this topic are:

How do we plan, write, execute, and test instructions a computer can understand and process?

It takes time to explore and really understand a big idea. If you want to
learn more about programming (which is connected to today's daily note), please click here .

We are learning this because as a designers must understand scientific and technical innovation. Designers use systems, models, methods, and processes to solve problems.



Reminders & routines:

IF (this_block == first_block_day) {
     read_daily_bulletin;
}

IF (today == Friday) {
     careers_in_computing()
}

As I am taking attendance:

  1. For students who are physically at ASW: Please check now: am I connected to the American School of Warsaw wireless network
  2. Please check now: is visual studio code working from my programming folder?

To remember: 

  1. All the files you need for this course can be found at this link. Please pay attention to the time the file was last updated. 
  2. You can access a web-based view of your database by clicking this link.
  3. Please be aware of course videos to help you understand our content.