SlideShare a Scribd company logo
JSON Angular Magento
                   Vinci Rufus
             www.neevtech.com
                     @areai51
Angular JS and Magento
Web Server’s Workload

            Pull up
           the Page

 Serve
                       Read the
Assets &
                         XML
 Media
             Web
            server
              &
           Database
                        Query
 Render
                         the
the page
                       Database
           Build the
           page on
            the fly
Performance & Scaling Mantra

            • Reduce stress on the Web server & DB

               – Clones [Multiple App Servers & DB Master
                 Slaves]

               – Caching [Fullpage Caching / Memcache]

               – Varnish

               – Move the workload to the Client Side
Empower the Browser

• Browsers are Powerful but
  under utilized.

• Offload mundane tasks to
  the Client Side.

• Go Back to the Server only
  when needed.
De-Couple your App

• Server spits out JSON
• Presentation Layer Sits on the Client Side.
• JavaScript parses the JSON data and
  populates the dynamic content blocks,
  images are pulled from S3 / Cloudfront.
In Magento’s Context
• JSON output contains Product Catalog along with
  necessary attributes.
• Layered Navigation, Filters, Sorting, keyword Search
  done 100% Client side on JSON data.
• Product Inventory check is an AJAX request to the
  server.
• Add to Cart, Checkout are direct requests to the
  server.
• For Recently Viewed Products, use Local Storage or
  IndexedDB.
Scalable Architecture


              REST
           Web services




                                              EC2
Web App                   Web App   Magento



Browser




          S3                 RDS
Insanely Scalable Architecture




                                             EC2
Web App                             Server

          Web
          App       JSON
                   JSON


Browser
                Media / Images
                   Folder

                   S3                RDS
Performance Metrics
              Webpagetest.org




              Pingdom.com




                    YSlow
New Possibilities

• Windows 8 and Mac OS
• Native Tablet Apps
• Touch Screen Kiosks
Thank You

Just Another Magento
   http://jam.neevtech.com
           -Vinci Rufus
      vince@neevtech.com
            @areai51

More Related Content

PDF
Scale Fail: How I Learned to Love the Downtime
PPTX
Single Page Applications on JavaScript and ASP.NET MVC4
PPTX
Single page application
PDF
Single page application
DOCX
Client side vs server side
PPT
Amazon.com's Web Services Opportunity
PPTX
Tokyo Azure Meetup #14 - Azure Functions Proxies
PPTX
Building rich Single Page Applications (SPAs) for desktop, mobile, and tablet...
Scale Fail: How I Learned to Love the Downtime
Single Page Applications on JavaScript and ASP.NET MVC4
Single page application
Single page application
Client side vs server side
Amazon.com's Web Services Opportunity
Tokyo Azure Meetup #14 - Azure Functions Proxies
Building rich Single Page Applications (SPAs) for desktop, mobile, and tablet...

What's hot (20)

PPTX
NoSQL mit RavenDB und Azure
PDF
Don't Be a Lopsided Web Developer
PPTX
02 hosting servicesinwindowsazure
PPTX
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
PDF
Evented Web @ Ignite
PDF
PLAT-8 Spring Web Scripts and Spring Surf
PDF
Share point 2010 performance and capacity planning best practices
PPT
Asp.net basic
PPTX
Apps for SharePoint 2013
ODP
Introduction to Ruby on Rails
PDF
Introduction to share point 2010 development
PPT
Class.bluemix.mbaas.chapter.2.pattern
PDF
Next.js (almost) in production
PPT
Best Practices for Large-Scale Web Sites
PDF
Microservice Websites – Øredev 2017
PPTX
Asp.net introduction
PDF
Developing for the GeoWeb: Notes From The Field Dev Summit 2009
PPTX
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
NoSQL mit RavenDB und Azure
Don't Be a Lopsided Web Developer
02 hosting servicesinwindowsazure
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
Evented Web @ Ignite
PLAT-8 Spring Web Scripts and Spring Surf
Share point 2010 performance and capacity planning best practices
Asp.net basic
Apps for SharePoint 2013
Introduction to Ruby on Rails
Introduction to share point 2010 development
Class.bluemix.mbaas.chapter.2.pattern
Next.js (almost) in production
Best Practices for Large-Scale Web Sites
Microservice Websites – Øredev 2017
Asp.net introduction
Developing for the GeoWeb: Notes From The Field Dev Summit 2009
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
Ad

Similar to Angular JS and Magento (20)

PPTX
Json Angular Magento | Imagine 2013 Barcamp | Vinci Rufus
PPTX
Neev - JSON Angular Magento
PPTX
Building assets on the fly with Node.js
PDF
CloudFest Denver When Worlds Collide: HTML5 Meets the Cloud
PPTX
When worlds Collide: HTML5 Meets the Cloud
PDF
Building Cloud-Based Cross-Platform Mobile Web Apps
PDF
The Modern Web, Part 1: Mobility
PDF
adrian coyler open tour keynote
PDF
Building cross platform mobile web apps
PPTX
Codestrong 2012 breakout session the role of cloud services in your next ge...
PDF
Next Generation Web Development Techniques with Cloud Foundry
KEY
Cloud Foundry Bootcamp
KEY
20120802 timisoara
PDF
Building Cross Platform Mobile Web Apps
PPTX
Feed Herny developer training : crossplatform and HTML5
PDF
Drupal + HTML5 + CSS3 + JS = Rich Internet Application
PDF
Drupal + HTML5 + CSS3 + JS = Rich Internet Application
PDF
Modern Architectures with Spring and JavaScript
PDF
CM WebClient CA Expo Mannheim Germany
PDF
Ideas for addictive series 40 web apps
Json Angular Magento | Imagine 2013 Barcamp | Vinci Rufus
Neev - JSON Angular Magento
Building assets on the fly with Node.js
CloudFest Denver When Worlds Collide: HTML5 Meets the Cloud
When worlds Collide: HTML5 Meets the Cloud
Building Cloud-Based Cross-Platform Mobile Web Apps
The Modern Web, Part 1: Mobility
adrian coyler open tour keynote
Building cross platform mobile web apps
Codestrong 2012 breakout session the role of cloud services in your next ge...
Next Generation Web Development Techniques with Cloud Foundry
Cloud Foundry Bootcamp
20120802 timisoara
Building Cross Platform Mobile Web Apps
Feed Herny developer training : crossplatform and HTML5
Drupal + HTML5 + CSS3 + JS = Rich Internet Application
Drupal + HTML5 + CSS3 + JS = Rich Internet Application
Modern Architectures with Spring and JavaScript
CM WebClient CA Expo Mannheim Germany
Ideas for addictive series 40 web apps
Ad

More from Vinci Rufus (14)

PPTX
Microfrontends Monoreops & Trunkbased based
PPTX
Spas are dead Long Live Microfrontends
PPTX
Getting Productive & Performant with Angular
PPTX
Demand driven Applications with GraphQL
PPTX
Dos & Donts when making Technology choices
PPTX
Progressive Web App
PPTX
It's just Angular
PPTX
Angular PWA
PPTX
Taking Control of your Data with GraphQL
PPTX
Making Angular2 lean and Fast
PPTX
Re-thinking Performance tuning with HTTP2
PPTX
Teams Pizza Team vs Jigsaw Puzzle Team
PPTX
Gesture based Interactions in JavaScript
PPTX
Components Approach to building Web Apps
Microfrontends Monoreops & Trunkbased based
Spas are dead Long Live Microfrontends
Getting Productive & Performant with Angular
Demand driven Applications with GraphQL
Dos & Donts when making Technology choices
Progressive Web App
It's just Angular
Angular PWA
Taking Control of your Data with GraphQL
Making Angular2 lean and Fast
Re-thinking Performance tuning with HTTP2
Teams Pizza Team vs Jigsaw Puzzle Team
Gesture based Interactions in JavaScript
Components Approach to building Web Apps

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Encapsulation theory and applications.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PPTX
A Presentation on Artificial Intelligence
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Encapsulation theory and applications.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Unlocking AI with Model Context Protocol (MCP)
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
A Presentation on Artificial Intelligence
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

Angular JS and Magento

  • 1. JSON Angular Magento Vinci Rufus www.neevtech.com @areai51
  • 3. Web Server’s Workload Pull up the Page Serve Read the Assets & XML Media Web server & Database Query Render the the page Database Build the page on the fly
  • 4. Performance & Scaling Mantra • Reduce stress on the Web server & DB – Clones [Multiple App Servers & DB Master Slaves] – Caching [Fullpage Caching / Memcache] – Varnish – Move the workload to the Client Side
  • 5. Empower the Browser • Browsers are Powerful but under utilized. • Offload mundane tasks to the Client Side. • Go Back to the Server only when needed.
  • 6. De-Couple your App • Server spits out JSON • Presentation Layer Sits on the Client Side. • JavaScript parses the JSON data and populates the dynamic content blocks, images are pulled from S3 / Cloudfront.
  • 7. In Magento’s Context • JSON output contains Product Catalog along with necessary attributes. • Layered Navigation, Filters, Sorting, keyword Search done 100% Client side on JSON data. • Product Inventory check is an AJAX request to the server. • Add to Cart, Checkout are direct requests to the server. • For Recently Viewed Products, use Local Storage or IndexedDB.
  • 8. Scalable Architecture REST Web services EC2 Web App Web App Magento Browser S3 RDS
  • 9. Insanely Scalable Architecture EC2 Web App Server Web App JSON JSON Browser Media / Images Folder S3 RDS
  • 10. Performance Metrics  Webpagetest.org  Pingdom.com  YSlow
  • 11. New Possibilities • Windows 8 and Mac OS • Native Tablet Apps • Touch Screen Kiosks
  • 12. Thank You Just Another Magento http://jam.neevtech.com -Vinci Rufus vince@neevtech.com @areai51