Javascript programmer for GPL project
Project ID: 1329894687
Contest Details
  • Status:
    Closed (Chosen Programmer: igrkio; Paid)
  • Posted:
    2/22/2012 at 2:11 EST
  • Closed:
    2/29/2012 at 3:37 EST
  • Project Creator:
  • Contest Prize:
    $200
  • Description:
    We are currently looking for a javascript programmer to create and manage an open source project (GPL) that would allow to visualize the values contained in a JSON in a very flexible way. The JSON could contain simple values, array, 2D array and from a user configurable interface we should be able to add some modules to display and interact with the various information present in the JSON.

    The programmer will have to master Javascript and JQuery. Javascript objects, prototype, function callee, apply, call should have no secret for you ! You should not loose your time otherwise.

    In order to find this programmer we have setup a small contest here in which only javascript library that may (not necessary) be used is “JQuery” (http://jquery.com).


    Description of the contest ($200 price)

    -- First objective --

    Based on the following JSON create an interactive table:

    var results={
    matrix: [[1,2],[3,4]],
    xLabel: ["First column","Second column"],
    yLabel: ["First row","Second row"],
    title: "This is the title of my tiny table"
    }

    The table should appear like
    First column Second column
    First row 1 2
    Second row 3 4

    The table should be interactive and the mouse over of the cell should show in a DIV the following information:

    * column number
    * row number
    * column name
    * row name

    -- Second objective --

    Generate a JSON when we click on a button based on the previously described format:
    matrix of 100×100 random values between 0 and 1
    xLabel: “column” + the column number
    yLabel: “row” + the row number

    From this JSON create a table that should be composed of small cell of 2 pixels wide in which the background is a gray color intensity (from white to black) depending of the value 0 to 1 that is in the cell. The table should be interactive and the mouse over of the cell should show in a DIV the following information:

    * column number
    * row number
    * column name
    * row name

    -- Third objective --

    Create a webpage that contains in the same HTML page the 2 previously described objectives to show that the code is in his own namespace and does not use any global variable. The info DIV should be common to both tables.




    All the instructions and the evaluation method can be found at:

    https://docs.google.com/document/d/1-89NygSmO4MNJbfCF2ZjAIbolWnr3PpTEL_ihztxXYQ/edit

    You may directly contact me using: script@cheminfo.org if you need any other information.
  • Tags:
Contests empower your projects with the creative brainstorming talents of the crowd, for fast, quality results.
Top Submissions
Winner
$200
#4
+1
#7
+1
Hi Luc, I've gone ahead and uploaded my entry to my webserver. You can view it here: http://hephistocles.co.uk/jsonContest/. Any valid JSON can be entered into the TextArea to be parsed and disp...
#20
+1
This is final version (like I intended to do before reading "namespace" sentence). Sorry for late respond, I was busy.
  • 0votes
    dron Programmer
    The file contest_andrei.zip has been removed.

    Here is mine.
    Also available at http://d-engine.net/luc
    Tested in webkit (safari 5)

    View All Flag
    2/27/2012 at 8:21 EST Entry #22
  • 0votes
    dron Programmer

    Here is mine. Also available at http://d-engine.net/luc
    Tested in webkit (safari 5).

    View All Flag
    2/27/2012 at 8:20 EST Comment #21
  • 1votes
    dragonny Programmer
    The file json-final.zip has been removed.

    This is final version (like I intended to do before reading "namespace" sentence).

    Sorry for late respond, I was busy.

    View All Flag
    2/25/2012 at 17:26 EST Entry #20
  • 0votes
    mehmetemin Programmer
    The file visualizer.zip has been removed.

    Hello,
    I've attached the files. You can also test it at
    http://mehmet-emin.gen.tr/sl/1329894687/visualizer.html

    Best regards,
    Mehmet Emin

    View All Flag
    2/25/2012 at 15:30 EST Entry #19
  • 0votes
    dragonny Programmer

    I was confused about this evaluation sentence "is code in his own namespace". From that I understood that we should make namespace with functions, but now I doubt. So I wanted to ask would it be wrong if it was created as class?
    Personally I like more object-oriented style.

    View All Flag
    2/23/2012 at 20:12 EST Comment #13
      0votes
      hephistocles Programmer

      I believe the idea was that the code doesn't interfere with any other code on the page (i.e. you can just drop it into a page without breaking it). That was also why one of the objectives was to demonstrate two tables on a single page. Therefore as long as those objectives are met then I don't believe your approach makes too much of a difference.

      View All Flag
      2/23/2012 at 20:41 EST Comment #14
        0votes
        lpatiny Buyer

        Indeed the idea is that the code is "self-contained" and will not interfere. Sorry if it was misleading (I'm not a programmer ;-). However I have the impression that for the whole project that will require a lot of different "objects" a namespace would be required to be able to maintain the code.

        View All Flag
        2/24/2012 at 0:19 EST Comment #17