Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass object to method NOT by reference
Message
De
11/07/2016 04:41:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/07/2016 12:55:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01638158
Message ID:
01638202
Vues:
92
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform