- Have tests.
Ralyxa is in two parts:
- The user-facing Ruby interface which looks a bit like Sinatra.
- The under-the-hood Ruby-to-JSON translator which directly references Alexa structures.
This gives rise to some principles:
- The user-facing Ruby interface should try to provide thoughtful abstractions to the Alexa structures.
- The under-the-hood Ruby-to-JSON translator should contain objects which directly map onto Alexa structures.
Some other principles:
- Keep the user-facing Ruby interface as simple as possible. Imagine a brand-new Ruby developer using this.