Posts

Showing posts with the label Salesforce SLDS

Know Your Weather - uses Salesforce Lightning and Salesforce Lightning Design System

Image
Glimpse of the Weather app: This is a lightning app which makes use of lightning components and lightning design system. Special thanks to  Piyush Soni  for me helping me on this.Following components have been developed for this app: LatLng.cmp  - This component gets the current location of user who is accessing this app. This component has an associated JS controller - LatLngController.js and a JS helper - LatLngHelper.js Weather.cmp  - This component reads the latitude and longitude provided by LatLng.cmp and make a webservice call to openweathermap api and displays the weather data. This component has an associated JS controller - WeatherController.js, a JS helper - WeatherHelper.js, an apex controller which makes the webservice callout - WeatherCtrl.apxc and an apex class to parse the webservice response - WeatherResponse.apxc Lets take a look at the individual components and try to understand what they are doing. 1) latLngEvent.evt <aura:event type="