Sencha Touch 2 Up and Running


Book Description

Launch into Sencha Touch 2 with this hands-on book, and quickly learn how to develop robust mobile web apps that look and behave like native applications. Using numerous code samples, author Adrian Kosmaczewski guides you every step of the way through this touchscreen-enabled JavaScript framework—from creating your first basic app to debugging, testing, and deploying a finished product. Learn how to craft user interfaces, build forms, and manage data, then deploy as either an HTML5 offline app or as a native app for Android, iOS, or Blackberry. Define classes and create instances with Sencha Touch’s object-oriented abstraction Build user interfaces with the framework’s extensive set of high-level components Develop apps that consume complex data, whether it’s stored locally or on remote servers Organize your application code in a consistent, predictable, and maintainable way Use Sass stylesheets to craft a personalized look and feel for your app Debug, test, and document your app with WebKit Web Inspector, Jasmine, Siesta, and JSDuck Use the Sencha Architect UI designer and IDE to simplify complex project development




Hands-On Sencha Touch 2


Book Description

Get hands-on experience building speedy mobile web apps with Sencha Touch 2.3, the user interface JavaScript framework built specifically for the mobile Web. With this book, you’ll learn how to build a complete touch application, called Find a Cab, that has the look and feel of a native app on Android, iOS, Windows, and BlackBerry devices. In the process, you’ll work with Sencha’s model-view-controller (MVC) components for form handling, styling, integration with outside data, and other elements. The Sencha Touch learning curve can be steep, but if you’re familiar with JavaScript, HTML5, CSS3, and JSON, this guide will get you up to speed through real-world examples. Learn the fundamentals, including the class and layout systems Use the Sencha MVC architecture to structure your code Implement data models and stores, and create an event controller Make remote connections by implementing server proxies Save data offline by implementing client proxies Work with view components such as maps, lists, and floating panels Implement and handle forms, and construct a custom theme Create production and native build packages




Programming the Mobile Web


Book Description

The market for mobile apps continues to evolve at a breakneck pace, as tablets join the parade of smartphones and feature phones. If you’re an experienced web developer, this second edition of this popular book shows you how to build HTML5 and CSS3-based apps that access geolocation, accelerometer, multi touch screens and other features in these mobile devices. You’ll learn how to build a standard app core that you can extend to work with specific devices. You’ll also discover how to deal with platform variations, browsers, native web platforms, HTML5 compatibility, design patterns for mobile development, and other issues. Learn how to use your existing web skills to move into mobile development Discover the particulars and pitfalls of building mobile apps with HTML5, CSS, and other standard web tools Create effective user interfaces in the mobile environment for touch and non-touch devices Understand variations among iOS, Android, Windows Phone, BlackBerry, and other mobile platforms Bypass the browser to create full screen and native web apps, e-books and Apache Cordova (PhoneGap) applications Build apps for the App Store, Google Play Store, Windows Marketplace, App World, and other online retailers




Offline First Web Development


Book Description

Design and implement a robust offline app experience using Sencha Touch and PouchDB About This Book Understand the design principles behind a well-designed offline experience Create the illusion of being online when you're really offline Use common libraries such as Sencha Touch and PouchDB to enhance the offline experience of mobile apps Who This Book Is For Do you want to make your app experience more robust and delightful? Are you eager to write apps that cater to a wider audience, not just the Silicon Valley crowd? Do you need to persuade your peers that offline-first is a worthwhile development paradigm? If your answer to all or any one of these questions is yes, then this is the book is for you. Some previous coding and command-line experience would be useful, but is not required. What You Will Learn Design the behavior of the app, taking offline, online, and the transition between those two states into account Seamlessly implement the offline/online experience that you've designed using Sencha Touch and PouchDB Show the user what's happening under the hood with online/offline indicators and Good Mobile Messaging Employ various strategies to cope with unreliable network conditions Help the user resolve conflicts related to the “split-brain” problem Choose intelligent defaults based on usage of the app Use point-to-point networking to partially overcome a lack of Internet connectivity In Detail When building mobile apps, it's easy to forget about the moments when your users lack a good Internet connection. Put your phone in airplane mode, open a few popular apps, and you'll quickly see how they handle being offline. From Twitter to Pinterest to Apple Maps, some apps might handle being offline better—but very few do it well. A poor offline experience will result in frustrated users who will abandon your app, or worse, turn to your competitor's apps! Expert or novice, this book will teach you everything you need to know about designing and building a rigorous offline app experience. By putting the offline experience first, you'll have a solid foundation to build upon, avoiding the unnecessary stress and frustration of trying to retrofit offline capabilities into your finished app. This basic principle, designing for the worst-case scenario, could save you countless hours of wasted effort. Style and approach This book adopts an iterative approach to designing and building a mobile app, where each chapter builds on the one before, resulting in a fully-functional app that demonstrates the concepts taught, each one of which is explained through the use of an example.




Sencha Touch Cookbook


Book Description

Annotation Sencha touch is a versatile HTML5-based framework for developing mobile web apps that look and feel native on touch screen devices, and with it you can write your code once and deploy it to both iOS and Android saving you both time and money.The Sencha touch cookbook has a comprehensive selection of recipes covering everything from installation right through to HTML5 geo location.The Sencha Touch Cookbook really is your one stop resource for cross platform HTML5 application development. It covers the basics such as setting up an iOS and Android development environment right through to much more complex development issues such as touch gestures, animation, rich media and geo location. Every recipe is practically focused. Maximum action. Minimum theory.




Using Sencha Touch to Build a Mobile Website


Book Description

Sencha Touch, an open source tool, fills the space between the HTML and the native app. Web apps are generally built using JavaScript but this short ebook shows you how to construct your mobile Web sites using Sencha Touch - you just need to be familiar with Javascript. Sencha Touch targets specific devices, namely iOS, Android 2.1+ and Blackberry 6 devices. Web Apps are a critical element of the future of mobile developmen find out how to easily construct them with this brief intro to Sencha Touch!




PhoneGap By Example


Book Description

Use PhoneGap to apply web development skills and learn variety of cross-platform mobile applications About This Book Utilize the robust features of the mobile hybrid approach to develop, test, and publish mobile applications using the PhoneGap framework Use your web skills for hybrid mobile application development and deliver to many mobile platforms without rewriting the code Develop a set of ready-to-use mobile applications with this practical, comprehensive, step-by-step guide Who This Book Is For If you are a web developer with some experience in development of single page applications and want to enter the world of mobile applications, then this technology and book is ideal for you. Since PhoneGap maintains an incredibly easy-to-use plugin interface, no previous experience in native languages development (such as Objective-C or Java) is required. What You Will Learn Set up plugins to access the camera and filesystem to capture media Build a custom RESTful service and integrate it with a PhoneGap application Integrate a HTML5 Canvas element to create mobile games Build scalable applications using a modern mobile web framework Interact with RESTful services from a mobile application Build an audio/video chat facility using PhoneGap and WebRTC technologies Develop a PhoneGap plugin with native interfaces for iOS and Android In Detail PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about. It is one of the first and fastest spreading tools to develop hybrid applications using CSS, JavaScript, and HTML, without losing the advantages of native applications. If you are already a web developer, this book will provide you with the skills you need to create, customize, test, and deploy hybrid mobile applications. Starting from the beginning, this book will cover how to set up your PhoneGap development environment, add mobile web frameworks and plugins, design and customize the application layout, and utilize the embedded features of the PhoneGap framework. By working through the steps in each chapter, you will quickly master a variety of mobile applications with totally different approaches. You will then learn how to develop a PhoneGap plugin with native interfaces for iOS and Android, as well as common approaches to test PhoneGap applications. With ample screenshots that show you how to build a phenomenal application, PhoneGap by Example will ensure your success with this cutting-edge mobile development framework for hybrid applications. Style and approach An easy-to-follow guide packed with hands-on examples of real-world mobile applications. Each topic is explained sequentially in the process of creating a hybrid mobile application, and detailed explanations of the basic and advanced features of PhoneGap are included.




Appcelerator Titanium: Up and Running


Book Description

Build native apps for iOS, Android, and Blackberry from a single JavaScript codebase with Appcelerator Titanium. This guide gets you quickly up to speed on this amazing framework and shows you how to generate cross-platform apps with 100% native controls. You’ll also learn the advantages of using Titanium when you want to create an app for just one native platform, rather than struggle with Java or Objective-C. Fast-paced and full of examples, this book helps you build your first project with Titanium Studio, and then takes you through the steps necessary to build complex data-bound apps. Learn how Titanium differs from frameworks such as jQuery Mobile and Sencha Touch Set up and use iOS and Android SDKs and compilers with Titanium Build basic UI and window controls, and create your own composite objects Take a peek at how Titanium objects and methods work behind the scenes Learn how JavaScript makes Titanium easy to extend and customize Develop apps that consume complex data, whether it’s stored locally or on remote servers Understand the pros and cons of distributing apps on the App Store and Android Market




PhoneGap Build


Book Description

PhoneGap is a standards-based, open-source development framework that can be deployed to any mobile device without losing the features of the native app-allowing for access to device contacts, the local file system, camera, and media on multiple platforms without requiring users to write a single line of code. Ideal for intermediate to advanced users, this book offers the comprehensive coverage you need to harness the power of this dynamic tool. It provides complete coverage of the cloud computing platform and the theories behind cloud computing, using a series of engaging examples.




Sencha Touch in Action


Book Description

Summary Sencha Touch in Action is the definitive guide to developing applications with Sencha Touch. You'll begin with basic design principles for building great mobile applications, and then explore the features of Sencha Touch that bring those ideas to life. You'll learn how and why objects operate in the framework as you work through several real-world examples. This book also promotes the emerging best practices for mobile web development, from widget implementation to developing an application with the Sencha Touch MVC framework. Updated for Sencha Touch 2. About the Technology The Sencha Touch framework makes it easy to build cross-platform mobile apps using HTML5 and JavaScript. It offers numerous features that mimic native mobile APIs and an MVC architecture that feels right at home for application developers. So you get the power and richness of native apps and the convenience of standard web tools. About this Book Sencha Touch in Action is a complete guide for developers of native-quality mobile Sencha Touch applications. You'll explore real-world examples as you master this impressive framework from the ground up. The book shows you good practices for mobile web development, from widget implementation to the structure of MVC applications. The book requires basic JavaScript skills. It assumes no experience with Sencha Touch or Ext JS. What's Inside Covers Sencha Touch 2 Build on your existing web dev skills Create mobile web apps that feel like native apps Extend enterprise apps to mobile clients Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Authors Jay Garcia is a popular speaker, Sencha community advocate, and author of Ext JS in Action. Anthony De Moss is a professional web and mobile developer. Mitchell Simoens is a Sencha developer supporting the Sencha Touch and Ext JS products. Table of Contents PART 1 INTRODUCTION TO SENCHA TOUCH Introducing Sencha Touch Using Sencha Touch for the first time Sencha Touch foundations PART 2 BUILDING MOBILE USER INTERFACES Mastering the building blocks Toolbars, buttons, and docked items Getting the user's attention Data stores and views Working with forms Maps and media PART 3 CONSTRUCTING AN APPLICATION Class system foundations Building Sencha Touch applications