I’m developing an application via which one can send sms by directing it to sms server. My problem is I’m supposed to store the messages sent with date,time and also with the names of users to whom the message was sent. What should I use to save that? database Or I should think f ‘serialization’? Later on I’ll have to display the records containing names of the users and sms according to date and time at which it was sent.
Suggest me something. Thanks.
It depends.
Database is all eggs in one basket and a bit more work to get the data in.
Writing the SMSs to a daily log file type format is much simpler and eggs in many daily files.
If you have to, often, produce fancy complicated reports then go database.
Or go log style now as you can always migrated your data and interface to database later if it becomes neccesary.