I've seen this question get asked a billion times BUT my project requires a little extra sauce. I am trying to create an image upload web app where users can upload their images to a library, and I want this library available to everyone on the site.
Also, I want anyone on the site to be able to "push" any picture they see and like, onto a FEED like the Facebook wall where all their friends(or some, sortable) can see the picture that they "pushed" to the feed; kind of like promoting what you like to your crowd... This feed needs to update every 20 seconds.
I am currently far behind from the point which I am asking about. I have just completed the user login and the basic layout. I need some guidance in order to have a clear idea of what I'm getting into before I move any further.
Any help would be greatly appreciated
I can tell you how to build that, but I can't build that for you.
You need a database, where you can have a "users" table. Then you need a "friends" table and a "images" table. On the users table you record users of the app: id, login, password and name. On the friends table you store list of friends (other users) of a id. On the images table you record the path to the image. The CRUD model..
You are not pushing anything. Wen a user upload a image, is recorded on the database. The next time one of his friends refresh the page, a SQL query will get all his friends images, and render the right html code. So the image will automatically show there.