Class01 Course Introduction MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/12/2016
Objectives of the course The Mechanics (grading) Value proposition of the course Hopes and dreams The approach we’ll take Getting started… Agenda
Course Description In this course students will develop skills needed to solve real-world problems using cloud-based resources. This course aims to equip students with tools to help them translate prototypes into working products, and to prepare students for careers related to application development. Course Objectives Two broad objectives exist: 1.Provide supplemental information that was not feasible to present in MIS Give students the opportunity to create a working prototype application.
Graded Materials Exams (3) 60% Project (1)30% Quizzes (8)10% Exams will be multiple choice / short answer. Quizzes are intended to reinforce concepts learned in challenges, and also prepare you for the exams. The project will the primary measure of your technical skill. The Mechanics
Founders of Top Unicorn Firms Uber - Travis Kalanick (UCLA) Computer Engineering PayPal, Tesla, SpaceX – Elon Musk (Penn, Stanford) Physics and Economics AirBNB - Nathan Blecharczyk (Harvard) Computer Science Palantir - Joe Lonsdale (Stanford) Computer Science Reflections of Former Students “Thanks for a great semester. I really enjoyed this class. I feel confident enough … that I can go out and actually make things … Without MIS3501 I would've been lost in this class.” – Andrew Crerand, student in MIS3502 last semester Value Proposition
Hopes and Dreams Successful IT Career (thanks in part to your secret super-power) (as a developer) ( as an Innovator / Entrepreneur )
The approach we’ll take New tools Weeks 1-6 Using a web framework Weeks 7-9 Using a mobile device IDE Weeks The class project (It’s a bake off!) Weeks This class will be light on lecture, and heavy on exercises. Come to class ready to work, and ask questions. 1.Arrays 2.PDO 3.MVC 4.JavaScript / JSON 5.RWD / CSS
Getting Started It’s time for a gentle (re)introduction to arrays. Our objectives 1.Know what an array is. 2.Be able to create an array in PHP 3.Add, change, and delete data from an array.
What is an array? An array is a data type that can contain one or more items called elements. Each element stores a value that you can refer to with an index. The length of the array indicates the number of elements that it contains. In short, an array is a structure that allows us to store multiple pieces of similar data.
Creating an array
Arrays can store any data type.
Arrays of undetermined length
Manipulating array contents How to set a value at a specific index $letters = array('a', 'b', 'c', 'd'); // a, b, c, d $letters[0] = 'e'; // e, b, c, d $letters[3] = 'f'; // e, b, c, f $letters[5] = 'g'; // e, b, c, f, NULL, g How to get values from an array $letters = array('a', 'b', 'c', 'd'); // a, b, c, d $letter1 = $letters[0]; // $letter1 is 'a' $letter2 = $letters[1]; // $letter2 is 'b' $letter4 = $letters[4]; // $letter4 is NULL
Deleting Array Elements
Let’s try an exercise