News

SharePoint Framework To Hook In Developers

Web Parts support is a highlight of this for-testing-only developer preview, and Visual Studio tooling and "modern page editing experiences" are also in the works.

Microsoft this week made SharePoint Framework available for testing, with Web Parts support as a highlight, and plans down the road to provide "modern page editing experiences, enabling seamless access to data in other O365 workloads through the Microsoft Graph, streamlining the tools, and moving toward general availability," Microsoft's explained, in an announcement. Visual Studio developers aren't left out, as the company also announced upcoming tooling in its plans.

The new SharePoint Framework isn't replacing the existing SharePoint add-ins model for client-side SharePoint development. The two approaches will be brought closer together, Microsoft's announcement emphasized. "Over time, as we bring the add-in model to our latest auth platforms and integrate it with our modern user experience investments, we'll bring the add-in model and the SharePoint Framework closer together."

The SharePoint Framework got the spotlight at Microsoft's general availability release of SharePoint Server 2016 back in May. At that time, Microsoft promised that the coming framework would ease client-side SharePoint development, with access to open source tooling. It's also designed to have development hooks into the Microsoft Graph, which is the underlying fabric behind Office 365 services.

At the time, Bill Baer, a senior technical product manager for SharePoint at Microsoft, had characterized the SharePoint Framework as being an additional resource for client-side SharePoint development. Baer said that the framework was "embracing not only open source patterns and practices, such as JavaScript, Web templates and frameworks; it's also enabling you to use the tools that you've already been using, turning those into first-class citizens, so Yeoman, Gulp, Node.js and many of the tools that are associated with modern Web development," according to an interview with RCPmag.com's Scott Bekker.

The developer preview of the SharePoint Framework is "still a fairly early preview and is rough around the edges," according to Mike Ammerlaan, a SharePoint product manager at Microsoft, in an Office 365 developer podcast published today. Ammerlaan is a 17-year Microsoft veteran who started on the SharePoint team in 2003.

Microsoft is aiming to make the SharePoint Framework support modern Web development techniques and be more responsive, Ammerlaan said. While in the past, there was an emphasis on server-side rendering with Web development, today it's shifted to keep the server side more lightweight, he explained. Another "huge" factor for Web developers today is the tapping of cloud-computing resources, he added.

When it comes to Web development for SharePoint, Microsoft's intention is that developers won't require SharePoint-specific knowledge, he explained. For instance, Ammerlaan said that Microsoft wants to make it easier for developers to bring any framework they want into SharePoint, which is one reason the team has leaned toward supporting the open source JavaScript React framework in SharePoint Framework. The Angular JS open source JavaScript-based framework also is supported.

The developer preview currently has the following support capabilities, according to Ammerlaan:

  • Yeoman tools support for standard starter templates
  • Gulp run-time build support
  • SharePoint Workbench support (a "miniature" version SharePoint that can be run on a local machine for dev-test purposes)
  • New APIs for REST endpoints when building a Web Part

Visual Studio tooling is still to come. Right now, Microsoft is focusing on the lightweight dev tools, Ammerlaan said.

He also reiterated the idea that the SharePoint Framework will be complementary to the add-in development model.

"One thing I do want to clarify is that the SharePoint Framework is really designed to support building these rich client applications," Ammerlaan said. "I certainly wouldn't consider it the new model of SharePoint development."

The SharePoint add-in model might be used for iframes to add presentation layers. On the other hand, sometimes developers need full access to a SharePoint site. In that case, the SharePoint Framework works well for developers, Ammerlaan explained.

About the Author

Kurt Mackie is senior news producer for 1105 Media's Converge360 group.

comments powered by Disqus

Featured

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

Subscribe on YouTube