BookmarkSubscribeRSS Feed

Build a HTML5 Web App Using SAS 9 or Viya

Started ‎05-16-2020 by
Modified ‎07-09-2020 by
Views 4,427

This is a short article to provide supporting and background info for my SGF 2020 virtual presentation, "Build a HTML5 Web App Using SAS".

 

This was originally planned as a HoW (Hands On Workshop), and the workshop (1 hour) is still available for those who are interested, they are free, we run them occasionally whenever there is enough interest.  Just send me a PM.

 

The presentation itself talks about the SASjs framework, which was launched in 2020 as a cohesive approach for building Web Apps on SAS.  The components are:

 

  • MacroCore (SAS Macro Library for backend SAS dev)
  • SASjs (JS adapter for frontend/backend communication with SAS)
  • sasjs-cli (NPM tool for building the backend in an 'opinionated' way)

 

It kicks off with an example of building a single-page-app in just 2 lines of SAS code!  You can try this yourself, if you have SAS 9 and a Stored Process Server (and internet access from SAS):

 

filename playme url "https://sasjs.io/game";
%inc playme;

After running the above, open the url that is displayed in the log.  You will have your own space invaders game:

 

Screenshot 2020-05-16 at 20.16.29.png

 

Another feature of the SASjs CLI tool is that it lets you compile your frontend into web services, thereby avoiding the need to access the SAS web server.  This isn't a recommended approach, however - sometimes it's the only available approach.  

 

The video itself is available below:

 

 

The paper can be found here, and the slides are here.

 

Other links:

 

 

We'll continue to open source our tooling and technology for building Web Apps on SAS 9 and Viya.   

 

Comments are welcomed!

Comments

Thanks for resources!

Version history
Last update:
‎07-09-2020 10:38 AM
Updated by:
Contributors

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags