Coder Social home page Coder Social logo

wootzjs's Introduction

WootzJs is a C# to Javascript cross-compiler. You write your code in C#, and the result is Javascript that can be run in any browser (or other host). It's built on top of Microsoft Roslyn, which handles the complex process of converting your C# code into syntax trees with symbol information.

The design is focused on facilitating single-page applications. While it is possible to build standard web sites where each URL resolves to a different page, you will be fighting WootzJs in order to achieve this. The goal is to produce a single .js file for the entire site (or at least for every "sub site"). To a large extent, it is far simpler to bind HTML elements to your C# code than vice-versa. That being said, any metaphor is workable.

WootzJs also includes a web framework, WootzJs.Mvc for creating single-page applications. It leverages the HTML 5 history API to create an MVC framework with routing, controllers, models, and views. The views are generated programmatically via C#, in a style similar to Google Web Toolkit. The MVC portion looks substantively similar to what you'd expect coming from ASP.NET/MVC.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.