go to post Herman Slagman · Dec 5, 2023 You should use $System.Event to wake-up queue handlers, not as a queue itself.
go to post Herman Slagman · Nov 10, 2023 It just what you define a 'success', from a pure HTTP standpoint *any* HTTP status code is a success, the server was able to return a status code.If you want to check if a resource exists or not, a 404 is a perfectly successful response.
go to post Herman Slagman · Aug 8, 2023 You can use Objectscript pattern matching:Set String="a=b"Write String?.e1P.e => 1The case isn't important, just to highlight the 1P(unctuation)
go to post Herman Slagman · Jul 31, 2023 I fully agree with Julius.Any class that exceeds 100 properties is dead wrong.We're not talking tables (relational) (and even then it's wrong) but OO design, which doesn't seem to be much in fashion these days.Redesign your solution
go to post Herman Slagman · Jul 14, 2023 Dramatic entrance ;-)Looks awesome, definitely will have a look.
go to post Herman Slagman · Jun 12, 2023 Maybe you can use a generator method somewhere in your code to create the WebApp, something like: ClassMethod CreateApplication() As %Status [ CodeMode = objectgenerator ]{Set $ZTrap="Error"New $NamespaceWrite !,"Creating XXX API",!Set URL="/xxx"Set $Namespace="%SYS"If ##class(Security.Applications).Exists(URL) {Return $$$OK}Set Props("Name")=URLSet Props("NameSpace")="%SYS"Set Props("Description")="XXX API endpoint"Set Props("AutheEnabled")=64 ; unauthenticatedSet Props("DispatchClass")="API.Handler.Class"Set Props("Type")=2 ; CSP AppSet Props("MatchRoles")=":%All"Set sc=##class(Security.Applications).Create(URL,.Props)Return scErrorSet $ZTrap=""Return $$$ERROR($$$GeneralError,"ErrorTrap: "_$ZError)}
go to post Herman Slagman · May 14, 2023 For what it is worth: I don't agree.Studio is a Objectscript dedicated IDE (Editor), rather clean and unobtrusive.It could be enhanced quite simple.The only problem is Windows only (which is still 57.37% of all desktops)
go to post Herman Slagman · May 12, 2023 I've trained about a dozen junior to senior developers in InterSystems (and predecessors) technology.ObjectScript is the least you should worry about. Any developer who can't grasp that isn't worth hiring.It's the IRIS ecosystem that is completely different from 'traditional' development. Globals, Namespaces, (Remote) Databases, Mirrors, Productions, Jobs. All concepts that are not found outside the InterSystems (MUMPS) realm.If people get their head around that, they either love it or hate it.
go to post Herman Slagman · May 12, 2023 > being rather an explorer than an administrator I'd like to add: I rather have an artist then a graduated physicist
go to post Herman Slagman · May 12, 2023 Time-Aware Modeling, enhancements of Foreign Tables, Ready-Only Federated Tables. Is there any documentation on these features?