Microsoft Techdays 2015 - Etat de lieux JavaScript

/* By Dylan SUN*/

This is a great introduction session about mostly used JavaScript libraries in the market.

Each library is presented in three parts:
- History
- Usage
- Demo

Firstly, it’s the leading library jQuery which makes javascript modern and easy-to-use. This library has changed a lot of people’s view about JavaScript.

It was created by John Resig on Janurary 2006. It has improved developer’s productivity a lot and it supports multiple browsers.

You can access the DOM elements with $ and specify the behavior to selected element(s).

Here are some examples:

$("div#idName").text("helloworld");
$("div.className").text("helloworld");
$("a").click(function(){ alert("hello world");});

这里写图片描述

When you need to install different javascript or css libraries, you could use Bower to download and install them. Bower is a package manager for client side packages. Just like Nuget for server side packages in visual studio.

BootStrap is a javascript and css library created by Twitter on 2011. It’s a mobile-first library because twitter is oriented to mobile phones. It can adapt your websites to all kinds of different screens like PC screen and mobile screen.

这里写图片描述

A screen is divided by 12 columns and you can design the web pages using columns.

这里写图片描述

Knockout is a MVVM framework created by Steve Sanderson at Microsoft on 2010. It’s using binding on declarative DOM. It can work with any web framework.
I’ve completed a simple introduction on this site. And it’s quite impressive. You have JavaScript intellisense if you use visual studio.

http://learn.knockoutjs.com/#/?tutorial=intro

这里写图片描述

AngularJS is a JavaScript library created by Google on 2009. It’s a MVC framework to create Single Page Applications (SPA).
It supports two-way data binding, templates. You can use MVC, Ioc patterns. You can even create unit tests and integration tests.

这里写图片描述

TypeScript is a programming language created by Microsoft on 2012. It can be transformed and compiled in JavaScript. And the generated JavaScript code supports multiple browsers. It can use interfaces and generics.

Grunt can compile TypeScript to JavaScript.

这里写图片描述

Cordova is create by Apache on 2011.
Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.
You can develop an application for multiple platform as Windows phone, IOS and Android without using CSharp, Objective-C, or Java.

The resume ends here. And you could choose appropriate technologies to build your web or mobile application.

这里写图片描述

I hope you find this article helps!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值