Schedule

Schedule

Tuesday, September 30

1412121600 All About Android
1412130600 Padre's Corner

Wednesday, October 1

1412177400 FLOSS Weekly
1412182800 Tech News Today
1412186400 Windows Weekly
1412193600 This Week in Google
1412204400 Tech News 2Night
1412211600 Ham Nation

Thursday, October 2

1412269200 Tech News Today
1412272800 Know How...
1412276400 Marketing Mavericks
1412281800 Coding 101
1412285400 Home Theater Geeks
1412290800 Tech News 2Night
1412292600 The Giz Wiz

Friday, October 3

1412355600 Tech News Today
1412359200 This Week in Law
1412366400 Android App Arena
1412377200 Tech News 2Night

Saturday, October 4

1412445600 The Tech Guy

Sunday, October 5

1412532000 The Tech Guy
1412546400 This Week in Tech

Monday, October 6

1412614800 Tech News Today
1412618400 Triangulation
1412623800 iPad Today
1412636400 Tech News 2Night

Tuesday, October 7

1412701200 Tech News Today
1412704800 MacBreak Weekly
1412712000 Security Now
1412719200 Before You Buy
1412722800 Tech News 2Night
1412726400 All About Android
1412735400 Padre's Corner

Wednesday, October 8

1412782200 FLOSS Weekly
1412787600 Tech News Today
1412791200 Windows Weekly
1412798400 This Week in Google
1412809200 Tech News 2Night
1412816400 Ham Nation

Thursday, October 9

1412874000 Tech News Today
1412877600 Know How...
1412881200 Marketing Mavericks
1412886600 Coding 101
1412890200 Home Theater Geeks
1412895600 Tech News 2Night
1412897400 The Giz Wiz

Friday, October 10

1412960400 Tech News Today
1412964000 This Week in Law
1412971200 Android App Arena
1412982000 Tech News 2Night

Most Recent Episodes

Tech News Today

eBay and PayPal will become two separate companies.

iPad Today

MyScript, Fleksy, hidden iOS albums

This Week in Enterprise Tech
Episode #109: The IxCharriot September 29th, 2014

Troubleshooting your network with IxChariot

Tech News 2Night

The app powering the Hong Kong protests.

Triangulation

How to use Facebook better.

Tech News Today

China's iPhone 6 black market falls apart.

This Week in Tech
Episode #477: Ello Moto September 28th, 2014

Shellshock, Ello, bitter Twitter, Bendghazi, and more.

The Tech Guy
The Tech Guy 1122 September 28th, 2014

Why Apple's BendGate is bogus, iPhoto alternatives, how to screencast, and you calls.

The Tech Guy
The Tech Guy 1121 September 27th, 2014

How can I synchronize my documents across devices?

Tech News 2Night
Episode #181: The Rise of Ello September 26th, 2014

Apple to Patch Shellshock Bug

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: