Category Archives: Classes

Sponsored Links

Recipe Submission Requirements

Assignment Description

If you have questions or concerns, please email me at tbenrud@guhsd.net

  1. Wednesday: Add your TEN recipes to the Data Project Database. Watch this Video Tutorial before you begin.
    1. Sign in using your guhsd.net email address
    2. Chef Name = Your real name
    3. Recipe Name = Your “School Appropriate” Recipe Name
    4. Recipe Description = You can copy/paste but it MUST be “School Appropriate” and at least 25 words.
    5. Recipe Steps = MUST be in the following Format. Step number in all CAPS on its own line. Next line down is where you will describe the step in paragraph form. At the end of each STEP NUMBER you will add a “|”. At the end of each set description you will add a “^”. Example Here
    6. Main Ingredients = check at least one.
    7. All Ingredients = list ingredients on own line and end with a “,” (comma). Add at least THREE ingredients. Example Here
    8. Prep/Cook Time = Only numbers below 60 minutes and 48 hours.
    9. Meal and Difficulty DropDown = Select any one.
    10. Photos = At least TWO image URS’s. Each url on its own line and end with “,” comma. URL’s must from direct imgur URLs. Example Here

Sponsored Links


[TechDisc]

Data Driven Website: Recipe Concept

Assignment Description

This project is designed to teach students to work together in a small group to design, develop, and maintain a data driven website.

Students will learn to use php, css, and html to create page templates that can be populated with data from a mySQL database.


Sponsored Links


[TechDisc]


Team Intro Project

Assignment Description

Students will work in teams of four to develop a 5 simple page website using HTML/CSS and .php. Teams will focus on soft skills, project management, teamwork, and overcoming the challenges of working with shared code files.


Sponsored Links


[TechDisc]

CRUD Classwork

Assignment Description

Students will dive deeper into CodeCademy.com as they explore HTML and CSS.

4th Period Database Screenshot

5th Period Database Screenshot

Ignore Rubric Below. It will be updated later


Sponsored Links


[TechDisc]

Sponsored Links

Where To Learn How To Code

Gamified and/or Interactive Tools

Video Instruction / Follow Along Tools


Sponsored Links


[TechDisc]

CRUDdatabase

<?php
class Database
{
    private static $dbName = 'benrud_5thDataTest' ;
    private static $dbHost = 'localhost' ;
    private static $dbUsername = 'benrud_5thUser';
    private static $dbUserPassword = 'Room540';
    private static $cont  = null;
     
    public function __construct() {
        die('Init function is not allowed');
    }
     
    public static function connect()
    {
       // One connection through whole application
       if ( null == self::$cont )
       {     
        try
        {
          self::$cont =  new PDO( "mysql:host=".self::$dbHost.";"."dbname=".self::$dbName, self::$dbUsername, self::$dbUserPassword); 
        }
        catch(PDOException $e)
        {
          die($e->getMessage()); 
        }
       }
       return self::$cont;
    }
     
    public static function disconnect()
    {
        self::$cont = null;
    }
}
?>