- 授权协议: MIT
- 开发语言: C# JavaScript
- 操作系统: Windows
- 软件首页: http://code.google.com/p/jquerysharp/
软件介绍
jQuerySharp 是一个用 C# 来编写 jQuery 代码的C#类库,下面是生成的 jQuery 代码示例:
Type.createNamespace('JQuerySharp');
////////////////////////////////////////////////////////////////////////////////
// JQuerySharp.Example
JQuerySharp.Example = function JQuerySharp_Example() {
}
JQuerySharp.Example.prototype = {
run: function JQuerySharp_Example$run() {
var jq = jQuery('#test');
jq.append('Some new content').append('A bit more');
jq.attr('style', 'border:1px');
if (jQuery.browser.msie) {
alert('You\'re using IE');
}
jQuery('#clickme').click(Delegate.create(this, this.onClick));
jQuery().ready(Delegate.create(this, this.onReady));
},
onClick: function JQuerySharp_Example$onClick() {
jQuery('#newcontent').html('<h1>new stuff here</h1>');
var test = jQuery('#cloneme').clone();
var jq = jQuery('#newcontent');
jq.attr('style', 'color:red').append('<p>This comes from attr</p>');
jq.append(test);
},
onReady: function JQuerySharp_Example$onReady() {
alert('Called from ready');
var plugin = jQuery('#test');
plugin.accordion();
}
}
JQuerySharp.Example.createClass('JQuerySharp.Example');
C语言接口与实现
David R. Hanson / 郭旭 / 人民邮电出版社 / 2011-9 / 75.00元
《C语言接口与实现:创建可重用软件的技术》概念清晰、实例详尽,是一本有关设计、实现和有效使用C语言库函数,掌握创建可重用C语言软件模块技术的参考指南。书中提供了大量实例,重在阐述如何用一种与语言无关的方法将接口设计实现独立出来,从而用一种基于接口的设计途径创建可重用的API。 《C语言接口与实现:创建可重用软件的技术》是所有C语言程序员不可多得的好书,也是所有希望掌握可重用软件模块技术的人员......一起来看看 《C语言接口与实现》 这本书的介绍吧!
