Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Wellington Almeida dos Santos
Wellington Almeida dos Santos
4,593 Points

How to store text messages in Parse.com?

I was trying to implement a text message in the app Ribbit on my own. But looking the documentation of Parse.com, can't choose the right datatype to store the Edit Text.

Is string the only way to store Simple text ?

Wellington Almeida dos Santos
Wellington Almeida dos Santos
4,593 Points

Well... it is. I am store the text in a string variable of a objejct. Much more simple than i am expected.

2 Answers

Murat Hasdemir
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Murat Hasdemir
Front End Web Development Techdegree Graduate 20,968 Points

Well if you understand how it works its really easy to work around parse.com. Every thing you give and take from parse is Json format so think them like not a part of a object they are objects you can think it like playing with lego, all objects are small lego parts they are items on their own and you using them to build bigger things.

There is a thing for me I use parse for only non static items like queries and logins but when it come to static items like welcome message its better to have a hosting to put them to there in a json format so in short run its price higher but in long run like when you have more installs you can save more money. Don't forget to plan usage of your app.

Wellington Almeida dos Santos
Wellington Almeida dos Santos
4,593 Points

Hi Murat

Thank you for reply!

The parse.com is like a database oriented to object, am i right?

What are the hosting you advice to store static messages?

Murat Hasdemir
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Murat Hasdemir
Front End Web Development Techdegree Graduate 20,968 Points

for first question right.

for second question it's a little bit tricky, first thing you have need is a good up time which most of the providers can give the second part is admin panel they provide which is important to make things easy so its user preferences at this point I like justhost system one of my friends is more like to use godaddy and I read mostly good comments for iPage so its up to you where to store your data but if you gonna do that make sure use AsyncTask and save your link in a string not use hard coded link in case of changes it will be easier to make changes.