Managing Research Group Web Sites with a Database and Perl Geoffrey Hing Stephen Conley

Slides:



Advertisements
Similar presentations
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
Advertisements

Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Server-Side vs. Client-Side Scripting Languages
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
James Tam Introduction To Design Patterns You will learn about design techniques that have been successfully applied to different scenarios.
Online Magazine Bryan Ng. Goal of the Project Product Dynamic Content Easy Administration Development Layered Architecture Object Oriented Adaptive to.
CGI and Perl MSc Publishing on the WWW. What is CGI ? (1) User Buying and selling Playing games Customised web pages Developer Means to run external programs.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
Creating Web Page Forms
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Static VS Dynamic websites. 1-What are the advantages and disadvantages? 2- Which one should you choose and why?
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
PHP Web Development, PHP Programming
By Jeerarat Boonyanit. As you can see I have chosen Cpanel for my server management tool. cPanel is a Linux based web hosting control panel that provides.
Lecturer: Ghadah Aldehim
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
4-Sep-15 HTML Forms Mrs. Goins Web Design Class. Parts of a Web Form A Form is an area that can contain Form Control/Elements. Each piece of information.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
SednaSpace A software development platform for all delivers SOA and BPM.
PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
PHP and MySQL by Example COMP YL Professor Mattos.
LOGO 2 nd Project Design for Library Programs Supervised By Dr: Mohammed Mikii.
New Content Management System Sean Johnson ASU/NASA Space Grant Web Site 2007/2008.
Slide 12.1 Chapter 12 Implementation. Slide 12.2 Learning outcomes Produce a plan to minimize the risks involved with the launch phase of an e-business.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
Guide to Linux Installation and Administration, 2e1 Chapter 11 Using Advanced Administration Techniques.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
Interactive Web Tehcnologies Teppo Räisänen LIIKE/OAMK 2011.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)
1) PHP – Personal Home Page Scripting Language 2) JavaScript.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
Perl Ed Finegan. Overview of Pearl Perl is a high-level programming language written by Larry Wall. It derives from the C programming language and to.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
Doktorant ė : Egl ė Mickevi č i ū t ė Software development technologies KAUNO TECHNOLOGIJOS UNIVERSITETAS INFORMACIJOS SISTEM Ų KATEDA Kaunas, 2013.
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
Web Programming Building Dynamic Web Pages Adrian Shaw (ais) – 80% Jonathan Roscoe (jjr6) - 20%
Advanced Higher Computing Science
PHP Assignment Help BookMyEssay. What is PHP PHP is a scripting language generally used on web servers. It is an open source language and embedded code.
CST 1101 Problem Solving Using Computers
WWW and HTTP King Fahd University of Petroleum & Minerals
PERL.
UNIT 15 Webpage Creator.
PHP / MySQL Introduction
Web page a hypertext document connected to the World Wide Web.
Database Driven Websites
Web Development Using ASP .NET
Chapter 27 WWW and HTTP.
Content of Presentation
JavaScript.
An Introduction to JavaScript
Web Application Development Using PHP
Affordable ways of getting good features in a website.
Presentation transcript:

Managing Research Group Web Sites with a Database and Perl Geoffrey Hing Stephen Conley

The Problem - Website Management

General Website Management Problems " Dependent on a single administrator. " Managing Hypertext can be difficult. " It is often difficult to keep up with frequently changing data. " Site re-designs require almost complete rewrite of HTML.

Problems specific to research groups " Limited privileges on webserver – no root access/ability to configure webserver – unable to use CGI " Research group content uses varying types of data – Plain text/hypertext – Source code – Postscript/PDF – Powerpoint/other presentations

The Solution

Database separates data from presentation. " Makes site re-design easier " Minimizes the writing and re-writing of HTML

Software can allow for more decentralized administrations " Users update their own data " Administrator only checks and then commits changes.

Possible off-the shelf solutions (and their shortcomings) " Concurrent Version System (CVS) – Solves problem of decentralized administration – Individuals still have to code/update HTML " Zope, Slash, eGrail, Sourceforge, etc. – Requires administrator privileges to install/maintain – Don't necessarily handle specific needs of research groups, e.g. different data types easily

In-house solution seems best " Can be tailored to meet the specific needs of a research group " Can work around restricted access issues

Solution design

Initial ideas - Web-> ->Database

" Solved the problems with no CGI " Was very complicated, kludgey to implement.

Proposed solution

The Database

User interface " Web based interface " Menu driven console program " Tk GUI " Write functions for database interaction so they are independent of UI. " User updates database fields, and they are marked as uncommitted " Administrator checks uncommitted database updates and marks them as committed

Back end " Scripts write committed database entries that have been modified to static HTML files

Why scripting languages? " Fast prototyping: ideas can be tested as quickly as the code can be written. " Platform-independent: most scripting languages run on a wide variety of operating systems and hardware. No recompiling needed. " Future flexibility: changes can be made with a minimum of hassle. " No risk of anyone ever losing the source code!

Possible Languages " Perl - Larry Wall's Practical Extraction and Reporting Language. " Python - Named after a large snake or a British TV show. Object-oriented scripting language. " PHP - HTML-embedded scripting language. " Others: Tcl, Bourne shell, C shell, etc. Perl and Python offer more features than most scripting languages.

Why Perl? " We know it. " It has an excellent database interface (PerlDBI) for connecting to RDBMS like Sybase. " The philosophy behind Perl is almost the antithesis of the one behind RESOLVE/C++, so it will be interesting to see how easily the RESOLVE discipline can be applied to Perl applications development. " Did we mention that we know it?

More Reasons for Perl " PHP can be ruled out because it's designed for server-parsed web pages, and we do not have control of the server. " Text processing (which is essentially what we're doing) is what Perl was designed to do. " There's a Perl module for using Tk's wish. " Perl is the world's first postmodern programming language according to Larry Wall. We're not sure what that means but it sounds good.

Larry tells us why Perl is good: " "I lovingly reused features from many languages... I picked the feature set of Perl because I thought they were good features. I left the other ones behind because I thought they sucked." – Perl, the first postmodern computer language " "Perl appeals to the other side of your brain, whether that's associate, artistic, passionate, or merely spongy." – Programming Perl

Object Oriented Perl " Perl was not originally an object oriented language. " Object oriented features were added in Perl 5. " It will be interesting to see if and how those features will come into use for this project.