Conversation
Notices
-
Websockets, with fallback on longpolling. And I only communicate raw data and compile the views with javascript in the browser. This way the mobile apps can use the same API's to push and receive data.
Thursday, 20-Sep-12 09:22:06 UTC from web-
@zeeraw Neat. That's how StatusNet should work too but.. it doesn't. xD
Thursday, 20-Sep-12 09:22:49 UTC from web -
@zeeraw Although doing the views purely with Javascript seems a little far-fetched to me. Dynamic data? Sure. But even static stuff?
Thursday, 20-Sep-12 09:24:05 UTC from web-
@minti It's templating techniques. You store your HTML views inside compiled javascript. Load it at the get-go and never bother about any reloading while you use the site but let the client handle the data and determine what views to render from it's cache using the data as parameters.
Thursday, 20-Sep-12 09:26:47 UTC from web-
@zeeraw Hmm. So it's a technique for reducing bandwidth? The reliance on Javascript for that seems like it's not really the best choice. xD
Thursday, 20-Sep-12 09:27:59 UTC from web-
@minti Why not rely on Javascript? It seems very backwards to write an "application" for the web if you can't make it interactive programmatically.
Thursday, 20-Sep-12 09:30:19 UTC from web-
@zeeraw True enough. :p Both ways work really. One just excludes people who like to turn off JavaScript cause they're security paranoia freaks.
Thursday, 20-Sep-12 09:32:32 UTC from web-
@minti Well that is a very very small part of the market. I aim for the crowd.
Thursday, 20-Sep-12 09:35:59 UTC from web
-
-
-
-
-
-
@widget Depends where you load your Javascript, in the header, or after the body. The things you can do with HTTP streaming.
Thursday, 20-Sep-12 09:37:25 UTC from web
-