SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Building High-Performance Web-Applications

    With PHP and MongoDB




        -- future web-technologies today --

                   http://r1.my
CHAPTER 1:
A BRIEF HISTORY IN TIME
A LONG TIME AGO
IN A GALAXY, FAR-FAR AWAY
IMPORTANT DATES



  1974
 RELATIONAL DATABASES




  1989
   WORLD WIDE WEB
From Blogs, to CMS, to Web-Applications
SO STARTS A GENERATION OF SELF-TAUGHT DEVELOPERS




                 WordPress

              Publishing Platform Vs CMS

          Web Applications Vs Other Languages
RUBY SLIPPERS (ON RAILS)
IN 2004 - THE ERA OF WEB-APPS BEGIN
CHAPTER 2:
WHERE DO PHP DEVELOPERS NOW STAND?
ALTERNATIVES
SUITABLE FOR A SELF-TAUGHT GENERATION




              - HOWEVER -
       WE’RE HERE TO TALK ABOUT PHP
FRAMEWORKS
 THE MVC ERA
High-Performance Applications
              THE TRILOGY




         DESIGN
        THE



        DATABASE
  THE BIG



 THE   APPLICATION
DESIGNING FOR PERFORMANCE


     MOBILE FIRST DEVELOPMENT
  ( FOCUS ON FEATURES – ONLY LOAD WHAT’S NEEDED )




   OPTIMISTIC ON-SCREEN ACTIONS
( SHOW LIKES AND COMMENTS ON SCREEN IMMEDIATELY )



          PREEMPTIVE ACTIONS
( UPLOAD IMAGES WHILST TAGGING, PRE-FETCH TABS, ETC )
DATA AT THE APPLICATION LEVEL

   “In 2012, NoSQL document stores like MongoDB received more than 70 percent of total
    big-data tool demand. MongoDB from 10gen remains the top performer in this group.”

                                                       -- CNET




                                                MongoDB Clients:




How MTV use mongoDB as a CMS - http://www.10gen.com/presentations/mongonyc-2011/how-mtv-networks-leverages-mongodb-for-cms
MongoDB Adoption




http://blogs.the451group.com/information_management/2012/03/27/update-on-the-relative-popularity-of-nosql-database-skills/
MongoDB Traction




http://blogs.the451group.com/information_management/2012/05/30/a-different-perspective-on-nosql-vendor-traction/
EXCELLENT GEOLOCATION SUPPORT
     Have you ever heard of Foursquare …?
REPLICA-SETS AND SHARDING
IT’S LIGHTENING FAST !!!
Some say 6,000 times faster than MySQL – http://lauli.ma/geo1
GRIDFS – MEDIA STORAGE & SERVING
NO LANGUAGE BARRIERS
( ALSO KEEPS ALL LOGIC IN ONE PLACE )
PERFORMANCE - VS - FUNCTIONALITY
PERFORMANCE - VS - FUNCTIONALITY
PERFORMANCE - VS - FUNCTIONALITY
THERE IS NO SPOON !!!
( OR NEED TO LEAVE YOUR APP )
APPLICATION ARCHITECTURE


    REMOVE LEGACY RELIANCE
  ( OLDER VERSIONS OF PHP ARE USELESS TODAY )




OBJECT ORIENTATED PROGRAMMING
 ( EASIER TO MAINTAIN - OBJECTS CAN BE CACHED )



ONLY INCLUDE WHAT IS NECESSARY
   ( AUTO-LOADING AND INCLUSION OF CLASSES )
CHAPTER 3:
  THE FUTURE
-- R1 DOT MY SDN BHD --




    MongoPress
High-Performance CMS         MongoMail
                           Email as a Platform       MongoKong
                                                  HTML5 Social-Gaming

http://mongopress.org     http://mongomail.org    http://mongokong.com




                            POWERED BY
http://mongobase.org/
LEARN MORE ABOUT

          MongoDB
Kuala Lumpur MongoDB User-Group:
http://facebook.com/groups/klmug/




            -- Mark Smalley --

              @m_smalley

Contenu connexe

Similaire à MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB

CNUG ASP.NET MVC 4 – New Features
CNUG ASP.NET MVC 4 – New FeaturesCNUG ASP.NET MVC 4 – New Features
CNUG ASP.NET MVC 4 – New Features
Mayank Srivastava
 
MongoDB and the MEAN Stack
MongoDB and the MEAN StackMongoDB and the MEAN Stack
MongoDB and the MEAN Stack
MongoDB
 
Accra MongoDB User Group
Accra MongoDB User GroupAccra MongoDB User Group
Accra MongoDB User Group
MongoDB
 

Similaire à MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB (20)

CNUG ASP.NET MVC 4 – New Features
CNUG ASP.NET MVC 4 – New FeaturesCNUG ASP.NET MVC 4 – New Features
CNUG ASP.NET MVC 4 – New Features
 
Drupalcamp New York 2009
Drupalcamp New York 2009Drupalcamp New York 2009
Drupalcamp New York 2009
 
Social Media Web Application using MERN
Social Media Web Application using MERNSocial Media Web Application using MERN
Social Media Web Application using MERN
 
MongoDB and the MEAN Stack
MongoDB and the MEAN StackMongoDB and the MEAN Stack
MongoDB and the MEAN Stack
 
Accra MongoDB User Group
Accra MongoDB User GroupAccra MongoDB User Group
Accra MongoDB User Group
 
HTML Hypermedia APIs and Adaptive Web Design - reject.js
HTML Hypermedia APIs and Adaptive Web Design -  reject.js HTML Hypermedia APIs and Adaptive Web Design -  reject.js
HTML Hypermedia APIs and Adaptive Web Design - reject.js
 
Demystifying Decoupled Drupal for Developers & Content Authors
Demystifying Decoupled Drupal for Developers & Content AuthorsDemystifying Decoupled Drupal for Developers & Content Authors
Demystifying Decoupled Drupal for Developers & Content Authors
 
Building Mobile Websites with Joomla
Building Mobile Websites with JoomlaBuilding Mobile Websites with Joomla
Building Mobile Websites with Joomla
 
Why Choose Node.js For Your Next Web Development Project?
Why Choose Node.js For Your Next Web Development Project?Why Choose Node.js For Your Next Web Development Project?
Why Choose Node.js For Your Next Web Development Project?
 
The automation journey, feedback about the road to Ansible.
The automation journey, feedback about the road to Ansible.The automation journey, feedback about the road to Ansible.
The automation journey, feedback about the road to Ansible.
 
API-Centric Rails Web Apps and Hybrid Mobile App Integration
API-Centric Rails Web Apps and Hybrid Mobile App IntegrationAPI-Centric Rails Web Apps and Hybrid Mobile App Integration
API-Centric Rails Web Apps and Hybrid Mobile App Integration
 
LAMP is so yesterday, MEAN is so tomorrow! :)
LAMP is so yesterday, MEAN is so tomorrow! :) LAMP is so yesterday, MEAN is so tomorrow! :)
LAMP is so yesterday, MEAN is so tomorrow! :)
 
Micro frontends with react and redux dev day
Micro frontends with react and redux   dev dayMicro frontends with react and redux   dev day
Micro frontends with react and redux dev day
 
AngularJS + NancyFx + MongoDB = The best trio for ultimate SPA by Bojan Velja...
AngularJS + NancyFx + MongoDB = The best trio for ultimate SPA by Bojan Velja...AngularJS + NancyFx + MongoDB = The best trio for ultimate SPA by Bojan Velja...
AngularJS + NancyFx + MongoDB = The best trio for ultimate SPA by Bojan Velja...
 
Microservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of SandMicroservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of Sand
 
Introduction to MERN
Introduction to MERNIntroduction to MERN
Introduction to MERN
 
Top 10 Web and HTML5 Predictions for 2013
Top 10 Web and HTML5 Predictions for 2013Top 10 Web and HTML5 Predictions for 2013
Top 10 Web and HTML5 Predictions for 2013
 
MyMobileWeb Certification Part I
MyMobileWeb Certification Part IMyMobileWeb Certification Part I
MyMobileWeb Certification Part I
 
Cloud-Native Modernization or Death? A false dichotomy. | DevNation Tech Talk
Cloud-Native Modernization or Death? A false dichotomy. | DevNation Tech TalkCloud-Native Modernization or Death? A false dichotomy. | DevNation Tech Talk
Cloud-Native Modernization or Death? A false dichotomy. | DevNation Tech Talk
 
Managing Large Flask Applications On Google App Engine (GAE)
Managing Large Flask Applications On Google App Engine (GAE)Managing Large Flask Applications On Google App Engine (GAE)
Managing Large Flask Applications On Google App Engine (GAE)
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
"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 ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
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 New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB