Question Rubens Silva · Jul 7, 2020 CompileAll uses alphabetical ordering only? Hello.We're trying to create a script that compiles everything on a certain namespace, for that we are depending on CompileAll. However it seems that this method doesn't check for a dependency tree even when using flags like: curb. #Compiler #Caché #InterSystems IRIS 0 6 0 196
Question Rubens Silva · Apr 15, 2020 Exporting sources as XML to stream Hello, Recently I have been required to work with a method called ExportToStream. The situation asks me to export a UTF-8-encoded JSON as a XML to be imported on old releases. Here's how I attempted to fulfill this request: #JSON #XML #InterSystems IRIS 0 10 0 558
Question Rubens Silva · Mar 27, 2020 ZPM: questions about private usage Hello, We're considering adopting the ZPM solution as a way to manage many of our customer updates. However in order to do so we need to know a few things. #InterSystems Package Manager (IPM) #Caché #InterSystems IRIS 1 1 0 193
Announcement Rubens Silva · Mar 16, 2020 IRIS-CI: A docker image for running InterSystems IRIS in CI environments Hello all! As we ObjectScript developers have been experiencing, preparing an environment to run CI related tasks can be quite the chore. This is why I have been thinking about how we could improve this workflow and the result of that effort is IRIS-CI. See how it works here. Quickstart 1.Download the image from the Docker Hub registry: #Containerization #Continuous Integration #Testing #Caché #InterSystems IRIS Open Exchange app 0 0 1 283
Question Rubens Silva · Mar 13, 2020 Strange behavior when using $get Looks like the $get is actually trying to use the property getter instead of evaluating the GetAt as a method first.Should this be considered a bug? #ObjectScript #Caché 0 7 0 292
Question Rubens Silva · Mar 9, 2020 How to create a REST web application using a Installer manifest Just like the title says, I'm attempting to find a way to create a web application that instead of serving CSP files, it uses a dispatch class.I searched for clues in the documentation, but the CSPApplication tag seems to be exclusively for CSP file-based applications.I'm trying to avoid implementing a workaround such as using the Invoke tag to call the Security.Applications to generate the web application but I might be forced to do so, even though it's unpleasant if I had to say...So, is there an official way to execute this task? #API #CSP #Caché #InterSystems IRIS 1 22 0 480
Question Rubens Silva · Jan 31, 2020 Help me understand this encoding behavior when exporting XML Hello.I'm trying to export a XML stream containing some files that are supposed to have been written using UTF-8, but I'm facing some broken encoding issues.You can see below that I'm indeed viewing a UTF-8 encoded and which is inside the CSP folder and encoded correctly (although displaying it on Studio would not display it correctly as the file is not using BOM and that's intentional). #XML #Caché #InterSystems IRIS 0 7 0 603
Question Rubens Silva · Nov 12, 2019 What's the default charset encoding used for CSP files? Pretty straight forward.I'm tempted to hard-code ISO-8859-1 inside my VSCode extension when working with CSP because this seems to be the encoding used by default, but I need to know if there's any other possible configuration. So can you share your experience when working with CSPs? Like issues with encoding, discoveries regarding it, workarounds etc.Also, can someone tell me if it's possible to work with UTF-8 encoded CSP files using Atelier without breaking the encoding of the output file? #CSP #Atelier #Caché #InterSystems IRIS 0 3 1 477
Article Rubens Silva · Oct 8, 2019 2m read Frontier: An abstraction layer for rapid REST development: Part 5 - Errors Hello again and welcome to the next tutorial on this series: Part 5 - Errors. Here we are going to learn how Frontier handles unexpected errors and how we can force them. #JSON #REST API #Caché #InterSystems IRIS Open Exchange app 1 0 0 291
Question Rubens Silva · Sep 6, 2019 %File: Method Exists returns TRUE also for directories? Hello, I had an issue when using the method Exists, I noticed that if you provide a directory for this method it returns 1. This is really misleading, because sometimes the input could be a directory and the only way to predict this is to also test if the file is a directory. I didn't tested using the Attributes method, but I supposed that this means could also be a solution for that issue. But still, I expected the Exists method to return 1 for files and 0 for directories, since there's also method called DirectoryExists already. #ObjectScript #Caché 0 4 0 352