Instant typeahead.js [Instant]


This title is available as an eBook only
Instant typeahead.js [Instant]
eBook: $9.99
Formats: PDF, PacktLib, ePub and Mobi formats
$8.50
save 15%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Install, test, and get started with typeahead.js
  • Integrate typeahead.js into your existing projects
  • Optimize and use typeahead.js to produce the best possible results

Book Details

Language : English
eBook : 58 pages
Release Date : September 2013
ISBN : 1783282614
ISBN 13 : 9781783282616
Author(s) : Toby Osbourn
Topics and Technologies : All Books, Instant, Web Development, Open Source

Table of Contents

Preface
Instant typeahead.js
  • Instant typeahead.js
    • Installing Bower for typeahead.js (Must know)
    • Basic searching (Must know)
    • Preloading JSON (Should know)
    • Fetching data from the server (Should know)
    • Prefetching data with a server fallback (Should know)
    • Manipulating data (Become an expert)
    • Creating custom events (Become an expert)
    • Collecting datasets (Become an expert)
    • Displaying your dataset to the user (Should know)
    • Caching your results (Should know)
    • Supporting LocalStorage (Should know)
    • Minimizing lookups (Become an expert)
    • Testing the typeahead.js codebase (Become an expert)
    • Testing the typeahead.js code (Become an expert)
    • Integrating typeahead.js into Bootstrap (Should know)
    • Integrating typeahead.js into WordPress (Become an expert)
    • Integrating typeahead.js into Ruby on Rails (Become an expert)

Toby Osbourn

Toby Osbourn is a developer from Belfast, Northern Ireland. He has been fascinated by computers since the 1990s and since 2007 has been focusing his efforts on learning everything there is to know about web development. More recently he has been focused on crafting fully thought-out user experiences on the frontend, while writing efficient and maintainable code on the backend. He currently works as a web developer for ExamTime.com, where he gets to play with both the frontend and backend of the ExamTime Web Application. He also frequently writes on his blog, which can be found at tosbourn.com and tweets at @tosbourn. Toby has written for industry journals, such as the IEEE and the Software Developer's Journal, and he has also contributed articles to websites, such as phpmaster.com and sixrevisions.com.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 1 submitted: last submission 27 Nov 2013

Errata type: Code | Page number: 20

The object response pattern @app.route('/object/') def return_object(): headers = {'Content-Type': 'text/plain'} return make_response('Hello, world!', status=200, headers=headers) throws an error in Flask 0.10.1. "TypeError: make_response() got an unexpected keyword argument 'status'" According to the API, rv can be "A tuple in the form (response, status, headers) where response is any of the types defined here, status is a string or an integer and headers is a list of a dictionary with header values." The correct code should be: @app.route('/object/') def return_object(): headers = {'Content-Type': 'text/plain'} return make_response('Hello, world!', 200, headers)

Errata type: Code | Page number: 15

The following line of code: @app.route('/appointments//delete/, methods=[DELETE']) should be: @app.route('/appointments//delete/', methods=['DELETE'])

Errata type: Code | Page number: 15

Please ignore the line: @app.route(...) and def appointment_edit(..)

Sorry, there are currently no downloads available for this title.

Frequently bought together

Instant typeahead.js [Instant] +    Instant Nokogiri [Instant] =
50% Off
the second eBook
Price for both: $16.05

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Install typeahead.js and its dependencies
  • Understand basic searching with typeahead.js
  • Preload JSON into typeahead.js and search using your server
  • Work with templates and cache results to improve performance
  • Run the test suite for typeahead.js
  • Integrate typeahead.js with WordPress, Ruby on Rails, and Bootstrap

In Detail

typeahead.js is a powerful tool that allows users to use an autocomplete feature on web forms, therefore speeding up their input process and improving the overall website experience.

Instant typeahead.js will take a reader with no or limited knowledge of typeahead.js and guide them through everything they need to know to become proficient at using this powerful tool.

Instant typeahead.js starts by showing you how to install typeahead.js and ends by walking you through some advanced optimization examples, progressively building your skills through the use of easy-to-understand language and practical examples.

As you go through the book, you will learn about testing typeahead.js, optimizing typeahead.js, and also skills like integrating typeahead.js with WordPress, Ruby on Rails, and Bootstrap. The book will also take a look at the tools that work well with typeahead.js.

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Instant typeahead.js is a concise guide with 14 recipes which deals with everything you need to know to become proficient in using this tool and teaches you how to integrate it with other popular projects such as WordPress, Bootstrap, and Ruby on Rails.

Who this book is for

Instant typeahead.js is for any web developer who would like to learn more about typeahead.js in terms of what it can offer and the best ways to achieve common tasks. This book assumes no prior knowledge, but an understanding of JavaScript fundamentals would be useful.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software