Tuesday, May 28, 2013

jitjot.net alpha release

jitjot.net is an online platform where you can read, write, run, and share .NET code directly in your browser.  Unlike many online editors, the goal of jitjot is multifaceted; instead of attempting to focus on the task of emulating all of a desktop IDE's features, our goal is to provide a tool that will supplement your development process, not replace it!  The feature set of jitjot at it's current stage is, although functional, minimal, and is only a limited subset of the potential we envision for the site.

At the basic level, jitjot is a code scratchpad.  You can insert your own code on the site, run it, and see the results in your browser; probably not the first time you've seen a site that can do this.

jitjot will inspect your code when built, and generate a list of methods and their corresponding parameters for you to pass arguments to, if any.  You can then run your code, and the output is shown on two panels - one for showing console output and one for displaying data returned by the method being called.  Simple enough.
passing arguments to code


Arguments passed to and returned from your code are in JSON format.  Simple types such as integers and strings are passed around verbatim as you type them or as they are returned from your code; types such as classes with properties are translated to and from JSON format.  This means if one of your parameters is an array of some type - lets say an int[] - then the argument you pass in would be a JSON array containing a set of integers.  It also means that if your code returns a value, that data in that return value will be translated to its JSON equivalent then served to you.

output
Your code has access to basic resources including writing to the console and networking.  This means you can write code that acts as a proxy between you and an endpoint.  Combined with the JSON format that data is returned as, you can write code that aggregates data from multiple points, create
API mashups, etc.  You can also write to the console in case data returned from your method is not enough.


HTTP GET of reddit.com + writing HTML to console
You can also upload custom references and use them in your code.  If there is a library that you want to test out or need to use in your code, no problem!  Just upload it in the reference editor and it will be included when you compile and run your code.


After saving code, you can call methods directly via an HTTP GET request on that code, passing in arguments as URL parameters, and use that output wherever you have access to the service.  For example, we could write a snippet of code that retrieves an XML document, parses it, and returns a subset of the data.

This is a basic overview of the sites features that are currently implemented.  Since it is in such an early stage of development, feedback is key!  If you find any issues, security related or otherwise, or just want to leave an opinion on what YOU think would be interesting to see, don't hesitate to contact us; we are eager to receive your feedback.  The site is not perfect and there will be bugs - otherwise known as features in hindsight - 

Our short-term goals for jitjot include:

* F# support
* Adding references to other jitjot projects
* An output window that can be easily embedded in other websites.

If you have any questions on the syntax for passing arguments to code, visit: http://jitjot.net/help
You must be registered on the site to save or clone code.
Mobile devices are not supported at this time.

Oh, any by the way, https://jitjot.net

2 comments:

  1. Would love to see this open source'd!

    ReplyDelete
  2. Great Tool! I use it everyday even though it's just an alpha release! I will be sharing this with others! Thanks!!

    ReplyDelete