Fluid Framework 2.0 Beta - Build collaborative apps fast!

Microsoft 365 Developer · Intermediate ·📰 AI News & Updates ·2y ago

Key Takeaways

The video discusses the Fluid Framework 2.0 Beta, a platform for building collaborative applications, and its new features such as SharedTree, a hierarchical data structure, and support for SharePoint Embedded.

Full Transcript

hey everyone I'm Nick Simons and I'm cash kesi we're both product managers at Microsoft working on the fluid framework and we're excited to announce the availability of fluid framework 2.0 beta fluid framework makes building collaborative applications fast and intuitive and fluid framework 2.0 beta includes a new more robust data model and a even more intuitive programming model that makes working with collaborative data as easy as working with Json objects let's talk about collaboration it is an integral part of our work lives it allows us to work together to achieve common goals share ideas and build on each other's stengths new generation of employees are also demanding more flexibility at work with the rise of remote and hybrid work as a result our productivity tools also need to evolve to adapt to this new mode of working at Microsoft we've been building the collaborative platform for all developers out there before I worked on fluid I worked on the office web app where collaboration was our top priority we spent a lot of time building collaboration into word PowerPoint and Excel both on the web and ultimately on all clients and we learned learned a great deal fluid framework represents the culmination of everything we learned so that we could build a platform that was designed for building the next generation of collaborative applications and we're using that platform to build applications like Microsoft Loop and Microsoft whiteboard but maybe more importantly we've built the platform so that you can also use it to build any collaboration experiences you want to to build so let's take it from first principles what are the elements of a realtime collaborative application you have multiple clients with some local state that needs to be shared and synced across the other clients that's why fluid framework consists of two parts a relay service and a clients Side Library the relay service is responsible for receiving changes from the clients sequencing them and then broadcasting them out to the other clients the client Side Library is responsible for merging these changes in with the local state so all clients eventually end up with the same state the relay service is meant to be flexible and lightweight so developers like you don't have to write a single line of code to make this work the fluid client Library leverages mainstream web Technologies to make it as as approachable as possible for front-end web developers the way you work with fluid data is using something we call distributed data structures which look a lot like local data structures like objects arrays Maps numbers and strings but unlike local data these distributed data structures are automatically kept in sync by the fluid framework the value and real and the power of fluid framework really comes when you're able to focus on your application experiences and just use this fluid data as if it were local data for the most part um and then rely on fluid to take care of keeping all of your data in sync um so that you know you don't have to worry about saving data or any sort of network operations with fluid framework 1.0 we were able to build a number of powerful collaborative experiences at Microsoft including Microsoft Loop and Microsoft whiteboard and we've partnered with companies like Autodesk and hexagon to build collaborative experiences there as well with fluid framework 2.0 we've introduced a new hierarchical data structure called shared tree which is designed to make it much easier to model complex data and comes with a much more intuitive programming model that feels much more like building an object model using typescript so let's take a look at the Shared Tree in action so what you see here is a demo app that cash and I built um it's a react app built using the fluid framework 2.o beta and this application allows you to add sticky notes to a canvas and then you can write ideas on these sticky notes you can vote on those ideas and you can group them when you're creating um an application using the share tree the first thing you need to think about is your schema and so if you think back to the uh application I just showed the primary object we're working with is one of those sticky notes and so let's take a look at the schema for the sticky note so the way that this works is we have a class which we've called note um and it has a set of properties it has an ID which takes a string a text which is a string Etc let's take a quick look at how we would use one of these objects in a react app so what you see here is the top level react component for building one of those sticky notes and you can see that the first um property we're passing in to that component is simply a note object and for the remainder of all the code we treat that object like we would treat any other object which means you know in order to update the data all we need to do is change a property so for example we change the text and that updates the text in all of the clients um or we call the vote method which changes the vote um in all of the clients so because share tree is so powerful and flexible developers can just bring their data model to fluid and use share tree as the the foundation of their data um and all they need to do is hook hook up their UI to uh share tree um and monitor updates and update the UI uh it's uh it's really uh pretty uh straightforward yeah that was really the goal with chare tree was to um really sort of shorten the distance between the fluid data model um and your programming model so that you don't need to think about building any sort of of Plumbing um between the fluid data and your data you really just get to use fluid data like it were were local typescript objects so let's talk about the relay options today fluid offers two relay options the Azure fluid relay which is an Azure hosted service and comes with all of the promises of an Azure service including scale and security it is available in production today and is serving millions of sessions per day with fluid framework 20 we're also launching a new Option called SharePoint embedded service this service allows you to keep your collaborative data within the M365 uh boundaries of your tenant and again it comes with all of the promises of an M365 based service including data residency compliance iance and security and so when would I choose one over the other it really depends on your product needs uh if you're developing your application on uh an M365 uh uh base tenant you would choose SharePoint embedded and what if I want to do both well fluid does allow quick switching between these two services so your code will be very very similar um when building for Azure fluid relay or M365 and you can very easily with a few lines of code switch from one service to the other so to wrap up what we really want you to take away is that fluid framework is an amazing platform for building collaborative applications and fluid framework 2.0 makes building those applications more intuitive than ever before and allows you to build data models that just better reflect the types of data models you would build using typescript objects maps and arrays visit aka.ms fluid to learn more about fluid framework 2.0 it's available in beta starting today um and will be generally available later this summer we can't wait for you to try this release out and provide feedback join us as we bring the future of collab to life

Original Description

We are excited to announce that Fluid Framework 2.0 is now available in Beta! This release includes SharedTree, our new, powerful Distributed Data Structure (DDS), as well as support for using the newly announced SharePoint Embedded to store your collaborative data! ⭐To learn more about how to use Fluid Framework 2.0 beta, visit aka.ms/fluid! ⭐ Don't forget to check out the blog: https://devblogs.microsoft.com/microsoft365dev/announcing-fluid-framework-2-0-beta ✅SUBSCRIBE TO OUR CHANNEL: www.youtube.com/Microsoft365Developer?sub_confirmation=1
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft 365 Developer · Microsoft 365 Developer · 0 of 60

← Previous Next →
1 Adaptive Cards community call-February 2019
Adaptive Cards community call-February 2019
Microsoft 365 Developer
2 PowerApps community call-February 2019
PowerApps community call-February 2019
Microsoft 365 Developer
3 Microsoft Graph community call-March 2019
Microsoft Graph community call-March 2019
Microsoft 365 Developer
4 Office Add ins community call-March 2019
Office Add ins community call-March 2019
Microsoft 365 Developer
5 PowerApps community call-March 2019
PowerApps community call-March 2019
Microsoft 365 Developer
6 Microsoft Teams community call-March 2019
Microsoft Teams community call-March 2019
Microsoft 365 Developer
7 Using React and Office UI Fabric React Components
Using React and Office UI Fabric React Components
Microsoft 365 Developer
8 Build Microsoft Teams customization using SharePoint Framework
Build Microsoft Teams customization using SharePoint Framework
Microsoft 365 Developer
9 Microsoft Graph community call-April 2019
Microsoft Graph community call-April 2019
Microsoft 365 Developer
10 Using Change Notifications and Track Changes with Microsoft Graph
Using Change Notifications and Track Changes with Microsoft Graph
Microsoft 365 Developer
11 Office Add Ins community call-April 2019
Office Add Ins community call-April 2019
Microsoft 365 Developer
12 Adaptive Cards community call-April 2019
Adaptive Cards community call-April 2019
Microsoft 365 Developer
13 Microsoft Teams community call-April 2019
Microsoft Teams community call-April 2019
Microsoft 365 Developer
14 Getting Started with Microsoft Graph and Application Registration
Getting Started with Microsoft Graph and Application Registration
Microsoft 365 Developer
15 Getting Started with Microsoft Graph and the Directory API
Getting Started with Microsoft Graph and the Directory API
Microsoft 365 Developer
16 Getting Started with Microsoft Graph and Microsoft Teams
Getting Started with Microsoft Graph and Microsoft Teams
Microsoft 365 Developer
17 Getting Started with Microsoft Graph Explorer
Getting Started with Microsoft Graph Explorer
Microsoft 365 Developer
18 Getting Started with Microsoft Graph
Getting Started with Microsoft Graph
Microsoft 365 Developer
19 Getting Started with Microsoft Graph and Mail API
Getting Started with Microsoft Graph and Mail API
Microsoft 365 Developer
20 Getting Started with Microsoft Graph and Office 365 Groups
Getting Started with Microsoft Graph and Office 365 Groups
Microsoft 365 Developer
21 Getting Started with Microsoft Graph and the Calendar API
Getting Started with Microsoft Graph and the Calendar API
Microsoft 365 Developer
22 Getting Started with the Microsoft Graph Toolkit
Getting Started with the Microsoft Graph Toolkit
Microsoft 365 Developer
23 Getting Started with Microsoft Graph and JavaScript SDKs
Getting Started with Microsoft Graph and JavaScript SDKs
Microsoft 365 Developer
24 Getting Started with Microsoft Graph and .NET SDKs
Getting Started with Microsoft Graph and .NET SDKs
Microsoft 365 Developer
25 Discover how businesses can be more productive with Microsoft 365 integrations
Discover how businesses can be more productive with Microsoft 365 integrations
Microsoft 365 Developer
26 Adaptive Cards community call-May 2019
Adaptive Cards community call-May 2019
Microsoft 365 Developer
27 Office Add-ins community call-May 2019
Office Add-ins community call-May 2019
Microsoft 365 Developer
28 Why We Built on Microsoft Teams
Why We Built on Microsoft Teams
Microsoft 365 Developer
29 Microsoft Teams community call-May 2019
Microsoft Teams community call-May 2019
Microsoft 365 Developer
30 Microsoft Graph community call-June 2019
Microsoft Graph community call-June 2019
Microsoft 365 Developer
31 Build Angular SPA's with Microsoft Graph - June 2019
Build Angular SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
32 Office Add -ins community call-June 2019
Office Add -ins community call-June 2019
Microsoft 365 Developer
33 Build Android native apps with the Microsoft Graph Android SDK - June 2019
Build Android native apps with the Microsoft Graph Android SDK - June 2019
Microsoft 365 Developer
34 Build MVC apps with Microsoft Graph - June 2019
Build MVC apps with Microsoft Graph - June 2019
Microsoft 365 Developer
35 Authenticate and connect with Microsoft Graph - June 2019
Authenticate and connect with Microsoft Graph - June 2019
Microsoft 365 Developer
36 Microsoft Graph data connect - June 2019
Microsoft Graph data connect - June 2019
Microsoft 365 Developer
37 Change notifications with Microsoft Graph - June 2019
Change notifications with Microsoft Graph - June 2019
Microsoft 365 Developer
38 Build iOS native apps with the Microsoft Graph REST API - June 2019
Build iOS native apps with the Microsoft Graph REST API - June 2019
Microsoft 365 Developer
39 Build Node.js Express apps with Microsoft Graph - June 2019
Build Node.js Express apps with Microsoft Graph - June 2019
Microsoft 365 Developer
40 Smart UI with Microsoft Graph - June 2019
Smart UI with Microsoft Graph - June 2019
Microsoft 365 Developer
41 Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Microsoft 365 Developer
42 Build UWP apps with Microsoft Graph - June 2019
Build UWP apps with Microsoft Graph - June 2019
Microsoft 365 Developer
43 Build React SPA's with Microsoft Graph - June 2019
Build React SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
44 Getting Started with Microsoft Graph and Batching
Getting Started with Microsoft Graph and Batching
Microsoft 365 Developer
45 Getting Started with Microsoft Graph and Change Notifications
Getting Started with Microsoft Graph and Change Notifications
Microsoft 365 Developer
46 Getting Started with Microsoft Graph and Consent Permissions
Getting Started with Microsoft Graph and Consent Permissions
Microsoft 365 Developer
47 Getting Started with Microsoft Graph and Education
Getting Started with Microsoft Graph and Education
Microsoft 365 Developer
48 Getting Started with Microsoft Graph and Financials
Getting Started with Microsoft Graph and Financials
Microsoft 365 Developer
49 Getting Started with Microsoft Graph and Excel
Getting Started with Microsoft Graph and Excel
Microsoft 365 Developer
50 Getting Started with Microsoft Graph and Data Connect
Getting Started with Microsoft Graph and Data Connect
Microsoft 365 Developer
51 Getting Started with Microsoft Graph and Intune
Getting Started with Microsoft Graph and Intune
Microsoft 365 Developer
52 Getting Started with Microsoft Graph and Notifications
Getting Started with Microsoft Graph and Notifications
Microsoft 365 Developer
53 Getting Started with Microsoft Graph and OneNote
Getting Started with Microsoft Graph and OneNote
Microsoft 365 Developer
54 Getting Started with Microsoft Graph and OneDrive
Getting Started with Microsoft Graph and OneDrive
Microsoft 365 Developer
55 Getting Started with Microsoft Graph and Open Extensions
Getting Started with Microsoft Graph and Open Extensions
Microsoft 365 Developer
56 Getting Started with Microsoft Graph and Paging
Getting Started with Microsoft Graph and Paging
Microsoft 365 Developer
57 Getting Started with Microsoft Graph and Schema Extensions
Getting Started with Microsoft Graph and Schema Extensions
Microsoft 365 Developer
58 Getting Started with Microsoft Graph and Security API
Getting Started with Microsoft Graph and Security API
Microsoft 365 Developer
59 Getting Started with Microsoft Graph and Query Parameters
Getting Started with Microsoft Graph and Query Parameters
Microsoft 365 Developer
60 Getting Started with Microsoft Graph and Reporting API
Getting Started with Microsoft Graph and Reporting API
Microsoft 365 Developer

The Fluid Framework 2.0 Beta is a platform for building collaborative applications, featuring a new hierarchical data structure called SharedTree and support for SharePoint Embedded. It allows developers to build collaborative apps quickly and intuitively.

Key Takeaways
  1. Create a schema for your collaborative data
  2. Use SharedTree to model complex data
  3. Build a React app using the Fluid Framework 2.0 Beta
  4. Integrate with Azure Fluid Relay or SharePoint Embedded
💡 The Fluid Framework 2.0 Beta makes building collaborative applications more intuitive than ever before, allowing developers to focus on their application experiences and rely on Fluid to handle data synchronization.

Related Reads

📰
Is the AI bubble about to burst? A data scientist’s honest take
A data scientist shares their honest take on whether the AI bubble is about to burst, providing an informed perspective on the technology's potential and limitations
Medium · AI
📰
Is the AI bubble about to burst? A data scientist’s honest take
A data scientist shares their honest take on whether the AI bubble is about to burst, providing a grounded perspective on the technology
Medium · Machine Learning
📰
Is the AI bubble about to burst? A data scientist’s honest take
A data scientist shares their honest take on whether the AI bubble is about to burst, providing a grounded perspective on the technology
Medium · Data Science
📰
Is the AI bubble about to burst? A data scientist’s honest take
A data scientist shares their honest take on whether the AI bubble is about to burst, providing a grounded perspective on the technology
Medium · Startup
Up next
Tackling Malaria in Africa with Technology at the Huawei ICT Competition
Huawei
Watch →