Getting Started: PHP Web Development - PowerPoint PPT Presentation

1 / 43
About This Presentation
Title:

Getting Started: PHP Web Development

Description:

'Open source stacks such as XAMPP from Apache Friends are simplifying open source ... GD, the 'Graphics Draw' library. libpng, the official PNG reference library ... – PowerPoint PPT presentation

Number of Views:89
Avg rating:3.0/5.0
Slides: 44
Provided by: william148
Category:
Tags: php | development | gd | getting | started | web

less

Transcript and Presenter's Notes

Title: Getting Started: PHP Web Development


1
Getting Started PHP Web Development
  • Bill Barnett
  • ProbascoSoft IT Solutions
  • lt bill.barnett_at_probascosoft.comgt
  • OINK-PUG
  • April 21, 2005

2
Quote 1
  • Open source stacks such as XAMPP from Apache
    Friends are simplifying open source development
    by making it easier to write and distribute
    applications in a stable and standardized
    environment. Traditionally, AMPP -- Apache,
    MySQL, PHP, and Perl -- have all been installed
    and configured as separate products. The trend of
    combining them into integrated middleware stacks
    promises to make open source development more
    competitive with J2EE application development,
    at least for low-end applications.
  • Java 2 Enterprise Edition dramatically changed
    the software landscape by providing an integrated
    middleware stack that greatly simplified the task
    of writing and deploying Java applications.
  • Open source stacks such as XAMPP are still quite
    simple and rudimentary when compared with J2EE,
    but they are nevertheless an important step on
    the way to fuller systems integration.
  • PHP 5.0 (which makes PHP fully object oriented)
    is a good indicator that this trend will
    accelerate.

3
Introducing XAMPP 1
  • It is easy to install and set up.
  • It contains a number of useful packages that make
    it easy to do things like generate traffic
    reports and accelerate PHP content.
  • It has been thoroughly tested on the SUSE, Red
    Hat, Mandrake, and Debian Linux distributions, as
    well as on Windows and Solaris.

4
Introducing XAMPP 1
  • Basic packages include system, programming, and
    server software
  • Apache, the famous Web server
  • MySQL, an excellent, free, open source database
  • PHP, the programming language (in versions 4.3.8
    and 5.0.1 at the time of this writing)
  • Perl, the programming language
  • ProFTPD, an FTP server
  • OpenSSL, for secure sockets layer support

5
Introducing XAMPP 1
  • XAMPP includes the following graphics-related
    packages
  • GD, the "Graphics Draw" library
  • libpng, the official PNG reference library
  • libjpeg, the official JPEG reference library
  • ncurses, the character graphics library

6
Introducing XAMPP 1
  • And what would an integrated stack be without
    some database packages such as
  • gdbm, the GNU implementation of the standard
    UNIX dbm library
  • SQLite, an extremely small, zero-configuration
    SQL database engine
  • FreeTDS, a database library that gives UNIX and
    Linux programs the ability to talk to Microsoft
    SQL and Sybase databases

7
Introducing XAMPP 1
  • For XML development, XAMPP includes the
    following
  • expat, an XML parser library
  • Salbotron, an XML toolkit
  • libxml, an XML C parser and toolkit for GNOME

8
Introducing XAMPP 1
  • For PHP development, XAMPP includes the
    following
  • PEAR, the PHP library
  • A pdf class that generates dynamic PDF documents
    with PHP
  • TURCK MMCache, a PHP performance enhancer

9
Introducing XAMPP 1
  • And finally, XAMPP demonstrates its versatility
    by including the following packages
  • zlib, a compression library
  • mod_perl, which embeds a persistent Perl
    interpreter in Apache
  • gettext, a toolset that assists GNU packages in
    producing multi-lingual messages
  • mcrypt, an encryption program
  • Ming, a Flash (SWF) output library
  • Freetype2, a software font engine
  • IMAP C-Client, a mail program API

10
Enough already!
  • I got XAMPP let the install begin!!!

11
Installation continued
12
Installation continued
13
Installation continued
14
Installation continued
15
Installation continued
16
Installation continued
17
Installation complete!
18
XAMPP Control
19
Starting Apache MySQL
20
Were up!
21
Check the Status
22
Lets secure MySQL
23
Using phpMyAdmin
24
Update query complete
25
Update phpMyAdmin
26
More about security
  • Check the Security link
  • XAMPP demo pages
  • phpMyAdmin
  • PHP Safe Mode

27
The Eclipse IDE
  • The goal of Eclipse is to define for the
    industry a development platform which is freely
    licensed, open source and provides support for
    the full breadth of the application lifecycle, in
    many disparate problem domains, across the
    development and deployment platforms of choice.

28
But what does it do?
  • Provides support for multiple operating
    environments and multiple programming languages.
    Such as
  • Java
  • C/C
  • Modeling (BPM) Testing (XUnit)
  • Web Tools (including PHP!)
  • All this on any OS with a JVM.

29
Im convinced!
  • Lets get it!!!
  • Eclipse SDK
  • PHPEclipse
  • And install it!!!

30
Installation is E-A-S-Y!!!
You do have a JVM, dont you?
31
Select Your Workspace
32
Voilá!
33
Wheres the PHP Perspective?!
34
Adding PHPeclipse
35
A Caveat!
  • Note Eclipse 3.x caches all plugin.xml files
    into a single repository for quicker loading. If
    you used eclipse before installing PHPeclipse,
    you should start eclipse once with the -clean
    option. This -clean forces Eclipse to rebuild
    that repository. This applies to anything that is
    installed into eclipse by unzipping it into its
    plugins folder. 2

36
Ah, The Command Line
37
One Quick ( Handy) Apache Configuration Change
DEVELOPMENT ENVIRONMENT ONLY!!!
38
Lets Create A Project!
39
HmmmWhat Would Be A Good Name?
40
Finally, An Index File
41
Is That Cool?!
42
References
  • 1 Frantzell, Nils-Erik. Install XAMPP for easy,
    integrated development. 30 Nov. 2004. April 2005.
    lthttp//www-106.ibm.com/developerworks/linux/libra
    ry/l-xampp/gt.
  • 2 PHPeclipse installation for Eclipse 3.x. 4
    Dec. 2004. April 2005. lthttp//phpeclipse.de/tiki-
    index.php?pagePHPeclipseinstallationforEclipse
    3.xgt.

Resources
ApacheFriends.Org (XAMPP) - http//www.apachefrien
ds.org/en/ PHPeclipse - http//www.phpeclipse.de/
phpMyAdmin - http//www.phpmyadmin.net/home_page
/index.php Eclipse Perl Integration -
http//e-p-i-c.sourceforge.net/ (Excellent
regular expression checker!)
43
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com