Doubt in Creating an app / Server / Notifications

Asked

Viewed 228 times

1

I am with a project to develop an Android app, using Phonegap + jQueryMobile, I have already managed to create the interface, change screens and etc. Now comes the hard part for me: the Backend :(

I will quote what I need to do and if possible, I would like suggestions, so that what I thought might work, and what I need to study and how I would have a smaller learning curve.

  1. Start screen, will request login and password
  2. In the sequence, a list of people will appear, obtained through the server
  3. In this listing, I will have options to send notifications to those responsible for the people on the list
  4. In another client app with phonegap, I need this notification to reach the responsible

I believe that to do this, I would have to create an "admin" with registration of the people who will log in, with the listing of the people who should appear on the list and something that relates those responsible for receiving the notifications.

Recently I saw a little about Ruby on Rails and I found the learning curve interesting, it would be possible to create this application, containing the part of Backend with Ruby?

  • 1

    Cassius, there are many variables involved in this doubt, which makes a possible answer quite broad. What you will need is to read a little about webservice (Restful, for example), because your application will make data requests to it. After you develop this webservice, ai yes you will get into these 4 points cited, which you can ask separately if you have difficulty finding a solution, have any doubt or error in the development.

  • Yes it is possible and it is quite common to do this type of backend with Rails.

  • Thanks a lot Paulo and Alex, sure helped me a lot! Great hug!

  • 1

    Sometimes Rails is too big to make a Restful API like you want (it’s like using a cannon to kill a fly), I would recommend you take a look at other Ruby frameworks like Sinatra, Grape or Cuba and continue taking advantage of the Gems you would normally use in Rails.

  • About @iTSangar I will certainly do a research on the Frameworks informed! Thank you very much!

1 answer

2


You can perfectly use a Rails application for your backend. As for the login system, I strongly recommend the Devise, which is maintained by Plataformatec which is a Brazilian company with an important role in the Rails community.

If you want to see other options for user authentication system, you can use the Ruby Toolbox to compare which solutions are most used. Anyway, Devise is the first in the list ;)

Finally, if you choose to follow with Rails, you will have to create a Restful API for communication with your mobile application. This may be the most Tricky part, so I recommend new readings and that you ask again as you need help.

Before you hit the jackpot with Rails, try reading about Nodejs or, better yet, take a good look at Meteor. It seems that Meteor would perfectly meet your demand, but it is better to give a more complete read on the subject. See this article:

Meteor 0.9.2: Building iOS and Android mobile apps with Phonegap

I’m not answering your question, but I hope I’ve helped/

  • 1

    Thank you friend, I will study yes! As the questions arise, I will publish or create new questions! Thank you very much!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.