Extsharp write extjs code in C #

Source: Internet
Author: User

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.

 

Intelliisense

Method signatures with Param info

Method overloads for varying Params

Compile-time error checking

Events list with usage info

Delegates for all events

Intelliisense for config options

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.