Question Sergio Martinez · Aug 6, 2019 Preserving default value of a method parameter when passing a non existing property of a JSON object Hi, I have a method that has multiple parameters and is normally used from other classes in ObjectScript. Most of the parameters have default values. Withing the server code that's perfect. In some areas I can call myMethod(,,"sometext") or myMethod(tVariab) and thats fine... I use it as it's required in each place. But now I want to expose it as a REST service so I need to buld a kind of wrapper., another method in a REST dispatcher class that will receive the parameters in a JSON object and will call the server method already implemented. Something like: #Coding Guidelines #ObjectScript #InterSystems IRIS 0 3 0 820
Question Sergio Martinez · Feb 12, 2019 Which is the benefit of using cachetemp to store temp globals? Is it possible to use them if we plan to use ECP? Suppose we need to store millions of values temporarily, that means, we don't care about them if we lose them but our application use them to get realtime information. Should I use Cachetemp or whatever other DB without journaling enabled? If answer is Cachetemp, shouldn't be a problem if we decide to scale using App Server + ECP? I'm not sure what would happen with the app logic in such architecture as I guess I couldn't map and share cachetemp... Any idea/suggestion? #ECP #Globals #Performance #Caché #InterSystems IRIS 0 5 0 928
Question Sergio Martinez · Oct 16, 2017 COS extension for Microsoft Visual Studio Code Hi,I know you're doing a big effort to build a new IDE in Eclipse ecosystem but Visual Studio Code is a new an even better and faster tool for coding... did you have any plans to release any COS extension for it in the near future? There you can already find extensions for all current more common progrmaming languages and it would be great to have COS as one of them.Thanks #Caché #Tools #ObjectScript 2 5 0 1.4K
Question Sergio Martinez · Apr 8, 2016 References about failover architecture with members in different datacenters Hi,I need to give an answer for a RFP where it'll be considered an extra to have a failover system where each member of the failover is located in a different datacenter, separated by more than 100-200 miles. #Caché #High Availability 0 1 0 338