SlideShare a Scribd company logo
SFDV2001 – Web Development Lecture 6: Data Driven Design
Server What is a server A machine that “serves“ files How to get a file you connect to the computer send it a message saying what file you want it sends that file to your machine Must have A program that listens for requests and sends files when asked.  This is what makes it a server. Two main ones Apache (67%), MS IIS (21%)  11/09/07 (SFDV2001:24)Data Driven Design
Client Definition A machine that makes requests of a server and then displays the results. Program that are web clients are IE, Mozilla, Netscape, Safari You request a file a get message is sent and the page is returned Special case http://www.otago.ac.nz is interpreted as www.otago.ac.nz/index.html 11/09/07 (SFDV2001:24)Data Driven Design
11/09/07 (SFDV2001:24)Data Driven Design Download cycle Problem not customized to the individual,  manual updating of information no memory of previous visits Client Server get index.html <html><head><title>Index</title><body> This is a test page</body></head>
Dynamic content We can have changing content Latest news stories Games Latest product information Two type Server-side Client-side 11/09/07 (SFDV2001:24)Data Driven Design
Server-side 11/09/07 (SFDV2001:24)Data Driven Design Types ASP, PHP, CGI, SSI you will see <name>.php e.g. cosc360.otago.ac.nz/index.php Cycle client request server processes request and gathers information returns contructed page that is HTML client displays recieved page
Server-side 11/09/07 (SFDV2001:24)Data Driven Design Advantages Up-to-date information easier to maintain and update client machines just see HTML removes redundant information storage Disadvantages Server has to do more work opens up security issues people may not be able to get the same page later
Client-side 11/09/07 (SFDV2001:24)Data Driven Design Types Javascript, Java, imagemaps content sent to your machine and it calculates what to do. Advantages Users machines does work instead of server Disadvantages Sending more data everybody can see how your site works Dependent on the client browser support
Data driven design Static html and CSS is not good enough. We have lots of data and the web should be just one way of viewing that data. Need to be  Dynamic User centred Accessing single data source Maintainable Current There must be a better way! 11/09/07 (SFDV2001:24)Data Driven Design
LAMP L inux,  A pache,  M ySQL,  P HP/Perl/Python Linux  Operating system Apache  Web server MySQL  Database PHP Programming language These create a free dynamic content web server Underlying concepts similar between all database programs Dynamic content the key 11/09/07 (SFDV2001:24)Data Driven Design
Database Database One or more Data file. Data file File containing rows of data. Principles Information should occur only once in an organisation Postal address – Library, department, registry, OUSA, clubs and socs, careers advisory service, ... Accessing information should be fast Fast ways to search 30,000 records. 11/09/07 (SFDV2001:24)Data Driven Design
Example Database Student records database. StudentID, Fname, Sname, DOB, Addr StudentID, PaperCode, Fees, Mark PaperCode, Name, Desc, Year, Department 11/09/07 (SFDV2001:24)Data Driven Design StudentID Fname Sname DOB 933333 Simon Smith 18/12/80 7456324 Jane Jones 10/01/83 8756432 Ann Archer 31/03/84 . . . . . StudentID PaperCode   Fees 933333 COMP112_S1_04 Enrld 933333 ENGL127_S2_04 Unproc 7456324 COMP102_S1_04 Enrld 8756432 COMP102_S1_04 Enrld 8756432 COMP112_S1_04 Enrld 8756432 ENGL127_S2_04 Unpro . . . PaperCode Name Year COMP102_S1_04 Infoma.. 2004 COMP112_S1_04 Comput.. 2004 ENGL127_S2_04 Comput.. 2004 . . . . . Enroll Student Papers
Example Database Your name and address is stored in  one  place.  You are referred to by your  StudentID  everywhere else.  Your enrolment in your course is a row in a datafile. 9334567 COMP112_S2_2005 Enrolled ??? The University has a massive database with many links Lecturers, courses, labs, lecture theatres, examinations, departments, divisions Alumnia Database National Student Number, graduates surveys 11/09/07 (SFDV2001:24)Data Driven Design
Query To extract information you query the database. Query:  I want a list of the names of people enrolled in the course. Process:  Find all the people enrolled in the course and then match their ID numbers to the IDs in the Student file.  Extract all the names for students with matching IDs. MYSQL: SELECT s.name FROM enrollments e, student s  WHERE e.papercode LIKE 'COMP112_S2_2005%'  AND s.id = e.StudentID; 11/09/07 (SFDV2001:24)Data Driven Design
Views of Data Businesses store information in databases Views of data Managers like to look at reports. Sales staff want to know what is in stock and the current price. Clients want to know about products and descriptions. Accountants want stock and sale information. etc....... These are all accessing the same data Wouldn't it be nice to have the web site accessing the same information. 11/09/07 (SFDV2001:24)Data Driven Design
Customisation Case study – Blackboard & PIMS. Login to personal information. Access information about courses. Discussion boards with updatable content. Need more than just HTML to do all that. Server needs to extract information from a database Present it in an acceptable form. 11/09/07 (SFDV2001:24)Data Driven Design
Discussion Board Many people accessing and adding content. Need to have web based access so users can Add content. View new messages. Select a thread. Reply to messages. Has to be dynamic, rather than static. Weblog – blogs also need these properties. Wiki – lots of visitor content alteration. 11/09/07 (SFDV2001:24)Data Driven Design
MySQL MySQL Free implementation of SQL (Structured Query Language). Database management software. Allows full database control and programming. Very common in conjunction with PhP as they are both free and run on Linux and play nicely with Apache. Relational Database Complex once you are designing them for optimal use 11/09/07 (SFDV2001:24)Data Driven Design
ASP, PHP & JSP A ctive  S erver  P age. (MS) ‏ P HP  H ypertext  P reprocessor. (IBM) ‏ J ava S erver  P ages (Sun) ‏ These systems allow Dynamic content. Full programming language support. Access to database information MSaccess.  MySQL. Oracle etc. Easier to maintain as many tasks are automated. 11/09/07 (SFDV2001:24)Data Driven Design
11/09/07 (SFDV2001:24)Data Driven Design
Dynamic Navigation You can use PHP or ASP to add content. Using the GET part of the URL. www.games.ac.nz/index.php?show=research will include the file in directory “inc/” called “research.php” 11/09/07 (SFDV2001:24)Data Driven Design <div id=&quot;bodybox&quot;> <?  $content =  &quot;inc/intro.php&quot; ; if (isset($_GET[&quot;show&quot;])) { $content =  &quot;inc/&quot; .$ _GET[&quot;show&quot;]. &quot;.php&quot; ; } include($content); $modTime = filemtime($content); ?> </div> content = “inc/research.php” content = “inc/intro.php”
Interactive Content Using a database and ASP or PHP User is a row in the database Id stored in a cookie or with login Messages, comments, interests,.... Trademe, Database and interactivity User added content Wiki's, blogs, forums, YouTube, MySpace,.... Cannot have just static content anymore. All of these have some form of data driven content. 11/09/07 (SFDV2001:24)Data Driven Design
AJAX and Ruby Asynchronous Javascript and XML.  Just a term for a way of doing stuff. Interactive components in web pages. Makes a webpage appear more like an application. Google mail and Google Earth. .Net and Ruby on Rails  Same basic concept. Set up all the common tasks so they are created with a single button press or line of code. “ on Rails” is a framework for developing rapid prototypes of websites. Data driven sites are easy to make with these tools. 11/09/07 (SFDV2001:24)Data Driven Design
Server Side Processing There is a lot to learn about programming. Good programmers can develop for any of these web technologies. The more processing you do the more complex the problems. Eventually you need to be running the server so that you have access to everything 11/09/07 (SFDV2001:24)Data Driven Design

More Related Content

What's hot (20)

PDF
Intro to mobile web application development
zonathen
 
PDF
Web Development for UX Designers
Ashlimarie
 
PPTX
Html 5 tutorial - By Bally Chohan
ballychohanuk
 
PPTX
UVA MDST 3703 JavaScript (ii) 2012-10-04
Rafael Alvarado
 
PPTX
Web design 2 - Basic HTML 2010
Matthew Mobbs
 
PDF
Taiwan Web Standards Talk 2011
Zi Bin Cheah
 
PDF
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
FortySeven Media
 
PPTX
Rich and Beautiful: Making Attractive Apps in HTML5 [Wpg 2013]
David Wesst
 
ZIP
Looking into HTML5
Christopher Schmitt
 
PPTX
Creating a Webpage
Matthew Mobbs
 
KEY
Intro to html5 Boilerplate
Michael Enslow
 
PPTX
Fundamentals of HTML5
St. Petersburg College
 
PPTX
Css, xhtml, javascript
Trần Khải Hoàng
 
PDF
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
tutorialsruby
 
PDF
Web Standards: Fueling Innovation [Web Design World Boston '08]
Aaron Gustafson
 
ODP
The Augmented Wiki
Eugene Kim
 
PPT
NJECC iWEB Tutorial DAndrea
D'Andrea
 
PDF
Responsive Web Design Tutorial PDF for Beginners
Bootstrap Creative
 
PPT
Introduction to Web Programming - first course
Vlad Posea
 
ODP
Accessible Websites With Lotus Notes/Domino, presented at the BLUG day event,...
Martin Leyrer
 
Intro to mobile web application development
zonathen
 
Web Development for UX Designers
Ashlimarie
 
Html 5 tutorial - By Bally Chohan
ballychohanuk
 
UVA MDST 3703 JavaScript (ii) 2012-10-04
Rafael Alvarado
 
Web design 2 - Basic HTML 2010
Matthew Mobbs
 
Taiwan Web Standards Talk 2011
Zi Bin Cheah
 
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
FortySeven Media
 
Rich and Beautiful: Making Attractive Apps in HTML5 [Wpg 2013]
David Wesst
 
Looking into HTML5
Christopher Schmitt
 
Creating a Webpage
Matthew Mobbs
 
Intro to html5 Boilerplate
Michael Enslow
 
Fundamentals of HTML5
St. Petersburg College
 
Css, xhtml, javascript
Trần Khải Hoàng
 
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
tutorialsruby
 
Web Standards: Fueling Innovation [Web Design World Boston '08]
Aaron Gustafson
 
The Augmented Wiki
Eugene Kim
 
NJECC iWEB Tutorial DAndrea
D'Andrea
 
Responsive Web Design Tutorial PDF for Beginners
Bootstrap Creative
 
Introduction to Web Programming - first course
Vlad Posea
 
Accessible Websites With Lotus Notes/Domino, presented at the BLUG day event,...
Martin Leyrer
 

Similar to Lecture 6 Data Driven Design (20)

PPT
Scaling 101
Chris Finne
 
PPT
Scaling 101 test
Rashmi Sinha
 
PDF
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
Christoph Adler
 
PDF
Making Of PHP Based Web Application
Sachin Walvekar
 
PPT
Daniel Egan Msdn Tech Days Oc
Daniel Egan
 
DOCX
Pro lab synopsis (body)
Asish Verma
 
PPT
Krug Fat Client
Paul Klipp
 
PPTX
engage 2015 - - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
Christoph Adler
 
PPTX
Web application architecture
Tejaswini Deshpande
 
PPT
Silverlight Development & The Model-View-ViewModel Pattern
Derek Novavi
 
PPT
ArcReady - Architecting For The Cloud
Microsoft ArcReady
 
PDF
20171104 hk-py con-mysql-documentstore_v1
Ivan Ma
 
PDF
Big Data Analytics from Azure Cloud to Power BI Mobile
Roy Kim
 
PDF
Metadata describes about data
Dev Sanskriti Vishwavidyalaya (University)
 
PPTX
Introduction to document db- Global Azure Bootcamp 2016
Jalpesh Vadgama
 
PPT
MOSS 2007 Deployment Fundamentals -Part2
Information Technology
 
PPTX
Normalizing x pages web development
Shean McManus
 
PPT
Web and DAMS - NC ECHO Dig Institute
egore
 
PPTX
01 introduction to entity framework
Марина Босова
 
PPTX
01 introduction to entity framework
Maxim Shaptala
 
Scaling 101
Chris Finne
 
Scaling 101 test
Rashmi Sinha
 
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
Christoph Adler
 
Making Of PHP Based Web Application
Sachin Walvekar
 
Daniel Egan Msdn Tech Days Oc
Daniel Egan
 
Pro lab synopsis (body)
Asish Verma
 
Krug Fat Client
Paul Klipp
 
engage 2015 - - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
Christoph Adler
 
Web application architecture
Tejaswini Deshpande
 
Silverlight Development & The Model-View-ViewModel Pattern
Derek Novavi
 
ArcReady - Architecting For The Cloud
Microsoft ArcReady
 
20171104 hk-py con-mysql-documentstore_v1
Ivan Ma
 
Big Data Analytics from Azure Cloud to Power BI Mobile
Roy Kim
 
Metadata describes about data
Dev Sanskriti Vishwavidyalaya (University)
 
Introduction to document db- Global Azure Bootcamp 2016
Jalpesh Vadgama
 
MOSS 2007 Deployment Fundamentals -Part2
Information Technology
 
Normalizing x pages web development
Shean McManus
 
Web and DAMS - NC ECHO Dig Institute
egore
 
01 introduction to entity framework
Марина Босова
 
01 introduction to entity framework
Maxim Shaptala
 
Ad

More from Sur College of Applied Sciences (9)

PPT
Lecture11 A Image
Sur College of Applied Sciences
 
PPT
Lecture 11 B Security
Sur College of Applied Sciences
 
PPT
Lecture 10 Image Format
Sur College of Applied Sciences
 
PPT
Lecture 9 Accessibility Original
Sur College of Applied Sciences
 
Ad

Recently uploaded (20)

PPTX
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Controller Request and Response in Odoo18
Celine George
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 

Lecture 6 Data Driven Design

  • 1. SFDV2001 – Web Development Lecture 6: Data Driven Design
  • 2. Server What is a server A machine that “serves“ files How to get a file you connect to the computer send it a message saying what file you want it sends that file to your machine Must have A program that listens for requests and sends files when asked. This is what makes it a server. Two main ones Apache (67%), MS IIS (21%) 11/09/07 (SFDV2001:24)Data Driven Design
  • 3. Client Definition A machine that makes requests of a server and then displays the results. Program that are web clients are IE, Mozilla, Netscape, Safari You request a file a get message is sent and the page is returned Special case http://www.otago.ac.nz is interpreted as www.otago.ac.nz/index.html 11/09/07 (SFDV2001:24)Data Driven Design
  • 4. 11/09/07 (SFDV2001:24)Data Driven Design Download cycle Problem not customized to the individual, manual updating of information no memory of previous visits Client Server get index.html <html><head><title>Index</title><body> This is a test page</body></head>
  • 5. Dynamic content We can have changing content Latest news stories Games Latest product information Two type Server-side Client-side 11/09/07 (SFDV2001:24)Data Driven Design
  • 6. Server-side 11/09/07 (SFDV2001:24)Data Driven Design Types ASP, PHP, CGI, SSI you will see <name>.php e.g. cosc360.otago.ac.nz/index.php Cycle client request server processes request and gathers information returns contructed page that is HTML client displays recieved page
  • 7. Server-side 11/09/07 (SFDV2001:24)Data Driven Design Advantages Up-to-date information easier to maintain and update client machines just see HTML removes redundant information storage Disadvantages Server has to do more work opens up security issues people may not be able to get the same page later
  • 8. Client-side 11/09/07 (SFDV2001:24)Data Driven Design Types Javascript, Java, imagemaps content sent to your machine and it calculates what to do. Advantages Users machines does work instead of server Disadvantages Sending more data everybody can see how your site works Dependent on the client browser support
  • 9. Data driven design Static html and CSS is not good enough. We have lots of data and the web should be just one way of viewing that data. Need to be Dynamic User centred Accessing single data source Maintainable Current There must be a better way! 11/09/07 (SFDV2001:24)Data Driven Design
  • 10. LAMP L inux, A pache, M ySQL, P HP/Perl/Python Linux Operating system Apache Web server MySQL Database PHP Programming language These create a free dynamic content web server Underlying concepts similar between all database programs Dynamic content the key 11/09/07 (SFDV2001:24)Data Driven Design
  • 11. Database Database One or more Data file. Data file File containing rows of data. Principles Information should occur only once in an organisation Postal address – Library, department, registry, OUSA, clubs and socs, careers advisory service, ... Accessing information should be fast Fast ways to search 30,000 records. 11/09/07 (SFDV2001:24)Data Driven Design
  • 12. Example Database Student records database. StudentID, Fname, Sname, DOB, Addr StudentID, PaperCode, Fees, Mark PaperCode, Name, Desc, Year, Department 11/09/07 (SFDV2001:24)Data Driven Design StudentID Fname Sname DOB 933333 Simon Smith 18/12/80 7456324 Jane Jones 10/01/83 8756432 Ann Archer 31/03/84 . . . . . StudentID PaperCode Fees 933333 COMP112_S1_04 Enrld 933333 ENGL127_S2_04 Unproc 7456324 COMP102_S1_04 Enrld 8756432 COMP102_S1_04 Enrld 8756432 COMP112_S1_04 Enrld 8756432 ENGL127_S2_04 Unpro . . . PaperCode Name Year COMP102_S1_04 Infoma.. 2004 COMP112_S1_04 Comput.. 2004 ENGL127_S2_04 Comput.. 2004 . . . . . Enroll Student Papers
  • 13. Example Database Your name and address is stored in one place. You are referred to by your StudentID everywhere else. Your enrolment in your course is a row in a datafile. 9334567 COMP112_S2_2005 Enrolled ??? The University has a massive database with many links Lecturers, courses, labs, lecture theatres, examinations, departments, divisions Alumnia Database National Student Number, graduates surveys 11/09/07 (SFDV2001:24)Data Driven Design
  • 14. Query To extract information you query the database. Query: I want a list of the names of people enrolled in the course. Process: Find all the people enrolled in the course and then match their ID numbers to the IDs in the Student file. Extract all the names for students with matching IDs. MYSQL: SELECT s.name FROM enrollments e, student s WHERE e.papercode LIKE 'COMP112_S2_2005%' AND s.id = e.StudentID; 11/09/07 (SFDV2001:24)Data Driven Design
  • 15. Views of Data Businesses store information in databases Views of data Managers like to look at reports. Sales staff want to know what is in stock and the current price. Clients want to know about products and descriptions. Accountants want stock and sale information. etc....... These are all accessing the same data Wouldn't it be nice to have the web site accessing the same information. 11/09/07 (SFDV2001:24)Data Driven Design
  • 16. Customisation Case study – Blackboard & PIMS. Login to personal information. Access information about courses. Discussion boards with updatable content. Need more than just HTML to do all that. Server needs to extract information from a database Present it in an acceptable form. 11/09/07 (SFDV2001:24)Data Driven Design
  • 17. Discussion Board Many people accessing and adding content. Need to have web based access so users can Add content. View new messages. Select a thread. Reply to messages. Has to be dynamic, rather than static. Weblog – blogs also need these properties. Wiki – lots of visitor content alteration. 11/09/07 (SFDV2001:24)Data Driven Design
  • 18. MySQL MySQL Free implementation of SQL (Structured Query Language). Database management software. Allows full database control and programming. Very common in conjunction with PhP as they are both free and run on Linux and play nicely with Apache. Relational Database Complex once you are designing them for optimal use 11/09/07 (SFDV2001:24)Data Driven Design
  • 19. ASP, PHP & JSP A ctive S erver P age. (MS) ‏ P HP H ypertext P reprocessor. (IBM) ‏ J ava S erver P ages (Sun) ‏ These systems allow Dynamic content. Full programming language support. Access to database information MSaccess. MySQL. Oracle etc. Easier to maintain as many tasks are automated. 11/09/07 (SFDV2001:24)Data Driven Design
  • 21. Dynamic Navigation You can use PHP or ASP to add content. Using the GET part of the URL. www.games.ac.nz/index.php?show=research will include the file in directory “inc/” called “research.php” 11/09/07 (SFDV2001:24)Data Driven Design <div id=&quot;bodybox&quot;> <? $content = &quot;inc/intro.php&quot; ; if (isset($_GET[&quot;show&quot;])) { $content = &quot;inc/&quot; .$ _GET[&quot;show&quot;]. &quot;.php&quot; ; } include($content); $modTime = filemtime($content); ?> </div> content = “inc/research.php” content = “inc/intro.php”
  • 22. Interactive Content Using a database and ASP or PHP User is a row in the database Id stored in a cookie or with login Messages, comments, interests,.... Trademe, Database and interactivity User added content Wiki's, blogs, forums, YouTube, MySpace,.... Cannot have just static content anymore. All of these have some form of data driven content. 11/09/07 (SFDV2001:24)Data Driven Design
  • 23. AJAX and Ruby Asynchronous Javascript and XML. Just a term for a way of doing stuff. Interactive components in web pages. Makes a webpage appear more like an application. Google mail and Google Earth. .Net and Ruby on Rails Same basic concept. Set up all the common tasks so they are created with a single button press or line of code. “ on Rails” is a framework for developing rapid prototypes of websites. Data driven sites are easy to make with these tools. 11/09/07 (SFDV2001:24)Data Driven Design
  • 24. Server Side Processing There is a lot to learn about programming. Good programmers can develop for any of these web technologies. The more processing you do the more complex the problems. Eventually you need to be running the server so that you have access to everything 11/09/07 (SFDV2001:24)Data Driven Design

Editor's Notes

  • #14: [Update with local examples]