kimjoar/writings

[UnderstandingBackbonejs] Validating with server

nMustaki opened this issue · 1 comments

Hello,
I have read with great interest your article, and Backbone is a lot clearer for me, thanks !

I was testing the code when it occured to me that the final code is not the complete mirror of the Jquery/AJAX version, as the backbone version uses the model text variable, while the former uses what comes from the server. (I found out when my server crashed and the content was still displayed.)

Am I correct or have I misunderstood something ?

Thanks you,
Nathan

@nMustaki I noticed the same thing when I injected a static JSON reply on from my server-side. I am new to Backbone. Did you figure out how to force it to get the reply from the server? I'm sure I can figure it out with a little refactoring.