SlideShare uma empresa Scribd logo
1 de 10
ZEND FRAMEWORK
ABOUT ME

• Software Engineer
 • PHP, Ruby, Python, Java, JavaScript
 • Mainly web applications
• Framework Experience
 • Zend, CodeIgniter, Ruby on Rails, Struts, Drupal (CMS)
• Technology Blog
 • http://blog.philipjting.com/
 • Follow @philipjting
ZEND OVERVIEW

•   Enterprise development
•   Strong code base
•   “It’s like Java for PHP”
•   Modular – Use Zend in other applications
•   Extensible – Use other applications in Zend
•   Community – Active community
•   Support – Zend Technologies, thorough
    documentation
VERSIONS

• ZF1
  •   MVC (Model View Controller)
  •   Loosely coupled architecture (modular)
  •   Lots of plugins
  •   July 2007
• ZF2
  • MOVE (Model Operations Views Events)
  • Uses more PHP 5.3 concepts (late static binding, lambdas)
  • September 2012 first stable release
COMPARISON

• CodeIgniter
 • Better than Zend at small applications
 • Simpler, smaller, faster, less dependencies
 • Not as extensible
• CakePHP
 • ZF1 is loosely coupled, CakePHP is less so by comparison
 • CakePHP has more “magic”, ZF1 is more customizable
DATABASE AND MODEL

• ORM Documentation
 • Propel
 • Doctrine
• Support for many data stores
 • MySQL, MongoDB, Hadoop, etc.
REAL WORLD APPLICATION

• Rolled Own Library
 •   Instead of using ORM
 •   Factory Pattern
 •   DBMapper
 •   Script for creating models
REAL WORLD APPLICATION

• Several Zend applications
  • Public Facing, Internal applications
  • Common shared library
    • Models, DBMappers
    • JS, CSS libraries
• Good for Enterprise
  • Several developers split their work between the applications
  • Shared library ensures code reuse
REAL WORLD APPLICATION

• PHPUnit Controller Tests

 public function testIndexActionShouldContainLoginForm() {
   $this->dispatch('/user');
   $this->assertAction('index');
   $this->assertQueryCount('form#loginForm', 1);
 }
CONCLUSION

• Zend is great for Enterprise Development
  • Extensible, Modular, Reliable
• ZF2 is very different from ZF1
• Not recommended for beginners

Mais conteúdo relacionado

Mais procurados

SPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePointSPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePoint
Greg Hurlman
 

Mais procurados (20)

Angular4 kickstart
Angular4 kickstartAngular4 kickstart
Angular4 kickstart
 
My library
My libraryMy library
My library
 
Knockout
KnockoutKnockout
Knockout
 
JavaEE Microservices -the Payara Way
JavaEE Microservices -the Payara WayJavaEE Microservices -the Payara Way
JavaEE Microservices -the Payara Way
 
Git branching
Git branchingGit branching
Git branching
 
Developing JavaEE 7 based apps with Payara Micro
Developing JavaEE 7 based apps with Payara MicroDeveloping JavaEE 7 based apps with Payara Micro
Developing JavaEE 7 based apps with Payara Micro
 
Decoupled Architecture and WordPress
Decoupled Architecture and WordPressDecoupled Architecture and WordPress
Decoupled Architecture and WordPress
 
Writing power shell the right tool for the job
Writing power shell   the right tool for the jobWriting power shell   the right tool for the job
Writing power shell the right tool for the job
 
The future of cloud programming
The future of cloud programmingThe future of cloud programming
The future of cloud programming
 
[DEISER Day Conferences] "Development Lifecycle Using Atlassian Tools" Juan G...
[DEISER Day Conferences] "Development Lifecycle Using Atlassian Tools" Juan G...[DEISER Day Conferences] "Development Lifecycle Using Atlassian Tools" Juan G...
[DEISER Day Conferences] "Development Lifecycle Using Atlassian Tools" Juan G...
 
Building your own JEA Configuration
Building your own JEA ConfigurationBuilding your own JEA Configuration
Building your own JEA Configuration
 
Developing Cross-Platform Web Apps with ASP.NET Core1.0
Developing Cross-Platform Web Apps with ASP.NET Core1.0Developing Cross-Platform Web Apps with ASP.NET Core1.0
Developing Cross-Platform Web Apps with ASP.NET Core1.0
 
QuizUp Web Monorepo
QuizUp Web MonorepoQuizUp Web Monorepo
QuizUp Web Monorepo
 
Secure your servers in time with JIT and JEA
Secure your servers in time with JIT and JEASecure your servers in time with JIT and JEA
Secure your servers in time with JIT and JEA
 
.Net Fundamentals
.Net Fundamentals.Net Fundamentals
.Net Fundamentals
 
RavenDB 4.0
RavenDB 4.0RavenDB 4.0
RavenDB 4.0
 
SenchaCon 2016: Being Productive with the New Sencha Fiddle - Mitchell Simoens
SenchaCon 2016: Being Productive with the New Sencha Fiddle - Mitchell Simoens  SenchaCon 2016: Being Productive with the New Sencha Fiddle - Mitchell Simoens
SenchaCon 2016: Being Productive with the New Sencha Fiddle - Mitchell Simoens
 
Mysql from a DBA prespective
Mysql from a DBA prespectiveMysql from a DBA prespective
Mysql from a DBA prespective
 
Secure your environment by automation
Secure your environment by automationSecure your environment by automation
Secure your environment by automation
 
SPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePointSPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePoint
 

Destaque (6)

Lavori Melfi srl scuola "G. Galilei"
Lavori Melfi srl scuola "G. Galilei"Lavori Melfi srl scuola "G. Galilei"
Lavori Melfi srl scuola "G. Galilei"
 
Kontseptsiya na soveshchanie_s_subektami_1
Kontseptsiya na soveshchanie_s_subektami_1Kontseptsiya na soveshchanie_s_subektami_1
Kontseptsiya na soveshchanie_s_subektami_1
 
Inchiesta senza senso de L'Espresso sul Partito Democratico.
Inchiesta senza senso de L'Espresso sul Partito Democratico.Inchiesta senza senso de L'Espresso sul Partito Democratico.
Inchiesta senza senso de L'Espresso sul Partito Democratico.
 
Camino austral
Camino australCamino austral
Camino austral
 
Death note Vol.1 cap.2
Death note Vol.1 cap.2Death note Vol.1 cap.2
Death note Vol.1 cap.2
 
Test presentation
Test presentationTest presentation
Test presentation
 

Semelhante a SD PHP Zend Framework

Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009
robinvnxxx
 
Cloud App Develop
Cloud App DevelopCloud App Develop
Cloud App Develop
Fin Chen
 
Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)
Robert Bates
 
Zend con practical-zf1-zf2-migration
Zend con practical-zf1-zf2-migrationZend con practical-zf1-zf2-migration
Zend con practical-zf1-zf2-migration
Clark Everetts
 
Zend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applicationsZend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applications
Etisbew Technology Group
 

Semelhante a SD PHP Zend Framework (20)

Zend Code in ZF 2.0
Zend Code in ZF 2.0Zend Code in ZF 2.0
Zend Code in ZF 2.0
 
Zend
ZendZend
Zend
 
Getting Ready to Use Redis with Apache Spark with Tague Griffith
Getting Ready to Use Redis with Apache Spark with Tague GriffithGetting Ready to Use Redis with Apache Spark with Tague Griffith
Getting Ready to Use Redis with Apache Spark with Tague Griffith
 
The Architect Way
The Architect WayThe Architect Way
The Architect Way
 
Extending ZF & Extending With ZF
Extending ZF & Extending With ZFExtending ZF & Extending With ZF
Extending ZF & Extending With ZF
 
Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009
 
OSS at Microsoft
OSS at MicrosoftOSS at Microsoft
OSS at Microsoft
 
Single Page Applications - Desert Code Camp 2012
Single Page Applications - Desert Code Camp 2012Single Page Applications - Desert Code Camp 2012
Single Page Applications - Desert Code Camp 2012
 
Organizing Your PHP Projects (2010 ConFoo)
Organizing Your PHP Projects (2010 ConFoo)Organizing Your PHP Projects (2010 ConFoo)
Organizing Your PHP Projects (2010 ConFoo)
 
Introduction To Web Development & The New Digital Workplace
Introduction To Web Development & The New Digital WorkplaceIntroduction To Web Development & The New Digital Workplace
Introduction To Web Development & The New Digital Workplace
 
Cloud App Develop
Cloud App DevelopCloud App Develop
Cloud App Develop
 
Php Zen with Zend
Php Zen with ZendPhp Zen with Zend
Php Zen with Zend
 
Organinzing Your PHP Projects (2010 Memphis PHP)
Organinzing Your PHP Projects (2010 Memphis PHP)Organinzing Your PHP Projects (2010 Memphis PHP)
Organinzing Your PHP Projects (2010 Memphis PHP)
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)
 
MVC with Zend Framework
MVC with Zend FrameworkMVC with Zend Framework
MVC with Zend Framework
 
Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)
 
Get acquainted with the new ASP.Net 5
Get acquainted with the new ASP.Net 5Get acquainted with the new ASP.Net 5
Get acquainted with the new ASP.Net 5
 
Zend con practical-zf1-zf2-migration
Zend con practical-zf1-zf2-migrationZend con practical-zf1-zf2-migration
Zend con practical-zf1-zf2-migration
 
Drupal 8 introduction
Drupal 8 introductionDrupal 8 introduction
Drupal 8 introduction
 
Zend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applicationsZend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applications
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

SD PHP Zend Framework

  • 2. ABOUT ME • Software Engineer • PHP, Ruby, Python, Java, JavaScript • Mainly web applications • Framework Experience • Zend, CodeIgniter, Ruby on Rails, Struts, Drupal (CMS) • Technology Blog • http://blog.philipjting.com/ • Follow @philipjting
  • 3. ZEND OVERVIEW • Enterprise development • Strong code base • “It’s like Java for PHP” • Modular – Use Zend in other applications • Extensible – Use other applications in Zend • Community – Active community • Support – Zend Technologies, thorough documentation
  • 4. VERSIONS • ZF1 • MVC (Model View Controller) • Loosely coupled architecture (modular) • Lots of plugins • July 2007 • ZF2 • MOVE (Model Operations Views Events) • Uses more PHP 5.3 concepts (late static binding, lambdas) • September 2012 first stable release
  • 5. COMPARISON • CodeIgniter • Better than Zend at small applications • Simpler, smaller, faster, less dependencies • Not as extensible • CakePHP • ZF1 is loosely coupled, CakePHP is less so by comparison • CakePHP has more “magic”, ZF1 is more customizable
  • 6. DATABASE AND MODEL • ORM Documentation • Propel • Doctrine • Support for many data stores • MySQL, MongoDB, Hadoop, etc.
  • 7. REAL WORLD APPLICATION • Rolled Own Library • Instead of using ORM • Factory Pattern • DBMapper • Script for creating models
  • 8. REAL WORLD APPLICATION • Several Zend applications • Public Facing, Internal applications • Common shared library • Models, DBMappers • JS, CSS libraries • Good for Enterprise • Several developers split their work between the applications • Shared library ensures code reuse
  • 9. REAL WORLD APPLICATION • PHPUnit Controller Tests public function testIndexActionShouldContainLoginForm() { $this->dispatch('/user'); $this->assertAction('index'); $this->assertQueryCount('form#loginForm', 1); }
  • 10. CONCLUSION • Zend is great for Enterprise Development • Extensible, Modular, Reliable • ZF2 is very different from ZF1 • Not recommended for beginners