Вы находитесь на странице: 1из 23

LAMP

LAMP A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
LAMP A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
A Simplified & Reliable Solution for
Information Management
Compiled by: Gnaneswara Rao Tuta
LAMP A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
LAMP A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
LAMP A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
LAMP A Simplified & Reliable Solution for Information Management Compiled by: Gnaneswara Rao Tuta
Web based data handling • Traditional client ‐ server (2 ‐ tier architecture): A client

Web based data handling

Web based data handling • Traditional client ‐ server (2 ‐ tier architecture): A client computer
Web based data handling • Traditional client ‐ server (2 ‐ tier architecture): A client computer

Traditional client server (2 tier architecture): A client computer handles the user interface (Access Forms, Oracle Forms, Reports) and a database server stores the data. The actual functionality (business logic) of the application resides on the client and/or in the databases

Webbased (multi tier architecture): A client computer uses a browser to access information from two or more servers (web servers, application servers, database servers) (i.e.) A web server handles web requests, an application server handles dynamic requests and a database server stores the data)

Application Servers (eg. web servers)

and a database server stores the data) Application Servers (eg. web servers) Clients Database Server 2/28/2009

Clients

Database Server

2/28/2009

TG2

Three Tier Architecture

Three ‐ Tier Architecture 2/28/2009 TG3
Three ‐ Tier Architecture 2/28/2009 TG3

2/28/2009

TG3

Benefits of Web based solutions • Free Infrastructure: A major benefit is that the whole

Benefits of Web based solutions

Benefits of Web based solutions • Free Infrastructure: A major benefit is that the whole infrastructure
Benefits of Web based solutions • Free Infrastructure: A major benefit is that the whole infrastructure

Free Infrastructure: A major benefit is that the whole infrastructure is already in place and well developed. Only a web browser is needed. The new applications can be available to all the relevant users immediately – IT support staff do not have to go to each client workstation to install the Client Software

Free Upgrades: As the application resides on the server, new versions will be immediately and simultaneously available to every user. There is no need to distribute updated application files to every user.

Interchangeable components: It is possible to exchange either the server or the browser without breaking the application.

2/28/2009

TG4

Web Technologies Client Client ‐ ‐ side side • • HTML HTML ( ( HyperText

Web Technologies

Web Technologies Client Client ‐ ‐ side side • • HTML HTML ( ( HyperText HyperText
Web Technologies Client Client ‐ ‐ side side • • HTML HTML ( ( HyperText HyperText

ClientClientsideside

HTMLHTML ((HyperTextHyperText MarkupMarkup Language)Language) CSSCSS (Cascading(Cascading StyleStyle Sheets)Sheets) XMLXML (Extensible(Extensible MarkupMarkup Language)Language) DTDDTD (Document(Document TypeType Declaration)Declaration) XSLTXSLT (Extensible(Extensible StyleStyle SheetSheet LanguageLanguage Translator)Translator) JavaScriptJavaScript VBScript/JscriptVBScript/Jscript AnimationAnimation (Flash(Flash )) DynamicDynamic HypertextHypertext MarkupMarkup LanguageLanguage (DHTML(DHTML HTML,HTML, JavaScript,JavaScript, CSSCSS && DocumentDocument ObjectObject ModelModel (DOM)(DOM)

2/28/2009

TG5

Web Technologies Server ‐ side o PHP o ASP (Active Server Pages) & ASP.NET o

Web Technologies

Web Technologies Server ‐ side o PHP o ASP (Active Server Pages) & ASP.NET o JSP
Web Technologies Server ‐ side o PHP o ASP (Active Server Pages) & ASP.NET o JSP

Server side

o

PHP

o

ASP (Active Server Pages) & ASP.NET

o

JSP (Java Server Pages)

o

Java Servlets

o

C++/Java

o

PERL

XML Database

o

ODBC

JDBC

OleDB

2/28/2009

TG6

Open Source Software Software in a community that is: Freely Used (no warranty, no limits

Open Source Software

Open Source Software Software in a community that is: Freely Used (no warranty, no limits on
Open Source Software Software in a community that is: Freely Used (no warranty, no limits on

Software in a community that is:

Freely Used (no warranty, no limits on usage) Source code is available for any modifications Freely Extended (must share source, represent original works and owners) License is not specific to a product or restrict other software and also technology neutral.

There ʹs always plenty of professional and peer support from documentation and mailing lists.

Runs on any Platform. Bugs are fixed rapidly, and requests for features are always heard, evaluated, and if feasible, implemented.

2/28/2009

TG7

LAMP Linux Apache •Free •Coordinated •Cross ‐ platform •Plenty of support *nix flavour that is

LAMP

LAMP Linux Apache •Free •Coordinated •Cross ‐ platform •Plenty of support *nix flavour that is all

Linux

Apache

LAMP Linux Apache •Free •Coordinated •Cross ‐ platform •Plenty of support *nix flavour that is all

•Free •Coordinated •Crossplatform •Plenty of support

*nix flavour that is all the rage at the moment. Similar to Unix but free and runs on just about anything.

to Unix but free and runs on just about anything. Most popular web page serving software

Most popular web page serving software

MySQL

anything. Most popular web page serving software MySQL Open source SQL database that is free and

Open source SQL database that is free and extremely powerful

PHP

SQL database that is free and extremely powerful PHP PHP (Hypertext Preprocessor) is mainly focused on

PHP (Hypertext Preprocessor) is mainly focused on serverside scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more.

2/28/2009

TG8

AMP

AMP One of the most powerful development mo dels for the Web has been the notion
AMP One of the most powerful development mo dels for the Web has been the notion
AMP One of the most powerful development mo dels for the Web has been the notion

One of the most powerful development models for the Web has been the notion of “AMP.”

AMP stands for “Apache / MySQL / PHP & Perl working together.”

Apache is the industry-leading web server that runs a majority of web servers on the
Apache is the
industry-leading
web server that
runs a majority
of web servers
on the Internet.
MySQL is a very popular database that runs on most operating systems.
MySQL is a very
popular
database that
runs on most
operating
systems.
popular database that runs on most operating systems. PHP / Perl is a general purpose scripting
PHP / Perl is a general purpose scripting environment widely used for building dynamic web
PHP / Perl is a
general purpose
scripting
environment
widely used for
building dynamic
web sites.
environment widely used for building dynamic web sites. Together,Together,Together, theytheythey formformform
Together,Together,Together, theytheythey formformform thethethe nucleusnucleusnucleus ofofof aaa webwebweb
Together,Together,Together, theytheythey formformform thethethe nucleusnucleusnucleus ofofof aaa webwebweb applicationapplicationapplication system.system.system.
2/28/2009
TG9

Apache Advantage

Apache ‐ Advantage • • Apache Apache is is well well supported supported ‐ ‐ Most
Apache ‐ Advantage • • Apache Apache is is well well supported supported ‐ ‐ Most
Apache ‐ Advantage • • Apache Apache is is well well supported supported ‐ ‐ Most

ApacheApache isis wellwell supportedsupported MostMost supportsupport forfor ApacheApache isis freefree andand availableavailable 2424 hourshours aa dayday viavia InternetInternet mailmail oror newsgroups.newsgroups. ApacheApache isis multimultiplatformplatform ApacheApache cancan runrun onon virtuallyvirtually anyany hardwarehardware platformplatform (from(from PCsPCs toto mainframes),mainframes), andand almostalmost anyany operatingoperating system,system, suchsuch asas LinLinux,ux, Windows,Windows, NetWare,NetWare, Macintosh,Macintosh, xBSDxBSD,, etc.etc. ApacheApache isis securesecure securitysecurity holesholes areare rarerare butbut whenwhen theythey existexist theythey areare discovereddiscovered andand fixedfixed quicklyquickly ApacheApache isis extensibleextensible anyoneanyone cancan writewrite modulesmodules thatthat easilyeasily plugplug inin toto Apache.Apache. IfIf ApacheApache doesndoesnʹʹtt dodo whatwhat youyou wantwant oror needneed itit toto do,do, anyoneanyone withwith prprogrammingogramming skillsskills cancan writewrite thethe modulesmodules youyou need.need. ApacheApache isis databasedatabasefriendlyfriendly youyou cancan interfaceinterface ApacheApache withwith virtuallyvirtually anyany commercialcommercial database,database, suchsuch asas Oracle,Oracle, Sybase,Sybase, DB2,DB2, andand Informix,Informix, asas wellwell asas freefree databasesdatabases suchsuch asas MySQLMySQL andand PostgresPostgres ApacheApache isis hardwarehardwarefriendlyfriendly ApacheApache generallygenerally consumesconsumes farfar fewerfewer hardwarehardware resourcesresources thatthat commercialcommercial webweb servers.servers. NoNo MicrosoftMicrosoft VirusesViruses ApacheApache isis immuneimmune toto thethe CodeCode Red,Red, NimdaNimda,, andand otherother virusesviruses thatthat targettarget atat MicrosoftMicrosoft WebWeb servers.servers.

2/28/2009

TG10

MySQL ‐ Benefits • • The The largest largest growing growing relational relational database database

MySQL Benefits

MySQL ‐ Benefits • • The The largest largest growing growing relational relational database database out
MySQL ‐ Benefits • • The The largest largest growing growing relational relational database database out

TheThe largestlargest growinggrowing relationalrelational databasedatabase outout onon thethe marketmarket asas itit cancan handlehandle largelarge databasesdatabases thatthat cancan bebe accessedaccessed overover thethe WebWeb MeetsMeets thethe ANSIANSI SQL92SQL92 regulationsregulations (SQL(SQLStructuredStructured QueryQuery Language)Language)

MainlyMainly runsruns onon UNIXUNIXbasedbased environments,environments, butbut alsoalso usedused onon windowswindows OneOne ofof thethe mostmost usedused openopen sourcesource databasesdatabases inin thethe world.world. CapacityCapacity toto handlehandle 50,000,000+50,000,000+ records.records. VeryVery fastfast commandcommand execution,execution, perhapsperhaps thethe fastestfastest toto bebe foundfound onon thethe market.market.

FlexibleFlexible andand securesecure passwordpassword systemsystem toto protectprotect youryour datadata powerfulpowerful securitysecurity systemsystem

Fast,Fast, reliable,reliable, easyeasy toto use,use, andand affordable!affordable! EasyEasy toto getget supportsupport ComesComes withwith aa sourcesource codecode MultiMultiUserUser andand worksworks onon SeveralSeveral PlatformsPlatforms

2/28/2009

TG11

MySQL Control Center • • Graphical Graphical administrative administrative interface interface for for MySQL

MySQL Control Center

MySQL Control Center • • Graphical Graphical administrative administrative interface interface for for MySQL
MySQL Control Center • • Graphical Graphical administrative administrative interface interface for for MySQL

GraphicalGraphical administrativeadministrative interfaceinterface forfor MySQLMySQL database(sdatabase(s))

CanCan administeradminister severalseveral DBDB serversservers thatthat areare hostedhosted onon differentdifferent machinesmachines

2/28/2009

TG12

PHP Benefits

PHP ‐ Benefits • • Easy, Easy, powerful, powerful, popular popular • • Server Server ‐
PHP ‐ Benefits • • Easy, Easy, powerful, powerful, popular popular • • Server Server ‐
PHP ‐ Benefits • • Easy, Easy, powerful, powerful, popular popular • • Server Server ‐

Easy,Easy, powerful,powerful, popularpopular ServerServersideside scriptingscripting languagelanguage SupportsSupports manymany DB’sDB’s (not(not onlyonly MySQLMySQL)) PlatformPlatform IndependentIndependent WebWeb ServerServer IndependentIndependent FreeFree andand OpenOpen SourceSource

PHP Overtakes Microsoft ASP as the Web’s Number 1 server side Web technology for the Internet.

An April Netcraft surveys indicate 24 percent of the 37.6 million websites, or are running PHP scripts. PHP adoption is growing by 6.5 percent each month. (9 million sites)

2/28/2009

TG13

How it works

How it works 2/28/2009 TG14
How it works 2/28/2009 TG14
How it works 2/28/2009 TG14
How it works 2/28/2009 TG14

2/28/2009

TG14

PHP Overview

PHP Overview • • Easy Easy learning learning curve curve • • Syntax Syntax Perl ‐
PHP Overview • • Easy Easy learning learning curve curve • • Syntax Syntax Perl ‐
PHP Overview • • Easy Easy learning learning curve curve • • Syntax Syntax Perl ‐

EasyEasy learninglearning curvecurve SyntaxSyntax Perl and Clike syntax. Relatively easy to learn. •LargeLarge functionfunction librarylibrary EmbeddedEmbedded directlydirectly intointo HTMLHTML •Open Source server side scripting language designed specifically for the web. •Conceived in 1994, now used on +10 million web sites. •Outputs not only HTML but can output XML, images (JPG & PNG), PDF files and even Flash movies all generated on the fly. Can write these files to the filesystem. •Supports a wide range of databases (20 + ODBC). •PHP also has support for talking to other services using protocols such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP.

2/28/2009

TG15

MySQL Overview Fast, free, stable database Syntax is similar to Oracle Many of the same

MySQL Overview

MySQL Overview Fast, free, stable database Syntax is similar to Oracle Many of the same features
MySQL Overview Fast, free, stable database Syntax is similar to Oracle Many of the same features

Fast, free, stable database Syntax is similar to Oracle Many of the same features as Oracle Production version still missing subqueries, stored procedures, and triggers Frequently used in conjunction with Linux, Apache, and PHP

2/28/2009

TG16

Project Development

Project Development 1. Project analysis • Certain/Possible Goals • Resources 2. Technology • Total Cost of
Project Development 1. Project analysis • Certain/Possible Goals • Resources 2. Technology • Total Cost of
Project Development 1. Project analysis • Certain/Possible Goals • Resources 2. Technology • Total Cost of

1. Project analysis Certain/Possible Goals Resources

2. Technology Total Cost of Ownership (TCO) Evaluation Decision

3. Implementation Building the project Fixing Bugs Set to Use

4. How to overcome the problems?

2/28/2009

TG17

Adopting Solution for EML Major Issues Areas of adoption Integrity with Current deployed systems Data

Adopting Solution for EML

Adopting Solution for EML Major Issues Areas of adoption Integrity with Current deployed systems Data
Adopting Solution for EML Major Issues Areas of adoption Integrity with Current deployed systems Data

Major Issues

Areas of adoption Integrity with Current deployed systems Data Portability / Usability Security / Access Control Technical Support (System as well as Data)

Minor Issues

Pre defined Reporting Remote Access of data Up gradations

2/28/2009

TG18

Infrastructure Recommended for EML

Fleet Applications (Remote) D Fleet Database/s A T Fleet Applications (Local) Data A Integration W
Fleet Applications
(Remote)
D
Fleet
Database/s
A
T
Fleet Applications
(Local)
Data
A
Integration
W
A
ERP Applications
(Local)
Local ERP
Database/s
R
E
H
O
3 rd Party Application
to Access relevant
Data
External
Data Dump
from 3 rd
Party
U
S
E
Data External Data Dump from 3 rd Party U S E CENTRAL INFORMATION STORE/ EXCHANGE Customized

CENTRAL

INFORMATION

STORE/

EXCHANGE

Customized

MySQL

Data Base

With Administrator Definable Access Control

Standard

SQL

Query With Administrator Definable Access Control Standard SQL Application Server/ Web Server (User Interface /Front

Application

Server/ Web

Server

(User Interface /Front End Definitions)

Web Server (User Interface /Front End Definitions) Data Dump based on SQL Query No Return Data

Data Dump

based on

SQL Query

/Front End Definitions) Data Dump based on SQL Query No Return Data NETWORK User / Client
/Front End Definitions) Data Dump based on SQL Query No Return Data NETWORK User / Client
/Front End Definitions) Data Dump based on SQL Query No Return Data NETWORK User / Client

No Return

Data

NETWORK

Data Dump based on SQL Query No Return Data NETWORK User / Client Machine-1 User /

User / Client

Machine-1

SQL Query No Return Data NETWORK User / Client Machine-1 User / Client Machine-2 User /

User / Client

Machine-2

Data NETWORK User / Client Machine-1 User / Client Machine-2 User / Client Machine-3 User /

User / Client

Machine-3

Data NETWORK User / Client Machine-1 User / Client Machine-2 User / Client Machine-3 User /

User / Client Machine- n

Requirements in a Nutshell

Requirements in a Nutshell Information Access & Usability Definitions Forming organization chart according
Requirements in a Nutshell Information Access & Usability Definitions Forming organization chart according
Requirements in a Nutshell Information Access & Usability Definitions Forming organization chart according

Information Access & Usability Definitions

Forming organization chart according to process hierarchy & reporting methodology

Pre definition of management designations/role types

Data Ware House Planning & Deployment

Centralizing database under single database model & engine as far as possible

Defining every database & database engine with unique parameters

Documenting the model & defining the modification methodology

Prototype design of Information Store/Exchange

OLAP Design for Instantaneous Analytical data handling

Defining 1st Level data security & Access control

OLTP Design for Data Historical Data handling

Reports (Both Historical & Analytical)

Web Interface design (Server & Client)

2nd level Security

Predefined Data Access Pages for a user

Functional features to enable printing, emailing & converting reports/formats

2/28/2009

TG20

Future Flexibility

Future Flexibility Similar type architecture can be developed for vessel & branch offices as a simple
Future Flexibility Similar type architecture can be developed for vessel & branch offices as a simple
Future Flexibility Similar type architecture can be developed for vessel & branch offices as a simple

Similar type architecture can be developed for vessel & branch offices as a simple ‘Remote Information Management System’

DB Schemas can be developed according to future expansion plans/Mandatory Implications (if any) from Industry Regulations.

Web Interface Styles can be modified according to more ease/operation/presentation without much complications

2/28/2009

TG21

How to Go about it

How to Go about it 1. Developing Test Environment 2. Making a Prototype Model with preset
How to Go about it 1. Developing Test Environment 2. Making a Prototype Model with preset
How to Go about it 1. Developing Test Environment 2. Making a Prototype Model with preset

1. Developing Test Environment

2. Making a Prototype Model with preset baselines & Define Phases of Deployment

3. Test every phase developed step by step and document/fix the flaws

4. On Successful testing, Setting the time frame for live deployment.

5. Risk Assessment & Systems Down Time Estimation

6. Educating management & Staff

7. Deployment according to Schedule

8. Live Testing

9. Training

10. Commissioning

2/28/2009

TG22

Resources

Resources Requirement Study In ‐ house Expertise Systems Frame Work & Project Development In ‐ house
Resources Requirement Study In ‐ house Expertise Systems Frame Work & Project Development In ‐ house
Resources Requirement Study In ‐ house Expertise Systems Frame Work & Project Development In ‐ house

Requirement Study In house Expertise

Systems Frame Work & Project Development In house Expertise (in coordination with vendors/supplier)

Value Engineering & Project Management In house Expertise

Database Modeling & Design Hire/Out source

Web Interface Design Hire/Out source

2/28/2009

TG23