I really love Ext but coding in javascript just gives me the chills. So I went out and found a way to use my favorite js library (Ext) and my favorite programming language (C#) at the same time. By using a project called Script# I am able to write C# code and have it converted into javascript, similar to GWT. Building on that, Script# also allows you to code against external APIs, but you need to create the types, methods, properties, etc. for everything in the javascript library. So what I did was write a little console app that parses all of the ExtJS source files extracting out the script comments and writing C# files for each class. The end result is a programmable C# API to access all of the Ext objects and I threw in a couple new things to make life a little easier.

This forum post has somewhat of a history of how this project began: http://extjs.com/forum/showthread.php?t=12901

UPDATE 4/22/08

We have changed Ext# to now parse the newly released ExtJS 2.1 and we've begun recreating some of the samples using Ext#. The following Samples have been completed:

  • Grids
    • Basic Array Grid
    • Editable Grid
    • XML Grid
    • Paging Grid
    • Grouping Grid
  • Toolbars and Menus
    • Basic Toolbar
    • Ext Actions
  • Miscellaneous
    • Data View (partial)
    • Progress Bar
    • Templates
    • Panels
    • Resizable
A big thanks to consultutah for all of his help creating these samples. As well as to all of the Ext community for their help and suggestions.

 

Intellisense

extsharp Write ExtJS code in C#

Method Signatures with param info

extsharp Write ExtJS code in C#

Method Overloads for varying params

extsharp Write ExtJS code in C#

Compile-time error checking

extsharp Write ExtJS code in C#

Events list with usage info

extsharp Write ExtJS code in C#

Delegates for all events

extsharp Write ExtJS code in C#

Intellisense for config options

extsharp Write ExtJS code in C#


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2021-10-08
  • 2022-12-23
  • 2021-12-03
  • 2021-11-06
  • 2021-08-14
猜你喜欢
  • 2021-11-14
  • 2022-12-23
  • 2022-02-24
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案