Integrating with postges backend
for the messaging example
Thanks for creating this.
A few questions:
-
How do you handle replies to a message and the message thread in general? 1a) If there is only one model/controller for messages, do you just create a update method for that thread?
-
If trying to integrate with flux, would you create stores, actions, constants, dispatcher for messaging so that upon change to thread and event is emitted to the backend ever time?
Do you mean the mail client app example, or the Kanban example?
In the case of the Kanban example the backend is very simple so there's no real need to use Flux or any frameworks, jQuery's ajax is more than enough.
Referring to the mail client app.
The mail client app has no backend, all the data is just a JavaScript object in the client. For an email client that did work as one, we would definitely use Flux -- coincidentally I just merged a different example of using nuclear.js.
Thanks, nuclear looks interesting. I'm trying to implement a similar chat using react/flux and having some trouble integrating it. I'd like to talk to you about the project i'm working on and get your thoughts. Please email me at [email protected]. Look forward to hearing from you.
On Wed, Jul 22, 2015 at 3:53 PM, Fernando Borretti <[email protected]
wrote:
The mail client app has no backend, all the data is just a JavaScript object in the client. For an email client that did work as one, we would definitely use Flux -- coincidentally I just merged a different example of using nuclear.js.
— Reply to this email directly or view it on GitHub https://github.com/tryolabs/react-examples/issues/6#issuecomment-123844502 .