-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/origin/master'
- Loading branch information
Showing
1 changed file
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
# DTOnator | ||
|
||
###Motive for project | ||
Being a professional android developer with a little good skill in touch typing,In my very first project writing DTO(Data Transfer Object) for a single API took me more or less about 30 minutes depending on the complexity of given data structure and the repeated look up between the IDE and the file/browser that represented the feed. And I were working on a project which involved huge amount of such API's, which also mean I spent huge time writing DTO's. | ||
Writing DTO(Data Transfer Object) for a single feed takes me more or less about 30 minutes depending on the complexity of given data structure and the repeated look up between the IDE and the file/browser that representes the feed. | ||
|
||
I often felt writing DTO is a lifeless task particularly when you are working in a highly agile environment and the deadlines are making you scared. adding further a small typographical error crept during the creation of a DTO may hide some horrible bugs that may take hours to debug! and may leave you with a huge frustration. | ||
|
||
Luckily for your computer creating the DTO is a simple task and it really doesn't need the power of a smart human brain and highly expensive developer hours! your smart IDE can complete that task for the smarter you,And it takes a time far less than 3 seconds!!!. | ||
Luckily for your computer creating the DTO is a simple task and it really doesn't need the power of a your smart brain and highly expensive developer hours! your smart IDE can complete that task for the smarter you,And it takes just a few seconds!!!. | ||
|
||
creating such a tool for the software craftsman and helping him in better utilization of his time and energy is the basic motive and a fascinating idea that made me to create this project | ||
|
||
###Why one more DTO generator when there are already so many DTO generators in this world? | ||
Most of the existing tools | ||
|
||
*Doesn't brings the DTO generator close to an IDE | ||
|
||
*Doesn't include annotations that are particular to android | ||
|
||
*Doesn't provides an option to use craftsman's personal style while generating DTO's | ||
|
||
*Forces you to use either single file or multiple file conventions for representing DTO's | ||
|
||
last but not the least I wanted to apply the design patterns that I freshly learnt and wanted to create a project by TDD | ||
|
||
###A special thanks to creator of the repository https://github.com/zzz40500/GsonFormat | ||
#####A special thanks to creator of the repository https://github.com/zzz40500/GsonFormat | ||
This is the repository which gave me the idea of bringing a dto generator to an IDE. | ||
|
||
![Alt text](https://github.com/nvinayshetty/DTOnator/blob/master/Screenshot/generate.jpg "Activate on mouse click") | ||
![Alt text](https://github.com/nvinayshetty/DTOnator/blob/master/Screenshot/dto_from_json.jpg "DTO from json") | ||
![Alt text](https://github.com/nvinayshetty/DTOnator/blob/master/Screenshot/single_file.jpg "DTO in a single class") | ||
![Alt text](https://github.com/nvinayshetty/DTOnator/blob/master/Screenshot/separate_file.jpg "DTO in a separate classes") | ||
![Alt text](https://github.com/nvinayshetty/DTOnator/blob/master/Screenshot/single_file_dto.jpg "created DTO") | ||
|