开发者

JavaScript Asynchronous Design Book? [closed]

开发者 https://www.devze.com 2023-01-24 03:19 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

Can anyone recommend a really advanced book on asynchronous programming in JavaScript? Something that assumes the reader already knows how to do things in JavaScript, but is looking for in-depth analysis on finding the best way. Something that's not about performance tweaks and hacks, but a serious book on architecture.

What I'm looking for would go into things like queueing asynchronous actions, unifying error handling between regular synchronous exceptions and onError asynchronous callbacks, c开发者_C百科haining asynchronous calls while ensuring cleanup operations required by the original call occur, etc. And the question of how to best manage state when 10 Ajax requests are running at the same time could be a book in itself.

Outside of JavaScript books, any recommendations for a favorite book on such patterns in general?


I also recommend Ajax Patterns and Best Practices along with the other books recommended. RESTful Web Services also describes how to introduce loose coupling between the client and server; as well the reasons to why all requests to the server should be stateless.


Ajax Design Patterns is quite a good book. It's a bit dated and the javascript code style is not to my liking but the techniques and design patterns themselves are still highly relevant.


I'd second Ajax Design Patterns. Also from O'Reilly, and a little more current: Even Faster Web Sites. Not apparent from the title, but this one covers a lot of advanced Ajax/asynchronous techniques.

0

精彩评论

暂无评论...
验证码 换一张
取 消