Start a new topic
Answered

OMG - Im in love with WHOEVER developed DuoCode

In GWT... it took me weeks to to propery write JSNI code to to invoke the javascript webix.ui functions... with all is annoymous javascript object options to create a ui.


I had to physically write java wrapper code for every combination of ui configurations....


in DuoCode (Once i figured out the [Js] attribute) TOOK ME ONE MINUTE TO WRITE THIS INTERFACE:


[Js(Name = "webix", Extern = true)]

 public static class Webix

 {

        [Js(Name = "ui")]

 public static extern void Ui(object config);


        [Js(Name = "message")]

        public static extern void Message(string message);

 }



Now.. In done net i can create a ui with simply:


Webix.Ui(new { view = "template", type = "header", template = "My App"} );


DO YOU HAVE ANY IDEAL WHAT THAT MEANS FOR ME.


I love you guys ... No Homo ;-)


Just ... Please... Please give me some Documentation or any real info on totally

using the the DuoCode.Runtime stuff... PLEASE!!! 


Best Answer

Hey! :)


Seriously, thanks! This means a lot to us, knowing that we're on a right track on bridging the gap between C# and JavaScript interop!


As I already mentioned in other posts, documentation is definitely one of our top priorities, we're working on make that happen!

1 Comment

Answer

Hey! :)


Seriously, thanks! This means a lot to us, knowing that we're on a right track on bridging the gap between C# and JavaScript interop!


As I already mentioned in other posts, documentation is definitely one of our top priorities, we're working on make that happen!

Login or Signup to post a comment