TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Introducing UN/EDIFACT

18 点作者 throwawaybutwhy大约 4 年前

6 条评论

achoice大约 4 年前
15 years ago I worked with integrating services via IBM WebSphere Message Broker. Big companies needed help mapping EDIFACT messages to&#x2F;from other formats. Interesting at first, mapping hell after a while. Quite interesting format, see <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;EDIFACT" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;EDIFACT</a> And message specs <a href="https:&#x2F;&#x2F;service.unece.org&#x2F;trade&#x2F;untdid&#x2F;d20b&#x2F;trmd&#x2F;trmdi2.htm" rel="nofollow">https:&#x2F;&#x2F;service.unece.org&#x2F;trade&#x2F;untdid&#x2F;d20b&#x2F;trmd&#x2F;trmdi2.htm</a><p>USA use X12, similar thing.
fb440大约 4 年前
Been working with EDIFACT for 25 years (and X12, TRADACOMS, and all forms of XML). EDIFACT is, in my opinion, the most efficient way to transfer structured, repetitive data structures between different systems (mostly supply-chain or logistics). Designed to be efficient in a time when a 28.8kbps modem was fast. 12 to 15 times more compact than optimized XML. Much better than XML or JSON when you are legally bound to archive invoices for 10 years. Most mesages are around or below 5kB. Only drawbacks: - if you store it in a database, you can&#x27;t easily query it like you would JSON. - it only supports 1-byte encodings (EDIFACT v4 does support multi-byte encoding, but I have yet to see it used in the real world). These days, UTF-8 is everywhere. - most end users think it&#x27;s a simple text format, they code quick and dirty half-baked scripts to cobble some EDIFACT-looking garbage together and call it a day. Then they grumble when it gets rejected by a real EDIFACT parser.
i386大约 4 年前
I worked with this interchange format for a few years developing customs brokerage and logistics software. There’s like 50 different versions of the language when you count up official EDIFACT revisions and some poorly implemented versions of it per countries customs system. At one point there was even a XML version but I don’t think it caught on.<p>I once unintentionally broke a particular countries customs system by sending the maximum number of messages in a single interchange envelope. System was out for 3 days whilst shipping containers couldn’t be moved out of their major seaport. Still amazed they had Christmas that year!
评论 #27259348 未加载
wffurr大约 4 年前
(1987)
utucuro大约 4 年前
Sadly, I&#x27;m currently working with EDIFACT... It is alive and kicking in Europe.
hackernj大约 4 年前
Blast from the past!