{"id":518,"date":"2025-09-17T17:47:14","date_gmt":"2025-09-17T17:47:14","guid":{"rendered":"https:\/\/vsr.dev\/demo-projects\/swac\/"},"modified":"2026-07-02T15:29:17","modified_gmt":"2026-07-02T15:29:17","slug":"swac","status":"publish","type":"demo_project","link":"https:\/\/vsr.informatik.tu-chemnitz.de\/demos\/swac\/","title":{"rendered":"SWAC"},"content":{"rendered":"\n<div class=\"wp-block-vsr-blocks-header\">\n\t<h2 class=\"linie black\">\n\t\tSWAC &#8211; Sharing a Web Application&#8217;s Codebase between Server and Client\t<\/h2>\n\t<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph\">A Web application&#8217;s codebase is normally split into a server-side and a client-side with essential functionalities being implemented twice, e.g., validation or rendering. To implement the codebase on the client, JavaScript, HTML and CSS are languages that modern Web browsers can interpret. As the counterpart, the server-side codebase can be implemented by plenty of programming languages, which provide facilities to establish standardized communication interfaces. While recent developments such as Node.js allow using JavaScript as a client-side programming languages outside the browser in a simple and efficient way also on the server-side, they lack offering a common codebase for the entire Web application. The SWAC framework implements a flexible approach to enable sharing of presentation and business logic between server and client using the same codebase. The SWAC framework aims at reducing development efforts and minimizing coding errors, while taking characteristic differences between server and client into account.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"342\" src=\"https:\/\/vsr.informatik.tu-chemnitz.de\/wp-content\/uploads\/2025\/09\/swac-logo-big-1024x342.png\" alt=\"\" class=\"wp-image-5056\" srcset=\"https:\/\/vsr.informatik.tu-chemnitz.de\/wp-content\/uploads\/2025\/09\/swac-logo-big-1024x342.png 1024w, https:\/\/vsr.informatik.tu-chemnitz.de\/wp-content\/uploads\/2025\/09\/swac-logo-big-300x100.png 300w, https:\/\/vsr.informatik.tu-chemnitz.de\/wp-content\/uploads\/2025\/09\/swac-logo-big-768x257.png 768w, https:\/\/vsr.informatik.tu-chemnitz.de\/wp-content\/uploads\/2025\/09\/swac-logo-big.png 1497w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A Web application&#8217;s codebase is normally split into a server-side and a client-side with essential functionalities being implemented twice, e.g., validation or rendering. To implement the codebase on the client, JavaScript, HTML and CSS are languages that modern Web browsers can interpret. As the counterpart, the server-side codebase can be implemented by plenty of programming [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5056,"template":"","meta":{"demo_code":"SWAC","demo_summary":"A framework for sharing a Web application's codebase between server and client.","migration_allowed":true,"breadcrumb_parent":80,"footnotes":""},"demo_category":[13],"class_list":["post-518","demo_project","type-demo_project","status-publish","has-post-thumbnail","hentry","demo_category-composition"],"meta_box":{"demo_code":"SWAC","demo_summary":"A framework for sharing a Web application's codebase between server and client.","migration_allowed":"1","breadcrumb_parent":80,"demo_project_authors_to":["24082","24083","18949"]},"_links":{"self":[{"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/demo_project\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/demo_project"}],"about":[{"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/types\/demo_project"}],"author":[{"embeddable":true,"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"version-history":[{"count":6,"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/demo_project\/518\/revisions"}],"predecessor-version":[{"id":19943,"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/demo_project\/518\/revisions\/19943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=\/wp\/v2\/media\/5056"}],"wp:attachment":[{"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=518"}],"wp:term":[{"taxonomy":"demo_category","embeddable":true,"href":"https:\/\/vsr.informatik.tu-chemnitz.de\/index.php?rest_route=%2Fwp%2Fv2%2Fdemo_category&post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}