Schedule

Schedule

Wednesday, December 17

1418868000 Ham Nation

Thursday, December 18

1418925600 Tech News Today
1418929200 Know How...
1418932800 Marketing Mavericks
1418938200 Coding 101
1418941800 Home Theater Geeks
1418947200 Tech News 2Night
1418949000 The Giz Wiz

Friday, December 19

1419012000 Tech News Today
1419015600 This Week in Law
1419033600 Tech News 2Night

Saturday, December 20

1419102000 The Tech Guy

Sunday, December 21

1419188400 The Tech Guy
1419202800 This Week in Tech

Monday, December 22

1419271200 Tech News Today
1419274800 Triangulation
1419280200 iPad Today
1419292800 Tech News 2Night

Tuesday, December 23

1419357600 Tech News Today
1419361200 MacBreak Weekly
1419368400 Security Now
1419375600 Before You Buy
1419379200 Tech News 2Night
1419382800 All About Android
1419391800 Padre's Corner

Wednesday, December 24

1419444000 Tech News Today
1419447600 Windows Weekly
1419454800 This Week in Google
1419465600 Tech News 2Night

Thursday, December 25

1419530400 Tech News Today
1419534000 Know How...
1419537600 Marketing Mavericks
1419543000 Coding 101
1419546600 Home Theater Geeks
1419553800 The Giz Wiz

Friday, December 26

1419616800 Tech News Today
1419638400 Tech News 2Night

Saturday, December 27

1419706800 The Tech Guy

Most Recent Episodes

Tech News 2Night

Netflix Says No to Offline Viewing

Android App Arena
Episode #26: App Launchers December 17th, 2014

Hangar, Lazy Swipe, App Swap, and SUPER.

Windows Weekly
Episode #393: Crap Patch Fever December 17th, 2014

Sprint Windows handset, Office Sway preview, and Windows 10 Build 9901.

FLOSS Weekly
Episode #319: Fedora 21 December 17th, 2014

Fedora 21 release, Mathew Miller, and cats.

Tech News Today

Sony Pictures employees are suing the company.

All About Android
Episode #192: Live and Let Die December 16th, 2014

Google Cardboard, Sharp Aquos crystal, and Sony Smartwatch 3

Security Now

Google proposes to begin marking "HTTP" as "Non-Secure" in 2015.

Before You Buy

Sony a7 II review.

Tech News 2Night

Samsung Might Launch Apple Pay Competitor

MacBreak Weekly
Episode #433: Uber for Cops December 16th, 2014

Apple Christmas ad, Apple Pay success, and more.

Coding 101 25

Perl: Creating Dynamic Web Pages

July 10 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Patrick Delahanty

The Code for today's show is availible at our: Github

Ivory Tower

Dynamic Web Pages
* When we think of the most basic of web pages, we think of a static .html file.

Example:

Hello World!

** This web page is simple, easy to create, and easy to upload... but because it's static, it's also not all that useful unless you WANT to display nothing but static text, graphics and rich media **

What we want is a way to DYNAMICALLY GENERATE the code of a web page so that we can do things like:
* Change the layout and template of the page without having to manually re-write the code
* Change the content contained within the page automatically
* Customize the content presented by a particular device depending on the device being used to view the content and the user consuming the content.
** In other words... the world of the Internet we use most often today is Dynamically Generated.

There are two methods to dynamically generate content: "Server Side" and "Client Side"

Client Side Dynamic Web Page:
* The browser processes the page using scripting AS it loads the HTML or XHTML document
* Usually, client-side scripts can be seen if one uses the "View Code" option on most browsers (The script is embedded within the HTML or XHTML document)
* Ocassionally a web designer will put the script into a seperate file that is referenced by the HTML file (The browser will interpret the page and see the reference, at which time the server will send the file with the script.)

Popular Client-Side Scripting Languages:
-- JavaScript (Including Ajax)
-- ActionScript (Most often used with Adobe Flash Player)
-- Dart
-- VBScript
-- Typescript

Server Side Dynamic Web Page:
* As one may guess, unlike a Client-Side Dynamically Generated Web Page - which is intepreted by the browser as it loads the document, a "Server-Side" page is interpreted and generated by the SERVER, and the finished document is sent to the browser.

Popular Serveri-Side Scripting Languages:
-- PHP
-- ASP .NET
-- Perl
-- Python
-- Ruby
-- Java
-- ColdFusion
-- JavaScript (Server Side)
* Usually, Server Side scripts CANNOT be seen by simply viewing a document's code.

There are advantages and disadvantages to both techniques.
* Client-Side gets a bad wrap for insecurity, but it's not INHERENTLY insecure... usually it's just sloppy scripting code... BUT while many will allow server-side scripts to run beyond the browser, that is usually not the case with client-side scripting.
* Server-Side scripting gives a more consistent look because the page is being interpreted by the server, rather than each individual (and often different) browser
* Client-Side scripting is usually MUCH easier to start using since there is no software that need to be installed on the server to make them run. (The script is interpreted in the Browser)
* Client-Side is dependent on the client machine: A bad browser or slow computer will affect the ability ot render the page.
In modern design, we use both!

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter.
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!
*Check out our transcripts.

Sponsors: