Check this app by @Oleg.Dmitrovich5544.
- Log in to post comments
We are having a lot of requests that voting is not available!
Actually to vote for the contest you need:
1. Sign in to Open Exchange - DC credentials will work.
2. Make any valid contribution to DC - answer or ask questions, write an article, comment on any post.
Thanks, Botai Zhang!
Hi Yeung!
Do you want to try VSCode instead of Studio? It has ObjectScript plugin and dark mode )
this is fixed too
Hi participants!
In order to simplify the assessment for bonuses could you please include in the readme the links where your app uses a certain model type?
E.g.:
You also can consider the web-terminal by @Nikita Savchenko, which could be installed also via ZPM as:
USER>zpm "Install webterminal"
It doesn't support host in/out operations (for obvious reasons) but has code completion for methods and commands and a nice SQL shell. And it's a web app
Thought that with this module by @Robert Cemper and sql-rest-api one can export to JSON any global with SQL query.
e.g. like that:
SELECT * FROM rcc_G.scan where rcc_G.Scan('^ERRORS',37)=1 and id['Jour'Thanks, @Nigel Salm!
There is also another app from @Nikita Savchenko - Classes Visual Editor
Hope you’ll find it useful.
Hi Mike! It looks like that your docker space is over.
Call
docker system prune -f
and see if this fixes the problem.
Caution! This will delete unused containers on your laptop. make sure you don't have sensitive data or uncommitted code in it. Usually you don't
you said that server-side dev is the only option IRIS provides,
I meant IRIS, or Caché, or Ensemble - when developers really store and even edit code on the server.
Now that I've saved that file and it's on the server, to continue making changes I should open up the server-side file and continue editing from there? Or I can continue working on the local and it will overwrite the server side?
you can continue editing it locally sending it to the server for compilation/testing every time.
I think I'm seeing your point about commits then. I edit it locally, it's sent to the server, the server sends it to the repo, and locally I should pull down the repo before continuing any changes. Is that the idea?
The idea with starting from a local folder with files, which is connected with source control. So any changes to the files are automatically being tracked by the source control you use (git, svn, mercurial, whatever). You use the server only to compile/test things - no connection to source control needed on a server-side.
This is how things happen in almost any programming stack.
@Raj Singh - could we make a webinar for VSCode and approaches to code, connect, etc?
Looks like that people could benefit from such a webinar
Reading the documentation, I'm also confused if local development is even desirable? In my case I have IRIS community running docker and I have Cache 2018 running on my local machine (can't get IRIS locally as it's a work computer and locked down). In this case I probably just want to develop all my code on the server?
It's up to you, of course. Developing the code "sitting inside" the server it's sort of the option only IRIS provides.
If you think what's going on when you develop "on the server" is when you change the class you change it in some global on the server and when you compile it you send the global to the compiler. And when you good you try "not-to-forget" to export code into a file and commit/push to the repository.
I prefer to edit files from the first step and send it to the server for compilation/testing and then commit/push the file - I'll never forget it cause VSCode helps me to manage it nicely with changes and things like that.
And it's not a big deal where do I send it to compile/test - whether it is local IRIS in docker or host or any remote development server.
using VS Code to compile/test
I'm not saying that VS Code compiles/tests. What I'm saying VSCode every time when we save the file locally connects to a server, sends it to a server, and compiles it.
Hi Simon!
Also when you refer to a HTTPS service you need to have SSL configuration in IRIS.
You can set up it manually or programmatically or just install zpm modulle:
USER>zpm "install ssl-client" that will setup a "default" SSL configuration which you could use then in the requests to HTTPS resources.
And yes, for this you would need a ZPM client installed.
Speaking about automation with Github - if you use GitHub to host the code maybe it makes sense to consider Github Actions vs TravisCI for automation.
There are numerous examples how to use Github Actions to test and deploy to cloud/kubernetes solutions built with InterSystems technology.
E.g. check this repo - which has two automation scripts: one for Kubernetes deployment and another for automatic static code control.
Every push to the master branch triggers the deployment to Kubernetes and the test of the codebase.
I think we need a webinar on this)
In VSCode you are SUPPOSED from step one to open a folder with code that you can import to a server for compilation/testing.
If you have the server but not files you can open an EMPTY folder, connect to the server, and export code - but this is sort of the first exception because you are supposed to have a repository for the code in advance.
Hi Stefan! Why would you want to import code in XML form?
IRIS and I bet Ensemble too can load it from CLS as well using $System.OBJ.%ImportDir()
So you can load CLS source files directly from the folder with no need to transform it to XML first.
And to launch the image do:
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-community:2020.4.0.524.0-zpmTechnology Bonuses for the Multi-model contest.
Pinging @Dan Bissex and @Sam Duncan to provide more information.
@Zhong Li - two articles in top 3 most read - really cool!
@Jose-Tomas.Salvador - congrats for the most read!
@Yuri Marx - parabens for the most voted one Periodic of InterSystems!
@Timothy Leavitt - you got the most discussed prize with Apps.REST, congrats!
@Robert Cemper - you are the most read author of the year - respect!
And I'm in top 5 most read articles - flattered!
Thank you community for such a good year!
Hi Lee!
Could you please try this with IRIS 2020.4? I think this was fixed.
Make an OEX module from this? Great thing.
InterSystems Reports bonus is added for iris-analytics-package
ZPM bonus is added for iris-analytics-package