Article Gevorg Arutiunian · Sep 4, 2018 11m read How I implemented GraphQL for InterSystems platforms I already talked about GraphQL and the ways of using it in this article. Now I am going to tell you about the tasks I was facing and the results that I managed to achieve in the process of implementing GraphQL for InterSystems platforms. What this article is about Generation of an AST for a GraphQL request and its validation Generation of documentation Generation of a response in the JSON format #API #Caché #IRIS Analytics Architect #Ensemble #HealthShare #REST API #InterSystems IRIS 6 2 2 1K
Article Gevorg Arutiunian · Aug 31, 2018 1m read Change all passwords in a system This code snippet changes all passwords in a system to a specified string. The two literal strings at the beginning of the snippet can be adjusted to edit the system or password string. The class method "test" runs the code: #Code Snippet #InterSystems IRIS #ObjectScript #Caché 2 7 0 690
Article Gevorg Arutiunian · Aug 22, 2018 1m read Get all filenames in a specified directory (Originally posted on Intersystems CODE by @Eduard Lebedyuk, 10/12/15) The following code snippet outputs all filenames in the file path "dir" in the Cache/IRIS terminal. The class method "test" runs the code: Class eduardlebedyuk.filenamesInDir Extends %RegisteredObject { classmethod test() { // replace dir with file path you want set dir = "D:\directory" set dir = ##class(%File).NormalizeDirectory(dir) set file=$ZSEARCH(dir_"*") while file'="" { write !,file set file=$ZSEARCH("") } } } #Code Snippet #InterSystems IRIS #ObjectScript #Caché 1 3 2 1.7K
Article Gevorg Arutiunian · Aug 16, 2018 2m read Routine to Parse Options in Args Array (Originally posted by Timur Safin on Intersystems CODE, 3/2/15) This code snippet is a routine that parses options saved in an arguments array. The subroutine "test" runs the code: #Code Snippet #InterSystems IRIS #ObjectScript #Caché 2 8 1 621
Article Gevorg Arutiunian · Jul 6, 2018 6m read GraphQL for InterSystems Data Platforms GraphQL is a standard for declaring data structures and methods of data access that serves as a middleware layer between the client and the server. If you’ve never heard about GraphQL, here is a couple of useful online resources: here, here and here. In this article, I will tell you how you can use GraphQL in your projects based on InterSystems technologies. #API #Caché #IRIS Analytics Architect #Ensemble #HealthShare #InterSystems IRIS 17 24 10 2.4K
Article Gevorg Arutiunian · Nov 21, 2016 5m read Caché Localization Manager or i18N in InterSystems Caché Caché Localization Manager CLM is a tool for localization/internationalization/adding multi-language support to a project based on InterSystems Caché. Imagine that you have a ready project where all the content is in Russian, and you need to add an English localization to it. You wrap all your strings into resources, translate them into English and call the necessary resource for Russian or English when necessary. Nothing tricky, if you think about it. But what if there are lots of strings and there are mistakes in Russian (or English)? What if you need to localize in more than one language – say, ten? This is exactly the kind of project where you should use CLM. It will help you localize the entire content of your project into the necessary language and retain the possibility to correct entries. #Caché #Terminal #Tools #Languages #Localization #Frontend 6 4 0 922