SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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

Was ist angesagt? (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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

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
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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?
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"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 ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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, ...
 
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
 
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
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
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
 

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