Case Study Schedule. NoSQL/NewSQL Database Distributed File System Peer-to-peer (P2P) computing Cloud computing Big Data Internet of Thing

Similar documents
Send me up to 5 good questions in your opinion, I ll use top ones Via direct message at slack. Can be a group effort. Try to add some explanation.

FILE - JAVA WEB SERVICE TUTORIAL

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type

SSC - Web development Model-View-Controller for Java Servlet

Notes. Submit homework on Blackboard The first homework deadline is the end of Sunday, Feb 11 th. Final slides have 'Spring 2018' in chapter title

Get in Touch Module 1 - Core PHP XHTML

Front End Programming

Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images.

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

HYPERION SYSTEM 9 BI+ GETTING STARTED GUIDE APPLICATION BUILDER J2EE RELEASE 9.2

ECE297 Quick Start Guide Wiki

Notes General. IS 651: Distributed Systems 1

Client Side Scripting. The Bookshop

Splitting the pattern into the model (this stores and manipulates the data and executes all business rules).

SJSU Course Evaluation. Team 131

Alpha College of Engineering and Technology. Question Bank

today what is this course about? what is this course about? Welcome to CSC309! Programming on the Web APRIL 05

The connection has timed out

Web Programming Paper Solution (Chapter wise)

CIS 086 : Week 1. Web Development with PHP and MySQL

CSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336

Ch04 JavaServer Pages (JSP)

DRACULA. CSM Turner Connor Taylor, Trevor Worth June 18th, 2015

CIS 408 Internet Computing (3-0-3)

Module 3 Web Component

TUTORIAL QUESTION BANK

Configuration Setting

Aim of the presentation

Upload to your web space (e.g., UCSC) Due this Thursday 4/8 in class Deliverable: Send me an with the URL Grading:

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

Image Use and Manipulation with

Remote Health Service System based on Struts2 and Hibernate

CS474 MULTIMEDIA TECHNOLOGY

Syllabus INFO-GB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Embedded101 Blog User Guide

ChemSense Studio Client Version 3.0.7

Distributed Architectures & Microservices. CS 475, Spring 2018 Concurrent & Distributed Systems

CIS 3308 Web Application Programming Syllabus

Server-Side Graphics

:

Building Rich Applications with Appcelerator

Performance evaluation of J2EE

Php And Mysql Manual Simple Yet Powerful Web Programming

Exercise 7: Graphics and drawings in Linux

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

CPET 581 E-Commerce & Business Technologies. Topics

DIS: Design and imaging software

Ruby on Rails. SITC Workshop Series American University of Nigeria FALL 2017

San José State University Department of Computer Science CS-174, Server-side Web Programming, Section 2, Spring 2018

Etisalat Colo SSLVPN Remote Access Gateway Access Procedures

Oracle Fusion Middleware 11g: Build Applications with ADF I

Riverside Digital Manual. The Essentials - Edublogs. Brown, J, Gee, B & Barazzuol, B 5/1/14

MyELT STUDENT QUICK START GUIDE

Coherent GT for UE4 Artist quick start guide. version 1.0.0

IT6503 WEB PROGRAMMING. Unit-I

BLACKBOARD TRAINING PHASE 1 CONTENT MANAGEMENT. Popular Topics Part 2 Content Management, page 8-17

All India Council For Research & Training

Web Programming Laboratory CSE-3200

CSC 443: Web Programming

PGT T3CHNOLOGY SCOUTING. Google Webtoolkit. JSF done right?

Developing the First Servlet

Review. Fundamentals of Website Development. Web Extensions Server side & Where is your JOB? The Department of Computer Science 11/30/2015

Overview of Web Application Development

We will talk about Alt-Tab from the usability perspective. Think about: - Is it learnable? - Is it efficient? - What about errors and safety?

Developing Applications with Java EE 6 on WebLogic Server 12c

LiveText via Group Member User Guide

Silver Oak College of Engineering and Technology Information Technology Department Mid Semester 2 Syllabus 6 th IT

Working with the Seagull Framework. By Demian Turner, Seagull Systems

Preview from Notesale.co.uk Page 2 of 88

Oracle Fusion Middleware 11g: Build Applications with ADF I

IT153 Midterm Study Guide

Advanced Web Applicatio Design Patter. Rupak Raj Ghi

Quick start guide to Blackboard at Keele

ITT Technical Institute. SD3240T Creating Websites in the LAMP Environment Onsite and Online Course SYLLABUS

Emma for Faculty Lesson 1: Using <emma> and OpenOffice 1

Web Architecture AN OVERVIEW

Course Name: Database Design Course Code: IS414

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering. Fifth Semester. Subject: Web Programming

Enterprise Systems & Frameworks

Utilizing Folksonomy: Similarity Metadata from the Del.icio.us System CS6125 Project

Motivations. Luigi De Russis. Why Ruby (on Rails)?

Basic Web Application Development Spring credit hour Student Taught (Satisfactory/Unsatisfactory)

COS 333: Advanced Programming Techniques. Robert M. Dondero, Ph.D. Princeton University

Setting up Your Teacher Website Using ischooldistrict

ASSOCIATE DEGREE REQUIREMENTS

V-CUBE Sales & Support. User Manual

WebLink Manual EZ-CAMP2

Architectural Styles II

Qiufeng Zhu Advanced User Interface Spring 2017

(p t y) lt d. 1995/04149/07. Course List 2018

Configuring Locales on the WAP351 and WAP371 Access Points

ZLC User Guide. Zaxby s Franchising, Inc Founders Blvd Athens, GA 30606

COMP9321 Web Application Engineering

USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL DATA

Quick Start Training Guide. Showings.com. Manage your showing activity with ease.

Codeigniter interview questions and answers

Improve and Expand JavaServer Faces Technology with JBoss Seam

May 22, 2013 Ronald Reagan Building and International Trade Center Washington, DC USA

idealab online platform

LAST WEEK ON IO LAB. Project 3 was due today at noon. If you haven t sent it to us and haven t already talked to us, come talk to us now.

Transcription:

Notes Grades statistics Midterm 2: average 16.32 with standard deviation 2.63 Total points so far: average 48.59 (out of 58) with standard deviation 5.00 The grading so far: [52.2, 58]: A; [43.6, 52.2): B; [0, 43.6): C or worse. Try to get full points for your case-study, remaining homework/dicussions Case-study on 05/01 I haven t heard from some teams on paper/project selection. Each team needs to select paper/project you want to work on and get my approval before 04/12. It takes time for case-study tasks. Use Slack for communicating with instructor and other members. Use @ to draw my attention. Presentation format: 15 minutes, each group member will need to present. IS 651: Distributed Systems 1

Case Study Schedule Team T6 T3 T2 T4 T5 T1 Topic NoSQL/NewSQL Database Distributed File System Peer-to-peer (P2P) computing Cloud computing Big Data Internet of Thing IS 651: Distributed Systems 2

IS 651: Distributed Systems Chapter 9: Web Frameworks Jianwu Wang Spring 2018

Learning Outcomes After learning this chapter, you should be able to Know the MVC design pattern Know how to follow a Web framework to build your own Web application. Differentiate reusable parts from the framework and your own implementation IS 651: Distributed Systems 4

Web Frameworks Software frameworks are generic, partially written applications for a specific application architecture that make creating new applications quicker and easier. They offer a large collection of libraries that take care of all the routine programming tasks. e.g.: scalability, caching, security They leave the programmer to implement custom functions that are required for the new application. e.g.: representation, business logic IS 651: Distributed Systems 5

Productivity Web Frameworks make programmers much more productive, but removes flexibility. IS 651: Distributed Systems 6

The Four Tier Web Architecture Presentation in the web browser Web servers to deliver content Application server technology Databases for maintaining state Presentation Tier (Web Browsers) HTML, JS, CSS, etc. Communication Tier (Web Servers) PHP, JSP, Rails, etc. Logic Tier (Application Servers) PHP, Java EE, etc. Data Tier (Storage Servers) MySQL, Filesystem, S3, etc. IS 651: Distributed Systems 7

Design Patterns Design patterns Represent reusable solutions to a commonly occurring programming and software design problems It is not code but a description of the pattern. Programmers use code to implement the design pattern A classic book: "Design Patterns: Elements of Reusable Object-Oriented Software" by the so-called "Gang of Four" (Gamma et al.), 1994, which defined 23 classic software design patterns A very common design pattern used in web frameworks is the model, view, controller (MVC) pattern It separates interface/representation (V), logic (C), and data models (M) so that code developed with this pattern is more easily maintained, tested, and developed IS 651: Distributed Systems 8

Model, View, Controller (MVC) Pattern 1. The browser sends a request to the web server 2. The web server processes the request, determines which route it belongs to and dispatches that request to the corresponding controller method 3. The controller then asks the model layer for all the necessary information in order to be able to complete the request 4. The model layer collects all the information and returns it to the controller 5. The controller gives the appropriate information to the view, and asks it to render 6. The view renders itself and gives the rendered html to the controller 7. The controller assembles the total page's html and gives it to the web server 8. The web server returns the page to the browser IS 651: Distributed Systems 9

CodeIgniter We will look at the open-source PHP framework CodeIgniter (http://codeigniter.com/) since we have PHP on gl It is a simple framework inspired by Ruby on Rails (ROR) It follows MVC pattern IS 651: Distributed Systems 10

CodeIgniter on gl Configure your password for the mysql database Download codeigniter - version 1.7 version 1.7 works with PHP 4 and above You can try this or newer versions Here is a transcript of how to do it Configure codeigniter IS 651: Distributed Systems 11

Video Tutorial First 'Hello World' CodeIgniter Video My resume demo: https://swe.umbc.edu/~jianwu/is651/programs/ch9/ci/index.php?/resume Transcript for resume IS 651: Distributed Systems 12

Video Tutorial (2) Second 'Create a Blog in 20 Minutes' CodeIgniter Video My blog demo: https://swe.umbc.edu/~jianwu/is651/programs/ch9/ci/index.php?/blog IS 651: Distributed Systems 13

Configure MySQL Password MySQL url: https://mysql-admin.umbc.edu/phpmyadmin/ Choose studentdb-maria.gl.umbc.edu Your account should have been setup. Contract rt.umbc.edu or DoIT Technology Support Center Phone(410-455-3838) if you cannot login. Your password is the same as your gl username Change your password! You has only one database whose name is your account You can have multiple tables within the database You can access the database from gl Demo: mysql -u jianwu -h studentdb-maria.gl -p IS 651: Distributed Systems 14

Configure Codeigniter Edit the system/application/config/config.php file $config['base_url'] = "https://swe.umbc.edu/~username/ci/"; $config['index_page'] = "index.php?"; Since we are using a previous version of CI, there is a minor change from the second video. The autoload.php entry is named $autoload['libraries'] (not $autoload['core']): $autoload['libraries'] = array('database'); IS 651: Distributed Systems 15

Scalable Vector Graphics (SVG) Two main types of graphs Vector Graphics use vectors to describe graphs, which do NOT lose any quality if they are zoomed or resized o File types: SVG Raster graphics use dot matrix data structure, which has info for every pixel o File types: PNG, GIF, JPEG SVG is a language for describing two-dimensional vector graphics in XML Another XML vocabulary with its own schema Tutorial: https://www.w3schools.com/graphics/svg_intro.asp Demo: Tryit -> Circle and https://swe.umbc.edu/~jianwu/is651/programs/ch9/ IS 651: Distributed Systems 16

Discussion #7 What are the advantages and disadvantages of using CodeIgniter framework? Brief bullet points are enough. Only one write-up is enough for each group. Other group members just need to write whose bluebook I should check. IS 651: Distributed Systems 17