Use-case of JavaScript in Microsoft

Use-case of JavaScript in Microsoft

JAVASCRIPT

No alt text provided for this image

JavaScript is often abbreviated as JS, is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

JavaScript is a simple and easy-to-learn programming language as compared to other languages such as C++, Ruby, and Python. It is a high-level, interpreted language that can easily be embedded with languages like HTML. It is used in both Back End and Front End Development. JavaScript is used across the web development stack.

MICROSOFT

No alt text provided for this image

Microsoft Corporation is an American multinational technology company which produces computer software, consumer electronics, personal computers, and related services. Its best known software products are the Microsoft Windows line of operating systems, the Microsoft Office suite, and the Internet Explorer and Edge web browsers.

NODE-JS

No alt text provided for this image

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

  • Node.js can generate dynamic page content.
  • Node.js can create, open, read, write, delete, and close files on the server.
  • Node.js can collect form data.
  • Node.js can add, delete, modify data in your database.

HOW MICROSOFT COMPANY USES JAVASCRIPT

We are probably not going to find JavaScript powering Windows anytime soon, but Microsoft relies on JavaScript for a whole lot else.

First off, Microsoft needs to work closely with JavaScript to built its Edge web browser. All browsers need to process and execute JavaScript efficiently, so Microsoft has developed and maintains its own JavaScript engine for Edge. Actually, there has been talk of them creating an alternate version of NodeJS with the Edge engine.

Recently, Microsoft has really embraced NodeJS. They thoroughly support Node on the Azure cloud platform. Its one of Azure’s major features, and they’ve integrated Visual Studio support for Node. Microsoft has also developed a version of Node for Internet OThings(IoT) applications. NodeJS is great of IoT because it’s light weight and efficient.

At Microsoft, they are investing heavily in Node.js and JavaScript, which are first-class citizens on Azure and across many other products. John Papa, one of Microsoft’s JavaScript experts and a major open source contributor to the language. He gave us the scoop on JavaScript’s popularity, why npm is essential to the Node.js ecosystem, and what led him to fall in love with JavaScript (all over again) in 2011.

In the late 90s and early 00s, when JavaScript was a complete wild west. The browsers were different, the object models were different, and it was a real pain to get things done. They were the days before jQuery. Switching over to different types of programming – things like Silverlight and ASP.NET for a while. But then, when the web started to converge, around 2011, and HTML5 started to get a lot of play and the browsers got much more in sync, they were suddenly seeing more frequent updates to JavaScript.

Areas where you can use JavaScript in Dynamics 365 Customer Engagement (on-premises)

Form scripts

No alt text provided for this image

The most common use of JavaScript in Dynamics 365 Customer Engagement (on-premises) is to add functions as event handlers for entity form events. For more information, see Client scripting in Customer Engagement using JavaScript.


Command bar (ribbon) commands

No alt text provided for this image

When you customize the Dynamics 365 Customer Engagement (on-premises) command bar, you can configure commands for controls that you add. These commands contain rules that control whether the control is enabled and what action is performed when the control is used. For more information, see Customize commands and the ribbon.

Web resources

No alt text provided for this image

Dynamics 365 Customer Engagement (on-premises) provides an organization-owned entity that stores a binary representation of a file that can be accessed by using a URL. This file is called a web resource. There are several types of web resources. A web resource that represents a JavaScript library is called a JavaScript web resource. You can use a webpage (HTML) web resource to provide a user interface with JavaScript libraries included just as you would for files on a web server. Because these files are part of Dynamics 365 Customer Engagement (on-premises), users who access them are already authenticated. Therefore, you can use Dynamics 365 Customer Engagement (on-premises) web services without having to write code to authenticate the user. For more information, see Web Resources for Dynamics 365 Customer Engagement and Work with Dynamics 365 Customer Engagement data using web resources.

JavaScript docs for Microsoft in 2021

2021 January

No alt text provided for this image

2021 February

No alt text provided for this image

2021 March

No alt text provided for this image

2021 April

No alt text provided for this image

2021 May

No alt text provided for this image

2021 June

No alt text provided for this image

Serverless functions, like what Azure Functions provides, are also really interesting and emerging around Node.js. The idea is that you can replace a Node.js API with serverless functions, in some places. A lot of front-end developers, in Vue, JavaScript, Angular, React, don’t actually use Node. They hope somebody else will build the server. For those people, serverless functions are amazing because they’re don’t have to learn the backend – they think: give me a function and I’m good.







要查看或添加评论,请登录

社区洞察

其他会员也浏览了