探索单页Web应用:从设计到实战

4星 · 超过85%的资源 需积分: 31 9 下载量 54 浏览量 更新于2024-07-24 收藏 8.71MB PDF 举报
"Single Page Web Applications" 是一本深入探讨现代浏览器应用程序开发的实战指南,它着重于单页应用程序(SPA)的设计理念和实践。在本书中,作者Michael S. Mikowski和Josh C. Powell引导读者学习如何构建充分利用客户端平台优势和优化带宽利用的新型Web应用。核心内容包括: 1. SPA设计方法:学习如何采用单页架构,通过一次加载和随后的API通信更新页面内容,提供无缝用户体验。这种设计强调减少服务器请求,提高页面加载速度。 2. 新技术与技巧:书中介绍了结构化JavaScript,这是一种组织代码的方式,有助于提高代码的可维护性和可读性。此外,响应式设计也被重点讨论,确保应用能在不同设备上适应各种屏幕尺寸。 3. 趋势分析:随着技术的发展,作者还讲解了如Node.js等服务器端JavaScript的兴起,以及NoSQL数据存储技术的应用,这些都能增强应用的灵活性和性能。另外,关注新框架的使用,比如那些将JavaScript提升到语言核心地位、使其更易于测试和管理的工具。 4. 实战与实践:作为一本end-to-end的教程,读者可以跟随书中的详细步骤,从基础概念到实际项目开发,掌握构建高效单页应用的全过程。 5. 版权信息:本书由Manning Publications出版,版权所有,未经许可不得复制或传播。读者可以通过出版社网站获取更多关于订购和其他书籍的信息,或者直接联系Special Sales Department获取折扣和进一步的详情。 《Single Page Web Applications》是一本适合前端开发者和全栈工程师深入学习和实践的宝典,它不仅传授理论知识,也提供了实操指导,帮助读者紧跟Web应用开发的潮流,提升技能。
2014-06-26 上传
In Single Page Web Applications you’ll learn to build modern browser-based apps that take advantage of stronger client platforms and more predictable bandwidth. You’ll learn the SPA design approach, and then start exploring new techniques like structured JavaScript and responsive design. And you’ll learn how to capitalize on trends like server-side JavaScript and NoSQL data stores, as well as new frameworks that make JavaScript more manageable and testable as a first-class language. If your website is a jumpy collection of linked pages, you are behind. Single page web applications are your next step: pushing UI rendering and business logic to the browser and communicating with the server only to synchronize data, they provide a smooth user experience, much like a native application. But, SPAs can be hard to develop, manage, and test. Single Page Web Applications shows how your team can easily design, test, maintain, and extend sophisticated SPAs using JavaScript end-to-end, without getting locked into a framework. Along the way, you’ll develop advanced HTML5, CSS3, and JavaScript skills, and use JavaScript as the language of the web server and the database. This book assumes basic knowledge of web development. No experience with SPAs is required. What’s Inside Design, build, and test a full-stack SPA Best-in-class tools like jQuery, TaffyDB, Node.js, and MongoDB Real-time web with web sockets and Socket.IO Touch controls for tablets and smartphones Common SPA design mistakes Table of Contents Part 1: Introducing SPAs Chapter 1. Our first single page application Chapter 2. Reintroducing JavaScript Part 2: The SPA client Chapter 3. Develop the Shell Chapter 4. Add feature modules Chapter 5. Build the Model Chapter 6. Finish the Model and Data modules Part 3: The SPA server Chapter 7. The web server Chapter 8. The server database Chapter 9. Readying our SPA for production Appendix A. JavaScript coding standard Appendix B. Testing an SPA Book Details Paperback: 432 pages Publisher: Manning Publications (September 2013) Language: English ISBN-10: 1617290750 ISBN-13: 978-1617290756