Pledoarie pentru PHP

Page 1

PLEDOARIE PENTRU PHP

D I S C I P L I N E D I N N O VAT I O N

Bercea Ioan Senior Web Developer


AGENDA • • • • • • • •

Istoric Integrare cu serverele web PHP vs alte limbaje server side Avantaje Dezavantaje Framework-uri Cazuri Q&A © Copyright 2012 3PILLAR GLOBAL All rights reserved


ISTORIC Versiuni Majore: 1994 – Ramsus Lerdorf suita de scripturi 1995 – Apare versiunea 1.0 1996 – Versiunea 2.0 1997 – Andi Gutmans, Zeev Surasky, Ramsus L. Versiunea 3.0 2000 – Versiunea 4.0, folosing Zend Engine 2004 – Versiunea 5.0, Zend Engine 2.0 2013 – Versiunea 6.0

© Copyright 2012 3PILLAR GLOBAL All rights reserved

3


INTEGRAREA CU SERVERELE WEB

– CGI – MODUL SAPI/ISAPI – FastCGI/FPM

© Copyright 2012 3PILLAR GLOBAL All rights reserved

4


PHP VERSUS…

© Copyright 2012 3PILLAR GLOBAL All rights reserved

5


© Copyright 2012 3PILLAR GLOBAL All rights reserved

6


© Copyright 2012 3PILLAR GLOBAL All rights reserved

7


AVANTAJE PHP este un limbaj scris pentru pagini/aplicatii web PHP este suportat de majoritatea serverelor web si OS’s PHP este simplu PHP are o comunitate mare PHP este un limbaj inca in dezvoltare PHP are foarte multe framework-uri, extensii, librarii PHP ofera mai multe solutii aceiasi probleme Si altele…

© Copyright 2012 3PILLAR GLOBAL All rights reserved

8


DEZAVANTAJE PHP probleme de securitate PHP este inconsistent: strpos, str_rot13 PHP creaza confuzie: array_search, strpos, si altele fimilare returneaza 0 daca gasesc termenul la pozitia zero, si false daca nu. PHP nu ofera stack trace pentru erori. Trebuie instalat un handler petru a avea aceasta informatie. Partea procedurala a PHP-ului are design asemanator C-ului, dar partea obiectuala Java. Si altele‌

Š Copyright 2012 3PILLAR GLOBAL All rights reserved

9


FRAMEWORK-URI PHP

© Copyright 2012 3PILLAR GLOBAL All rights reserved

10


CINE FOLOSESTE PHP

© Copyright 2012 3PILLAR GLOBAL All rights reserved

11


VIITORUL PHP

Dezvoltare continua a limbajului: Versiuni noi: 5.3, 5.4, 6.x Feature-uri noi: namespaces, traits, late static bindings, generators

Š Copyright 2012 3PILLAR GLOBAL All rights reserved

12


CATEVA INFORMATII INTERESANTE • There are 5 mil. developers • 75% of Web 2.0 sites are built in PHP • It is possible to use PHP in almost every operating system. PHP can be used in all major operating systems including Linux, Microsoft Windows, Mac OS X, and RISC OS. • PHP is installed on over 20 million websites and 1 million web servers. © Copyright 2012 3PILLAR GLOBAL All rights reserved

13


© Copyright 2012 3PILLAR GLOBAL All rights reserved

14


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.