Desarrollar una red social: consejos, detalles e información

I would like to create a small Social Network using Ruby on Rails 3. Since it is a complex system, what is recommended for the Information Architecture?

I thought to create multiple RoR applications with a Hierarchical Architecture, each used to accomplish a specific purpose. Therefore I created one domain and more subdomains.

Por ejemplo:

Main domain:

All nedded subdomains:,

A problem that occurs using this type of architecture is the autenticación of users, because, while setting the cookie at the level (so that all cookies are accesible from all subdomains), they are not "followed" when I try to make an HTTP GET calls between subdomains, unless you explicitly pass parameter values of cookies in the HTTP GET call, maybe using a SSL/TSL connection. Is this a right approach?

However, in this case, I can think of using REST APIs and a protocol such OAuth to protect resources...

What is the right way to create a Social Network? Can anyone advise me detailed enough?

P.S.: is it correct what I'm saying?!

preguntado el 08 de enero de 11 a las 16:01

3 Respuestas

Take a look at Social Stream, a core for building social network websites :

Respondido el 08 de enero de 11 a las 21:01

you could also look at Diaspora it's a fully featured social network and they made the source code available on github!

Respondido el 08 de enero de 11 a las 23:01

is it difficult (or unwise) to gut diaspora and make a linkedin clone based on it? - Harry Moreno

I think it's unwise to do that (but you will learn a lot). You should build it from scratch driven by tests (Test Driven). Use off the shelf gems like devise to authenticate your users. Then you could take a look at diaspora how they implement certain social features. Then write tests for those features and try to implement them using your own data model etc. But if you really don't have a clue, take a look at Diaspora and it's internal workings to get a better feel on how to start :) - Daniël Zwijnenburg

I created and open sourced Brevidy, a video social network. It might be helpful in showing you a structure for the app.



Respondido el 11 de junio de 13 a las 00:06

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.