[NUG] API 2.0
Jon Ogden
jogden at mac.com
Wed Mar 13 16:55:42 CDT 2019
> On Mar 13, 2019, at 2:40 PM, npalardy at airenet.com wrote:
>
>
>> On Mar 13, 2019, at 1:36 PM, Jon Ogden via Nug <nug at xojousers.com> wrote:
>>
>> Most of the Xojo framework will be set aside AFAIK. Auto is deprecated and Variants are back. Like you said Text is deemphasized. Xojo.Net.HttpSocket has been replaced by URLConnection. Etc.
>
> URL connection IS just Xojo.Net.HTTPSocket with some bug fixes & tweaks
>
Yes, but I idon’thave to call Xojo.Net and the Xojo.Net socket needed to read stuff from a memory block or something. It was a pain if I remember right.
> Strings will still have the dual behaviour BUT for textual data will basically be what Text was - just accessed using "string" apis and methods
>
> There are a lot of good things in the "new framework" and where possible they'll be moved to be the new underpinnings of the the framework
>
I agree. But some things like Xojo.Timer.CallLater have some serious bugs that would suddenly pop up and cause crashes (particularly an iterating over a dictionary error). Then other things like the Xojo.Net.TCPSockets were half developed. Never had a .listen method. Again had to read into a memory block.
I went and started to move things to Auto and Text and now regret it. A pain to change it back. I’ve been burned multiple times by the ToText method where I have data in a string that doesn’t translate to Text and an exception gets thrown.
More information about the Nug
mailing list