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.
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
http://main.com 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