Free Software Foundation!

Join now

Difference between revisions of "Alchemist"

From Free Software Directory
Jump to: navigation,
Line 4: Line 4:
 
|Full description=This package provides a functional, Ruby Domain-Specific Language (DSL)  for casting, transforming and transposing objects.
 
|Full description=This package provides a functional, Ruby Domain-Specific Language (DSL)  for casting, transforming and transposing objects.
  
From the projects README file:  
+
The project's README file provides the following explanation of the purpose of this library:  
  
 
<blockquote>
 
<blockquote>
==Rationale==
+
'''Rationale'''
 +
 
 
Casting complex objects from one type to another can be an uncomfortable process to express well. Objects that we use on a daily basis are not always in our control, and, even when they are, some don't lend themselves to simple construction. Remote service communication objects or complex data structures from libraries we use in our applications can result in large piles of casting code.
 
Casting complex objects from one type to another can be an uncomfortable process to express well. Objects that we use on a daily basis are not always in our control, and, even when they are, some don't lend themselves to simple construction. Remote service communication objects or complex data structures from libraries we use in our applications can result in large piles of casting code.
  

Revision as of 17:45, 3 January 2014

[edit]

alchemist

https://github.com/acumenbrands/alchemist
This package provides a functional, Ruby Domain-Specific Language (DSL) for casting, transforming and transposing objects.

The project's README file provides the following explanation of the purpose of this library:

Rationale Casting complex objects from one type to another can be an uncomfortable process to express well. Objects that we use on a daily basis are not always in our control, and, even when they are, some don't lend themselves to simple construction. Remote service communication objects or complex data structures from libraries we use in our applications can result in large piles of casting code. This circumstance often produces large swaths of procedural code, even if split up into separate function calls. This code can be not only difficult to understand, but difficult to test if an object requires a great deal of set up. Field or method assignments midway through can change and break the entire operation. The goal of this project is to provide a method of defining easily digestible specifications for object translation that are also easily testable and changeable. The project focuses on writing specifications for transformations and not doing direct mutation in the recipes. The result is something that should seem somewhat functional, but also exceedingly separable.




Licensing

LicenseVerified byVerified onNotes
X11Jgay3 January 2014



Leaders and contributors

Contact(s)Role
James Christie Author
Alex Williams Co-Author


Resources and communication

Software prerequisites

Kind Description
Required to use Ruby

This entry (in part or in whole) was last reviewed on 3 January 2014.



Entry






















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.


Personal tools
Namespaces

Variants
Actions
Navigation
Contribute