elgg-facebook_theme
elgg-facebook_theme copied to clipboard
Why not ajax?
Hi Thank you so much for this nice theme. But , where is the ajax for this theme?
- Like
- post
- comment etc
it can improve it much better
Absolutely. I have made lots of nice changes that I will commit. I haven't done the ajax stuff, but we need that desperately and I will probably implement it within the next two weeks.
Wow , Fantastic , thank you so much ... It will be the best :+1:
The key is to implement it in a way that will scale without killing performance on the server for a large user base.
Sure , with the high range of user activities , it should be much high performance
So I want to do this on a site that currently has 6,000 users in many countries. I will probably implement it the way that Facebook does it - where your comment is added to the page in real time - but other people's additions don't come up every (x) seconds automatically. (That would be very hard to scale.) There must be some sort of reload event to do that.
I am hoping that I find some other theme that has already done this, otherwise I will probably use some cute little JavaScript library - perhaps the wonderful AngularJS - to do it.
yes right , you can do it perfectly AngularJS is fine to work , really fast
Whatever changes you make, submit a PR and I'll add you as a collaborator on this project.
Thank you ;)
@AF-P , this is cool stuff. How far have you gone with your changes by using AngularJS?