Designing Solutions Through Programming

Thursday 30 September 2021 - Block 6
← previous note | most current note | next note →
 

Daily Note

Our plan for the day: 

  1. Please make sure you are on the ASW network and working from your programming folder. 

     
  2. We will learn how to ask for technical help.
     
  3. We will discuss front-end and back-end systems
     
  4. We will review databases
    1. A database holds structured data
      1. We will talk about about tables, rows columns and records.
      2. We will briefly discuss primary keys
         
  5. We will learn the basic structure how PHP can use a database: 
    1. We must connect to the database
    2. We must query a table
    3. We must do something with the results of our query
       
  6. We will create a page that lists the users in our users table
    1. We'll need to create and edit a file named database_inc.php 
       
  7. We will stretch a bit and take a brain break
     
  8. We will take a look at what we know, and PLAN how we we can design a login system, so only users in our users table can login
     
  9. We will build a page which allows users to login or tells them they can't login
     
  10. That will be enough for today. I hope you have a great weekend :-) 
     
  11. Homework will posted on google classroom.

 

 

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 (today ==  testing_day_for_me) {
     remember to go get tested!;
}

IF (this_block == first_block_day) {
     read_daily_bulletin;
}

IF (today == Friday) {
     current_event_activity();
}

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.