LAMP CSD L0101 - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

LAMP CSD L0101

Description:

Project Assistant, SDET Unit / CSIS Group. Webmaster, BITS Website ... Download Handout soft copy from course website. Likely to change in time. 8-Sep-09 ... – PowerPoint PPT presentation

Number of Views:57
Avg rating:3.0/5.0
Slides: 30
Provided by: ajayr
Category:
Tags: csd | lamp | l0101 | softcopy

less

Transcript and Presenter's Notes

Title: LAMP CSD L0101


1
LAMPCSD L0101
  • Lecture 01
  • Introduction
  • Background Survey
  • Course Overview
  • Jargon Buster
  • Intro to LAMP
  • Filesystem Hierarchy Standard
  • Absolute Relative Path
  • Shell Commands

2
Introduction
  • Ajay Rungta
  • Project Assistant, SDET Unit / CSIS Group
  • Webmaster, BITS Website
  • Pursuing M. E. in Software Systems
  • Software Engineer, Infosys 2 years
  • M. Sc. (Hons.) Physics, BITS Pilani Class of
    2006
  • rungta.ajay_at_bits-pilani.ac.in
  • 3258 IBM Lab
  • Enough of me, lets talk about you now

3
Background Survey
  • LAMP
  • Linux
  • Apache
  • HTML
  • CSS
  • JavaScript
  • PHP
  • Fundamentals
  • Session / Cookies
  • PEAR
  • PHP Frameworks
  • MySQL
  • RDBMS
  • SQL Queries
  • DB Connections
  • XML
  • AJAX
  • Prithvi Account
  • Desktop / Laptop
  • Expectation

4
Course Overview
  • Details
  • Tue Thu 530 to 7 pm, 5101 LTC
  • http//sdetu/csd/courses/CSDL0101/
  • http//groups.google.com/group/lamp_csd_bitspilani
    /
  • CCH Mon 5.30 to 6.30 pm, 3258 IBM Lab
  • rungta.ajay_at_bits-pilani.ac.in
  • Handout
  • Download Handout soft copy from course website
  • Likely to change in time

5
Course Overview
  • Lectures
  • Sets pace of Course
  • Highlights important points
  • Demo/Sample Programs presented Ensure that you
    understand them fully
  • Course Material
  • Either on course website or IntraBITS

6
Course Overview
  • Evaluation
  • Quiz 4 10
  • Labs
  • Practice Evaluative Labs 20
  • Each 60 Min
  • Date, Time Venue TBD
  • Assignments/Projects Take Home 20
  • Submission Dates 1st Oct, 2009 5th Nov 2009
  • Mid Sem 12th Oct 2009, Monday 90 Min20
  • End Sem 21st Nov 2009, Saturday 120 Min30

7
Course Overview
  • TB1 Timothy Boronczyk, Elizabeth Naramore,
    Jason Gerner, Yann Le Scouarnec, Jeremy Stolz,
    Michael K. Glass Beginning PHP6, Apache, MySQL
    Web Development, Wrox 2009
  • TB2 W. Jason Gilmore Beginning PHP MySQL -
    From Novice to Professional, Apress, 3rd Edition,
    2008

8
Course Plan
  • Linux
  • Fundamentals
  • File Handling Commands
  • Shell and vi
  • Apache
  • Configuration
  • Files Hierarchy
  • User Webpages
  • Virtual Hosts and aliases

9
Course Plan
  • MySQL
  • MySQL Databases Tables
  • Value Types
  • SQL Queries
  • PHP
  • Fundamentals
  • Forms, Sessions, Cookies
  • AJAX
  • PEAR and PHP Frameworks
  • Security

10
Software Development's Evolution
  • Technocrat Era Programmers serving programmers
  • Early Business Era Programmers attempt to serve
    others
  • Late Business Era Programmers and artists meet
    and do battle
  • Product Design Era Can programmers and artists
    learn to work together?
  • Lead users
  • Source http//www.lostgarden.com/2006/02/softwar
    e-developments-evolution.html

11
The Technocrat Era
12
The Early Business Era
13
The Late Business Era
14
The Product Design Era
15
Lead Users
  • A group of users that solves a difficult program
    far ahead of the mass market
  • The first was the game industry
  • The second were companies like Apple
  • The third were web design companies

16
LAMP
  • Free and open source software
  • Used to run dynamic websites or servers
  • Linux the Operating System
  • Apache - the Web Server
  • MySQL the Database Management System
  • PHP the server side scripting language
  • LAMP - Perl, PHP or Python
  • Coined by Michael Kunze in an article in German
    computing magazine ct in April 1998
  • Link http//www.heise.de/kiosk/archiv/ct/1998/12
    /230_kiosk

17
Open Source
  • Open source doesn't just mean access to the
    source code.
  • Distribution must comply with the following
  • Free Redistribution
  • Source Code
  • Derived Works
  • Integrity of The Author's Source Code
  • No Discrimination Against Persons or Groups
  • No Discrimination Against Fields of Endeavor
  • Distribution of License
  • License Must Not Be Specific to a Product
  • License Must Not Restrict Other Software
  • License Must Be Technology-Neutral

Source http//www.opensource.org/docs/osd
18
Linux
Tux
  • Unix-like OS based on Linux kernel
  • Written in 1991 by Linus Torvalds
  • Developed on Minix using the GNU C compiler
  • Announced on 25 Aug 91 on Usenet newsgroup
    comp.os.minix.
  • Kernel Central Component
  • Apache HTTP Server
  • X Window System GUI
  • Desktop Environments GNOME, KDE, etc
  • Utilities and Libraries, etc
  • Announcement http//groups.google.com/group/com
    p.os.minix/msg/b813d52cbc5a044b
  • Pronounce Linux http//groups.google.com/group/c
    omp.os.linux/msg/53a76cbbbcb6e1c8
  • GNU's Not Unix http//www.gnu.org/
  • Why Tux? http//lkml.indiana.edu/hypermail/linu
    x/kernel/9605/0855.html

Linus Torvalds
19
Apache HTTP Server
  • Developed and maintained under Apache Software
    Foundation
  • 1st version was created by Robert McCool known as
    NCSA HTTPd
  • Became first web server to surpass the 100
    million web site milestone in Feb 09
  • Served over 46 of all websites  over 66 of the
    million busiest as of Aug 09
  • Why Apache? http//httpd.apache.org/docs/1.3/misc
    /FAQ.htmlname
  • Apache Software Foundation http//www.apache.org/
  • Apache HTTP Server Project http//httpd.apache.or
    g/
  • National Center for Supercomputing Applications
    http//www.ncsa.illinois.edu/
  • http//news.netcraft.com/archives/2009/02/18/feb
    ruary_2009_web_server_survey.html
  • http//news.netcraft.com/archives/2009/08/31/aug
    ust_2009_web_server_survey.html

20
MySQL
  • Relational Database Management System
  • It is My Structured Query Language
  • Runs as a server providing multi-user access to a
    number of databases
  • Eg - Flickr, Facebook, Wikipedia, Google (not for
    searches), Nokia, YouTube, etc
  • Originally developed by Michael
    Widenius and David Axmark beginning in 1994
  • Created by MySQL AB Founded in 1995
  • Sun Microsystems acquired MySQL AB in 2008
  • Oracle deal to acquire Sun Microsystems is open
  • MySQL http//www.mysql.com/

21
PHP
  • It is PHP Hypertext Preprocessor
  • Scripting language to produce dynamic web pages
  • Created by Rasmus Lerdorf in 1995
  • Succeeds an older product, named PHP/FI
    Personal Home Page/ Form Interpreter
  • Now managed by The PHP Group
  • PHP http//www.php.net/

22
Filesystem Hierarchy Standard
Defines the main directories and their contents
in most software systems using UNIX and Unix-like
operating systems
23
Filesystem Hierarchy Standard
24
Processing Environment
  • User Program
  • Set of instructions written by the user
  • Process
  • Instance of a program under execution
  • Shell
  • Provides a processing environment for the user
    programs

25
Absolute Path and Relative Path
  • The Absolute Path
  • The entire pathname starting from root(/)
  • Eg - /home/students/grad/h2008123
  • The Relative Path
  • The path relative to your present working
    directory
  • . Current Directory
  • .. Parent Directory in hierarchy
  • - User Home Directory
  • username username Home Directory
  • Eg cd, cd ., cd .., cd ../../, cd , cd user

26
Getting Help
  • Man Pages - Applications, utilities, and shell
    prompt commands usually have corresponding manual
    pages
  • Man Pages show the reader the available options
    and values of file or executable
  • Eg man whoami
  • Word Search in Man Pages
  • man k ltwordgt
  • apropos ltwordgt

27
Commands
  • Left Blank Intentionally

28
HTML
  • Left Blank Intentionally

29
  • Questions
Write a Comment
User Comments (0)
About PowerShow.com