PHP – An Introduction

PHP An Introduction-ppt Download

  • Date:09 Jul 2020
  • Views:1.1K
  • Downloads:0
  • Size:872.00 KB

Share Presentation : PHP An Introduction

Download and Preview : PHP An Introduction

Report CopyRight/DMCA Form For : PHP An Introduction


Transcription:

Open source programming Tentative schedule definition what is open source software examples of open source software history of free software and open source.
Proprietary vs Open Source Licensing open source software development model open source business models Objective On completion of this course the.
students understand how to createopen source software applications andcan publish it over the Internet ScheduleWeek Date Topic.
1 12 Apr 15 UNIT I INTRODUCTION TO OSP PHP MYSQL2 19 Apr 15 APACHE POSTGRESS SQLOVERVIEW OF PHP VARIABLES3 26 Apr 15 OPERATIONS CONSTANTS 4 10 May 15 CONTROL STRUCTURES ARRAYS FUNCTIONS .
5 17 May 15 CLASSES HANDLING FILESUNIT II MY SQL DATABASE PROGRAMMING CONNECTING 6 24 May 15 TABLE CREATION RECORD INSERTION7 31 May 15 UPDATION MULTIPLE DATABASE HANDLINGUNIT III E MAILINGWITH PHP SENDING AN EMAIL MULTIPART.
8 7 Jun 15 MESSAGE Week Date Topic9 14 JUN 15STORING IMAGES GETTING CONFIRMATION28 JUN 15 MID SEM EXAM.
04 JUL 15 MID SEM EXAMSESSION TRACKING USING PHP GRAPHICS INPUT VALIDATORS 10 12 JUL 15UNIT IV INTRODUCTION TO PERL NUMBERS AND STRINGS 11 26 JUL 15.
CONTROL STATEMENTS12 2 AUG 15 LISTS AND ARRAYS FILES13 9 AUG 15 PATTERN MATCHING HASHES FUNCTIONS 14 23 AUG 15 UNIT V TCL PYTHON INTRODUCTION TO TCL TK15 30 AUG 15 INTRODUCTION TO PYTHON.
16 6 SEP 15 PYTHON13 SEP 15 PL APD20 SEP 15 END SEM EXAM27 SEP 15 END SEM EXAM05 OCT 15 PAPER DISTRIBUTION.
Expected OutcomeStudents should be able to design open sourcesoftware applications and can publish it over the Text books1 Julie C Meloni SAMS Teach yourself PHP .
MYSQL and Apache Second edition PearsonEducation 2006 2 Michael K glass Rommn le Scouarnec et al Beginning PHP Apache MySQL webdevelopment Wiley Publishing Inc New Delhi 2004.
3 Leon Atkinson and Zeev Suraski Core PHPprogramming 3rd Edition Pearson Education Delhi what is open sourceOpen Source software is software licensed under anagreement that conforms to the Open Source.
Definition Access to Source Code Freedom to Redistribute Freedom to Modify Non Discriminatory Licensing licensee product .
Integrity of Authorship Redistribution in accordance with the Open License Agreement examples of opensource software.
Operating Systems FreeBSD OpenBSD and NetBSD TheBSDs are all based on the BerkeleySystems Distribution of Unix developed at the University of.
California Berkeley Another BSDbased open source project is Darwin which is the base of Apple s Mac OS X examples of open source Internet.
Apache which runs over 50 of the world s web BIND Berkeley Internet Name Daemon thesoftware that provides the DNS domain nameservice for the entire Internet sendmail the most important and widely used.
email transport software on the Internet Mozilla the open source redesign of the Netscape OpenSSL is the standard for secure communication strong encryption over the Internet categories example of open source.
Programming Tools Zope and PHP are popular engines behind the live content on the World Wide Web Languages Python.
Tcl Tk GNU compilers and tools Autoconf Automake open source software.
Free Software Foundation www fsf org Open Source Initiative www opensource org Freshmeat net SourceForge net OSDir com.
developer BerliOS de Bioinformatics org see also individual project sites e g www apache org www cpan org etc some dates from the.
history of open source 1970s UNIX operating system developed atBell Labs and by a diverse group ofcontributors outside of Bell Labs later AT Tenforces intellectual property rights and.
closes the code 1983 Richard Stallman founds the FreeSoftware Foundation 1993 Linus Torvalds releases first version ofLinux built.
1997 Debian Free Software Guidelines 1998 Netscape releases Navigator in source Proprietary vs Open Source Licensing conventional modelsof software development.
waterfall from requirements to code without abackward turn historically used for large military andcorporate software productions originally.
used because computing time was expensive spiral iterative cycles of requirements development testing redrafting ofrequirements etc .
B W Boehm A spiral model of softwaredevelopment and enhancement IEEEComputer 21 5 61 72 1988 Waterfall Model Spiral Model.
open source software developmentUsers Documenters UsersBug reportersMaintainersdeveloper s .
Users Users Phases of OSD open source business What it Provides service.
support education extensions open source uses and develops Apache and Linux created.
Secure Mailer and created other software onAlphaWorks released core layers of Mac OS X Server as an opensource BSD operating system called Darwin opensourcing the QuickTime Streaming Server and the.
OpenPlay network gaming toolkit uses and releases products running Linux uses Linux supports some open sourcedevelopment efforts Forte IDE for Java and theMozilla web browser .
open source Red Hat Software Linux vendor ActiveState develops and sells professional tools.
for Perl Python and Tcl tkdevelopers open source licensinghttp www opensource org licens... apache software license.
python license ibm public license apple public source license PHP IntroductionBriefHistory.
Gettingstarted3 Resources Brief History of PHPPHP PHP Hypertext Preprocessor was created by Rasmus Lerdorf in 1994 It was initiallydeveloped for HTTP usage logging and server side form generation in Unix .
PHP 2 1995 transformed the language into a Server side embedded scripting language Added database support file uploads variables arrays recursive functions conditionals iteration regular expressions etc PHP 3 1998 added support for ODBC data sources multiple platform support email protocols SNMP IMAP and new parser written by Zeev Suraski and Andi Gutmans .
PHP 4 2000 became an independent component of the web server for added efficiency Theparser was renamed the Zend Engine Many security features were added PHP 5 2004 adds Zend Engine II with object oriented programming robust XML support usingthe libxml2 library SOAP extension for interoperability with Web Services SQLite has beenbundled with PHP.
The latest PHP versions are PHP 5 3 8 23 August 2011 PHP 5 3 4 09 December 2010 PHP 5 3 version 5 3 3 22 July 2010 PHP 5 2 version 5 2 14 22 July 2010 .
Why is PHP used 1 Easy to UseCode is embedded into HTML The PHP code is enclosed in special start and end tagsthat allow you to jump into and out of PHP mode title Example title .
echo Hi I m a PHP script Why is PHP used 2 Cross PlatformRuns on almost any Web server on several operating systems One of the strongest features is the wide range of supported databases.
Web Servers Apache Microsoft IIS Caudium Netscape EnterpriseOperating Systems UNIX HP UX OpenBSD Solaris Linux MacOSX Windows NT 98 2000 XP 2003Supported Databases Adabas D dBase Empress FilePro read only Hyperwave IBM DB2 Informix Ingres InterBase FrontBase .
mSQL Direct MS SQL MySQL ODBC Oracle OCI7 and OCI8 Ovrimos PostgreSQL SQLite Solid Sybase Velocis Unix dbm Why is PHP used 3 Cost BenefitsPHP is free Open source code means that the entire PHP community will contribute.
towards bug fixes There are several add on technologies libraries for PHP that arealso free Software FreePlatform Free Linux Development Free.
Tools PHP Coder jEdit Getting Started1 How to escape from HTML and enter PHP mode PHP parses a file by looking for one of the special tags thattells it to start interpreting the text as PHP code The parser then.
executes all of the code it finds until it runs into a PHP closing tag HTML PHP CODE HTML php echo Hello World Starting tag Ending Notes php Preferred method as it allows.
the use of PHP with XHTML Not recommended Easier totype but has to be enabled andmay conflict with XML script Always available best if used.
language php when FrontPage is the HTML Not recommended ASP tagssupport was added in 3 0 4 Getting Started2 Simple HTML Page with PHP.
The following is a basic example to output text html head title My First PHP Page title echo Hello World body html .
Copy the code onto your web server and save it as test php You should see Hello World displayed Notice that the semicolon is used at the end of each line of PHPcode to signify a line break Like HTML PHP ignores whitespacebetween lines of code An HTML equivalent is BR .
Additional Resources PHP Manual http docs php net PHP Tutorial http academ hvcc edu kantopet ... PHP Coder http www phpide de JEdit http www jedit org .
PHP s creator offers his thoughts on the PHP phenomenon whathas shaped and motivated the language and where the PHPmovement is headinghttp www oracle com technology... Hotscripts A large number of PHP scripts can be found at .
http hotscripts com PHP Script... Additional InformationSome of the new functions added in version 5 Arrays array combine Creates an array by using one array for keys and another.
for its values array walk recursive Apply a user function recursively to every memberof an array Date and Time Related idate Format a local time date as integer.
date sunset Time of sunset for a given day and location date sunrise Time of sunrise for a given day and location time nanosleep Delay for a number of seconds and nano seconds Strings str split Convert a string to an array.
strpbrk Search a string for any of a set of characters substr compare Binary safe optionally case insensitive comparison oftwo strings from an offset up to length characters Other php check syntax Check the syntax of the specified file.
php strip whitespace Return source with stripped comments andwhitespaceIt is named after developer MichaelWidenius daughter My The SQL phrase stands for.
Structured Query Language WHAT IS MYSQL Free SQL Structured Query Language database licensed with the GNU General public licensehttp www gnu org .
MySQL is a database management system MySQL is a relational database management MySQL is Open Source Software MAIN SUPPORTED First developed for Solaris and RedHat Linux .
FreeBSD OpenBSD Mac OS X Server Win95 Win98 NT and Win2000 All modern systems with working Posix.
threads and a C compiler Main Features Fully multi threaded using kernel threads Works on many different platforms Uses very fast B tree disk tables MyISAM with index.
compression Very fast joins using an optimized nested loop join APIs for C C Eiffel Java Perl PHP Python Ruby and Tcl areavailable enabling MySQL clients to be written in manylanguages .
A privilege and password system that is very flexible and secure Handles large databases Tested with a broad range of different compilers C C Designed to make it relatively easy to add other storage engines This is useful if you want to provide an SQL interface for an in .
house database You can refer to tables from different databases in the samestatement A privilege and password system that is very flexible and secure and that enables host based verification .
ADVANTAGES very fast reliable and easy to use multi threaded multi user androbust SQL database server .
DISADVANTAGES Missing Sub selects MySQL doesn t yet support the Oracle SQLextension i SELECT INTO TABLE butsupports INSERT INTO SELECT .
Does not support Stored Procedures and MySQL doesn t support views Untill Mysql 5 1 DATA MANAGEMENT SHOW DATABASES .
USE databaseName SHOW TABLES DESCRIBE table SELECT FROM table SELECT FROM table G.
CREATE DATABASE databaseName DROP DATABASE databaseName CREATE TABLE tableName name1 type1 name2 type2 DROP TABLE tableName INSERT INTO TABLE VALUES value1 value2 .
service support education extensions open source companies IBM uses and develops Apache and Linux; created Secure Mailer and created other software on AlphaWorks Apple released core layers of Mac OS X Server as an open source BSD operating system called Darwin; open sourcing the QuickTime Streaming Server and the OpenPlay network gaming toolkit ...

Related Presentations

Introduction to PHP

Data Types (1) PHP has eight different data types – 5 basic and 2 composite types and 1 resource type. The 5 basic data types are: integers: whole numbers in the range -2,147,483,648 to +2,147,483,647 on 32-bit architecture.

26 Views0 Downloads

Introduction to PHP Chakarov

PHP: Introduction By Trevor Adams Topics Covered Server side web programming Client/Server systems Comparison with static HTML PHP - what is it? What does it do? PHP Language basics Syntax Variables, Constants, Operators Decision making PHP and the client Client/Server on the WWW Standard web sites operate on a request/response basis A user ...

17 Views0 Downloads

Introduction to PHP University of Michigan

Introduction to PHP Dr. Charles Severance www.php-intro.com Note from Chuck. If you are using these materials, you can remove my name and URL from this replace it with your own, but please retain the CC-BY logo on the first page as well as retain the entire last page when you remix and republish these slides.

9 Views0 Downloads

Introduction to PHP instesre org

Introduction to PHP – Chapter 8 Working with PHP JavaScript vs. PHP PHP scripts are similar to JavaScript scripts, but be careful with syntax! PHP variables always begin with a “$” symbol. There is no equivalent to JavaScript’s “var” data declaration. PHP scripts are embedded within a <?php … ?> tag.

7 Views0 Downloads

Introduction to PHP Mahasarakham University

Web Development. FINAL 50%. Week5-6. Web Services. XML. Web Service Client. Web Service Server. Web2.0 Mashup. Week7. PHP template with Smarty

11 Views0 Downloads

Introduction to PHP WA4E

Introduction to PHP Last modified by: Sue Blumenberg Document presentation format: On-screen Show (16:9) Other titles: Helvetica MS Pゴシック Arial Gill Sans Lucida Grande ヒラギノ角ゴ ProN W3 Courier 1_Office Theme Office Theme PHP Arrays PHP Arrays Rock! Associative Arrays Integer Indices Key / Value Dumping an Array var_dump vs ...

14 Views0 Downloads

Introduction to PHP WPI

Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be executed each time the page is visited. Your PHP code is interpreted at the Web server and generates HTML or other output that the visitor will see” (“PHP and MySQL Web Development ...

12 Views0 Downloads

Introduction to Server Side Development with PHP

PHP Comments. The types of comment styles in PHP are: Single-line comments. Lines that begin with a # are comment lines and will not be executed. Multiline (block) comments. These comments begin with a /* and encompass everything that is encountered until a closing */ tag is found. End-of-line comments

12 Views0 Downloads

Introduction to PHP and MySQL

Title: Introduction to PHP and MySQL Author: Lisa Dipippo Last modified by: Lisa DiPippo Created Date: 10/21/2003 8:11:01 PM Document presentation format

5 Views0 Downloads

Introduction to PHP

PHP and MySQL Web Development 2nd Edition, Welling & Thomson Web Database Applications with PHP & MySQL, O’Reilly Publishers PHP Cookbook, O’Reilly Publishers

11 Views0 Downloads

PHP MySQLPart 2 WordPress com

Advanced PHP. PHP includes. Including an external phpor html file in your PHP page – useful for reusing code/functions in many pages (navigational columns, database connections, session/cookie retrieval and validation etc…)

29 Views0 Downloads

PHP faculty utrgv edu

PHP History. Started as Personal Home Page Tools (PHP Tools) in 1995 with a goal to create a guestbook by gathering information from an online form and displaying it on a web page. The ability to communicate with a database was later added. With v3 in 1998, the name dropped since it sounded more of a hobbyist’s term.

45 Views0 Downloads