Re: [Warning] Settings properties values on object field by object notation

2017-11-01 Thread Tom Swenson via 4D_Tech
➢ And, yes, I too was told that the engineers were leaning to declaring this as standard behavior. Why? I have not a clue. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/

Re: [Warning] Settings properties values on object field by object notation

2017-11-01 Thread Tom Swenson via 4D_Tech
On 11/1/17, 2:08 PM, "4D_Tech on behalf of Tom Swenson via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: ➢ And, yes, I too was told that the engineers were leaning to declaring this as standard behavior. Why? I have not a clue. O

Re: HTTP Request PATCH

2017-11-22 Thread Tom Swenson via 4D_Tech
Yep, I’ve had that “PATCH” working for some time interfacing with a couple of REST services. On 11/22/17, 10:01 AM, "4D_Tech on behalf of Koen Van Hooreweghe via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: Hi Doug, There is no PATCH constant def

Rearranging object entry order

2017-12-04 Thread Tom Swenson via 4D_Tech
When I think of all the time doing this that I’ve wasted in my life… https://blog.4d.com/rearrange-the-object-entry-order-in-a-single-click/ Tom Swenson On 12/1/17, 9:49 AM, "4D_Tech on behalf of Piotr Chabot Stadhouders via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.

Re: Collections

2018-03-21 Thread Tom Swenson via 4D_Tech
OK, like PHP arrays On 3/16/18, 8:23 AM, "4D_Tech on behalf of Jeff Grann via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: Haven’t worked with them yet, but my understanding is that a collection is an ordered list of values of possibly varying types. I

Re: 4D Summit 2018 Comments

2018-04-09 Thread Tom Swenson via 4D_Tech
Tim, Nice writeup! Makes me sorry that I couldn't fit in time to attend the Summit this year. I'll toss in a bit of history - "object" databases. It was a concept that kind of flared up back in the 90s but didn't get any market traction. For instance, way back when I was working at Motorola, w

Re: 4D Summit 2018 Comments

2018-04-10 Thread Tom Swenson via 4D_Tech
What would be cool would be to create some form of overloaded operators. Say you wanted to merge two contacts (define your rules for that in the member function) Then you could say something like (I'm just making up the systax) Contact{1}.merge(contact{2}) The future looks like fun and not the d

Re: Access to Macintosh Accessibility tools from within 4D

2018-05-09 Thread Tom Swenson via 4D_Tech
I believe it was for the Leap Motion controller. _very_ fun plugin. Tom Swenson  > ​I'd check with Miyako. I recall him demoing something he wrote maybe 10 > years ago that allowed 4D to respond to movement. It was cool but I > couldn't think of anything to do with it. > ​ >

HTTP Patch request

2017-03-27 Thread Tom Swenson via 4D_Tech
Greetings, I’m trying to update portions of a record on an external REST server (not 4D). The docs for it tell me to use a PATCH request for partial updates. I was hoping to use 4D’s HTTP Request command to send along the JSON required to make the particular modifications. However, there does

Re: HTTP Patch request

2017-03-27 Thread Tom Swenson via 4D_Tech
GET, POST, etc) are string constants too. 2017/03/28 0:09、Tom Swenson via 4D_Tech <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> のメール: However, there doesn’t seem to be a Constant for a HTTP p

Re: HTTP Patch request

2017-03-27 Thread Tom Swenson via 4D_Tech
ech@lists.4d.com> wrote: just pass "PATCH" as text literal to HTTP Request. standard constants (GET, POST, etc) are string constants too. 2017/03/28 0:09、Tom Swenson via 4D_Tech <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> のメール: However, ther

Re: LDAP user validation

2017-06-12 Thread Tom Swenson via 4D_Tech
You do a “bind” to verify the username/password. Ie. It is authentication. On a low level, authentication against an LDAP server is 1. Open a connection 2. Try to bind 3. Unbind – if you’re feeling generous 4. Close the connection if you got a success from the bind it means you sent the correct

Re: LDAP user validation

2017-06-12 Thread Tom Swenson via 4D_Tech
BTW, if you want some 4d code looking examples, I left the docs for LDAP 4d up on my site See http://www.adogandhisboy.com/manual/Sample.html On 6/12/17, 10:55 AM, "4D_Tech on behalf of Tom Swenson via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wr

Re: JSON Tools Was: Re: C-objects and memory use

2017-08-02 Thread Tom Swenson via 4D_Tech
FWIW, it sounds like the object notation in v16r4 is going to alleviate much of the pain in dealing with JSON objects.. JSON Validate, Collections and a NULL command! http://blog.4d.com/en-whats-new-in-4d-v16-r4/ ** 4D Inte

Re: 4D Web Server Security

2019-11-29 Thread Tom Swenson via 4D_Tech
My two cents: Many valuable suggestions in this thread on front ends, serving static files, etc. I'd bet most of the auditors are searching for things like SQL injection attacks. They probably won't be able to find any of those on a 4D web server and most won't know enough about 4D to craft si