Persistence & State. SWE 432, Fall 2016 Design and Implementation of Software for the Web
|
- Marjorie Turner
- 6 months ago
- Views:
Transcription
1 Persistence & State SWE 432, Fall 2016 Design and Implementation of Software for the Web
2 Today What s state for our web apps? How do we store it, where do we store it, and why there? For further reading: https://github.com/gmu-swe432/lecture15demos https://www.npmjs.com/package/google-cloud https://devcenter.heroku.com/articles/getting-started-with-nodejs 2
3 What s State in our web app?
4 Web App State Application state includes all of our data (not code) What kinds of data are we concerned about? What user is logged in? What interactions have they had with us before? What data have they given us? What data have others given us? Where do we store all of these things? 4
5 State: Example Amazon.com Home page Login Browse Add to cart Still logged in Still logged in LaToza/Bell GMU SWE 432 Fall 2016 visit amazon.com Still logged in, still have cart 5
6 Where do we save stuff? Many options of where we keep our data Where do we want to put it? How do we get it to where it needs to be? Goals: Cost Efficiency Stability Web Front End Our Node Backend Firebase Other storage 6
7 Where do we save stuff? Probably depends on how often we need to show it to the user, and how permanently we need to store it Examples: What user is logged in? (Transient, relevant to user and backend) What s in my shopping cart? (Semi-transient, relevant to user and backend) What products am I looking at? (Transient, relevant to user) What are all of the products (Long-term, parts are relevant to users) Web Front End Our Node Backend Firebase Other storage 7
8 Where do we save stuff? On client Data we might need to show again soon Fairly small (KB s or few MBs, not 100 MB s or GB s) Data we don t care about going away or being maliciously manipulated In memory on backend Data that we are working with that will fit in memory (MB s probably not GB s) Transient data that can disappear if the server crashes Cache or index of data stored externally On backend disk, database, or storage service(e.g., Firebase) Data we need persisted permanently Even if we ll be accessing it a lot, maybe we ll cache it somewhere so OK to pay performance penalty 8
9 Client Side State Original form of client state: Cookies Motivation: We want to correlate multiple requests But HTTP is stateless 9
10 Cookies String associated with a name/domain/path, stored at the browser Series of name-value pairs, interpreted by the web application Create in HTTP response with Set-Cookie: In all subsequent requests to this site, until cookie s expiration, the client sends the HTTP header Cookie: Often have an expiration (otherwise expire when browser closed) Various technical, privacy and security issues Inconsistent state after using back button, third-party cookies, cross-site scripting, 10
11 Maintaining Client Side State Web Front End Back End HTTP Request HTTP GET 3bee cf14/conditions/q/VA/Fairfax.json How do we track request-response pairs? HTTP Response HTTP/ OK : Apache/ (CentOS) Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true X-CreationTime: Last-Modified: Mon, 19 Sep :37:52 GMT Content-Type: application/json; charset=utf-8 Expires: Mon, 19 Sep :38:42 GMT Cache-Control: max-age=0, no-cache Pragma: no-cache Date: Mon, 19 Sep :38:42 GMT Content-Length: 2589 Connection: keep-alive { "response": { "version":"0.1", "termsofservice":"http://www.wunderground.com/weather/api/d/terms.html", 11
12 Cookies and Requests Web Front End HTTP Request HTTP Response HTTP Request HTTP Response HTTP Request HTTP Response HTTP/ OK... Set-Cookie: class=swe GET / HTTP/ Cookie: class=swe GET / HTTP/ Cookie: class=swe Back End 12
13 Cookies & NodeJS Use the cookieparser module Stateful Hello World: var express = require('express'); var cookieparser = require('cookie-parser'); var app = express(); var port = process.env.port 3000; app.use(cookieparser()); app.get('/', function (req, res) { if(req.cookies.hellosent == "true") res.send("i already said hello to you!"); else res.cookie("hellosent","true").send('hello World!'); }); app.listen(port, function () { console.log('example app listening on port' + port); }); Can see cookies in Chrome under Privacy 13
14 Cookies Demo https://github.com/gmu-swe432/lecture15demos/ tree/master/cookieshello 14
15 More complex state on frontend The most cookies you can have: 4KB (TOTAL per DOMAIN) Old solution: Cookie is a key to some data stored on server When client makes a request, server always includes this extra data being stored on server What s wrong with this old solution? Really slow - have to repetitively pass this same data back and forth 15
16 LocalStorage Hooray, HTML5: localstorage (Sticks around forever) sessionstorage (Sticks around until tab is closed) And two functions: setitem( key","value"); getitem( key ); var id = localstorage.getitem( userid ); Can store any string All pages in the same domain see the same localstorage and sessionstorage Alternatively: SQLite (SQL DB) that you can use in JS 16
17 Demo: LocalStorage https://github.com/gmu-swe432/lecture15demos/tree/master/ localstoragetodos 17
18 Keeping State on the Backend
19 Node and State Remember what a node route listener looks like app.get('/', function (req, res) { res.send('hello World!'); }); Each time a request comes in, a new callback runs How do we keep track of things? Well 19
20 Recall: Node Architecture Each new request goes to a new request handler New Request Node App Express Request Handler New Request New Request Request Handler Keep state here! Request Handler New Request Request Handler New Request Request Handler While the server is running though, it s all one app handling all requests 20
21 Keeping State in Node Global variables var express = require('express'); var app = express(); var port = process.env.port 3000; var counter = 0; app.get('/', function (req, res) { res.send('hello World has been said ' + counter + ' times!'); counter++; }); app.listen(port, function () { console.log('example app listening on port' + port); }); Pros/cons? Keep data between requests Goes away when your server stops Should use for transient state or as cache 21
22 Demo: Statefull hello https://github.com/gmu-swe432/lecture15demos/ tree/master/statefulhello 22
23 The Bigger Backend State Space Databases SQL: MySQL, PostgreSQL, SQL, NoSQL: Firebase, Mongo, Reference: RESTful todos Files Store arbitrary files on disk JSON Pictures, etc Even better: blob stores 23
24 How do we store our files? Dealing with text is easy - we already figured out firebase Could use other databases too but that s another class! But What about pictures? What about movies? What about big huge text files? Aka Binary Large OBject (BLOB) Collection of binary data stored as a single entity Generic terms for an entity that is array of byte 24
25 Blobs: Storing uploaded files Example: User uploads picture and then? somehow process the file? 25
26 Working with Blobs Module: express-fileupload Long story... can't use body-parser when you are taking files Simplest case: take a file, save it on the server app.post('/upload', function(req, res) { var samplefile; samplefile = req.files.samplefile; samplefile.mv('/somewhere/on/your/server/filename.jpg', function(err) { if (err) { res.status(500).send(err); } else { res.send('file uploaded!'); } }); }); 26
27 Where to store blobs Saving them on our server is fine, but What if we don't want to deal with making sure we have enough storage What if we don't want to deal with backing up those files What if our app has too many requests for one server and state needs to be shared between load-balanced servers What if we want someone else to deal with administering a server 27
28 Blob stores Amazon, Google, and others want to let you use their platform to solve this! Distributes file Client Client Uploads file Node Backend Client Client Client Google Cloud Client Client 28
29 Blob Stores Uploads file Client Node Backend Returns link Typical workflow: t uploads file to your backend end persists file to blob store kend saves link to file, e.g. i Google Cloud 29
30 Google Cloud Storage You get to store 5GB for free! Howto: https://www.npmjs.com/package/google-cloud Demo: Todos with images + Blobstore Uses Multer instead of express-fileupload Multer lets you temporarily store a file in memory as it goes directly to a remote server (rather than save it to your server first) https://github.com/gmu-swe432/ lecture15demos/tree/master/blobstore 30
31 Where do we run these backends? So, running this on your laptop is not great Who wants to run their own actual server? Solution: App hosting providers Example: Heroku Big infrastructure companies that will deal with the annoying stuff for you https://devcenter.heroku.com/articles/gettingstarted-with-nodejs 31
32 Heroku Once you install Heroku, you communicate via git Instead of just pushing to GitHub, push to Heroku Then Heroku does some magic Do NOT use GHPages + Heroku unless you want extra pain: just run your app on Heroku (including frontend) Your computer GitHub Git Node App Heroku Git Heroku Deployment s 32
33 Heroku Example 1: Create account, install Heroku on your machine 2: In our app directory, create file Procfile with following contents: web: node app.js 3: Type heroku create and follow instructions 5: Visit your app at the site listed in the result of the push (e.g. https://saltydepths herokuapp.com) Tells Heroku what to do when it gets your app 4: git push heroku master Deploys your code 33
34 Coming back to the high level Web Front End Our Node Backend Firebase Other storage Cookies LocalStorage In Memory Storage Maybe some files? Databases Blob stores Short-lived data In-between? Long-lived data 34
35 Exit-Ticket Activity Go to socrative.com and select Student Login Class: SWE (Prof LaToza) or SWE (Prof Bell) ID is 1: How well did you understand today's material 2: What did you learn in today's class? For question 3: What state does your project have? You may not submit this activity if you are not present in lecture. Doing so will be considered academic dishonesty.
Backend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web
Backend Development SWE 432, Fall 2017 Design and Implementation of Software for the Web Real World Example https://qz.com/1073221/the-hackers-who-broke-into-equifax-exploited-a-nine-year-old-security-flaw/
Security. SWE 432, Fall 2017 Design and Implementation of Software for the Web
Security SWE 432, Fall 2017 Design and Implementation of Software for the Web Today Security What is it? Most important types of attacks Authorization oauth 2 Security Why is it important? Users data is
Frontend Frameworks. SWE 432, Fall 2016 Design and Implementation of Software for the Web
Frontend Frameworks SWE 432, Fall 2016 Design and Implementation of Software for the Web Today How do we build a single page app without dying? MVC/MVVM (AngularJS) For further reading: Book: Learning
Large-Scale Web Applications
Large-Scale Web Applications Mendel Rosenblum Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet CS142 Lecture Notes - Intro LAN 2 Large-Scale: Scale-Out
CMSC 332 Computer Networking Web and FTP
CMSC 332 Computer Networking Web and FTP Professor Szajda CMSC 332: Computer Networks Project The first project has been posted on the website. Check the web page for the link! Due 2/2! Enter strings into
Web, HTTP and Web Caching
Web, HTTP and Web Caching 1 HTTP overview HTTP: hypertext transfer protocol Web s application layer protocol client/ model client: browser that requests, receives, displays Web objects : Web sends objects
Computer Networks. Wenzhong Li. Nanjing University
Computer Networks Wenzhong Li Nanjing University 1 Chapter 8. Internet Applications Internet Applications Overview Domain Name Service (DNS) Electronic Mail File Transfer Protocol (FTP) WWW and HTTP Content
Express.JS. Prof. Cesare Pautasso Modularity
1 / 30 Express.JS Prof. Cesare Pautasso http://www.pautasso.info cesare.pautasso@usi.ch @pautasso Modularity var msg = "x:"; //private var f = function(x) { return msg + " " + x; module.exports.f = f;
C exam. Number: C Passing Score: 800 Time Limit: 120 min IBM C IBM Cloud Platform Application Development
C5050-285.exam Number: C5050-285 Passing Score: 800 Time Limit: 120 min IBM C5050-285 IBM Cloud Platform Application Development Exam A QUESTION 1 What are the two key benefits of Cloudant Sync? (Select
Catbook Workshop: Intro to NodeJS. Monde Duinkharjav
Catbook Workshop: Intro to NodeJS Monde Duinkharjav What is NodeJS? NodeJS is... A Javascript RUNTIME ENGINE NOT a framework NOT Javascript nor a JS package It is a method for running your code in Javascript.
1-1. Switching Networks (Fall 2010) EE 586 Communication and. September Lecture 10
EE 586 Communication and Switching Networks (Fall 2010) Lecture 10 September 17 2010 1-1 Announcement Send me your group and get group ID HW3 (short) out on Monday Personal leave for next two weeks No
Cloud platforms. T Mobile Systems Programming
Cloud platforms T-110.5130 Mobile Systems Programming Agenda 1. Motivation 2. Different types of cloud platforms 3. Popular cloud services 4. Open-source cloud 5. Cloud on this course 6. Mobile Edge Computing
Cloud platforms T Mobile Systems Programming
Cloud platforms T-110.5130 Mobile Systems Programming Agenda 1. Motivation 2. Different types of cloud platforms 3. Popular cloud services 4. Open-source cloud 5. Cloud on this course 6. Some useful tools
Module 6 Node.js and Socket.IO
Module 6 Node.js and Socket.IO Module 6 Contains 2 components Individual Assignment and Group Assignment Both are due on Wednesday November 15 th Read the WIKI before starting Portions of today s slides
Serverless Single Page Web Apps, Part Four. CSCI 5828: Foundations of Software Engineering Lecture 24 11/10/2016
Serverless Single Page Web Apps, Part Four CSCI 5828: Foundations of Software Engineering Lecture 24 11/10/2016 1 Goals Cover Chapter 4 of Serverless Single Page Web Apps by Ben Rady Present the issues
CSC 4900 Computer Networks:
CSC 4900 Computer Networks: Email Professor Henry Carter Fall 2017 Villanova University Department of Computing Sciences Review Last week we talked about design principles, and the application protocols
COMP 2406: Fundamentals of Web Applications. Fall 2013 Mid-Term Exam Solutions
COMP 2406: Fundamentals of Web Applications Fall 2013 Mid-Term Exam Solutions 1. ( false ) HTTP cookies are only sent to a web server when explicitly requested. 2. ( false ) Cookies are normally parsed
Using and Developing with Azure. Joshua Drew
Using and Developing with Azure Joshua Drew Visual Studio Microsoft Azure X-Plat ASP.NET Visual Studio - Every App Our vision Every App Every Developer .NET and mobile development Desktop apps - WPF Universal
CS50 Quiz Review. November 13, 2017
CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down
Hands-on Lab Session 9011 Working with Node.js Apps in IBM Bluemix. Pam Geiger, Bluemix Enablement
Hands-on Lab Session 9011 Working with Node.js Apps in IBM Bluemix Pam Geiger, Bluemix Enablement Copyright IBM Corporation 2017 IBM, the IBM logo and ibm.com are trademarks of International Business Machines
Chapter 2: Application Layer. Chapter 2 Application Layer. Some network apps. Application architectures. Chapter 2: Application layer
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Chapter 2: Application Layer Our goals: conceptual, implementation
CS4/MSc Computer Networking. Lecture 3: The Application Layer
CS4/MSc Computer Networking Lecture 3: The Application Layer Computer Networking, Copyright University of Edinburgh 2005 Network Applications Examine a popular network application: Web Client-server architecture
Microservices without the Servers: AWS Lambda in Action
Microservices without the Servers: AWS Lambda in Action Dr. Tim Wagner, General Manager AWS Lambda August 19, 2015 Seattle, WA 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved Two
Heroku. Rimantas Kybartas
Heroku Rimantas Kybartas Salesforce platform (PaaS) Facts about Heroku Has been in development since June 2007, 2010 acquired by Salesforce Open platform Languages and frameworks: Ruby and Rails Node.js
AVOIDING THE GIT OF DESPAIR
AVOIDING THE GIT OF DESPAIR EMMA JANE HOGBIN WESTBY SITE BUILDING TRACK @EMMAJANEHW http://drupal.org/user/1773 Avoiding The Git of Despair @emmajanehw http://drupal.org/user/1773 www.gitforteams.com Back
Organizing Code in Web Apps. SWE 432, Fall 2016 Design and Implementation of Software for the Web
Organizing Code in Web Apps SWE 432, Fall 2016 Design and Implementation of Software for the Web Today Some basics on how and why to organize code (SWE!) Closures Classes Modules For further reading: http://stackoverflow.com/questions/111102/how-dojavascript-closures-work
How to clear a web browsers cache, cookies and history last updated on 8/28/2013
How to clear a web browsers cache, cookies and history last updated on 8/28/2013 About cache, cookies, and history Each time you access a file through your web browser, the browser caches (i.e., stores)
Outline. ASP 2012 Grid School
Distributed Storage Rob Quick Indiana University Slides courtesy of Derek Weitzel University of Nebraska Lincoln Outline Storage Patterns in Grid Applications Storage
Goal of the presentation is to give an introduction of NoSQL databases, why they are there.
1 Goal of the presentation is to give an introduction of NoSQL databases, why they are there. We want to present "Why?" first to explain the need of something like "NoSQL" and then in "What?" we go in
Homework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise)
Homework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise) 1. Objectives Get familiar with the AJAX and JSON technologies Use a combination
Using HTML5 Offline Storage. Brady Eidson Safari and WebKit Engineer
Using HTML5 Offline Storage Brady Eidson Safari and WebKit Engineer 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 So what can I do without the cloud? 22 What You ll Learn Make apps accessible offline
Checklist for Testing of Web Application
Checklist for Testing of Web Application Web Testing in simple terms is checking your web application for potential bugs before its made live or before code is moved into the production environment. During
Going Serverless. Building Production Applications Without Managing Infrastructure
Going Serverless Building Production Applications Without Managing Infrastructure Objectives of this talk Outline what serverless means Discuss AWS Lambda and its considerations Delve into common application
Templates and Databinding. SWE 432, Fall 2017 Design and Implementation of Software for the Web
Templates and Databinding SWE 432, Fall 2017 Design and Implementation of Software for the Web Today What are templates? What are frontend components? How can I use these with React? 2 What s wrong with
CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.
CS 355 Computer Networking Wei Lu, Ph.D., P.Eng. Chapter 2: Application Layer Overview: Principles of network applications? Introduction to Wireshark Web and HTTP FTP Electronic Mail SMTP, POP3, IMAP DNS
Using Picasa Web Albums North Canton City Schools - Eric Curts
Using Picasa Web Albums North Canton City Schools - Eric Curts Table of Contents: What is Picasa Web Albums? How to upload an image to Picasa web Albums How to manage an image you have added How to edit
Online. Course Packet PYTHON MEAN.NET
Online Course Packet PYTHON MEAN.NET Last updated on Nov 20, 2017 TABLE OF CONTENTS 2 ONLINE BOOTCAMP What is a Full Stack? 3 Why Become a Full Stack Developer? 4 Program Overview & Prerequisites 5 Schedule
Php Manual Header Redirect After 5 Seconds Using
Php Manual Header Redirect After 5 Seconds Using Okay, so I've seen a couple of different approaches for redirecting a user I didn't think it was important but after reading the header manual you are I
Application Layer: HTTP
Application Layer: HTTP EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 23-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic
Computer Networks. HTTP and more. Jianping Pan Spring /20/17 CSC361 1
Computer Networks HTTP and more Jianping Pan Spring 2017 1/20/17 CSC361 1 First things first W1 due next Monday (Jan 23) submit a single PDF file through connex Noah posted a docx for for questions on
Help Me! A Consumer Product Assistance Application
Grand Valley State University ScholarWorks@GVSU Technical Library School of Computing and Information Systems 2016 Help Me! A Consumer Product Assistance Application Ryan Kingsley Grand Valley State University
Practice Labs User Guide
Practice Labs User Guide This page is intentionally blank Contents Introduction... 3 Overview... 3 Accessing Practice Labs... 3 The Practice Labs Interface... 4 Minimum Browser Requirements... 5 The Content
Erlang in the Heroku Cloud
X Erlang in the Heroku Cloud X Who are we? Geoff Cant @archaelus Blake Gentry @blakegentry What do we do? Software Engineers Heroku Routing Team What is Heroku? Cloud Application PaaS We manage servers
GroupWise Architecture and Best Practices. WebAccess. Kiran Palagiri Team Lead GroupWise WebAccess
GroupWise Architecture and Best Practices WebAccess Kiran Palagiri Team Lead GroupWise WebAccess kpalagiri@novell.com Ed Hanley Senior Architect ed.hanley@novell.com Agenda Kiran Palagiri Architectural
Lecture Transcript While and Do While Statements in C++
Lecture Transcript While and Do While Statements in C++ Hello and welcome back. In this lecture we are going to look at the while and do...while iteration statements in C++. Here is a quick recap of some
Alteryx Technical Overview
Alteryx Technical Overview v 1.5, March 2017 2017 Alteryx, Inc. v1.5, March 2017 Page 1 Contents System Overview... 3 Alteryx Designer... 3 Alteryx Engine... 3 Alteryx Service... 5 Alteryx Scheduler...
FULL STACK FLEX PROGRAM
UCF CODING BOOT CAMP FULL STACK FLEX PROGRAM CURRICULUM OVERVIEW - FULL TIME PROGRAM The digital revolution has transformed virtually every area of human activity and you can be part of it as a web development
Principal Solutions Architect. Architecting in the Cloud
Matt Tavis Principal Solutions Architect Architecting in the Cloud Cloud Best Practices Whitepaper Prescriptive guidance to Cloud Architects Just Search for Cloud Best Practices to find the link ttp://media.amazonwebservices.co
Hue Application for Big Data Ingestion
Hue Application for Big Data Ingestion August 2016 Author: Medina Bandić Supervisor(s): Antonio Romero Marin Manuel Martin Marquez CERN openlab Summer Student Report 2016 1 Abstract The purpose of project
Table of Contents. Cisco Buffer Tuning for all Cisco Routers
Table of Contents Buffer Tuning for all Cisco Routers...1 Interactive: This document offers customized analysis of your Cisco device...1 Introduction...1 Prerequisites...1 Requirements...1 Components Used...1
FIREFLY ARCHITECTURE: CO-BROWSING AT SCALE FOR THE ENTERPRISE
FIREFLY ARCHITECTURE: CO-BROWSING AT SCALE FOR THE ENTERPRISE Table of Contents Introduction... 2 Architecture Overview... 2 Supported Browser Versions and Technologies... 3 Firewalls and Login Sessions...
CleanMyPC User Guide
CleanMyPC User Guide Copyright 2017 MacPaw Inc. All rights reserved. macpaw.com CONTENTS Overview 3 About CleanMyPC... 3 System requirements... 3 Download and installation 4 Activation and license reset
Overview Content Delivery Computer Networking Lecture 15: The Web Peter Steenkiste. Fall 2016
Overview Content Delivery 15-441 15-441 Computer Networking 15-641 Lecture 15: The Web Peter Steenkiste Fall 2016 www.cs.cmu.edu/~prs/15-441-f16 Web Protocol interactions HTTP versions Caching Cookies
MySQL & NoSQL: The Best of Both Worlds
MySQL & NoSQL: The Best of Both Worlds Mario Beck Principal Sales Consultant MySQL mario.beck@oracle.com 1 Copyright 2012, Oracle and/or its affiliates. All rights Safe Harbour Statement The following
Distributed CI: Scaling Jenkins on Mesos and Marathon. Roger Ignazio Puppet Labs, Inc. MesosCon 2015 Seattle, WA
Distributed CI: Scaling Jenkins on Mesos and Marathon Roger Ignazio Puppet Labs, Inc. MesosCon 2015 Seattle, WA About Me Roger Ignazio QE Automation Engineer Puppet Labs, Inc. @rogerignazio Mesos In Action
Building mobile app using Cordova and AngularJS, common practices. Goran Kopevski
Building mobile app using Cordova and AngularJS, common practices Goran Kopevski Agenda What is cordova? How to choose proper JS framework Building mobile app using Cordova and AngularJS Common fails,
PaaS Cloud mit Java. Eberhard Wolff, Principal Technologist, SpringSource A division of VMware VMware Inc. All rights reserved
PaaS Cloud mit Java Eberhard Wolff, Principal Technologist, SpringSource A division of VMware 2009 VMware Inc. All rights reserved Agenda! A Few Words About Cloud! PaaS Platform as a Service! Google App
Acceleration Systems Technical Overview. September 2014, v1.4
Acceleration Systems Technical Overview September 2014, v1.4 Acceleration Systems 2014 Table of Contents 3 Background 3 Cloud-Based Bandwidth Optimization 4 Optimizations 5 Protocol Optimization 5 CIFS
Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel
Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel Introduction: PHP (Hypertext Preprocessor) was invented by Rasmus Lerdorf in 1994. First it was known as Personal Home Page. Later
Homework #7 Google Cloud Platform
Homework #7 Google Cloud Platform This semester we are allowing all students to explore cloud computing as offered by the Google Cloud Platform. Using the instructions below one can establish a website
Developing Applications with Alfresco s Unified REST APIs. Will Abson, Alfresco
Developing Applications with Alfresco s Unified REST APIs Will Abson, Alfresco Alfresco JavaScript API A set of JavaScript libraries to allow easy access to Alfresco s REST APIs Part of the Application
Beyond Cookies: Persistent Storage for Web Applications. Brad Neuberg Google
Beyond Cookies: Persistent Storage for Web Applications Brad Neuberg Google What? What? 4K What? 4K 100K What? 4K 100K 500K What? 4K 100K 500K >1 MB What? Name/Value Storage Database Static Files Why?
CLIENT SERVER ARCHITECTURE:
CLIENT SERVER ARCHITECTURE: Client-Server architecture is an architectural deployment style that describe the separation of functionality into layers with each segment being a tier that can be located
hybris-as-a-service A microservices architecture in action
hybris-as-a-service A microservices architecture in action Andrea Stubbe Klaus Herrmann Product and Technology @ hybris Disclaimer This presentation outlines our general product direction and should not
MIGRATING MOBILE APPS. How to migrate Rollbase and OpenEdge Mobile Apps to the Telerik Platform
W HITE PAPER www. p rogres s.com MIGRATING MOBILE APPS How to migrate Rollbase and OpenEdge Mobile Apps to the Telerik Platform TABLE OF CONTENTS OVERVIEW... 2 PROCEDURES REQUIRED FOR ALL PROJECTS... 3
Quick Desktop Application Development Using Electron
Quick Desktop Application Development Using Electron Copyright Blurb All rights reserved. No part of this book may be reproduced in any form or by any electronic or mechanical means including information
SOFTWARE PERFORMANCE TESTING TIPS WITH JMETER
SOFTWARE PERFORMANCE TESTING TIPS WITH JMETER When you hear the term software performance testing, what comes to mind? How many users can my system handle? How many users can it handle if I want to maintain
(Refer Slide Time: 05:25)
Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering IIT Delhi Lecture 30 Applications of DFS in Directed Graphs Today we are going to look at more applications
Ethical Hacking as a Professional Penetration Testing Technique ISSA Southern Tier & Rochester Chapters
Ethical Hacking as a Professional Penetration Testing Technique ISSA Southern Tier & Rochester Chapters - Durkee Consulting, Inc. Background Founder of Durkee Consulting since 1996 Founder of Rochester
IERG 4080 Building Scalable Internet-based Services
Department of Information Engineering, CUHK MScIE 2 nd Semester, 2015/16 IERG 4080 Building Scalable Internet-based Services Lecture 9 Web Sockets for Real-time Communications Lecturer: Albert C. M. Au
Organizing Code in Web Apps. SWE 432, Fall 2017 Design and Implementation of Software for the Web
Organizing Code in Web Apps SWE 432, Fall 2017 Design and Implementation of Software for the Web Today HW1 assigned today. Due in 1 week Lecture: Organizing code in web apps Some basics on how and why
Lab 2. All datagrams related to favicon.ico had been ignored. Diagram 1. Diagram 2
Lab 2 All datagrams related to favicon.ico had been ignored. Diagram 1 Diagram 2 1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running? According to the diagram
A Hybrid Approach to Web Application Penetration Testing. David Caissy AppSec California 2017
A Hybrid Approach to Web Application Penetration Testing David Caissy AppSec California 2017 About Me David Caissy Web App Penetration Tester Former Java Application Architect IT Security Trainer: Developers
Neat tricks to bypass CSRF-protection. Mikhail
Neat tricks to bypass CSRF-protection Mikhail Egorov @0ang3el About me AppSec Engineer @ Ingram Micro Cloud Bug hunter & Security researcher Conference speaker https://www.slideshare.net/0ang3el @0ang3el
SaaS Providers. ThousandEyes for. Summary
USE CASE ThousandEyes for SaaS Providers Summary With Software-as-a-Service (SaaS) applications rapidly replacing onpremise solutions, the onus of ensuring a great user experience for these applications
Lab 4: create a Facebook Messenger bot and connect it to the Watson Conversation service
Lab 4: create a Facebook Messenger bot and connect it to the Watson Conversation service Overview In this lab, you'll create advanced Node-RED flows that: Connect the Watson Conversation service to Facebook
Keeping Rails on the Tracks
Keeping Rails on the Tracks Mikel Lindsaar @raasdnil lindsaar.net Working in Rails & Ruby for 5+ Years http://lindsaar.net/ http://stillalive.com/ http://rubyx.com/ On the Rails? What do I mean by on the
Guides for Installing MS SQL Server and Creating Your First Database. Please see more guidelines on installing procedure on the class webpage
Guides for Installing MS SQL Server and Creating Your First Database Installing process Please see more guidelines on installing procedure on the class webpage 1. Make sure that you install a server with
Introduction to Java Servlets. SWE 432 Design and Implementation of Software for the Web
Introduction to Java Servlets James Baldo Jr. SWE 432 Design and Implementation of Software for the Web Web Applications A web application uses enabling technologies to 1. make web site contents dynamic
Cookies and Other Client-Side Storage Techniques. Bok, Jong Soon
Cookies and Other Client-Side Storage Techniques Bok, Jong Soon javaexpert@nate.com www.javaexpert.co.kr HTML5 Feature Areas Offline and Storage Offline and Storage (Cont.) Source : Google,Introduction
Applications & Application-Layer Protocols: The Web & HTTP
CPSC 360 Network Programming Applications & Application-Layer Protocols: The Web & HTTP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360
CSC 401 Data and Computer Communications Networks
CSC 401 Data and Computer Communications Networks Application Layer: Cookies, Web Caching, SMTP Sec 2.2.4-2.4 Prof. Lina Battestilli Fall 2017 Outline Application Layer (ch 2) 2.1 principles of network
Test-driven development
Test-driven development And how we do it at WIX Mantas Indrašius Software Engineer WIX.COM Agenda Tests overview Test-driven development (TDD) The Bowling Game demo Kickstarting a project using TDD How
How to work with HTTP requests and responses
How a web server processes static web pages Chapter 18 How to work with HTTP requests and responses How a web server processes dynamic web pages Slide 1 Slide 2 The components of a servlet/jsp application
Product Backlog Document Template and Example
Product Backlog Document Template and Example Introduction 1. Client Information (Name(s), Business, Location, contact information) 2. Team Information Team Member Names (contact information) 3. Project
A Quick-Reference Guide. To access reddot: https://cms.hampshire.edu/cms
Using RedDot A Quick-Reference Guide To access reddot: https://cms.hampshire.edu/cms For help: email reddot@hampshire.edu or visit http://www.hampshire.edu/computing/6433.htm Where is... Page 6 Page 8
Project 2: PostgreSQL & PHP
Project 2: PostgreSQL & PHP Lecture 11B If all you have is a hammer, everything looks like a nail Installing PostgreSQL The 8 step method: http://inst.eecs/~cs186/doc/postgres.html Step 0: Use the right
Liferay Security Features Overview. How Liferay Approaches Security
Liferay Security Features Overview How Liferay Approaches Security Table of Contents Executive Summary.......................................... 1 Transport Security............................................
What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE
What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE About me Freelancer since 2010 Consulting and development Oracle databases APEX BI Blog: APEX-AT-WORK Twitter: @tobias_arnhold - Oracle ACE Associate
University Bulletin Board Application
University Bulletin Board Application Introduction In many universities and colleges there are many bulletin boards or notice boards filled with fliers that contain information on seminars, events, selling
Using GitHub to Share with SparkFun a
Using GitHub to Share with SparkFun a learn.sparkfun.com tutorial Available online at: http://sfe.io/t52 Contents Introduction Gitting Started Forking a Repository Committing, Pushing and Pulling Syncing
Testing & Performance. SWE 432, Fall 2016 Design and Implementation of Software for the Web
Testing & Performance SWE 432, Fall 2016 Design and Implementation of Software for the Web Show and Tell 'Copy and paste from a random thread on a website' is the hardest to predict, and depends on the
Smart Bulk SMS & Voice SMS Marketing Script with 2-Way Messaging. Quick-Start Manual
Mobiketa Smart Bulk SMS & Voice SMS Marketing Script with 2-Way Messaging Quick-Start Manual Overview Mobiketa Is a full-featured Bulk SMS and Voice SMS marketing script that gives you control over your
Evolution of the "Web
Evolution of the "Web App" @HenrikJoreteg @Hoarse_JS THIS USED TO BE SIMPLE! 1. WRITE SOME HTML 2. LAY IT OUT WITH FRAMES OR TABLES 3. FTP IT TO A SERVER! 4. BAM! CONGRATULATIONS, YOU RE A WEB DEVELOPER!
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservices on CloudFoundry. Tony Erwin,
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservices on CloudFoundry Tony Erwin, aerwin@us.ibm.com Agenda Origins of the Bluemix UI Demons of the Monolith Slaying Demons with
O Reilly RailsConf,
O Reilly RailsConf, 2011-05- 18 Who is that guy? Jesper Richter- Reichhelm / @jrirei Berlin, Germany Head of Engineering @ wooga Wooga does social games Wooga has dedicated game teams Cooming soon PHP
Using JMeter. Installing and Running JMeter. by Budi Kurniawan 01/15/2003
1 of 8 7/26/2007 3:35 PM Published on ONJava.com (http://www.onjava.com/) http://www.onjava.com/pub/a/onjava/2003/01/15/jmeter.html See this if you're having trouble printing code examples Using JMeter
Evaluation of Visual Fabrique (VF)
Evaluation of Visual Fabrique (VF) Dr Peter Lappo www.smr.co.uk Scope and Method This is a review of Visual Fabrique (VF) V1.0.371 EAP Release. In order to conduct this evaluation I followed the tutorial
Mysql Using Php Script
How To Create Database Schema Diagram In Mysql Using Php Script You can create database in two ways, by executing a simple SQL query or by using forward engineering in MySQL workbench. The Database tool
Platform as a Service (PaaS)
Basics of Cloud Computing Lecture 6 Platform as a Service (PaaS) Satish Narayana Srirama Several slides are taken from Pelle Jakovits Outline Introduction to PaaS Google Cloud Google App Engine Other PaaS