372
pages
English
Ebooks
2019
Vous pourrez modifier la taille du texte de cet ouvrage
Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus
Découvre YouScribe en t'inscrivant gratuitement
Découvre YouScribe en t'inscrivant gratuitement
372
pages
English
Ebook
2019
Vous pourrez modifier la taille du texte de cet ouvrage
Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus
Publié par
Date de parution
29 novembre 2019
Nombre de lectures
0
EAN13
9789389328882
Langue
English
Poids de l'ouvrage
2 Mo
Publié par
Date de parution
29 novembre 2019
Nombre de lectures
0
EAN13
9789389328882
Langue
English
Poids de l'ouvrage
2 Mo
Mastering SharePoint Framework
Master the SharePoint Framework Development with Easy-to-Follow Examples
by
Nanddeep Nachan
FIRST EDITION 2020
Copyright © BPB Publications, India
ISBN: 978-93-89328-875
All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication.
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS
20, Ansari Road, Darya Ganj
New Delhi-110002
Ph: 23254990/23254991
MICRO MEDIA
Shop No. 5, Mahendra Chambers,
150 DN Rd. Next to Capital Cinema,
V.T. (C.S.T.) Station, MUMBAI-400 001
Ph: 22078296/22078297
DECCAN AGENCIES
4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
Dedicated to
My Parents
Shri Sadanand Nachan and Smt Archana Nachan
My Sister
Miss Smita Nachan
My Wife
Mrs Sarika Nachan
and
Our Lovely New Born Baby Boy
About the Author
Nanddeep Nachan is a results-oriented Technology Architect with over 14 years of experience in Microsoft Technologies, especially in SharePoint, Office 365, MS Azure, and .NET. He is experienced in the design, implementation, configuration, and maintenance of several large-scale projects with career focuses included architectural design and implementation, website design and development, complete application development cycles, and intense focus on .NET technologies. He has experience in providing management expertise over a wide range of technical environments and industries, specialized in critical customer projects and complex technology deployments.
He has been working with SharePoint since the last 14 years and has exposure to SharePoint versions starting from SharePoint 2007 (MOSS).
He is a CSM (Certified Scrum Master), Microsoft Certified Professional with certifications in SharePoint, MS Azure, Office 365, and .NET. He is A 2-times C# Corner MVP and an Author. He is a regular speaker at various events. He is also an active contributor to technical communities like SharePoint Patterns and Practices ( https://github.com/SharePoint/ ) and C# Corner ( http://www.c-sharpcorner.com ).
He is also a creative and technically sound photographer with experience in custom and specialized photography.
About the Reviewer
Priyaranjan is a Solution Architect based out of India who has been working with SharePoint since 2010. He is quite active in SharePoint, Office365 and Azure community activities and has been awarded as Microsoft MVP since 2018.
He is a tech enthusiast who believes in sharing knowledge and giving back to the community which will help in building better technical collaboration.
Acknowledgements
First and foremost, I would like to thank God for giving me the courage to write this book. I would like to thank everyone at BPB Publications for giving me this opportunity to publish my book.
I would also like to thank my loving and caring sister, Miss Smita Nachan, my wife, Mrs Sarika Nachan, and my parents for their endless support and helping me in numerous ways.
I would like to thank my mentors, Mr Hausen Henrik (Finland), Mr Priyranjan KS, all the other mentors, and my friend, Mr Ravi Kulkarni, for his useful discussions and suggestions, right from deciding topics, writing the concepts, framing exercises, etc.
Lastly, I would like to thank my critics. Without their criticism, I would never be able to write this book.
– Nanddeep Nachan
Preface
In the last few years, the SharePoint Framework has been very popular and has become the first choice of Modern SharePoint developers. SharePoint has become richer with its every release and eventually, a Modern SharePoint has evolved. The SharePoint Framework plays an important role in customizing Modern SharePoint. At the same time, it also supports classic SharePoint. The SPFx solutions are developed using open source toolchains, modern UI standards, and JavaScript libraries/frameworks like Angular JS, React JS, Knockout JS, etc.
The primary goal in the development of this book is to create a pedagogical sound and accessible book that emphasizes the core concepts of the SharePoint Framework. This book can be used to develop Modern SharePoint concepts easily. This book contains many examples to show the working of a particular code construct. This book is very helpful to learn the basic and advanced concepts of SharePoint programming.
This book targets SPFx features released until 1.9.1 version, which is the latest at the time of writing this book. The SharePoint Framework is ever growing and there will be more versions of it releasing in the future. After you finish reading this book, you will gain more insight that is useful over the SharePoint Framework and will enable you to set a foundation for future updates and learnings.
This book is divided into 56 chapters and it provides a detailed description of the core concepts of SharePoint Framework programming.
Chapter 1 , Getting Started with SharePoint Framework introduces the concepts of the SharePoint Framework. SharePoint has become richer with its every release and eventually, a Modern SharePoint has evolved. It also explains the importance of using the SharePoint Framework.
Chapter 2 , Develop Your First SPFx Web Part addresses the fundamental concepts of the SharePoint Framework. It describes the structure of the SharePoint Framework and the Yeoman generator to generate SPFx solutions.
Chapter 3 , SPFx Web Part Property Pane introduces the concept of property panes in the SPFx web part. It also focuses on the core concepts of property pane metadata.
Chapter 4 , Custom Controls for Web Part Property Pane addresses how to build custom controls for the SPFx web part property pane.
Chapter 5 , PnP Controls for Web Part Property Pane discusses the uses of the option of using reusable PnP (Patterns and Practices) property pane controls. This chapter also focuses on the methods to use reusable PnP (Patterns and Practices) controls.
Chapter 6 , CSS Considerations addresses the importance of CSS in the SPFx web part and common considerations. It also highlights how to override externally referenced CSS.
Chapter 7 , Configure SPFx Web Part I condescribes the various ways to set the SPFx web part icon. It focuses on the concepts such as Office UI fabric icons, external icon image, base64 encoded image as an icon.
Chapter 8 , Examine SPFx Web Parts on Modern SharePoint describes an option to test the SPFx web parts on an actual modern SharePoint page. This technique helps developers in many ways to carry out the page optimization, performance analytics and provides flexibility to test the web part along with the other content and web parts on the same page.
Chapter 9 , Host SPFx Web Parts from MS Azure CDN addresses the concepts of hosting the SPFx web parts to the CDN location. It discusses the methods to host assets on MS Azure CDN.
Chapter 10 , Host SPFx Web Parts from Office 365 Public CDN introduces the concept of Office 365 public CDN as an option to host the SPFx web part.
Chapter 11 , Host SPFx Web Parts from SharePoint Document Library focuses on the importance and necessity of using CDN to host the SPFx web part. It describes the SharePoint document library as a hosting option.
Chapter 12 , Integrating jQuery with SPFx Web Parts describes an option to coordinate jQuery with the SPFx web part and arrange required bundles and dependencies.
Chapter 13 , CRUD Operations with No Framework focuses on No framework alternative to implementing the SPFx web part for CRUD (Create, Read, Update, and Delete) operations against the SharePoint list.
Chapter 14 , CRUD Operations with React JS focuses on React JS alternative to implementing the SPFx web part for CRUD (Create, Read, Update, and Delete) operations against the SharePoint list.
Chapter 15 , CRUD Operations with Angular JS focuses on Angular JS alternative to implementing the SPFx web part for CRUD (Create, Read, Update, and Delete) operations against the SharePoint list.
Chapter 16 , CRUD Operations using Knockout JS focuses on Knockout JS alternative to implementing the SPFx web part for CRUD (Create, Read, Update, and Delete) operations against the SharePoint list.
Chapter 17 , CRUD Operations with SP-PnP-JS focuses on SP-PnP-JS alternative to implementing the SPFx web part for CRUD (Create, Read, Update, and Delete) operations against the SharePoint list.
Chapter 18 , Transition to @pnp/sp from sp-pnp-js introduces the concept of transition to @pnp/sp from sp-pnp-js. It discusses why sp-pnp-js is deprecated and gives detailed information on how to transition.
Chapter 19 , SPFx Development with React JS focuses on the React library and explores why React works well with SPFx. It describes the concept of the virtual DOM and gives detailed information on React’s primary building blocks such as React Element, React Props, React Component, React State, and JavaScript XML (.jsx).
Chapter 20 , React Lifecycle Events in SPFx focuses on the React component life cycle, potential alternatives to fetch data in the React component with their advantages and disadvantages.
Chapter 21 , Autob