All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: chaitanyaa nalla <nallachaitu@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: GSoC idea: adding JavaScript library / framework in gitweb
Date: Thu, 29 Mar 2012 10:14:10 +0100	[thread overview]
Message-ID: <201203291114.15284.jnareb@gmail.com> (raw)
In-Reply-To: <CACeyogf_ssqS6LdiYiopkh8UYGiBw5Cm06e-sut_y33cimiMJQ@mail.gmail.com>

Please remove those parts of quoted (cited) message that are irrelevant
to your response.  Try to not top-post, either.

On Wed, 28 Mar 2012, chaitanyaa nalla wrote:

> I forgot to add this feature to employ JavaScript syntax highlighter
> to pretty-print contents of the blob view.

O.K.  Anyway, I think adding this feature is optional, as time permits;
especially that it is, I think, not easy.

> Here are my views regarding which JavaScript library to use.
> I want to stick to one or two libraries, as I don't want to
> mix things up which is a bad practise.

This is a good idea.

> For DOM manipulation jQuery is better than others.
> For graphics representation Raphael library or Dojo is better.
> If one need robust Object Oriented platform, Dojo is better.
> Based on popularity, light weight jQuery library is pretty famous
> because of its simplicity and power, it got added advantage that
> Microsoft's ASP.Net and Nokia are supporting it.
> YUI is modular.
> MooTools lets have us our own way .. http://jqueryvsmootools.com/
> Please take a look at this link:
>
>    http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks.

What is lacking in above description and comparison of various 
JavaScript frameworks is note about *your familiarity* with said 
libraries.

> Based on the goal of the project, I would prefer jQuery as it is well
> tested, robust, simple to use, widely popular, has good support for
> DOM manipulating, is fast (performance) in most cases.

Additional advantage is that there are many CDN (Content Delivery
Network) for jQuery that one can use.

I also think that for gitweb, where goal is to enhance its views
(rather than creating JavaScript app like e.g. GMail or Google Docs),
lightweight and popular jQuery library might be a best choice.

> Though for graphics I would go for Raphael.js, as it has clean
> and neat API similar to jQuery, and it has good graphics support.

Well, if there is time for adding client-side graphical history view
to gitweb, Raphael.js seems like a good choice.  But I am afraid that
this feature it as large as separate GSoC project.


P.S. Another source of inspiration for JavaScript usage in gitweb might
be git-browser project.  Just FYI.

-- 
Jakub Narebski
Poland

  reply	other threads:[~2012-03-29  9:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24  6:32 gsoc idea adding javascript library / framework in gitweb chaitanyaa nalla
2012-03-24 13:17 ` GSoC idea: adding JavaScript " Jakub Narebski
2012-03-24 16:09   ` chaitanyaa nalla
2012-03-24 16:48     ` chaitanyaa nalla
2012-03-24 18:49     ` Jakub Narebski
2012-03-24 18:57       ` chaitanyaa nalla
2012-03-25  8:31       ` chaitanyaa nalla
2012-03-25 17:55         ` Jakub Narebski
2012-03-25 18:08           ` chaitanyaa nalla
2012-03-26  0:44             ` Jakub Narebski
     [not found]           ` <CACeyogdhChrGe-k+VLkAzq1F9U1TFYsCN5Kc_u7jAwRhaz+fJQ@mail.gmail.com>
2012-03-27 14:55             ` chaitanyaa nalla
2012-03-27 19:14             ` Jakub Narebski
2012-03-27 20:35               ` chaitanyaa nalla
2012-03-28 10:38                 ` Jakub Narebski
2012-03-28 18:05                   ` chaitanyaa nalla
2012-03-29  9:14                     ` Jakub Narebski [this message]
2012-03-29 18:37                       ` chaitanyaa nalla
2012-03-30 13:29                         ` Jakub Narebski
2012-04-01  9:47                           ` chaitanya nalla
     [not found]                       ` <CACeyogeh7SSfx5NPFSt=gDdUzrUj0zxQKh84MDA-dW2e7UNGcw@mail.gmail.com>
2012-03-30 12:56                         ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201203291114.15284.jnareb@gmail.com \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=nallachaitu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.