SlideShare ist ein Scribd-Unternehmen logo
1 von 13
{
PHP naked
A Wonderfull View
By Xevi Maresma
About me
- Passionate developer
- Active Student
- Technology entusiast
- Agile follower
- Dad
- And much more…
- Web Competence Manager in CDmon
History
PHP 4
- Scripting model
- Web Page Oriented
- Scripting language most often used
- Rapid growth
PHP 5
- Object Oriented Model
- Web Page Oriented / Application Oriended
- Compatibility with previous version
- Not as complet as other OO languages (Ruby, Java)
Future
PHP 6
- APC integrated by default
- Application Oriented
- More standard adaptations
- Performance
PHP 7
- Huge performance Improvements
- JIT Engine
- Standalone Multi-threading Web Server
- AST: Abstract Syntax Tree
- Asynchronous Programming
HHVM
- Facebook
- HACK Language
- JIT
- Performance
Old Paradigm
Cons
- Code is on html view
- No organization
- Like Wild West
- Very difficult to scale
- Can make use of functions
Pros
- Very rapid development
- Valid for small web page
Web Page Creation
Exercise 01
https://github.com/xevimaresma/PHPExerciseSeries
Old Paradigm
Cons
- No organization
- Like Wild West
- Very difficult to scale
- Can make use of functions
Pros
- Very rapid development
- Valid for small web page
- Less code on html view
Web Page Creation with isolated parts
Exercise 02
https://github.com/xevimaresma/PHPExerciseSeries
Old Paradigm
Encapsulating functions on Classes
Cons
- Like Wild West
- Very difficult to scale
- Can make use of Classes
- Spaghetti code generation
Pros
- Introduces OO
- Valid for medium web page
- Less code on html view
- More organization
Exercise 03
https://github.com/xevimaresma/PHPExerciseSeries
New Paradigm
Thinking in Application Mode
Cons
- First run costs
- Less Performance
- Doing code for optimization
Pros
- Full OOP
- Fully Scalable
- TDD
- High Maintainaibility
Exercise 04
https://github.com/xevimaresma/PHPExerciseSeries
New Paradigm
Frameworks to rescue!!!
Cons
- First run costs
- Less Performance
Pros
- Full OOP
- Fully Scalable
- TDD
- High Maintainaibility
- Focus on bussines basis
- Community mantained
Exercise 05
https://github.com/xevimaresma/PHPExerciseSeries
New Paradigm
API’S Revolution
Cons
- First run costs
- Less Performance
Pros
- Full OOP
- Fully Scalable
- TDD
- High Maintainaibility
- Focus on bussines basis
- Community mantained
- Multi-language Integration
Exercise 06
https://github.com/xevimaresma/PHPExerciseSeries
Utilities
Tools do hard work!!!
- Composer
- PHPStorm
- PHPUnit
- Jenkins
- Capistrano
- Behat
- To infinity and beyond!!!
Conclusion
- PHP is a bad language but have a powerfull platform
- Getting it right reduces maintenance costs
- Using existing components increases productivity
- Utilities are to improve maintenance and to reduce waste
- Testing is the basis of good growth
- API’s allow you to create isolated applications
- MAKE USE OF NEW PARADIGM
Php naked

Weitere ähnliche Inhalte

Was ist angesagt?

How to create a WordPress not understanding WordPress, so more on the headles...
How to create a WordPress not understanding WordPress, so more on the headles...How to create a WordPress not understanding WordPress, so more on the headles...
How to create a WordPress not understanding WordPress, so more on the headles...
Krzysztof (Chris) Ozog
 
Technology Stack Discussion
Technology Stack DiscussionTechnology Stack Discussion
Technology Stack Discussion
Zaiyang Li
 
1st Chinaonrails Open Course
1st Chinaonrails Open Course1st Chinaonrails Open Course
1st Chinaonrails Open Course
Jesse Cai
 
Web development meetingup
Web development meetingupWeb development meetingup
Web development meetingup
PiTechnologies
 
20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally
DERlab
 
Web Fundamentals Crash Course
Web Fundamentals Crash CourseWeb Fundamentals Crash Course
Web Fundamentals Crash Course
MrAbas
 

Was ist angesagt? (20)

VFP & Ajax
VFP & AjaxVFP & Ajax
VFP & Ajax
 
11 Live Node.js CMS Frameworks
11 Live Node.js CMS Frameworks11 Live Node.js CMS Frameworks
11 Live Node.js CMS Frameworks
 
The Ultimate WordPress Development Environment
The Ultimate WordPress Development EnvironmentThe Ultimate WordPress Development Environment
The Ultimate WordPress Development Environment
 
WordPress plugin development
WordPress plugin developmentWordPress plugin development
WordPress plugin development
 
How to create a WordPress not understanding WordPress, so more on the headles...
How to create a WordPress not understanding WordPress, so more on the headles...How to create a WordPress not understanding WordPress, so more on the headles...
How to create a WordPress not understanding WordPress, so more on the headles...
 
Building a community of Open Source intranet users
Building a community of Open Source intranet usersBuilding a community of Open Source intranet users
Building a community of Open Source intranet users
 
wp cli- don’t fear the command line
wp cli- don’t fear the command linewp cli- don’t fear the command line
wp cli- don’t fear the command line
 
Real World Rails 5 Programming for Web Developers
Real World Rails 5 Programming for Web DevelopersReal World Rails 5 Programming for Web Developers
Real World Rails 5 Programming for Web Developers
 
Technology Stack Discussion
Technology Stack DiscussionTechnology Stack Discussion
Technology Stack Discussion
 
1st Chinaonrails Open Course
1st Chinaonrails Open Course1st Chinaonrails Open Course
1st Chinaonrails Open Course
 
Web development meetingup
Web development meetingupWeb development meetingup
Web development meetingup
 
Php vs asp
Php vs aspPhp vs asp
Php vs asp
 
Joomla and cms
Joomla and  cmsJoomla and  cms
Joomla and cms
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Where do you want to go today
Where do you want to go todayWhere do you want to go today
Where do you want to go today
 
Tips for optimizing WordPress performance and usability
Tips for optimizing WordPress performance and usabilityTips for optimizing WordPress performance and usability
Tips for optimizing WordPress performance and usability
 
WordPress Multilingual: WordCamp Antwerp 2016
WordPress Multilingual: WordCamp Antwerp 2016WordPress Multilingual: WordCamp Antwerp 2016
WordPress Multilingual: WordCamp Antwerp 2016
 
20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally
 
Web Fundamentals Crash Course
Web Fundamentals Crash CourseWeb Fundamentals Crash Course
Web Fundamentals Crash Course
 
ppt of web development for diploma student
ppt of web development for diploma student ppt of web development for diploma student
ppt of web development for diploma student
 

Ähnlich wie Php naked

2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real
PHP Conference Argentina
 
Drupal 8 Lessons From the Field: Part 3 - The Drupal Backend
Drupal 8 Lessons From the Field: Part 3 - The Drupal BackendDrupal 8 Lessons From the Field: Part 3 - The Drupal Backend
Drupal 8 Lessons From the Field: Part 3 - The Drupal Backend
Acquia
 
Phpworks enterprise-php-1227605806710884-9
Phpworks enterprise-php-1227605806710884-9Phpworks enterprise-php-1227605806710884-9
Phpworks enterprise-php-1227605806710884-9
PrinceGuru MS
 
Howtobuildyourownframework
HowtobuildyourownframeworkHowtobuildyourownframework
Howtobuildyourownframework
hazzaz
 
PHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and FrameworksPHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and Frameworks
Royston Olivera
 
VANHIEP-CV
VANHIEP-CVVANHIEP-CV
VANHIEP-CV
chuoivh
 

Ähnlich wie Php naked (20)

2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real
 
Evolution of PHP
Evolution of PHPEvolution of PHP
Evolution of PHP
 
DIWD 2011
DIWD 2011DIWD 2011
DIWD 2011
 
What's the "right" PHP Framework?
What's the "right" PHP Framework?What's the "right" PHP Framework?
What's the "right" PHP Framework?
 
Integrating PHP With System-i using Web Services
Integrating PHP With System-i using Web ServicesIntegrating PHP With System-i using Web Services
Integrating PHP With System-i using Web Services
 
Akhil Anand
Akhil AnandAkhil Anand
Akhil Anand
 
Going back to static html sites / Artem Daniliants / LumoSpark
Going back to static html sites / Artem Daniliants / LumoSparkGoing back to static html sites / Artem Daniliants / LumoSpark
Going back to static html sites / Artem Daniliants / LumoSpark
 
Drupal 8 Lessons From the Field: Part 3 - The Drupal Backend
Drupal 8 Lessons From the Field: Part 3 - The Drupal BackendDrupal 8 Lessons From the Field: Part 3 - The Drupal Backend
Drupal 8 Lessons From the Field: Part 3 - The Drupal Backend
 
Phpworks enterprise-php-1227605806710884-9
Phpworks enterprise-php-1227605806710884-9Phpworks enterprise-php-1227605806710884-9
Phpworks enterprise-php-1227605806710884-9
 
Howtobuildyourownframework
HowtobuildyourownframeworkHowtobuildyourownframework
Howtobuildyourownframework
 
PHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and FrameworksPHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and Frameworks
 
Grav CMS
Grav CMSGrav CMS
Grav CMS
 
VANHIEP-CV
VANHIEP-CVVANHIEP-CV
VANHIEP-CV
 
Making the Most of Modern PHP in Drupal 7
Making the Most of Modern PHP in Drupal 7Making the Most of Modern PHP in Drupal 7
Making the Most of Modern PHP in Drupal 7
 
PHP Classes in Pune
PHP Classes in PunePHP Classes in Pune
PHP Classes in Pune
 
Unleash your Symfony projects with eZ Platform
Unleash your Symfony projects with eZ PlatformUnleash your Symfony projects with eZ Platform
Unleash your Symfony projects with eZ Platform
 
Introduction to PHP - SDPHP
Introduction to PHP - SDPHPIntroduction to PHP - SDPHP
Introduction to PHP - SDPHP
 
PHP as a Service TDC2019
PHP as a Service TDC2019PHP as a Service TDC2019
PHP as a Service TDC2019
 
Zend Framework Workshop
Zend Framework WorkshopZend Framework Workshop
Zend Framework Workshop
 
Debugging with Zend Studio for Eclipse
Debugging with Zend Studio for EclipseDebugging with Zend Studio for Eclipse
Debugging with Zend Studio for Eclipse
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Php naked

  • 1. { PHP naked A Wonderfull View By Xevi Maresma
  • 2. About me - Passionate developer - Active Student - Technology entusiast - Agile follower - Dad - And much more… - Web Competence Manager in CDmon
  • 3. History PHP 4 - Scripting model - Web Page Oriented - Scripting language most often used - Rapid growth PHP 5 - Object Oriented Model - Web Page Oriented / Application Oriended - Compatibility with previous version - Not as complet as other OO languages (Ruby, Java)
  • 4. Future PHP 6 - APC integrated by default - Application Oriented - More standard adaptations - Performance PHP 7 - Huge performance Improvements - JIT Engine - Standalone Multi-threading Web Server - AST: Abstract Syntax Tree - Asynchronous Programming HHVM - Facebook - HACK Language - JIT - Performance
  • 5. Old Paradigm Cons - Code is on html view - No organization - Like Wild West - Very difficult to scale - Can make use of functions Pros - Very rapid development - Valid for small web page Web Page Creation Exercise 01 https://github.com/xevimaresma/PHPExerciseSeries
  • 6. Old Paradigm Cons - No organization - Like Wild West - Very difficult to scale - Can make use of functions Pros - Very rapid development - Valid for small web page - Less code on html view Web Page Creation with isolated parts Exercise 02 https://github.com/xevimaresma/PHPExerciseSeries
  • 7. Old Paradigm Encapsulating functions on Classes Cons - Like Wild West - Very difficult to scale - Can make use of Classes - Spaghetti code generation Pros - Introduces OO - Valid for medium web page - Less code on html view - More organization Exercise 03 https://github.com/xevimaresma/PHPExerciseSeries
  • 8. New Paradigm Thinking in Application Mode Cons - First run costs - Less Performance - Doing code for optimization Pros - Full OOP - Fully Scalable - TDD - High Maintainaibility Exercise 04 https://github.com/xevimaresma/PHPExerciseSeries
  • 9. New Paradigm Frameworks to rescue!!! Cons - First run costs - Less Performance Pros - Full OOP - Fully Scalable - TDD - High Maintainaibility - Focus on bussines basis - Community mantained Exercise 05 https://github.com/xevimaresma/PHPExerciseSeries
  • 10. New Paradigm API’S Revolution Cons - First run costs - Less Performance Pros - Full OOP - Fully Scalable - TDD - High Maintainaibility - Focus on bussines basis - Community mantained - Multi-language Integration Exercise 06 https://github.com/xevimaresma/PHPExerciseSeries
  • 11. Utilities Tools do hard work!!! - Composer - PHPStorm - PHPUnit - Jenkins - Capistrano - Behat - To infinity and beyond!!!
  • 12. Conclusion - PHP is a bad language but have a powerfull platform - Getting it right reduces maintenance costs - Using existing components increases productivity - Utilities are to improve maintenance and to reduce waste - Testing is the basis of good growth - API’s allow you to create isolated applications - MAKE USE OF NEW PARADIGM