Presentation is loading. Please wait.

Presentation is loading. Please wait.

 History  Frameworks & Libraries  Object-Oriented PHP  Advance Techniques & Classes  Future  Demo  Questions?

Similar presentations


Presentation on theme: " History  Frameworks & Libraries  Object-Oriented PHP  Advance Techniques & Classes  Future  Demo  Questions?"— Presentation transcript:

1

2  History  Frameworks & Libraries  Object-Oriented PHP  Advance Techniques & Classes  Future  Demo  Questions?

3  Rasmus Lerdorf  CGI Scripts in Perl  Rewritten in C for better performance  PHP/FI & PHPTools  1995 Release date

4  Andi Gutmans & Zeev Suraski  1997 PHP 3  1999 Zend Engine  2000 PHP 4

5  Yii  CodeIgniter  CakePHP  Zend  Symfony

6  http://phpassist.com/ http://phpassist.com/  http://fuelphp.com/ http://fuelphp.com/  http://ucf.github.io/fuelphp-crash- course/ http://ucf.github.io/fuelphp-crash- course/

7  Pear › PHP Extension and Application Repository › http://pear.php.net/ http://pear.php.net/ › Web forms, form validation, xml parsers  cURL › Client URLs › libcurl (http://curl.haxx.se/libcurl/)http://curl.haxx.se/libcurl/ › http, https, ftp, telnet, ldap

8  Variable declaration  Object Cloning  User-Level Overloading  Typecasting

9  Constants  Define  Global

10

11

12

13  http://pastie.org/private/gtpmhllr0c3hw7 1x4d0ea http://pastie.org/private/gtpmhllr0c3hw7 1x4d0ea

14

15  __get() › Utilized for reading data from inaccessible properties  __set() › Utilized for writing data to inaccessible properties  __call()  __callStatic()  __construct()  __destruct()  http://php.net/manual/en/language.oop5.ove rloading.php http://php.net/manual/en/language.oop5.ove rloading.php

16  settype()  gettype()

17  PHP CLI  SSH  Mail  Sessions & Cookies

18  #!/usr/bin/php  Scheduled/ing tasks  Multithreading  Stdin, Stdout, stderr

19

20  ssh2_connect()  ssh2_execute()  ssh2_fingerprint()  ssh2_auth_password(), pubkey_file(), none()  ssh2_tunnel()  ssh2_mkdir(), rmdir(), chmod(), unlink()

21  http://pastie.org/private/t3jbv3dqllqa0hj qyssdaw http://pastie.org/private/t3jbv3dqllqa0hj qyssdaw

22  mail($to, $subject, $message, $headers)  $to -> user@domain  $subject -> ‘Subject’  $message -> ‘Message body’  $headers -> From, BCC, CC, Reply-To

23

24  start_session()  session_destroy()  $_SESSION[]

25

26  setcookie(  name -> name of the cookie  value -> value of cookie ($_COOKIE[‘name’])  expire -> when cookie expires  (time() + 60 * 60 * 24 * 30)  path -> path of where the cookie is available  domain -> The domain that the cookie is available to  secure -> true or false for https  httponly -> When true the cookie can only be accessed and used through http )

27

28  Oracle  MySQL  SQLite  MS SQL  More…

29  PDO -> PHP Data Object › Data-access abstraction layer › http://php.net/manual/en/book.pdo.php http://php.net/manual/en/book.pdo.php

30

31  PHP 6 › Unicode support › Enhanced array indexing › Performance › Break to labels

32  http://cretz.github.com/dust-php/ http://cretz.github.com/dust-php/  http://www.razorflow.com/ http://www.razorflow.com/  http://www.php-compiler.net/ http://www.php-compiler.net/

33


Download ppt " History  Frameworks & Libraries  Object-Oriented PHP  Advance Techniques & Classes  Future  Demo  Questions?"

Similar presentations


Ads by Google