Transforming Output from the Database to the View/REST layer
Having watched the screen cast here by Jeffery Way and reading Phil Sturgeon’s Build APIs You Won’t Hate I used this approach on a recent project. Basically, and they both cover it really well, instead of returning the data right to the ui/rest endpoint from the database I pass it through a class to transform the data formats, field name etc. This has been extremely helpful as we also work out some wording of fields that I can not do easily in this one class.
Due to NDA limitations I had to remove links to the final product Latest Project Virtual Design Tool. [ url removed due to nda issues ) -: ]Some points that were fun, new, and challenging.Model, View, Controller mindet.Building the RESTful service/API firstTrying to follow a feature driven development plan.Having smaller tasks and more points of QAHaving smaller points to check in with the client to review the finished tasks and not wait till the “end”.