0

I am aware that social network applications usually communicate with the server where they store information and stuff, but is it possible to make a social network which is only developed using client side code, basically front end scripting and stuff?

I guess I ain't using the right terminology here, but I hope some of you get what I am trying to say.

Thanks! >)

Paul D. Waite
  • 96,640
  • 56
  • 199
  • 270

2 Answers2

2

The core feature of a social network is the data that relates one user to another. If you want to operate without server side code to handle it then you will need to move that logic to the client and share it with other clients.

DOM storage will let you store large (but not huge, so you get limits on the amount of data that can be stored) amounts of data on the client.

(Although it will be freely editable by the user of the browser so security it out the window)

Then you need to share that data between clients. That means peer-to-peer. Even then, I think you'll need some way to perform browser discovery so the browsers can communicate with each other and I suspect that will force you onto having a central directory server.

If you can deal with all of that, then you could probably implement a Napster-like system for searching the data in the social network.

So possible? Almost. Practical? Probably not.

Community
  • 1
  • 1
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
0

In theory? It could be.

Using modern frameworks like: AngularJS and cloud store like: MongoDB-as-a-Service

But I have second thoughts about security (no session,...). Let us know :)

kayz1
  • 7,260
  • 3
  • 53
  • 56