Vlad Kopachinsky

Vlad Kopachinsky

  • NA
  • 581
  • 26.3k

coding by writing C# instead of JavaScript ?

May 7 2013 10:48 AM

What do you think about to improve your web applications coding by writing C# instead of JavaScript? Interesting in your opinion.

We have tired of ton JS code in our applications, when errors could occurred in runtime (and specific browsers only).
So we decide to write something which allow to build rich client-side (single page as well) web applications on C# using our Incoding Meta Language.
It's simple - you define the tag behaviour on C# and then it parsed using our JS engine. Any js library could be plugged in, like we did for the Jquery UI (dialog, slider), Google Maps (show map, add/remove marker), BlockUI...

Even more, some our new developers even don't know the Javascript at all now :)

No trial, no donate. Just Open Source. We would like if someone would say "that's cool, i will try!" and give any feedback (critics are welcome).

I know some questions would be like "we need to learn this before start using, why do we need that if we already known js?".
- I would answer by asking another thing:
"What if your teammate (or another developer) leave some code for you and you need to understand what the hell this js construction is and first of all, where to find that event handler?"

With this approach, you just find the element on page and see what the behavior defined in C# well typed code.

You may kick me for the spam, but I just want to discuss:
1) If this type of approach could be alive or not?
2) What are your suggestions? Do you use something else to exclude such problems like we have had to write this?

P.S. We have all current projects using this. And there are server-side features as well.