Archive for the 'XML' Category
Why is XML Better?
Why is XML better than custom internal formats? Isn’t a non-standard set of XML tags basically equivalent to a custom format when using data internally to an application? Absolutely not, and here is why.
Read more
Verifying Code Examples in your Documentation
One of the more annoying aspects of writing developer documentation is that it is very easy for your code examples to get out of date, develop typos, etc(As those reading previous articles may have noticed). In this article I use docbook, xslt, and automake to generate code examples that are guaranteed to compile.
Read more
Creating a Binary File Using a Ruby DSL
So I used ruby to convert a simple hex string into a binary file in Converting hex to Binary in 4 Languages. Today I was trying to create a mixed ascii/binary file at work and created a little Domain Specific Language that has good possibilities.
NOTE: There is an expanded version of this script here: A Better Binary File Generator DSL in Ruby
Read more
Netcat Clone in Three Languages – Part I (Ruby)
I thought I’d continue my series of writing the same application in multiple languages by trying to clone the wonderful network tool: netcat. For the first installation I’m going to try it in Ruby.
3 comments