Learning Search-driven Application Development with SharePoint 2013 - Johnny Tordgeman - E-Book

Learning Search-driven Application Development with SharePoint 2013 E-Book

Johnny Tordgeman

0,0
31,19 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

SharePoint 2013 feels like a of fresh air, offering many new features and changes over older versions. Among these new features is a completely revamped search engine. "Learning Search-driven Application Development with SharePoint 2013" is a quick-start guide to creating search-driven applications using the new and exciting features that have revolutionized the SharePoint enterprise search experience.

"Learning Search-driven Application Development with SharePoint 2013" is a fast-paced, practical, hands-on guide to the world of enterprise search in SharePoint 2013. With step-by-step tutorials and real-world examples, this book will give you a head start creating fresh and exciting search-driven applications using SharePoint 2013's new search engine.

"Learning Search-driven Application Development with SharePoint 2013" is an accelerated way to create search-driven applications for SharePoint 2013. By covering the basics first and gradually covering all search related topics, this book will be your guide through the world of SharePoint's enterprise search.

Furthermore, you will learn how to use the powerful feature of Query Rules to create smart conditions that help respond to user's search queries intelligently. We will also discuss how to style search results and make them stand out, how to index external content so it will be searchable using SharePoint's powerful search engine, and how to use the new client side search APIs, which will allow us to take advantage of search in Apps, the new development model for SharePoint 2013.

After reading Learning Search-driven Application Development with SharePoint 2013, you will understand what it takes to create applications that use search as a content provider. Using applications that are based on real world examples and step-by-step tutorials, you'll get hands-on experience in developing search driven applications.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 115

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Learning Search-driven Application Development with SharePoint 2013
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with SharePoint 2013 Search
New features of SharePoint 2013 Search
Search administration
UI changes and customization
Relevance and ranking features
New development methods
The search architecture
Content components
Crawl component
Content-processing component
Query components
Web frontend
Query processing component
The index component
Analytics processing component
Summary
2. Using the Out of the Box Search Components
Getting acquainted with result sources
Learning query rules
Creating query rules
Setting the result source
Setting query conditions
Query Matches Dictionary Exactly
Query More Common in Source
Result Type Commonly Clicked
Advanced Query Text Match
Setting the action
Promoted result
Result block
Change ranked results by changing the query
Using the content search web part
Building a simple search-driven application
Adding content
Creating the result source
Creating a search vertical
Adding a query rule
Summary
3. Using the New CSOM and RESTful APIs
Understanding the Keyword Query Language
The basics
Property restrictions
XRANK
Synonyms
Using the new client-side APIs
RESTful API
REST and SharePoint 2013
Using REST
REST and search
Client Side Object Model (CSOM)
CSOM and search
A SharePoint-hosted app
A provider hosted app
An autohosted app
Publishing an app
Building a SharePoint-hosted search-driven app
Create task apps (lists)
Understanding the requirements
Building the app
Summary
4. Customizing the Look
Result types and design templates
Display templates
Result types
Styling results in a Content Search Web Part
Creating a custom display template
Getting the new properties
Getting the values of the new properties
Displaying the new properties
Enriching the Video Games Search Center
Modifying the default image display template
Creating the result type
Summary
5. Extending Beyond SharePoint
BCS for search
BCS and search
Building a BCS search connector
Setting the operations
Implementing the ReadList method
Implementing the ReadItem method
Making the BCS model crawlable
Creating a search content source
Summary
Index

Learning Search-driven Application Development with SharePoint 2013

Learning Search-driven Application Development with SharePoint 2013

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: July 2013

Production Reference: 1280613

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78217-100-3

www.packtpub.com

Cover Image by David Gimenez (<[email protected]>)

Credits

Author

Johnny Tordgeman

Reviewer

Samuel Zuercher [MVP]

Acquisition Editor

Aarthi Kumaraswamy

Commissioning Editor

Meeta Rajani

Technical Editors

Anita Nayak

Sonali S. Vernekar

Copy Editors

Insiya Morbiwala

Aditya Nair

Alfida Paiva

Laxmi Subramanian

Project Coordinator

Amey Sawant

Proofreader

Maria Gould

Indexer

Rekha Nair

Graphics

Abhinash Sahu

Production Coordinator

Nitesh Thakur

Cover Work

Nitesh Thakur

About the Author

Johnny Tordgeman is the CTO of E4D Solutions Ltd., a boutique development and consulting firm in Israel. Johnny specializes in architecting enterprise-level solutions built on top of Microsoft's SharePoint platform. Johnny utilizes the latest in web technology and methodology in his solutions, such as HTML5, SPA, and MVC4.

Johnny is the author of MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide, Packt Publishing, which was published in 2012.

Johnny is a skilled lecturer and a Microsoft-certified trainer and can be found speaking at various conferences, open houses, and user groups.

You can always find Johnny at http://blog.johnnyt.me, on Twitter at @JTordgeman, and on LinkedIn at http://www.linkedin.com/in/johnnytor.

I would like to dedicate this book to my son Roy and wife Ayelet. You two are my source of inspiration and the best family I could have ever hoped for.

First and foremost, I would like to thank Meeta Rajani and Sneha Modi, my amazing editors. Without your help and support, this book wouldn't have happened!

My dear family – Itzik, Varda, Yuval, and Shirly, and friends – Idan, Yossi, Rani, Leon, Niv, Guy, Tal, Eyal, Itay, and Tung (Tony) Pham. Thank you for the moral support and late nights we spent together. This book and I owe a great deal to all of you.

About the Reviewer

Samuel Zuercher [MVP] (SharePoint MVP since 2011) works as a Senior Consultant at Experts Inside, Switzerland, an international company he founded with another SharePoint MVP, Christian Glessner. He has been working with SharePoint since early 2006 and has in-depth knowledge from Version 2.0 onward. He also holds certifications for every SharePoint version since then. As a Microsoft Certified Trainer, he often trains people, from end users to technical specialists. Additionally, he founded the Swiss SharePoint Community, is one of the main drivers of Collaboration Days, and runs the blog sharepointszu.com. He speaks about SharePoint in a variety of events all over the world. In his job, he is involved in many SharePoint projects from concept to rollout and has a lot of experience. His specialty is information and system architecture, no-code solutions, and social collaboration. You can reach him via e-mail at <[email protected]>, Twitter at @SharePointSzu, or a variety of platforms such as Xing, LinkedIn, or Facebook.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. 

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Instant Updates on New Packt Books

Get notified! Find out when new books are published by following @PacktEnterprise on Twitter, or the Packt Enterprise Facebook page.

Preface

Learning Search-driven Application Development with SharePoint 2013 is a fast-paced, practical, hands-on guide to the world of enterprise search in SharePoint 2013. With step-by-step tutorials and real-world-based exercises, this book will give you a head start in creating fresh and exciting search-driven applications using SharePoint 2013's new search engine. The book covers a wide range of topics such as Query Rules, Result Types and Display Templates, Working with the new client APIs, and Business Connectivity Services.

What this book covers

Chapter 1, Getting Started With SharePoint 2013 Search, gives you a taste of the new features SharePoint 2013 search brings to the table and then dives deep into the architecture that holds this system together.

Chapter 2, Using the Out of the Box Search Components, shows you how to use query rules and result sources and get a taste of building a simple search-driven application. SharePoint 2013 provides a rich out of the box experience for developing search-driven applications.

Chapter 3, Using the New CSOM and RESTful APIs, explains how to work with these new APIs and build a SharePoint hosted search-driven app using the new App developing approach. SharePoint 2013 changes the way we developers extend the platform by providing a whole new set of client-based APIs.

Chapter 4, Customizing the Look, focuses on creating display templates that define how a search result will render, and result types that define which display template a result should have. SharePoint 2013 opens up a whole new way to design our search results.

Chapter 5, Extending Beyond SharePoint, introduces how to create an external indexing connector and understand how to work with external data. In a real-world environment, not all the information we wish to search for is hosted within SharePoint. Business Connectivity Services (or BCS for short) enables us to extend beyond the realms of SharePoint and index data from external systems.

What you need for this book

To run the examples shown in this book you will need a SharePoint 2013 server with Visual Studio 2012 installed.

If you don't have access to a full SharePoint 2013 server, Office 365's SharePoint Online and Visual Studio 2012 can also be used to run most of the examples in this book.

Who this book is for

This book is written for SharePoint and JavaScript developers who wish to get started working with SharePoint search. The book assumes working knowledge with previous versions of SharePoint and some experience with JavaScript and client-side development.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

[default] exten => s,1,Dial(Zap/1|30) exten => s,2,Voicemail(u100) exten => s,102,Voicemail(b100) exten => i,1,Voicemail(s0)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

[default] exten => s,1,Dial(Zap/1|30) exten => s,2,Voicemail(u100) exten => s,102,Voicemail(b100) exten => i,1,Voicemail(s0)

Any command-line input or output is written as follows:

# cp /usr/src/asterisk-addons/configs/cdr_mysql.conf.sample /etc/asterisk/cdr_mysql.conf

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to <[email protected]>, and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at <[email protected]> with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at <[email protected]> if you are having a problem with any aspect of the book, and we will do our best to address it.

Chapter 1. Getting Started with SharePoint 2013 Search