Question John Murray · Mar 15, 2016 Faulty titles in "My Collaborations" in DC? Are titles such as "answer406171" expected? #DC Feedback 0 1 0 158
Question John Murray · Mar 15, 2016 What "Related Topic" shall I use for Developer Community feedback? Since the March 15 update, Related Topic is now a mandatory field. My first post since the update was to this Developer Community Feedback group, and I found it hard to choose an appropriate Related Topic. I ended up picking "Online Learning" for that post, and will use the same for this one too. #DC Feedback 2 5 0 118
Question John Murray · Mar 15, 2016 Did the March 15 update break "My Content" view? Here's what I now get (screenshot from Chrome at 75% zoom, yellow markers added to the posts with the wrong font): #DC Feedback 0 1 0 138
Question John Murray · Mar 15, 2016 Managing source code across Caché and Ensemble version upgrades One aspect of source code management is how to deal with the almost inevitable need to upgrade your Caché or Ensemble platform to a newer InterSystems release.It's long been my experience that InterSystems does a very good job of maintaining backward compatibility. Code that works correctly on, say, 2012.1 is very likely to work correctly on, say, 2015.2 without any modification. #Caché #Ensemble 0 10 0 521
Question John Murray · Mar 14, 2016 Atelier equivalent of Studio add-ins? In response to a comment on his posting about source control hooks and Atelier Bill McCormick used the example of Studio's SOAP Wizard and talked about providing more information about how Atelier will support this kind of extension. My Atelier (1.0.116) has a Tools menu with an Add-Ins option and a "Soap Wizard" (sic) submenu.Is there any information available to us yet about how we can add our own add-ins of this kind? #Development Environment #Studio 2 7 0 449
Article John Murray · Mar 14, 2016 3m read Source control and the production class When you create an Ensemble production your namespace acquires a new class definition. For example here is what the class that defines the Demo.Loan.BankUSProduction production in the ENSDEMO namespace looks like when opened in Studio: #Ensemble 2 3 0 661
Article John Murray · Mar 11, 2016 1m read Using Class Queries - %SQL.Statement versus %Library.ResultSet If I have defined a class query in one of my classes and I want to use that query from a method of another class, what are the pros and cons of using the %SQL.Statement interface versus the %Library.ResultSet interface? I believe %SQL.Statement is the newer interface. So if the old way is: USER>s rs=##class(%Library.ResultSet).%New("%Library.File:FileSet") USER>s sc=rs.Execute("c:\s\","*.txt") USER>w sc 1 USER>while rs.%Next() {w !,rs.Data("Name")} ... then the new way is: #Caché #SQL 2 12 0 1.6K
Article John Murray · Mar 11, 2016 1m read Defining global, routine and package mappings that apply to (almost) all namespaces In this posting I want to raise the profile of a feature that arrived in 2009.1 but is perhaps not very well known.It is sometimes useful to make certain packages, globals or routines available to all of your namespaces. Of course you can add the necessary mappings whenever you create a new namespace, but here's a simpler way. #Caché #Ensemble #HealthShare #Mapping 6 6 0 1.3K
Question John Murray · Mar 10, 2016 How to make "Check for Updates" work In a comment on this post in the Field Test - 2016.2 community Bill McCormick suggested using Atelier's "Check for Updates" option from the Help menu. Here's what I get: #Beginner 4 10 0 340
Article John Murray · Mar 10, 2016 1m read New Caché book I just saw this new posting by Mike Kadow on the "Caché, Ensemble, DeepSee" Google Group announcing the availability of his new book, "Caché and MUMPS - Part II" There's also more information about it at his site http://www.cosmumps.org/ #Caché 3 0 0 851
Question John Murray · Mar 9, 2016 Relationship of the Atelier Beta to the 2016.2 Field Test When I go to the 2016.2 FT download page I'm also offered a link to the Atelier Beta: #Development Environment #Field Tests 0 5 0 471
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 410
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 485
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 717
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 960
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 777
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.5K
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.4K
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 5K
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 355