- 授权协议: Apache
- 开发语言: C# JavaScript
- 操作系统: 跨平台
- 软件首页: http://bridge.net/
- 软件文档: http://bridge.net/kb/
- 官方下载: http://bridge.net/download/
软件介绍
Bridge.NET 通过将 C# 转换成 JavaScript 来构建跨平台的移动应用、Web应用和桌面应用。
通过 Visual Studio 插件,它为开发者提供了项目模版和编译器。
它提供了对很多流行的 JavaScript 框架的支持,如 jQuery,Bootstrap,PhoneGap,AngularJS ……。只需在项目中安装对应的 NuGet Package,就可以引用相关的 JavaScript API。
C#:
// Full JavaScript API
Document.GetElementById("demo")
.InnerHTML = "Hello";
// Call Alert()
Window.Alert("Bridge.NET");
// C# Classes
var person = new Demo.App.Person();
// Set C# Property
person.Name = "Frank";
// Generic Lists
var people = new List<Person>();
people.Add(person);
// Write to the Console
Console.WriteLine(people[0].Name); // FrankJavaScript:
// Converted to correct JavaScript syntax
document.getElementById("demo")
.innerHTML = "Hello";
// Call alert()
window.alert("Bridge.NET");
// JavaScript Classes
var person = new Demo.App.Person();
// Converted to proper 'set' and 'get' functions
person.setName("Frank");
// Equivalent List in pure JavaScript
var people = new Bridge.List(Demo.App.Person)();
people.add(person);
// Properly converted to console.log
console.log(people.get(0).getName()); // FrankOrdering Disorder
Khoi Vinh / New Riders Press / 2010-12-03 / USD 29.99
The grid has long been an invaluable tool for creating order out of chaos for designers of all kinds—from city planners to architects to typesetters and graphic artists. In recent years, web designers......一起来看看 《Ordering Disorder》 这本书的介绍吧!
