Haim Michael
October 9th, 2013

All logos, trade marks and brand names used in this presentation belong
to the respective ...
●

Introduction to PHP

●

Development Tools

●

Associative Arrays

●

Object Oriented Programming

●

Functional Program...
●

PHP (Personal Home Page Tools) is a computer
scripting dynamically typed language mainly used for
web applications deve...
●

PHP was originally developed by Rasmus Lardorf in
1994, and was publicly released in June 1995. This
released version i...
●

On May 22nd 2000 PHP 4 powered by Zend Engine 1.0
was released.

●

On July 13th 2004 PHP 5 powered by Zend Engine 2.0
...
●

There are many different IDEs we can use in order to
develop in PHP.

LifeMichael.com

Development Tools
●

An array is an ordered collection of elements. Each
element has a value, and is identified by a key. Each
array has its...
●

As of PHP 5, we can define classes, abstract classes and
interfaces. The syntax is similar to the one we use in Java.
i...
●

As of PHP 5.4, we can define traits in order to group functionality
and share it horizontally with other classes.
trait...
●

PHP allows us to assign functions to variables. We can
easily define functions that take other functions as
arguments.
...
●

PHP allows us to define anonymous functions. Makes
things simpler when passing over a function as argument
to another f...
●

As of PHP 5.5 we can use the yield statement for creating
new collections based on existing ones.
<?php
function powpow...
●

There are many available frameworks we can use when
coding in PHP.

LifeMichael.com

Web Applications Frameworks
Learning Management Systems

LifeMichael.com

Open Source Projects
Enterprises Resources Planning

LifeMichael.com

Open Source Projects
Customers Relationships Management

LifeMichael.com

Open Source Projects
Content Management Systems

LifeMichael.com

Open Source Projects
www.tiobe.com

LifeMichael.com

PHP, Java EE & .NET
www.tiobe.com

LifeMichael.com

PHP, Java EE & .NET
long

.NET

short

Learning Curve

Java EE

PHP

simple

complex

Development Process

LifeMichael.com

PHP, Java EE & .NE...
high
low

Platform Dependency

.NET

PHP

cheap

Java EE

expensive

Development Cost

LifeMichael.com

PHP, Java EE & .NE...
big

PHP
.NET

small

Open Source Community

Java EE

few

many

Hosting Services

LifeMichael.com

PHP, Java EE & .NET
strong

PHP

weak

Functional Programming

.NET

Java EE

weak

strong

Object Oriented Programming

LifeMichael.com

PHP,...
strong
weak

Databases Dependency

.NET
PHP
Java EE
few

many

Available Web Frameworks

LifeMichael.com

PHP, Java EE & ....
big

PHP

small

Israeli Local Community

.NET

Java EE

few

many

Application Servers

LifeMichael.com

PHP, Java EE & ....
●

www.php.net

●

www.zend.com

●

www.phpbook.co.il

●

abelski.lifemichael.com

●

www.xampp.org

●

www.phpbook.co.il
...
●

The professional certifications in PHP are managed by Zend
and include the following two certifications:
Zend Certified...
●

Two courses you might find interesting include
Software Engineering in PHP
more info
Android 4.4 Java Applications Deve...
Upcoming SlideShare
Loading in …5
×

PHP Jump Start

2,208 views

Published on

These are the slides I was using in the PHP JumpStart lecture, that took place in HIT on October 9th, 2013. You can watch my lecture at http://youtu.be/h1bwU6VBVug.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,208
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

PHP Jump Start

  1. 1. Haim Michael October 9th, 2013 All logos, trade marks and brand names used in this presentation belong to the respective owners. Watch the lecture at http://youtu.be/4g3U6MZc92Q LifeMichael.com PHP Jump Start
  2. 2. ● Introduction to PHP ● Development Tools ● Associative Arrays ● Object Oriented Programming ● Functional Programming ● Web Applications Frameworks ● Open Source Projects ● PHP, Java EE & .NET ● Learning Resources ● Certifications in PHP ● Questions & Answers LifeMichael.com Table of Content
  3. 3. ● PHP (Personal Home Page Tools) is a computer scripting dynamically typed language mainly used for web applications development. <?php $num1 = 10; $num2 = 20; $num3 = 30; $sum = $num1 + $num2 + $num3; echo "sum=$sum"; ?> LifeMichael.com Introduction
  4. 4. ● PHP was originally developed by Rasmus Lardorf in 1994, and was publicly released in June 1995. This released version is known as PHP 2. ● In 1997 Zeev Suraski & Andi Gutmans rewrote PHP parser and formed the base of PHP 3. ● In 1998 Zeev Suraski & Andi Gutmans started a new rewrite of PHP core and produced the Zend Engine in 1999. LifeMichael.com Introduction
  5. 5. ● On May 22nd 2000 PHP 4 powered by Zend Engine 1.0 was released. ● On July 13th 2004 PHP 5 powered by Zend Engine 2.0 was released. LifeMichael.com Introduction
  6. 6. ● There are many different IDEs we can use in order to develop in PHP. LifeMichael.com Development Tools
  7. 7. ● An array is an ordered collection of elements. Each element has a value, and is identified by a key. Each array has its own unique keys. <?php $vecA = array(100=>"moshe",101=>"david",102=>"john"); $vecB = array("m"=>"moshe","d"=>"david","j"=>"john"); $vecA[100] = “moshiko”; echo $vecA[101]; ?> LifeMichael.com Associative Arrays
  8. 8. ● As of PHP 5, we can define classes, abstract classes and interfaces. The syntax is similar to the one we use in Java. interface Printable { function print(); } class Bird extends Animal implements Printable, Flyable { ... } LifeMichael.com Object Oriented Programming
  9. 9. ● As of PHP 5.4, we can define traits in order to group functionality and share it horizontally with other classes. trait Academic { function think(){ echo "I think"; } } class Student extends Person { use Academic; //... } LifeMichael.com Object Oriented Programming
  10. 10. ● PHP allows us to assign functions to variables. We can easily define functions that take other functions as arguments. <?php function doSomething() { … } $temp = 'doSomething'; $temp(); ?> LifeMichael.com Functional Programming
  11. 11. ● PHP allows us to define anonymous functions. Makes things simpler when passing over a function as argument to another function. <?php doSomething(function() {...}); ?> LifeMichael.com Functional Programming
  12. 12. ● As of PHP 5.5 we can use the yield statement for creating new collections based on existing ones. <?php function powpow($vector) { foreach($vector as $v) { yield $v*$v; } } $vec = [1,2,3,4,5]; $otherVec = powpow($vec); ?> LifeMichael.com Functional Programming
  13. 13. ● There are many available frameworks we can use when coding in PHP. LifeMichael.com Web Applications Frameworks
  14. 14. Learning Management Systems LifeMichael.com Open Source Projects
  15. 15. Enterprises Resources Planning LifeMichael.com Open Source Projects
  16. 16. Customers Relationships Management LifeMichael.com Open Source Projects
  17. 17. Content Management Systems LifeMichael.com Open Source Projects
  18. 18. www.tiobe.com LifeMichael.com PHP, Java EE & .NET
  19. 19. www.tiobe.com LifeMichael.com PHP, Java EE & .NET
  20. 20. long .NET short Learning Curve Java EE PHP simple complex Development Process LifeMichael.com PHP, Java EE & .NET
  21. 21. high low Platform Dependency .NET PHP cheap Java EE expensive Development Cost LifeMichael.com PHP, Java EE & .NET
  22. 22. big PHP .NET small Open Source Community Java EE few many Hosting Services LifeMichael.com PHP, Java EE & .NET
  23. 23. strong PHP weak Functional Programming .NET Java EE weak strong Object Oriented Programming LifeMichael.com PHP, Java EE & .NET
  24. 24. strong weak Databases Dependency .NET PHP Java EE few many Available Web Frameworks LifeMichael.com PHP, Java EE & .NET
  25. 25. big PHP small Israeli Local Community .NET Java EE few many Application Servers LifeMichael.com PHP, Java EE & .NET
  26. 26. ● www.php.net ● www.zend.com ● www.phpbook.co.il ● abelski.lifemichael.com ● www.xampp.org ● www.phpbook.co.il LifeMichael.com Learning Resources
  27. 27. ● The professional certifications in PHP are managed by Zend and include the following two certifications: Zend Certified Engineer in PHP 5.3 Zend Certified Engineer in Zend Framework ● You can find more information about these two certifications at http://www.zend.com/services/certification/ ● You can find a complete list of all people world wide who were certified as PHP engineers at http://www.zend.com/en/yellow-pages. LifeMichael.com Certifications in PHP
  28. 28. ● Two courses you might find interesting include Software Engineering in PHP more info Android 4.4 Java Applications Development more info HTML5 Cross Platform Mobile Applications more info ● If you enjoyed my lecture please leave me a comment at http://speakerpedia.com/speakers/life-michael. Thanks for your time! Haim. LifeMichael.com Questions & Answers

×