Docsity

Server-Side vs. Client-Side Web Programming: Static and Dynamic Web Design, Slides of Business Administration

Partial preview of the text

Download Server-Side vs. Client-Side Web Programming: Static and Dynamic Web Design and more Slides Business Administration in PDF only on Docsity!

CSCI 2910 Server-Side Web Programming

I WNTRODUCTIONEB PROGRAMMING TO SERVER-SIDE

Static vs. Dynamic Web Design Static Web Page

Dynamic Web Page —

User input, form completion, etc.^ Page contents change based on:

Database interaction External data sources (RSS feeds, etc.)

Docsity.com

Dynamic Web Design Web page created contains embedded script which

runs Page typically features output on the server derived from script execution. before page is sent to client. static XHTML and CSS, and

Programmer must be competent at XHTML and CSS coding, as program output must feature correct tags, syntax, etc.

Pages created must be fully XHTML compliant. Use of CSS to control formatting eases script output.

Example dynamic web pages Server but does page-side script which creates no output XHTML Header-related processing Static XHTML Content Output created by server Static XHTML Content-side script

Static XHTML Content^ XHTML Header Output created by server-side script Output created by server-side script Output created by server-side script Docsity.com

Client Server--sideside vs. Server-side scripting Can to client. connect to various data sources and customize reply Easier hundreds of static pages; instead create smaller set dynamic pages large-scale site creation. No need to create. Poor Script tied to server execution environment. Server must attack through security flaws. coding by programmer may open resources to support desired scripting language.

Docsity.com