Thursday, 28 March 2019

Lightning Web Components Best practices

On 23 March 2019 , We did one live session on Lightning Web Components (LWC) best practices with "René Winkelmeyer" in ApexHours. In that session we talk about how to build rich, efficient, and resilient Lightning Web Components. That webinar covered best practices around
  1. Using public, and private properties for effective component composition.
    1. When we should use @api or @track variable
  2. Event communication for child-to-parent as well as for sibling components (pubsub).
    1. Parent to Child Communication
    2. Child to Parent Communication
    3.  pubsub
  3. When, and when not, to use Apex with Lightning Web Components
    1. UI Record Api in LWC
    2. Lightning Data Service in LWC (Lightning record form)
  4. Aura interoperabilitys Recipes, Patterns and Best Practices
  5. How to debug Lightning Web Components
  6. How to test Lightning Web Component (Lightning Testing Service)
    1. Jest Tests for Lightning Web Components ( LTS )
Thank you so much "René Winkelmeyer" for a great session in ApexHours.

Here is recording of session.

If you missed our first session on Introduction to Lightning Web component then please check our this recording.

Please check below post on Lightning Web Components:-
  1. Lightning Web Components ( LWC ) in Salesforce with Non-Scratch Org
  2. Invoke Apex Controller from Lightning Web Component | Lightning Web Component inside Another LWC
  3. Design attributes in Lightning Web Components | CSS and SVG Files | Lightning Web Components | targetConfigs
  4. How to get current user id in lightning web component | Access logged in user ID in LWC 
  5. Toast Notification in Lightning Web Components | ShowToastEvent |  (LWC)

Some more link

1) Introducing Lightning Web Components Recipes, Patterns and Best Practices

Amit Chaudhary

Sunday, 10 March 2019

Continuous Integration in Salesforce Using Jenkins and GitHub (CI/CD)

In this post we will talk about how to Setup Continuous Integration in Salesforce using Jenkins and GitHub with ANT. On 9 March 2019 we did one live session in ApexHours on "Integrate GitHub with Jenkins (CI/CD)" with Anjum Attar.

Before taking about "Integrate GitHub with Jenkins (CI/CD)". We are assuming you are already know the ANT Migration tool, VsCode and SFDX .

Integrate GitHub with Jenkins using ANT

Please check below recording to learn about "Integrate GitHub with Jenkins". In our ApexHours Session we covered the below topics :
  1. Before Jenkins ( Problem statement )
  2. What Is Jenkins?
  3. What is Continuous Integration?
  4. Features of Jenkins
  5. Demo : Integrate GitHub with Jenkins
    • Create AWS console Account
    • How to Create Github repository
    • How to Create Jenkin job
    • Connect your Jenkin and Github account
    • How to create Webhooks
    • Continuous Deployment with ANT.
In above recording we used ANT Migration tool for deployment. Check this post to learn about ANT.

Continuous Integration using Jenkins with SFDX | Using JWT Flow.

In our last post we talk about how to setup Continuous Integration in Salesforce Using SalesforceDX with Jenkins (SalesforceDx Jenkins Integration). Please check below Recording / Post to learn about below topic :
  1. How to Install Jenkins
  2. Create Self-Signed SSL Certificate and Private Key using openssl
  3. Create Connected App for JWT - Based Flow. 
  4. Configure the Jenkins environment variable
  5. Configure the Jenkins job
Please check our YouTube Recording for step by step process

Check this post to learn more about Salesforce Dx. Here is recording for SalesforceDx Session in ApexHours.

Related Post with Video :-
1) SalesforceDx
2) VsCode for Salesforce
3) SalesforceDX for Non-Scratch Org
4) ANT Migration tool

Amit Chaudhary
Capture.JPG  @amit_sfdc    @ApexHours
  Salesforce Apex Hours