Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My experience has been that users like to include a lot of information that's not relevant to the application I'm working on.

My application couldn't really care less about customer names, for example. But the people who buy my software naturally do care - and what's worse, each of my potential customers has some legacy system which stores their customer names in a different way. So one problem I want to address is, how do I maintain fidelity with the old system, for example during the data migration, while enabling me to move forward quickly?

My solution has been to keep non-functional data such as customer names in JSON, and extract only the two or three fields that are relevant to my application, and put them into a regular SQL database table.

So far this has given me the best of both worlds: a simple and highly customisable JSON API for these user-facing objects with mutable shapes, but a compact SQL backend for the actual work.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: