Spark: jsFiddle Meets Salesforce Lightning
date post
27-Jan-2017Category
Technology
view
401download
0
Embed Size (px)
Transcript of Spark: jsFiddle Meets Salesforce Lightning
Spark
Scott CovertTythonscottbcovert@gmail.com@scottbcovert
jsFiddle Meets Salesforce Lightning
Scott CovertPresident, Tython
scottbcovert@gmail.com
@scottbcovert
Code Collaboratively Hive Mind Share Executable Code
Key Takeaways
Astro is the product manager for our dev team.
He has asked us to build him a new racecar app.
Astro wants us to make it a Salesforce Lightning app.
Astros Racecar Challenge
1. We have been given a tight deadline.
2. Our team has limited experience.
3. We deal with disconnected development silos.
Building Astros Racecar
Code Collaboratively
Lightning apps are meant to be chunked into components.
This offers code reusability/portability and divides up the workload.
Pair programming can be an effective technique for inexperienced teams.
1. We have been given a tight deadline.
2. Our team has limited experience.
3. We deal with disconnected development silos.
Building Astros Racecar
Hive Mind
Crowdsourcing allows you to draw on the collective minds and talents of the entire community.
Developers can easily share code with others via GitHub, a cloud repository service.
1. We have been given a tight deadline.
2. Our team has limited experience.
3. We deal with disconnected development silos.
Building Astros Racecar
Code Playgrounds
Code playgrounds allow you to share and execute snippets of code.
They are commonly used by web developers during development roadblocks.
Salesforce developers need a code playground for debugging Lightning apps.
Salesforce Lightning Components
Lightning components stem from the open source Aura UI framework.
Lightning components run on Apex, but Aura components run on Java.
Aura apps can be compiled and run outside of Salesforce.
DigitalOcean
Docker packages apps into standardized containers.
Dokku allows you to create a private, mini-Heroku through Docker.
MEAN.JS Docker Dokku
DigitalOcean offers simple, inexpensive cloud hosting.
Spark
MEAN.JS is a full-stack JavaScript solution for building web apps that use MongoDB, Express, AngularJS, and Node.js.
Broken Lightning AppCode Sample #1
Create a SparkDemo #1
1. We have been given a tight deadline.
2. Our team has limited experience.
3. We deal with disconnected development silos.
Building Astros Racecar
Spark Source CodeCode Sample #2
Running Spark LocallyDemo #2
Code Collaboratively Hive Mind Share Executable Code
Key Takeaways
Scott CovertPresident, Tython
scottbcovert@gmail.com
@scottbcovert
Thank you