Question John Murray · Mar 9, 2016 HealthShare maps the Test package to HSLIB If your Ensemble environment is actually a HealthShare one, here's a snippet of information that I wasn't able to find in the documentation.When a namespace is HealthShare-enabled it gets some mappings added to it in order to fetch stuff from the HSLIB database. The most obvious mapping is a package mapping that gives your namespace all the HS.* classes. #Ensemble #HealthShare #Mapping 0 4 0 428
Question John Murray · Mar 8, 2016 Can my Eclipse plugin use an Atelier project's credentials? Suppose I want to create an Eclipse plugin designed to be added to Atelier, and my plugin needs to perform some processing on the server that the current Atelier project is configured to connect to.Is there a way I can use the connection credentials that have already been entered by the user? I don't really want to make them enter these again into my own plugin. #Development Environment 1 8 0 510
Article John Murray · Mar 7, 2016 1m read Investigating dependencies When developing or maintaining Caché Objects applications, or even ones written in plain COS code, it's sometimes useful to investigate dependencies. Yuzinji is a tool that analyzes the Caché class dictionary plus the COS code within methods and routines, then feeds its results into Structure101g Studio. #Object Data Model #ObjectScript #Caché 1 1 0 789
Article John Murray · Mar 6, 2016 2m read Who does Windows think I am? When my COS code is executing in a Caché process it might want to interact with the host operating system. For the purpose of this post I'm focusing on a Windows host, but much of it applies to other host OS platforms as well. A common example of host OS interaction is when my process wants to read from or write to a file. What credentials will apply when Windows is checking whether or not to allow me access to the file? To answer that we need to consider another question. How did our process start? #Caché #Terminal #Ensemble #Callout #Microsoft Windows 3 6 0 1K
Question John Murray · Mar 5, 2016 Development teams and namespaces If you've got more than one developer on a project, do you each work in your own namespace? Or do you all use a common namespace?Through my work at George James Software I have encountered many different Caché and Ensemble development setups. At risk of over-generalizing, the older and more established users of InterSystems technologies seem more likely to have all their developers working in a common namespace, whereas the newer 'converts' tend to favour giving each developer their own namespace. #Caché #Development Environment #Ensemble 2 7 0 828
Article John Murray · Mar 4, 2016 1m read Getting my head around a class model There's plenty of goodness in the %-packages InterSystems supplies, and it seems that every new version of Caché brings something new. The browser-based class documentation (a.k.a. Documatic) generally provides a good level of information, but on the basis that "a picture is worth a thousand words" I sometimes want a diagram.For example, when trying to navigate the %Dictionary package for a project that needed to find out about class definitions, here's one of the UML class diagrams I created. #Object Data Model #Tools #Caché 3 7 0 1.6K
Article John Murray · Mar 3, 2016 2m read Class Projections and Projection Classes The purpose of this post is to raise the profile of a powerful mechanism that has long been available to us, and to open a discussion about ways in which it can be used or abused. You can read more detail about the mechanism here. To summarize, your class definition can use the Projection keyword to reference one or more projection classes. A projection class can implement methods that get invoked at key points in the lifecycle of your class. #Best Practices #Object Data Model #Caché 8 18 0 1.5K
Discussion John Murray · Mar 3, 2016 Anyone using Visual Studio Code? Is anyone in the fine community of developers who work with ISC technologies looking at Microsoft's Visual Studio Code offering? One of Bill McCormick's recent posts about Atelier referred to Visual Studio being considered the best IDE. Granted, Code is far less of a tool than VS, and probably always will be. But it claims to be open source and cross-platform, i.e. Linux and OS X as well as Windows. #Development Environment #ObjectScript #Tools #VSCode 8 26 3 5.1K
Announcement John Murray · Jan 21, 2016 Free edition of native source code management tool now available Announcing Deltanji 6.0, the latest version of the well-respected George James Software source control product formerly known as VC/m.Deltanji comes in four editions, including Solo which is quick to install on Caché or Ensemble (2009.1 or later), easy to get started with, and perpetually free.Deltanji runs within the environment whose code it is managing, integrating closely with Studio and Portal, and storing code versions in a CACHE.DAT database. #Development Environment #Studio #Tools #Caché #Ensemble 1 2 0 383