{"id":559,"date":"2020-04-08T09:28:57","date_gmt":"2020-04-08T09:28:57","guid":{"rendered":"http:\/\/www.chatrail.com\/?page_id=559"},"modified":"2020-04-21T13:32:08","modified_gmt":"2020-04-21T13:32:08","slug":"smart-e-d-i","status":"publish","type":"page","link":"http:\/\/www.chatrail.com\/index.php\/smart-e-d-i\/","title":{"rendered":"SARK &#038; SMART E.D.I"},"content":{"rendered":"\n<p class=\"has-text-align-right\"><img loading=\"lazy\" width=\"64\" height=\"64\" class=\"wp-image-928\" style=\"width: 64px;\" src=\"http:\/\/www.chatrail.com\/wp-content\/uploads\/2020\/04\/Qt-icon-64.png\" alt=\"\"> <img class=\"wp-image-928\" style=\"width: 64px;\" src=\"http:\/\/www.chatrail.com\/wp-content\/uploads\/2020\/04\/spreadsheet-64.png\" alt=\"\"> <img loading=\"lazy\" width=\"51\" height=\"64\" class=\"wp-image-931\" style=\"width: 51px;\" src=\"http:\/\/www.chatrail.com\/wp-content\/uploads\/2020\/04\/mysql-icon-64.png\" alt=\"\"> <img loading=\"lazy\" width=\"68\" height=\"64\" class=\"wp-image-934\" style=\"width: 68px;\" src=\"http:\/\/www.chatrail.com\/wp-content\/uploads\/2020\/04\/windows-icon-64.png\" alt=\"\"> <img loading=\"lazy\" width=\"53\" height=\"64\" class=\"wp-image-930\" style=\"width: 53px;\" src=\"http:\/\/www.chatrail.com\/wp-content\/uploads\/2020\/04\/linux-icon-64.png\" alt=\"\"><\/p>\n\n\n\n<p><p style=\"text-align: justify;\">The SARK project was conceived to provide a server side mutli-threaded platform based around the &#8216;Business Objects&#8217; built for <a href=\"http:\/\/www.chatrail.com\/index.php\/warehouse-management-w-m-s\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cargoware W.M.S<\/a> project. The aim was to have a platform that allowed the developer to just focus on the business task and not have to worry about timers, threading, interfacing, sockets or protocol.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify;\">Each new service is based on a class derived from DWSarkThread or one of its related descendants (for example the SarkFileThread handles file exchange via either shared folders, FTP or POP3\/IMAP). You then just need to create the code for two pure member functions called <strong>setup()<\/strong> and <strong>loop()<\/strong>, yes the idea was &#8216;borrowed&#8217; from the Arduino project. The developer is then free of the complexities of multi-threading, socket and protocol handling.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify;\">SARK has a number of &#8216;service&#8217; classes and here we will discover the work done for E.D.I (Electronic Data Interchange), there is another page covering a Web Server project powered by SARK called the <a href=\"http:\/\/www.chatrail.com\/index.php\/web-b-i-framework\/\" target=\"_black\" rel=\"noopener noreferrer\">Web B.I Framework<\/a>.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify;\"><strong>What is Smart E.D.I? <\/strong>After spending years working at creating code that takes data in, does something with it and puts data out again (or more commonly called middle-ware). I have found that many of the existing E.D.I options came with a notable &#8216;investment&#8217; by the client in getting such interfaces setup and many smaller businesses felt the E.D.I was too &#8216;complex for them&#8217;. The fact is automation and E.D.I is essential for all businesses big or small so that sparked an idea.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify;\">Getting data interchange between business partners as actually very easy if you come at it from the right direction, how many times have someone said &#8220;I&#8217;ll email you a spreadsheet&#8221;.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify;\">Smart E.D.I builds on that pre-existing mode of communication, using metadata from the email itself, along with the &#8216;footprint&#8217; of the attached file it can discern the context of the data. Then applies the power of the &#8216;Business Objects&#8217; to process the data in the needed way before sending a suitable response back to the sender (or anywhere else it&#8217;s needed).<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify;\">The concept sounds very simple but the rules can get very complex and, although I wouldn&#8217;t go as far as calling it A.I, the code is capable of &#8216;learning&#8217; to a degree. It is based around an analysis engine that has been previously deployed in banks for message routing and was part of a drug recommendation pilot project. I&#8217;ve always thought this concept may make a good A.I candidate but as yet have not found an opportunity to explore it.<\/p><\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SARK project was conceived to provide a server side mutli-threaded platform based around the &#8216;Business Objects&#8217; built for Cargoware W.M.S project. The aim was to have a platform that allowed the developer to just focus on the business task and not have to worry about timers, threading, interfacing, sockets or protocol. Each new service [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/pages\/559"}],"collection":[{"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/comments?post=559"}],"version-history":[{"count":12,"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/pages\/559\/revisions"}],"predecessor-version":[{"id":1050,"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/pages\/559\/revisions\/1050"}],"wp:attachment":[{"href":"http:\/\/www.chatrail.com\/index.php\/wp-json\/wp\/v2\/media?parent=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}