Hi, looks like you're agreeing with me that the DOM is "a riddle wrapped in a mystery inside an enigma..." - but as Churchill said: "It is a riddle wrapped in a mystery inside an enigma: but perhaps there is a key....."
iow these are tools to crack a problem that shouldn't have been created in the first place! <g>
On 29/03/2016 16:19, Fernando D. Bozzo wrote:
Hi Andy:
Without Intellisense you surely can't remember all VFP form events and properties, but you know that you can do something and can look at the help for the proper syntax, even for commands.
This is the same, you read it once or twice then you know that you can do something, so next time you use intellisense for looking at the options or look at the help for getting the proper syntax.
I don't see this as something "too" difficult to get, but surely can't be analyzed from the VFP perspective, because you can do with CSS many things that you can't with VFP or without many lines of programming in VFP.
If you start thinking of a way to select "elements" or "properties" nested into objects with a syntax smaller and simpler than a select-sql, you surely can arrive at something very similar to this syntax too.
I preffer this: [title~=flower]
Than this: Selects all elements where attribute = "title" and "flower" $ value
And this is only a small example. They can be too much complex than this, and a very long SQL do not add any simplicity to this use case.
Regards.-
2016-03-29 12:11 GMT+02:00 AndyHC jarndice@gmail.com:
Hi, for interest, I've been playing around with developing a web photo gallery. From javascript (which I know a little bit, and am beginning to accept with reservations) this led me to jQuery (which I probably should know but don't) and (for more understanding) on to CSS Selector.... Over the years I have come to accept the OO concept (with the mental reservation that libraries of mutable functions were easier to understand and probably much more efficient). One of the reasons I accepted OO was the simpler interface and less obfustication, even at the cost of efficiency. But this makes APL look intuitive:- http://www.w3schools.com/cssref/css_selectors.asp you have to remember a dozen or so single character prefixes and what they do?
It may not be the fault of CSS Selectors or jQuery, but if not it surely supports my long-standing view that the DOM is an abomination!
[excessive quoting removed by server]