SlideShare a Scribd company logo
Building Salesforce Communities
Apps with React Native & Flux
Joseph Ferraro @joeferraro
David Helmer @kidtsunami
Joseph Ferraro
CTO, Mavens Consulting
@joeferraro
David Helmer
Technical Architect, Mavens Consulting
@kidtsunami
About Mavens Consulting
Preferred Healthcare & Life Sciences implementation partner for
salesforce.com and Veeva
50+ Salesforce1 & Heroku consultants located across North America and
Europe
12 Mavens in attendance at #Dreamforce15, speaking in 8 different
technical sessions
#mavensDF15
Agenda
React Native
• What is it?
• Platform support
• Componentry
• Code
• Demo
Flux Application Architecture
• What is it?
• How it’s different from MVC
• Code
• Demo
Questions?
React Native
React Native
Open source JavaScript framework from Facebook for building native mobile apps
React
• Javascript library for building User Interfaces
• Just the UI
React Native
• Supports iOS today - Android support coming soon
• “Learn once, write anywhere”
• Component-driven (JSX)
• Native performance
React Native Componentry
Native components
• UITabBar → TabBarIOS
• UINavigationController → NavigatorIOS
Native bindings (Objective-C)
• RCT_EXPORT_MODULE
• RCT_EXPORT_METHOD
Flexbox styling
ECMAScript 6 & 7 capabilities via Babel
UITableView
UITabBar
UINavigationBar
Demo
Flux Application Architecture
Traditional MVC Architecture
Application architecture comprised of 3 major parts
• Model – data/state store
• View – interacts with controller
• Controller – responds to view, informs model
Recent JavaScript frameworks have re-framed as MV*
(Model View Anything) which can become problematic
• Difficult to scale View
Model
Action
Controller
Scaling MVC Architecture
View
Model
Action
Model
Controller
Model
View View ViewView
Action Action
Flux Application Architecture
Pattern (not a framework) for building client-side web applications
• Introduced as a response to struggles scaling MVC apps
Three main components
• Dispatcher
• Stores
• Views
Unidirectional data flow
Action Dispatcher Store View
Architecture Overview
Action Dispatcher Store View
Action
Demo
Summary
React Native
• Open source
• Really fast
• JavaScript!
Flux architecture
• Addresses difficulty when scaling MVC apps
• Not a requirement for building RN apps, but certainly encouraged!
Communities
• Super simple to integrate RN + Flux
• Delivers great customer experience
Questions?
Thank you

More Related Content

PDF
Dependency Injection with Apex
PDF
Design Patterns Every ISV Needs to Know (October 15, 2014)
ODP
Hybrid application development
PDF
Build Consumer Apps Using Mobile SDK and Ionic Framework
PPTX
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
PPTX
Ionic framework
PPTX
Building Native “apps” with Visual Studio 2015
PDF
Top Cordova Challenges and How to Tackle Them
Dependency Injection with Apex
Design Patterns Every ISV Needs to Know (October 15, 2014)
Hybrid application development
Build Consumer Apps Using Mobile SDK and Ionic Framework
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
Ionic framework
Building Native “apps” with Visual Studio 2015
Top Cordova Challenges and How to Tackle Them

What's hot (20)

PDF
Helsinki developer group march 2020
PDF
Cross Platform Mobile Development
PDF
Pepperoni 2.0 - How to spice up your mobile apps
PDF
Pepperoni – A framework for spicing up your mobile apps with React Native
PDF
Hybrid Apps with Angular & Ionic Framework
PPTX
Building Cross Platform Mobile Apps
PPTX
Operational API design anti-patterns (Jason Harmon)
PDF
Reark : a Reference Architecture for Android using RxJava
PPTX
Application innovation & Developer Productivity
PPTX
Ios driver presentation copy
ODP
Use Ionic Framework to develop mobile application
PPTX
Introduction to the Ionic Framework
PPTX
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
PDF
Mobile SDK: Considerations & Best Practices
PDF
[API the Docs Paris 2018] Architecting DX
PDF
Quickstart Templates with the Salesforce CLI
PDF
Creating mobile apps - an introduction to Ionic (Engage 2016)
PPTX
Windows phone 8 app using Kendo UI
PPSX
Yii framework
PDF
A guide to hiring a great developer to build your first app (redacted version)
Helsinki developer group march 2020
Cross Platform Mobile Development
Pepperoni 2.0 - How to spice up your mobile apps
Pepperoni – A framework for spicing up your mobile apps with React Native
Hybrid Apps with Angular & Ionic Framework
Building Cross Platform Mobile Apps
Operational API design anti-patterns (Jason Harmon)
Reark : a Reference Architecture for Android using RxJava
Application innovation & Developer Productivity
Ios driver presentation copy
Use Ionic Framework to develop mobile application
Introduction to the Ionic Framework
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Mobile SDK: Considerations & Best Practices
[API the Docs Paris 2018] Architecting DX
Quickstart Templates with the Salesforce CLI
Creating mobile apps - an introduction to Ionic (Engage 2016)
Windows phone 8 app using Kendo UI
Yii framework
A guide to hiring a great developer to build your first app (redacted version)
Ad

Similar to Building Salesforce1 Communities Apps with React Native and Flux (20)

PDF
Introduction to React Native & Rendering Charts / Graphs
PPTX
CHOOSE BETWEEN FLUTTER AND REACT NATIVE.pptx
PDF
Cross Platform Mobile Development
PDF
Hire React JS Developers
PPTX
React Native - Framework For Mobile App (Seminar)
PDF
I knew there had to be a better way to build mobile apps
PPTX
From the sandbox to production
PPTX
From Sandbox to Production by Vadym Fedorov
PPTX
Hire React JS Developers
PDF
Post Windows Mobile: New Application Development Platforms
PDF
Why is React Native the Best Choice for Cross-Platform Mobile App Development...
PPTX
Introduction to the Managed Extensibility Framework in Silverlight
PDF
Putting the Native in React Native - React Native Boston
PDF
Top JavaScript Frameworks for Mobile App Development
PDF
Reactjs Vs React Native – Key Difference, Advantages, And Disadvantages
PDF
Putting the Native in React Native - React Native NYC
PPTX
Triple E class DevOps with Hudson, Maven, Kokki/Multiconf and PyDev
PDF
React Native and the future of web technology (Mark Wilcox) - GreeceJS #15
PPTX
React Native is Ready for Prime Time — Team × Technology (React Conf 2016)
PDF
«I knew there had to be a better way to build mobile app»​
Introduction to React Native & Rendering Charts / Graphs
CHOOSE BETWEEN FLUTTER AND REACT NATIVE.pptx
Cross Platform Mobile Development
Hire React JS Developers
React Native - Framework For Mobile App (Seminar)
I knew there had to be a better way to build mobile apps
From the sandbox to production
From Sandbox to Production by Vadym Fedorov
Hire React JS Developers
Post Windows Mobile: New Application Development Platforms
Why is React Native the Best Choice for Cross-Platform Mobile App Development...
Introduction to the Managed Extensibility Framework in Silverlight
Putting the Native in React Native - React Native Boston
Top JavaScript Frameworks for Mobile App Development
Reactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Putting the Native in React Native - React Native NYC
Triple E class DevOps with Hudson, Maven, Kokki/Multiconf and PyDev
React Native and the future of web technology (Mark Wilcox) - GreeceJS #15
React Native is Ready for Prime Time — Team × Technology (React Conf 2016)
«I knew there had to be a better way to build mobile app»​
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
PDF
Local development with Open Source Base Components
PPTX
TrailheaDX India : Developer Highlights
PDF
Why developers shouldn’t miss TrailheaDX India
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
PPTX
Enterprise-grade UI with open source Lightning Web Components
PPTX
TrailheaDX and Summer '19: Developer Highlights
PDF
Live coding with LWC
PDF
Lightning web components - Episode 4 : Security and Testing
PDF
LWC Episode 3- Component Communication and Aura Interoperability
PDF
Lightning web components episode 2- work with salesforce data
PDF
Lightning web components - Episode 1 - An Introduction
PDF
Migrating CPQ to Advanced Calculator and JSQCP
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
PDF
Modern Development with Salesforce DX
PDF
Get Into Lightning Flow Development
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Local development with Open Source Base Components
TrailheaDX India : Developer Highlights
Why developers shouldn’t miss TrailheaDX India
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Converting Aura Components to Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
TrailheaDX and Summer '19: Developer Highlights
Live coding with LWC
Lightning web components - Episode 4 : Security and Testing
LWC Episode 3- Component Communication and Aura Interoperability
Lightning web components episode 2- work with salesforce data
Lightning web components - Episode 1 - An Introduction
Migrating CPQ to Advanced Calculator and JSQCP
Scale with Large Data Volumes and Big Objects in Salesforce
Replicate Salesforce Data in Real Time with Change Data Capture
Modern Development with Salesforce DX
Get Into Lightning Flow Development
Integrate CMS Content Into Lightning Communities with CMS Connect

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PDF
Modernizing your data center with Dell and AMD
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Modernizing your data center with Dell and AMD
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf

Building Salesforce1 Communities Apps with React Native and Flux

  • 1. Building Salesforce Communities Apps with React Native & Flux Joseph Ferraro @joeferraro David Helmer @kidtsunami
  • 2. Joseph Ferraro CTO, Mavens Consulting @joeferraro
  • 3. David Helmer Technical Architect, Mavens Consulting @kidtsunami
  • 4. About Mavens Consulting Preferred Healthcare & Life Sciences implementation partner for salesforce.com and Veeva 50+ Salesforce1 & Heroku consultants located across North America and Europe 12 Mavens in attendance at #Dreamforce15, speaking in 8 different technical sessions #mavensDF15
  • 5. Agenda React Native • What is it? • Platform support • Componentry • Code • Demo Flux Application Architecture • What is it? • How it’s different from MVC • Code • Demo Questions?
  • 7. React Native Open source JavaScript framework from Facebook for building native mobile apps React • Javascript library for building User Interfaces • Just the UI React Native • Supports iOS today - Android support coming soon • “Learn once, write anywhere” • Component-driven (JSX) • Native performance
  • 8. React Native Componentry Native components • UITabBar → TabBarIOS • UINavigationController → NavigatorIOS Native bindings (Objective-C) • RCT_EXPORT_MODULE • RCT_EXPORT_METHOD Flexbox styling ECMAScript 6 & 7 capabilities via Babel UITableView UITabBar UINavigationBar
  • 11. Traditional MVC Architecture Application architecture comprised of 3 major parts • Model – data/state store • View – interacts with controller • Controller – responds to view, informs model Recent JavaScript frameworks have re-framed as MV* (Model View Anything) which can become problematic • Difficult to scale View Model Action Controller
  • 13. Flux Application Architecture Pattern (not a framework) for building client-side web applications • Introduced as a response to struggles scaling MVC apps Three main components • Dispatcher • Stores • Views Unidirectional data flow Action Dispatcher Store View
  • 15. Demo
  • 16. Summary React Native • Open source • Really fast • JavaScript! Flux architecture • Addresses difficulty when scaling MVC apps • Not a requirement for building RN apps, but certainly encouraged! Communities • Super simple to integrate RN + Flux • Delivers great customer experience Questions?