Tagged: nexj-scheme
- This topic has 5 replies, 3 voices, and was last updated 3 years, 8 months ago by wesleylawnexj.
-
AuthorPosts
-
-
January 31, 2021 at 8:38 pm #15595Greg FentonParticipant
Is there a doc that covers some of the “NexJ Scheme” language enhancements/variations from standard Scheme? I’m sure that NexJ has some helper functions, etc. that would save us time vs. us writing it ourselves.
We are working with NexJ CRM v9.6.
Thanks!
0 -
February 1, 2021 at 2:17 pm #15610Atulan ZamanParticipant
Hi Greg,
I’m not aware of a full documentation of the variations of NexJ scheme and standard scheme. The main utilities are in enhancements made to interact easily with our metadata, and the large collection of library functions added for ubiquitous development use cases. Having said that, I can suggest some resources that can hopefully help you in finding the right functions for your use cases:
System libraries: syslibrary:scheme.scm and syslibrary:server.scm
These core libraries define most of the basic functions that are accessible across any project that uses NexJ metadata. It includes functions for different data-structures and also for interacting with the class metadata. You can open syslibrary:scheme.scm by opening the declaration of any function defined there, eg. “for-each” and for syslibrary:server.scm, by opening the declaration of any function defined there, eg. “read-instance”.
NexJ Studio type-ahead hints
This is probably the most practical although less refined. In any scheme compatible editor in NexJ Studio you can use Ctrl + Space after any keyword to get suggestions for available commands including library functions. More importantly, it also supports the wildcard * for type-ahead search. So, eg if I wanted to see available functions regarding file manipulation, I use use: *file* and use Ctrl + Space to see what functions are available that include the word “file”. This is how I learnt about most of the functions I use every day.
Hope it helps.
0 -
February 19, 2021 at 8:52 pm #15834Greg FentonParticipant
Hi Atulan,
I don’t know if scheme.scm is available to NexJ Finance customers, is it? Where would I find it in NexJ Studio? I do see server (.scm) under Resources >> Libraries (thanks for that!!)
There used to be some documents that were generated from the NexJ models. I am told that they are no longer part of the product offering.
Thanks!
0 -
February 22, 2021 at 12:38 pm #15961wesleylawnexjParticipant
The scheme.scm library can be found from “Open Model Entry”. Searching for *.scm should be able to retrieve all available .scm files.
0Attachments:
You must be logged in to view attached files. -
February 22, 2021 at 12:47 pm #15969wesleylawnexjParticipant
Back during the Emerald release and earlier, we used to release a separate pdf for the Presentation API. That content has since been integrated into the Help section in NexJ Studio, which is why we stopped releasing that pdf. Anything that scans our models to produce documentation should be in the help section. Information about the newer AFL data types like mda.Controller can also be found there.
With respect to globally defined functions, we currently don’t have anything that scans them all and extracts their documentation.
0Attachments:
You must be logged in to view attached files. -
April 22, 2021 at 2:05 pm #16763wesleylawnexjParticipant
Sorry to bring back an old post. I was wrong when I said that we didn’t have anything that scanned our list of scheme functions. The Generate NexJDoc tool can be used to extract a listing of all the scheme functions that are defined in the model.
0Attachments:
You must be logged in to view attached files.
-
-
AuthorPosts
- You must be logged in to reply to this topic.