Announcement Evgeny Shvarov · Sep 2, 2019 InterSystems Developers Community August 2019 Digest Hi Developers! Here is a digest of the postings on InterSystems Developers Community in August 2019: Most viewed Announcing the release of InterSystems API Managerby Stefan Wittmann 510 Live Certification Exams at Global Summit 2019by Anastasia Dyubaylo 229 Introducing InterSystems API Managerby Stefan Wittmann 192 Nested set model for ObjectScriptby Nikolay Soloviev 189 Dashboard IRIS History Monitorby Henrique Gonçalves Dias 169 View all most viewed posts » #Digest #Developer Community Official 1 0 0 171
Discussion Evgeny Shvarov · Aug 31, 2019 What do You Use For Static Array Management in ObjectScript: List vs Global vs Local vs PPG Hi Developers! Often we need to use relatively small arrays with constants, static arrays in algorithms, etc where we need to do something with each element of an array. There are several ways to deal with it in ObjectSctipt. Previously I used to use globals, locals, PPG for this but not so long time ago figured out that %List is a way too handy. Indeed, suppose we have an array of months and need to set up and use it in our code. #Beginner #Code Snippet #Globals #ObjectScript #InterSystems IRIS 2 15 1 640
Article Evgeny Shvarov · Aug 29, 2019 4m read Introducing InterSystems ObjectScript Package Manager Hi Developers! Often when we develop some library, tool, package, whatever on InterSystems ObjectScript we have a question, how we deploy this package on the target machine? Also, we often expect that some other libraries already installed, so our package depends on them, and often on some particular version of it. When you code on javascript, python, etc the role of packages deployment with dependency management takes package manager. So, I'm pleased to announce that InterSystems ObjectScript Package Manager available! #ObjectScript #InterSystems Package Manager (IPM) #Open Source #Release #InterSystems IRIS #Open Exchange Open Exchange app 13 19 4 3.3K
Question Evgeny Shvarov · Aug 27, 2019 How to Export ObjectScript From IRIS Server With VSCode? Hi Developers!A question to those who use VSCode to code InterSystems ObjectScript.Suppose you have the ObjectScript code on IRIS server and you want to export it into the desired folder.And you have VSCode connected to the server.What is the way to tell VSCode that I want to export classes into some particular folder in /package/class.cls way?E.g. into: /project_folder/src/cls/Package/class.cls and project_folder is opened in VSCode as the folder of the project. #Change Management #ObjectScript #VSCode #InterSystems IRIS 1 8 0 1K
Announcement Evgeny Shvarov · Aug 22, 2019 InterSystems Open Exchange Release, August 2019 Hi Developers!Here is a new release of InterSystems Open Exchange - InterSystems applications gallery!What's new?Github Integration is improved;Better application update mechanism;UI/UX enhancements.See the details below. #Release #Open Exchange Open Exchange app 0 0 0 243
Discussion Evgeny Shvarov · Aug 18, 2019 How do You Document Globals You Use in a Project Hi Developers! InterSystems IRIS stores everything in globals and if we use ObjectScript classes to persist data class documents globals it uses in storage. But if you use globals for calculations, temporary storages, for special indexes or for some other purposes - how do you document it? Possible options which come to my mind: 1. Macro #define Array ^MyGlobal usage: s $$$Array(1)=1 2. Class parameter Parameter Array ="^MyGlobal"; Usage: #Globals #Caché #InterSystems IRIS 0 3 0 356
Announcement Evgeny Shvarov · Aug 4, 2019 InterSystems Open Exchange July 2019 Digest Hi Developers!This is the digest of new solutions and applications submitted to InterSystems OpenExchange in July 2019!New ApplicationsMetrics example published by David UnderhillA simple example of collating database and license metricsDynamic SQL to Dynamic Object published by David CrawfordObjectScript function to convert any SQL query into a dynamic objectCogs JSON Class published by Sean ConnellyConvert JSON to and from InterSystems ObjectScipt classesObjectscript Roman Numeral Converter published by David CrawfordConverts numbers into roman numerals using ObjectScriptRandom Read IO Storage Performance Tool published by Tony PepperRandom Read IO Performance Tool for InterSystems IRIS DatabasePort published by Rubens SilvaPort is a VCS-agnostic Caché Studio utility to export or import Caché files based on projects instead of namespacesForgery published by Rubens SilvaAn auxiliary tool used to mimic requests to %CSP.REST and Frontier Router-based classes.Log Production Queue Counts published by Robert HannaA simple scheduled task and persistent table for logging production queue counts.EnsDemo Iris installer published by Guillaume RongierENSDEMO port to IRIS without HL7 and DICOM examplesAnti CSRF CSP published by David CrawfordA method for mitigating anti CSRF attacks on CSP derived API callsFrontier published by Rubens Silva%CSP.REST on steroids. Frontier is a REST framework made with the purpose of reducing boilerplate code and imposing a clean coding style Python Gateway Samples published by Eduard LebedyukExamples of PythonGateway Usage. Python Gateway for InterSystems Data Platforms #Digest #Open Exchange 2 0 0 159
Question Evgeny Shvarov · Aug 3, 2019 Keyboard shortcuts for VSCode terminal and IRIS Hi developers!Every day coding with IRIS and docker I call the following 3 commands in VSCode terminal. Always the same for any projects: docker-compose build ; to build the container docker-compose up -d ; to run the IRIS in container docker-compose exec iris iris session iris ; to open the IRIS terminal Is there any way to map the key sequence which will type me the rest? e.g. #Development Environment #Docker #Terminal #VSCode #InterSystems IRIS 0 2 0 520
Announcement Evgeny Shvarov · Aug 2, 2019 InterSystems Developers Community Release, August 2019 Hi Developers!Happy to share with you the release notes of InterSystems Developers community site in August 2019. What's new?Direct messages between registered members;Accounts merging;Better navigation for serial posts;Spanish DC enhancements: translated tags, analytics.See the details below. #Release #Developer Community Official 2 0 0 218
Announcement Evgeny Shvarov · Jul 31, 2019 6,000 of InterSystems Developers Members and Other Analytics News Hi Developers!This is an anniversary announcement to celebrate 6,000 members on InterSystems Developers!There are some other good figures came: we have more than 5,000 posts with almost 1,000 articles. (956 to the moment).Also, we are close to having 20,000 answers and comments and 2,000,000 reads for DC postings.And we have the Spanish Community for 2 months running! Join Spanish DC! #Analytics #Developer Community Official 4 0 1 253
Article Evgeny Shvarov · Jul 30, 2019 2m read Resources for InterSystems Beginner Developers: Learn From InterSystems Open Exchange Part 2 Hi Developers! This is the second post on the resources for Developers. This part is about Open Exchange Using Open Exchange to Learn InterSystems InterSystems Open Exchange is a applications gallery of tools, connectors, and libraries which InterSystems Developers submit to share the experience, approaches and do business. All the applications are either built with InterSystems data platforms or are intended to use for development with InterSystems data platforms. If you are a beginner developer you can take a look at applications in Technology Example category. All the applications in this category come with open source code repositories, so you are able to run the samples and examples in a docker container with IRIS on your laptop or in the cloud IRIS sandbox. Examples: #Beginner #Framework #Node.js #Python #Developer Community Official #InterSystems IRIS #Open Exchange 0 4 0 392
Article Evgeny Shvarov · Jul 28, 2019 2m read How to Learn InterSystems IRIS on InterSystems Developers community? Part 1 Hi Developers! Recently I was asked, “How can a beginner in InterSystems technologies learn from InterSystems Developers community content to improve his developer skills”? This is a really good question. It has several answers so I decided to write the post with the hope it could be useful for developers. So! How to learn Intersystems Data Platforms(IRIS, IRIS for Health) from InterSystems Developers community content if you are a beginner? #Beginner #Developer Community Official #InterSystems IRIS 2 2 0 523
Announcement Evgeny Shvarov · Jul 25, 2019 InterSystems Open Exchange July 2019 Release Hi Developers!We are ready to present you a new release of InterSystems Open Exchange. What's new?Applications rating;Open Exchange profile <-> InterSystems Developers profile linkage.See the details below. #Release #Open Exchange Open Exchange app 0 0 0 262
Question Evgeny Shvarov · Jul 23, 2019 What do You do With Your InterSystems IRIS Fork Repository if Your PR is accepted? Hi developers! Just want to check with you on best practices for that. You collaborate for InterSystems IRIS repository. You fork it, then make changes, commit, push, pull request, discuss(if any), your PR is accepted. What's next? Do you delete the repository you forked in? #Change Management #Git #ObjectScript #InterSystems IRIS 0 6 0 336
Question Evgeny Shvarov · Jul 23, 2019 Cannot Find Ensemble.INC Analog in InterSystems IRIS Hi guys!What is the IRIS analog for Ensemble.INC? #ObjectScript #Ensemble #InterSystems IRIS 0 4 0 353
Article Evgeny Shvarov · Jul 22, 2019 2m read Direct Messages on InterSystems Developers Hi Community! We've introduced Direct Messages on InterSystems Community. What's that? Direct message(DM) is a Developer Community feature which lets you to send a direct message to InterSystems community member you want. How to send it? Open member's page, and click "Send Direct Message". Like here: #Developer Community FAQ #Developer Community Official 4 0 0 524
Question Evgeny Shvarov · Jul 20, 2019 How to know the Port of IRIS Management Portal Programmatically Hi Community!How can I know the port of management portal e.g. from terminal?The one which looks like localhost:port/csp/sys/exp/%25CSP.Portal.Home.zen in browser? #Beginner #System Administration #Terminal #Caché #InterSystems IRIS 1 16 1 2K
Article Evgeny Shvarov · Jul 18, 2019 3m read InterSystems Developer Community Code Of Conduct Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and manager pledge to making participation in InterSystems Developer Community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. Our Standards Examples of behavior that contributes to creating a positive environment include: #Developer Community Official 3 0 0 3.1K
Article Evgeny Shvarov · Jul 13, 2019 2m read Useful Commands in You Day-to-Day Development With Docker Containers Hi guys!Was coding today with InterSystems IRIS in a docker container and decided to share with you the commands you may find useful in everyday coding. # docker-compose build command to build a container. Remember, it is useful if you have dockerfile in the repo. if the build is successful call the following to launch it: # docker-compose up -d Find IRIS management portal on: localhost:port/csp/sys/%25CSP.Portal.Home.zen?$NAMESPACE=%25SYS where the port is what you set in docker-compose.yml - 52775 in this case. Run the following if you want to launch a terminal session inside IRIS container: # docker-compose iris iris session iris gfhj gj sdfdsfsdf USER> And run the following to shut down the container: # docker-compose down Troubleshooting #Development Environment #Docker #ObjectScript #InterSystems IRIS 5 4 4 655
Announcement Evgeny Shvarov · Jul 7, 2019 InterSystems Open Exchange June 2019 Digest Hi Community!This is the update on what are the new applications submitted on OpenExchange in June 2019!New ApplicationsExample Backup Task published by @Sergey MikhailenkoSample database backup copying task with prior deletion of outdated copiesA more useful Object Dump published by @Robert CemperThis small helper class allows you to dump an object to terminal ore.g in background to some stream for later review.Samples BI published by @Evgeny Shvarov on behalf of InterSystemsThis is a technology example of InterSystems Business Analytics tool with Cubes, Pivots, MDX Queries and Dashboards. The Sample is formerly known as "Holefoods "Interjob communication Demo published by @Robert CemperIt's internal variant of PIPE #Digest #Open Exchange 2 2 0 196