[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] blog.rb 1.0

Ilmari Heikkinen

4/1/2006 5:08:00 PM

blog.rb 1.0Blogging - the Ruby Way.blog.rb is a full-heap, open-source blog framework in Ruby for writingreal-world blogs with joy and less keystrokes than most frameworksspend doing markup sit-ups.Features of blog.rb:- blog.rb has a simple syntax, partially inspired by vi and ed.- blog.rb has exception handling features, like emacs or nano, to makeit easy to handle errors.- blog.rb's operators are syntax sugar for the regexps. You canredefine them easily.- blog.rb is a complete, full, pure line oriented blog: LOB. Thismeans all data in blog.rb is a line, in the sense of cat: noexceptions. Example: In blog.rb, the number 1 is a line.- blog.rb's LO is carefully designed to be both complete and open forimprovements. Example: blog.rb has the ability to add characters to afile, or even to a line during runtime. So, if needed, a line of onefile *can* behave differently from other lines of the same file.- blog.rb features single line-feed only, *on purpose*.- blog.rb features true bytes. Not just one-byte characters, butwithout encodings.- blog.rb features numbers in its syntax (characters in 0..5 range or6..9 range). These numbers can be passed to the operators, orconverted into lines.- blog.rb features a true modify-and-overwrite IO subsystem. It workswith all blog.rb lines. You don't have to care about maintaining postcounts in concatenated files. This is better for your health. ;-)- Writing text files in blog.rb is easier than in Blogger orMovingType, due partly to the IO subsystem, and partly to the finefile API. Pipe interface is also available.- Lines in blog.rb can (and should) be used without counting theirinternal representation. There *are* unwrapped lines (shorter thanyour terminal width) and wrapped lines (over-wide), but you need notworry over which one is used currently. If a character count is shortenough, a line is an unwrapped line, otherwise it is a wrapped line.Conversion occurs automatically.- blog.rb needs no character declarations. It uses simple namingconventions to denote the case of variables. Examples: simple 'a' =lowercase, 'A' = uppercase, '!' = punctuation. So it is also notnecessary to use a tiresome 'line_number.' prepended to every word.- blog.rb can load its data file if an OS allows.- blog.rb features blog independent networking. Thus, for allplatforms on which blog.rb runs, you also have the possibility ofnetworking, regardless of if blog.rb supports it or not, even onMS-DOS! ;-)- blog.rb is highly portable: it is developed mostly in ~/, but worksin many types of /home, c:\, h:\Documents and Settings\, ~/Documents,files:my_blog:, etc.LICENSE: Ruby's