Build a HTML5 Web App Using SAS 9 or Viya
- Article History
- RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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:
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:
- https://sasjs.io - information on building web apps with SAS
- https://github.com/sasjs/adapter - adapter for SAS-JS communication
- https://github.com/sasjs/cli - CLI tool for SAS projects
- https://github.com/sasjs/core - Macro Library for Application Development
- https://github.com/sasjs/react-seed-app - Seed app using React
- https://github.com/sasjs/angular-seed-app - Seed app using Angular
- https://github.com/sasjs/minimal-seed-app - Seed app with minimal code
- https://js.cards - quiz game to test your JS skills!
- https://sasensei.com/flash/45 - A-Z of building web apps with SAS
- https://sasensei.com/questions/filter?tags_any=[13] - quiz on building SAS web apps
- https://datacontroller.io - Example of a commercial HTML5 SAS web app
- https://www.youtube.com/watch?v=vSNBea_M8yU - Build a Viya web app in 5 mins
- https://www.youtube.com/watch?v=hUpBqExNec4 - using sasjs-cli to build a SAS backend
We'll continue to open source our tooling and technology for building Web Apps on SAS 9 and Viya.
Comments are welcomed!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thanks for resources!