Calling apex function

  1. If you expose your apex logic as Apex Invocable Methods, then you can call the logic through the “Run Custom Apex Action”. This approach is good if the Apex logic has a general purpose, such as “Send SMS via Twilio”, and thus should be available to call from any Skuid Page. You can lock down access to Invocable Apex Classes via Profile / Permission Sets, but not by execution context (e.g. VF Page), so If you need to lock down access to this Apex to be from a particular execution context, then the Remote Action approach would be better.
    2. REST Models are a great alternative, yes! The nice thing about this approach is that you can then use regular Skuid Model API methods to, in effect, influence Apex code. Highly recommended.