Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2498

Re: LINTing Javascript in a Java WebApp

From Steve <tinker123@gmail.com>
Newsgroups comp.lang.java.help
Subject Re: LINTing Javascript in a Java WebApp
Date 2013-02-13 14:26 -0500
Organization M.Y.O.B.
Message-ID <kfgpb3$hau$1@dont-email.me> (permalink)
References <kfb9jr$69d$1@dont-email.me> <3b447074-316f-4e1a-bb0f-0b54b4a547b6@googlegroups.com> <kfdgms$4f4$1@dont-email.me> <c7e5d4de-59ea-4309-acc4-e83bb698cfd6@googlegroups.com>

Show all headers | View raw


On 2/12/2013 12:45 PM, Lew wrote:
> Are you familiar with "technical debt"? It sounds like you're paying a lot just
> in interest.

I haven't heard the term before.  Does it mean a lot PITAs from legacy 
code?  The javascripts aren't bad.  My problem with them are my own 
typos when I get change requests.   I don't have a way to find out about 
them before I test the WAR that takes less time than doing just that.


> I recommend that you gradually (since management won't buy in or give you time)
> refactor the JS to make sense. Dump old, unsupported versions of any frameworks
> you're using, and clean up the separation just between the JS parts.
>
> Consider using Facelets/XHTML with new stuff. Make sure your changes remain
> compatible with existing code and you won't need to make sweeping, all-at-once
> revolutionary upheavals.

I have read those terms, haven't used them yet.  It didn't occur to me 
that those things could be used to reduce/eliminate javascript.   Can 
you check for simple syntax errors with these technologies before you 
run your app?  That is my problem with javascript so far.

Steve

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-11 12:26 -0500
  Re: LINTing Javascript in a Java WebApp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-11 11:42 -0800
    Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-12 08:40 -0500
  Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-11 12:45 -0800
    Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-12 08:40 -0500
      Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-12 09:45 -0800
        Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-13 14:26 -0500
          Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-13 14:56 -0800
    Re: LINTing Javascript in a Java WebApp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-13 18:43 -0800

csiph-web