Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Applications
    • Applications
    • Development

    Microsoft Brings JavaScript Developers to Office 365 With CORS Support

    Written by

    Pedro Hernandez
    Published March 10, 2015
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Just as Microsoft’s is narrowing the gap between the native and browser-based versions of its productivity software with Office Online, the company is laying the groundwork for full-featured and responsive third-party Web apps that hook into Office 365.

      “The OneDrive for Business and Sites APIs now have cross-origin resource sharing (CORS) support and Mail/Calendar/Contacts are coming soon,” said Jeremy Thake, product marketing manager for Microsoft Office 365, in a March 6 announcement. As the term suggests, CORS enables Web developers to securely request resources from another domain.

      In this implementation, coders can streamline the development of apps that hook into Microsoft’s cloud services. Meanwhile, users are treated to snappier, more responsive Web apps, he said.

      “Developers now have the choice to call the Office 365 APIs [application programming interfaces] from the server-side or client-side,” Thake said. “This means developers can write single-page applications, which have a better user experience and better performance, because they don’t have to proxy all their calls through a server-side façade service.”

      To help developers get the ball rolling, Microsoft has published new documentation detailing the particulars of getting JavaScript single-page apps to work under the new system. For a taste of what’s possible with CORS, the company also released sample code.

      “The ‘Expense Manager’ scenario was originally written with an ASP.NET Web API server-side component to call the Office 365 APIs,” Thake said. “Now, with the Active Directory Authentication Library JavaScript (ADAL.JS) libraries, the sample has been refactored to be purely client-side.”

      ADAL.JS, broadly available since Feb. 19, set the stage for CORS support in Office 365 APIs. “The ADAL.JS library makes it significantly easier to handle authentication in your Web applications in JavaScript. This makes the code much cleaner and handles the authentication for you,” added Thake. “Most business applications will have a server-side API component for user authentication into the Web application itself for security reasons.”

      And there will be no shortage of resources as the company drums up cross-platform support for its cloud-enabled productivity suite.

      “In addition, there is also a series of hands-on labs for building apps for Office in Outlook, Word and Excel with the Brackets IDE [integrated development environment] and a Web browser,” said Thake. “This illustrates the desire for the Office 365 platform to be open for developers on all platforms.”

      More integrations are in the works. “As more Office 365 API endpoints come online for services, they will also support this including Office Graph, Yammer, Video Portal, Skype and content services,” Thake said.

      CORS support in Office 365 isn’t the only way Microsoft is making waves in regards to JavaScript. The company announced that it is joining its fierce rival Google to work on Angular 2, a new version of the latter’s JavaScript framework. As part of the collaboration, the companies are unifying their separate JavaScript technologies with the aim of simplifying Web development.

      Pedro Hernandez
      Pedro Hernandez
      Pedro Hernandez is a writer for eWEEK and the IT Business Edge Network, the network for technology professionals. Previously, he served as a managing editor for the Internet.com network of IT-related websites and as the Green IT curator for GigaOM Pro.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×