Wrapup Wrapup Learned Server side processing Effective use

  • Slides: 8
Download presentation
Wrapup

Wrapup

Wrapup � Learned: ◦ Server side processing ◦ Effective use of DBs � Tools

Wrapup � Learned: ◦ Server side processing ◦ Effective use of DBs � Tools used: ◦ PHP ◦ My. SQL ◦ Host. Gator

Server Side Processing � Execute code on the server ◦ Generate custom responses �HTML

Server Side Processing � Execute code on the server ◦ Generate custom responses �HTML �Java. Script �Data �Flat files �RDBMs � Server must know how to handle ◦ e. g. what to do with. exe, . php, . sh, etc. files ◦ Send output back to client (browser)

Data repositories � Can be anything ◦ RDBMs (typical) ◦ Flat files ◦ Other

Data repositories � Can be anything ◦ RDBMs (typical) ◦ Flat files ◦ Other systems �RDA (Remote Database Access) � Use the data to: ◦ Create custom content

Concepts � MVC ◦ Model, View, Controller � Data passing ◦ XML ◦ JSON

Concepts � MVC ◦ Model, View, Controller � Data passing ◦ XML ◦ JSON � AJAX � Web APIs

MVC � Model ◦ How the data is stored � View ◦ How the

MVC � Model ◦ How the data is stored � View ◦ How the data is represented � Controller ◦ How to create the data �Program logic �Business logic � More of an art than a science ◦ No hard and fast rules

Data Passing � To get data from one place to another ◦ System to

Data Passing � To get data from one place to another ◦ System to system ◦ System to files ◦ Files to Systems � 2 major standards ◦ XML ◦ JSON

Security � Web sites can be hacked! � Must protect the Web site and

Security � Web sites can be hacked! � Must protect the Web site and data � Many tools ◦ ◦ Secure Connections Authentication Encryption Vetting Data �e. g. ensuring data sent does not compromise the Web site �In depth techniques taught in ITIS 4221