Home Forums Scheme NexJ Scheme

Tagged: 

Viewing 5 reply threads
  • Author
    Posts
    • #15595
      Greg FentonGreg Fenton
      Participant

      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
    • #15610
      Atulan ZamanAtulan Zaman
      Participant

      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
    • #15834
      Greg FentonGreg Fenton
      Participant

      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
    • #15961
      Wesley Lawwesleylawnexj
      Participant

      The scheme.scm library can be found from “Open Model Entry”. Searching for *.scm should be able to retrieve all available .scm files.

      0
      Attachments:
      You must be logged in to view attached files.
    • #15969
      Wesley Lawwesleylawnexj
      Participant

      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.

      0
      Attachments:
      You must be logged in to view attached files.
    • #16763
      Wesley Lawwesleylawnexj
      Participant

      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.

      0
      Attachments:
      You must be logged in to view attached files.
Viewing 5 reply threads
  • You must be logged in to reply to this topic.