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


Groups > comp.sys.sinclair > #4126

Re: The joy of DLAN (modern web devs please read)

From Calum <com.gmail@nospam.scottishwildcat>
Newsgroups comp.sys.sinclair
Subject Re: The joy of DLAN (modern web devs please read)
Date 2016-03-07 18:41 +0000
Organization Aioe.org NNTP Server
Message-ID <nbki0m$6fv$1@gioia.aioe.org> (permalink)
References (2 earlier) <cb2d4882-36cb-4efe-bfc5-8257d6a3cd1a@googlegroups.com> <nas7um$19ph$1@gioia.aioe.org> <abb78c92-4cfd-493f-89c5-6529399f91ee@googlegroups.com> <nb6rhv$c86$1@gioia.aioe.org> <9b04ae07-e3f7-48b3-b2f3-a978748ca4f0@googlegroups.com>

Show all headers | View raw


On 07/03/2016 06:55, bit-naughty@hotmail.com wrote:
> On Wednesday, March 2, 2016 at 7:28:28 PM UTC+5:30, Calum wrote:
>
>
> ....So I was right about classes then, they _are_ for more than 1
> thing on the page that will look the same....?

Yes. Or for things that don't necessarily look the same, but that you 
want to behave as a functional group. For example, you might apply the 
same class to everything on a page that you want to show or hide at the 
same time (using JS or whatever).

Bear in mind also that an element can have more than one class (but not 
more than one ID). So each element can be in zero, one or more of those 
groups, as required.

> I don't see how - the *simplest* thing any designer can do is to give
> everything on the page an id and then do whatever in CSS or JS with
> it - "I want this thing to look like this, and that one to look like
> that", that's how any designer thinks! No human being thinks in terms
> of "Oh this thing is _similar looking_ to that thing, so I'll put
> them both in the same class....." ?

It might be the simplest thing they could do (until they forgot how they 
were coming up with all those unique IDs and accidentally used the same 
one twice). But that would be some time-consuming and error-prone source 
code to type in, and a pain to maintain.

Designers think about visual differences and similarities all the time, 
that's part of their job. That's why good designs don't generally have 
elements that look *almost* the same, or that *almost* line up... humans 
just don't find them pleasing to look at. Every similarity or difference 
on a well-designed page should be clear and intentional.

> .... and for a dynamically generated page, I think that would be
> _mandatory_ , to prevent everyone working on the page, front end and
> back, from going MAD.....

Not really... there are probably thousands of teams around the globe 
doing just this sort of thing every day, quite happily.

Back to comp.sys.sinclair | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-02-21 09:33 -0800
  Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-21 20:57 +0000
    Re: The joy of DLAN (modern web devs please read) "Brian Gaff" <briang1@blueyonder.co.uk> - 2016-02-22 11:04 +0000
      Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-22 12:00 +0000
    Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-02-26 07:38 -0800
      Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-27 13:22 +0000
        Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-02 02:19 -0800
          Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-02 13:58 +0000
            Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-06 22:55 -0800
              Re: The joy of DLAN (modern web devs please read) Guesser <alistair@zxnet.co.uk> - 2016-03-07 10:25 +0000
                Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-07 07:03 -0800
                Re: The joy of DLAN (modern web devs please read) Guesser <alistair@zxnet.co.uk> - 2016-03-07 15:33 +0000
                Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-07 17:37 +0000
              Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-07 18:41 +0000
                Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-13 08:55 -0700
                Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-13 16:44 +0000
  Re: The joy of DLAN (modern web devs please read) "Brian Gaff" <briang1@blueyonder.co.uk> - 2016-02-22 11:01 +0000
    Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-02-26 08:34 -0800
      Re: The joy of DLAN (modern web devs please read) "Brian Gaff" <briang1@blueyonder.co.uk> - 2016-02-28 11:04 +0000
        Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-28 11:34 +0000

csiph-web