Record:   Prev Next
Author Rao, SSVV Narasimha
Title Sencha Touch Mobile JavaScript Framework
Imprint Olton : Packt Publishing, Limited, 2012
©2012
book jacket
Edition 1st ed
Descript 1 online resource (337 pages)
text txt rdacontent
computer c rdamedia
online resource cr rdacarrier
Note Intro -- Sencha Touch Mobile JavaScript Framework -- Table of Contents -- Sencha Touch Mobile JavaScript Framework -- Credits -- About the Authors -- About the Reviewer -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Let's Begin with Sencha Touch! -- Frameworks -- Building from a foundation -- Building with a plan -- Building with a community -- Mobile application framework -- Native application versus web application -- Web-based mobile frameworks -- Web frameworks and touch -- Designing applications for mobile and touch -- Why touch? -- Getting started with Sencha Touch -- The API -- Examples -- The Kitchen Sink application -- Learn -- Forums -- Setting up your development environment -- Set up web sharing on Mac OSX -- Install a web server on Microsoft Windows -- Download and install the Sencha Touch framework -- Additional tools for developing with Sencha Touch -- Safari Web Inspector -- Other Sencha products -- Sencha Animator -- Sencha.io -- Sencha Touch Charts -- RemoteJS and EventRecorder -- Third-party developer tools -- Xcode 4 -- Android Emulator -- YUI test -- Jasmine -- JSLint -- Weinre -- Summary -- 2. Creating a Simple Application -- Setting up your folder structure -- Setting up your application folder -- Creating the HTML application file -- Starting from scratch with TouchStart.js -- Controlling the container with layout -- The panel -- The TabPanel component -- The list component -- Testing and debugging the application -- Parse errors -- Case sensitivity -- Missing files -- Web Inspector console
Updating the application for production -- Point to production library files -- Remove debugging code -- Going that extra mile -- Putting the application into production -- Summary -- 3. Styling the User Interface -- Styling components versus themes -- UI styling for toolbars and buttons -- Styling buttons -- The tab bar -- Sencha Touch themes -- An introduction to SASS and Compass -- Variables in SASS -- Mixins in SASS -- Nesting in SASS -- Selector inheritance in SASS -- Compass -- SASS + Compass = themes -- Setting up SASS and Compass -- Installing Ruby -- Installing SASS and Compass -- Creating a custom theme -- Base color -- Mixins and the UI configuration -- Adding new icon masks -- Variables -- More SASS resources -- Designing for multiple devices -- Images on multiple devices with Sencha.io Src -- Specifying sizes with Sencha.io Src -- Sizing by formula -- Sizing by percentage -- Changing file types -- Summary -- 4. Components and Configurations -- The base component class -- The Ext object and Ext.getCmp() -- Layouts revisited -- The card layout -- The hbox layout -- The vbox layout -- The fit layout -- Adding complexity -- The TabPanel and Carousel components -- TabPanel -- Carousel -- FormPanel -- DatePicker -- Sliders, spinners, and toggles -- MessageBox and Sheet -- MessageBox -- Sheet -- ActionSheet -- Map -- Lists -- Grouped lists -- Nested lists -- Finding more information with the Sencha API -- Finding a component -- Understanding the component page -- Summary -- 5. Events -- What are events? -- Asynchronous versus synchronous -- Listeners and handlers -- Adding listeners and events dynamically -- Custom events -- Listener options -- Scope -- Removing listeners -- Managed listeners -- Handlers and buttons -- Suspending and queuing events -- Common events -- Ext.util.Observable -- Centralizing event handling with Observe
Capture: a tool for debugging -- Event delegation -- Events and memory -- Delegating events -- Touch-specific events -- Additional information on events -- Summary -- 6. Getting Data In -- Models -- The basic model -- Model validations -- Model methods -- Proxies and readers -- Introduction to data formats -- Arrays -- XML -- JSON -- JSONP -- Introduction to stores -- A simple store -- Forms and stores -- Specialty text fields -- Mapping fields to the model -- Clearing store data -- Editing with forms -- Switching handlers -- Deleting from the Data Store -- Summary -- 7. Getting Data Out -- Using data stores for display -- Directly binding a store -- Sorters and filters -- Paging a data store -- Loading changes in a store -- Data stores and panels -- XTemplates -- Data manipulation -- Looping through data -- Numbering within the loop -- Parent data in the loop -- Conditional display -- Arithmetic -- Inline JavaScript -- XTemplate member functions -- isEmpty -- Changing a panel's content with XTemplate.overwrite -- Sencha Touch Charts -- Installing Touch Charts -- A simple pie chart -- A bar chart -- Summary -- 8. The Flickr Finder Application -- The basic application -- Introduction to Model View Controller (MVC) -- Building the foundation -- Splitting up the pieces -- Using the Flickr API -- The SearchPhotos component -- The SearchPhotos model -- The SearchPhotos view -- The SearchPhotos controller -- Adding the PhotoDetails view -- The savedphoto component -- The SavedPhoto model -- The SavedPhoto views -- The SavedPhotos controller -- Adding SavedPhotos to the viewport -- Adding the Save button -- Polishing your application -- Animated transitions -- Application icons -- Try it yourself -- Summary -- 9. Advanced Topics -- Talking to your own server -- Using your own API -- REST -- Designing your API -- Creating the model and store
Making a request -- AJAX requests in an API -- Going offline -- Syncing local and remote data -- Manifests -- Setting up your web server -- Updating your cached application -- Interface considerations -- Alerting your users -- Updating your UI -- Alternate methods of detecting offline mode -- Getting into a marketplace -- Compiling your application -- PhoneGap -- NimbleKit -- Other options -- Registering for developer accounts -- Becoming an Apple developer -- Becoming an Android Developer -- Summary -- Index
This book is a step-by-step tutorial aimed at beginners to Sencha Touch. There is ready sample code explained with essential screenshots for better and quicker understanding. This book is ideal for anyone who wants to gain the practical knowledge involved in using Sencha Touch mobile web application framework to make attractive web apps for mobiles. If you have some familiarity with HTML and CSS, then this book is for you. This book will give designers the skills they need to implement their ideas, and provides developers with creative inspiration through practical examples. It is assumed that you know how to use touch screens, touch events, WebKit on mobile systems, Apple iOS, and Google Android for Mobiles
Description based on publisher supplied metadata and other sources
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2020. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries
Link Print version: Rao, SSVV Narasimha Sencha Touch Mobile JavaScript Framework Olton : Packt Publishing, Limited,c2012 9781849515108
Subject Application software -- Handbooks, manuals, etc.;Java (Computer program language) -- Handbooks, manuals, etc.;Internet programming -- Handbooks, manuals, etc
Electronic books
Alt Author Johnson, Bryan P
Johnson, Bryan P
Record:   Prev Next