Hi Max Will it be possible for you to share how you integrated socket-io and xmpp with angular..
Thanks On Thursday, 8 November 2012 12:49:25 UTC+5:30, [email protected] wrote: > > Hi everyone! > I've a huge social webapp (it looks like a simples version of facebook) > but for swing (couple's swapping). Today I use rails+postgresql (no > javascript MVC). And It is running on EC2, and it has about 20.000 views > per day. I use a lot (A LOT) of cache with memcached and redis on it. > > What my website has: > > - Wall, with coments/share/likes > - Photo and video upload > - Search of users > - Events (invite people to a party) > - Realtime notification (to new messages, new comments of photos, etc) > - Permission system > > > I have a chat as well (like facebook) that is a mix of socket.io and > xmpp. I re-implemented it to use angular, work very nicely (it is going to > be opensource soon!) > > Today my problems is: > > - I cache HTML blocks everywhere, so it is a bit hardest to work with > I18N > - It is a little hard to test everything > - I have to send a lot of html to client on every request, because > they change every moment (no way to use ETAG or ExpiresAt) > - I need to make a iphone/android version (yes, I'll need to implement > a json api anyway). > > > What I thinking to do: > > - Use rails just as a json api > - Cache only data (no html). Then I can manipulate cache easiest > (alter cache without make a another sql/select on database) > - Send just data to browser > - Rewrite everthing to use angularJS > - Implement my smartphone app, maybe I'll can share a lot of client > code (web version with smartphone version) > - Maybe I'll use requireJS > > > My afraid: > > - It has to support IE7/8 (support to IE7 can, if really necessary, be > dropped) > - It has to working with safari, firefox, chrome (ok, I know that > angular just works) > - Many of my users has a very old PC, my afraid is that if I use > javascript MVC, my users will notice a very slow system. > - I have to keep my current routes, like "mywebsite.com/username/photos" > (on IE, Firefox, etc) > > > So, I do you think? I could use AngularJS on this project? > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
