Evgeny Shvarov · Jun 27, 2018 go to post

Que bueno! :)

But I would be happy even if you suggest the way how to contribute to your solution to introduce an another language support.

Evgeny Shvarov · Jun 27, 2018 go to post

Hi, Francisco!

Great stuff!

Could it be possible to add other languages support to your solution? E.g. Russian?

Evgeny Shvarov · Jun 21, 2018 go to post

Hi, Shameer!

As @Nicole Aaron mentioned, there is no officially proposed folder structure for your  InterSystems project, but I can share one typical approach.

The upper folder is basically named "src" assuming source code inside.

Files inside "src" could be splitted by source type. E.g.:

"cls" -  for ObjectScript classes,

"inc" -  for include files,

"mac" - for mac routines,

"dfi" - for DeepSee dashboards and pivots.

Every class name consists of package(s) and class itself. So class package could be projected to a folder. E.g. source code for the class Sample.Person will be stored in the file with following path:

/src/cls/Sample/Person.cls

There are numerous projects on Github which use similar approach. You can find examples of such projects via these cacheobjectscript-udl tag, e.g. this project.

HTH

Evgeny Shvarov · Jun 19, 2018 go to post

Thank you, Lucas. But the thanks should go to @Oleg Dmitrovich

As for CSP - it is a file, and can be edited via VS-Code just as a file in a versioned folder.

If you are looking for exporting tools, I can recommend isc-dev module, which can export code as single files in a dedicated folder structure (including DeepSee stuff), can export a single kits - large xml kits, say releases, and also patches which a commit, or a set of commits in git.

Evgeny Shvarov · Jun 15, 2018 go to post

Could you please share a sample code with ordering of the main grouping to understand the problem better?

Evgeny Shvarov · Jun 15, 2018 go to post

Hi, Community members!

It's just a reminder on a meetup we are having on 25th in UK, Birmingham!

And! We have a time slot available! So if you want to tell about your solution or share your best practices with InterSytems Data Platform please contact me or comment to this post!

Evgeny Shvarov · Jun 14, 2018 go to post

Hi, John!

Yes, we had the issue here - it is fixed now.

Thanks for pointing this out!

Evgeny Shvarov · Jun 11, 2018 go to post

Hi, David! Yes, actually all of them are already listed in your profile if you happen to accomplish it in the past.

Evgeny Shvarov · Jun 9, 2018 go to post

No advantage of course if Locale Defaults works for you. That was not obvious. Does it work?

Evgeny Shvarov · Jun 9, 2018 go to post

Also there is a common approach to use the root as a counter of the one-level array using $seq(uence) or $I(ncrement). E.g.

Class Test.Arrays {

ClassMethod ArrayExample()

{

 set a($seq(a))="blue"

set a($seq(a))="red"

set a($seq(a))="yellow"

write a,!    // will return 3

zwrite a // will out the full array to the device

}

}

And if we execute the following in terminal you'll get:

USER>d ##class(Test.Arrays).ArrayExample()

3

a=3
a(1)="blue"
a(2)="red"
a(3)="yellow"

Also see the good article on $seq vs $I by @Alexander.Koblov

HTH

Evgeny Shvarov · Jun 9, 2018 go to post

Hi, Ed!

You can build your own Localised dimension via expressions and put whatever language you want for the months.

Evgeny Shvarov · Jun 6, 2018 go to post

Thanks Vitaly!

Really great!

Classmethod Public: is it to be able to call for $$functions in a class?