Building Mobile Applications with JavaDo you want to develop mobile apps with Java - and have them work on a variety of devices powered by iOS and Android? You've come to the right place.
This project-driven book shows you how to build portable apps with two amazing open source frameworks, Google Web Tools (GWT) and PhoneGap. With these tools, you'll use learn how to write Java code that compiles into cross-platform Javascript and HTML, and discover how to take advantage of features in several popular devices, such as the camera, accelerometer, and GPS. ...
Clojure ProgrammingClojure is a practical, general-purpose language that offers expressivity rivaling other dynamic languages like Ruby and Python, while seamlessly taking advantage of Java libraries, services, and all of the resources of the JVM ecosystem. This book helps you learn the fundamentals of Clojure with examples relating it to the languages you know already, in the domains and topics you work with every day. See how this JVM language can help eliminate unnecessary complexity from your programming practice and open up new options for solving the most challenging problems. ...
JavaScript Pocket Reference, 3rd EditionJavaScript is the ubiquitous programming language of the Web, and for more than 15 years, JavaScript: The Definitive Guide has been the bible of JavaScript programmers around the world. This book is an all-new excerpt of The Definitive Guide, collecting the essential parts of that hefty volume into this slim yet dense pocket reference.
The first 9 chapters document the latest version (ECMAScript 5) of the core JavaScript language, covering: 1) Types, values, and variables, 2) Operators, expressions, and statements, 3) Objects and arrays, 4) Functions and classes.
The next 5 chapters document the fundamental APIs for using JavaScript with HTML5 and explain how to: 1) Interact with web browser windows, 2) Script HTML documents and document elements, 3) Modify and apply CSS styles and classes, 4) Respond to user input events, 5) Communicate with web servers, 6) Store data locally on the user's computer.
This book is a perfect companion to jQuery Pocket Reference. ...
Node: Up and RunningThis book introduces you to Node, the new web development framework written in JavaScript. You'll learn hands-on how Node makes life easier for experienced JavaScript developers: not only can you work on the front end and back end in the same language, you'll also have more flexibility in choosing how to divide application logic between client and server.
Written by a core contributor to the framework, Node: Up and Running shows you how Node scales up to support large numbers of simultaneous connections across multiple servers, and scales down to let you create quick one-off applications with minimal infrastructure. Built on the V8 JavaScript engine that runs Google Chrome, Node is already winning the hearts and minds of many companies, including Google and Yahoo! This book shows you why. ...
Developing Backbone.js Applications, Early ReleaseGet a complete run-down of the popular Backbone.js framework for structuring JavaScript applications. This practical guide takes you through Model-view-controller (MVC) theory, and shows you how to build applications using Backbone's models, views, collections and routers. You'll also learn advanced topics such as modular development with Backbone.js and RequireJS.
This detailed book provides an authoritative and centralized repository of information to help you develop real-world apps with Backbone. ...
Learning JavaScript Design PatternsIf you want to write beautiful, structured, and maintainable JavaScript code, this guide shows you how to apply both classical and modern design patterns to the language. The patterns in this book provide reusable code solutions to common problems in software design, and give you a shared vocabulary for describing solutions to others.
You'll explore several popular design patterns in plain JavaScript as well as jQuery and other abstracted libraries. If you're familiar with concepts such as closures and prototypal inheritance, you'll be able to determine why some patterns may be more suitable for your projects than others. ...
Web WorkersWeb apps would run much better if heavy calculations could be performed in the background, rather than compete with the user interface. With this book, you'll learn how to use Web Workers to run computationally intensive JavaScript code in a thread parallel to the UI. Yes, multi-threaded programing is complicated, but Web Workers provide a simple API that helps you be productive without the complex algorithms.
If you have an intermediate to advanced understanding of JavaScript - especially event handling and callbacks - you're ready to tackle Web Workers with the tools in this example-driven guide. ...
Maintainable JavaScriptYou may have definite ideas about writing code when working alone, but team development requires that everyone use the same approach. With the JavaScript practices in this book - including code style, programming tips, and automation - you'll learn how to write maintainable code that other team members can easily understand, adapt, and extend.
Author Nicholas Zakas assembled this collection of best practices as a front-end tech leader at Yahoo!, after completing his own journey from solo hacker to team player. He also includes rules recommended by other industry authorities. Use these tips and techniques to help your team set aside individual preferences and function at a higher level. ...
Mobile JavaScript Application DevelopmentWhen developing apps for the latest smartphones, you're faced with several vexing questions. How many platforms do you need to accommodate? What level of support do mobile browsers provide? To help you address these and many other key issues, this guide provides a hands-on tour of the most powerful JavaScript frameworks available today.
You'll build sample apps with jQuery Mobile, Sencha Touch, and PhoneGap to learn the unique advantages - and disadvantages - of each framework. From there, you can determine which one is best for your project. This book is ideal for web developers familiar with JavaScript, HTML, and CSS. ...
The Well-Grounded Java DeveloperThe Well-Grounded Java Developer starts with thorough coverage of Java 7 features like try-with-resources and NIO.2. You'll then explore a cross-section of emerging JVM-based languages, including Groovy, Scala, and Clojure. You will find clear examples that are practical and that help you dig into dozens of valuable development techniques showcasing modern approaches to the dev process, concurrency, performance, and much more.
Written for readers familiar with Java. No experience with Java 7 or new JVM languages required. ...
Pro JavaScript for Web AppsPro JavaScript for Web Apps gives you all of the information that you need to create professional, optimized, and efficient JavaScript applications that will run across all devices. It takes you through all aspects of modern JavaScript application creation, showing you how to combine JavaScript with the new features of HTML5 and CSS3 to make the most of the new web technologies.
The focus of the book is on creating professional web applications, ensuring that your app provides the best experience for your users, with smooth and responsive control and feedback and an intuitive and optimized interface. You will learn how to take a basic application and bring it up to a professional level while making sure that it remains bullet-proof and bug free. Pro JavaScript for Web Apps will also enhance your development workflow using jQuery to streamline the process and freeing you to spend more time on the important parts of your app while the framework deals with the mundanity. ...