Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass object to method NOT by reference
Message
From
11/07/2016 04:41:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/07/2016 12:55:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01638158
Message ID:
01638202
Views:
97
>Hi Dragan, the whole problem comes from the thought of
>needing to serialize any other type of objects different of
>data transfer objects ( DTOs in VFP = empty-based objects )
>
>Although is possible to serialize forms for example,
>it's out of the scope for some of the reasons you expose.

My point was the whole serialization/deserialization operation was unnecessary in this specific case (pass object by value inside one single VFP process) because direct cloning accomplishes the same without the overhead. But yes, when it comes to passing objects or object-like structures between processes, I love json and use it a lot.

> Json will find his way in VFP now that SQL server supports it
>( thanks to a fellow-countryman of you Jovan Popovic !)
>https://blogs.msdn.microsoft.com/jocapc/2015/05/16/json-support-in-sql-server-2016/#comment-405

This is great news - albeit probably too late for me. By the time my customers have SQL 2016 in sufficient numbers, I may already retire :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform