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


Groups > comp.lang.javascript > #38291

Re: How can i have semicolon ";" as part of string?

Newsgroups comp.lang.javascript
Date 2020-03-20 20:47 -0700
References (1 earlier) <fd0fcdad-b1e5-4d61-a281-9485b45c83a5@googlegroups.com> <0dc69257-0ac7-47b2-ab50-d739fd347892@googlegroups.com> <73f29960-2358-483f-9a22-967b54eb13fe@googlegroups.com> <3eb7f3ea-220d-4878-bc04-b6f7de30b09d@googlegroups.com> <f9bbe28b-1390-4aba-9258-217b2c5a49e8@googlegroups.com>
Message-ID <42b114fa-deaf-49e9-86ca-63446563be0a@googlegroups.com> (permalink)
Subject Re: How can i have semicolon ";" as part of string?
From Jonas Thörnvall <jonas.thornvall@gmail.com>

Show all headers | View raw


Den fredag 20 mars 2020 kl. 18:04:46 UTC+1 skrev Julio Di Egidio:
> On Friday, 20 March 2020 10:45:47 UTC+1, Jonas Thörnvall  wrote:
> 
> > No it is not anything like a general codegenerator, it is just for midi
> > messaging to midi devices so midi message is a property of the objects.
> > 
> > There probably only will be some 10 of objects that is dynamically created
> > and dumped to the inner HTML page
> 
> You don't dump or generate anything, you just need to show in the page a bunch
> of values that happen to be properties of some object(s), which is perfectly
> ordinary business, you are just tripping on nomenclature.
> 
> Learn Knockout.js...
> 
> Julio

Ok so you say i should create objects but how are they binded to the inputs fields and updated from form changes? 
What is the advantage? 
I think the interface ends up just like when building/generating the code with form values attached to strings. I mean the syntax part of "html,js,css" will be strings in an array anyway. So what you gain by putting the values in objects, you must anyway adress each attribute/property i can as well have an array for each property building the object, as an array for full  object.

What would the advantage be, i can as well build my "strings" and "page" from indexed properties in arrays, yeah a little messier when dropping element or updating. But it probably evens out because complexity doing with objects harder.


***Only alot harder to implement***

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-19 22:22 -0700
  Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-19 23:54 -0700
    Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 00:01 -0700
      Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 00:03 -0700
        Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 00:14 -0700
          Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 00:21 -0700
      Re: How can i have semicolon ";" as part of string? Julio Di Egidio <julio@diegidio.name> - 2020-03-20 01:20 -0700
        Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 02:45 -0700
          Re: How can i have semicolon ";" as part of string? Julio Di Egidio <julio@diegidio.name> - 2020-03-20 10:04 -0700
            Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 20:47 -0700
          Re: How can i have semicolon ";" as part of string? Julio Di Egidio <julio@diegidio.name> - 2020-03-20 12:07 -0700
        Re: How can i have semicolon ";" as part of string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-20 02:50 -0700
        Re: How can i have semicolon ";" as part of string? JJ <jj4public@vfemail.net> - 2020-03-20 22:08 +0700
      Re: How can i have semicolon ";" as part of string? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-20 08:53 -0700
  Re: How can i have semicolon ";" as part of string? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-20 08:50 -0700
    Re: How can i have semicolon ";" as part of string? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-03-31 03:16 +0200
      Re: How can i have semicolon ";" as part of string? Jon Ribbens <jon+usenet@unequivocal.eu> - 2020-03-31 10:29 +0000
        Re: How can i have semicolon ";" as part of string? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-03-31 17:07 +0200

csiph-web