Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
AI-Assisted Programming for Web and Machine Learning
AI-Assisted Programming for Web and Machine Learning

AI-Assisted Programming for Web and Machine Learning: Improve your development workflow with ChatGPT and GitHub Copilot

Arrow left icon
Profile Icon Christoffer Noring Profile Icon Ajit Jaokar Profile Icon Ayşe Mutlu Profile Icon Marina Fernandez Profile Icon Anjali Jain +1 more Show less
Arrow right icon
$26.99 $38.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (9 Ratings)
eBook Aug 2024 602 pages 1st Edition
eBook
$26.99 $38.99
Paperback
$32.99 $47.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Christoffer Noring Profile Icon Ajit Jaokar Profile Icon Ayşe Mutlu Profile Icon Marina Fernandez Profile Icon Anjali Jain +1 more Show less
Arrow right icon
$26.99 $38.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (9 Ratings)
eBook Aug 2024 602 pages 1st Edition
eBook
$26.99 $38.99
Paperback
$32.99 $47.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$26.99 $38.99
Paperback
$32.99 $47.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

AI-Assisted Programming for Web and Machine Learning

Introduction

In November 2022, ChatGPT arrived from seemingly nowhere. Over time, ChatGPT gained momentum, gradually evolving into a widely embraced tool. Eventually, millions actively incorporated ChatGPT into their workflows, leveraging its capabilities for generating insights, summarizing text, crafting code, and more.

Its arrival changed many people’s workflow and improved it a lot in tasks like quickly understanding large bodies of text, writing emails, and more. Here you are, having bought this book, and hoping that you can learn how to use an AI tool like ChatGPT or GitHub Copilot to make you more efficient. That’s exactly the mission of this book: to teach you not only how to use these two AI tools but also to be able to apply them across various problem domains.

Before we start solving problems using an AI assistant, let’s back up a bit; how did we get here? ChatGPT just didn’t arrive out of nowhere, right?

How ChatGPT came to be, from NLP to LLMs

To tell the story of how we got here, to AI tools like ChatGPT, powered by large language models (LLMs), let’s first cover natural language processing (NLP).

NLP is a field of computer science, artificial intelligence, and computational linguistics. It’s concerned with the interactions between computers and human language, and how to program computers to process and analyze large amounts of natural language data. NLP is a hugely interesting area that has a range of useful applications in the real world. Here are some:

  • Speech recognition: If you have a modern smartphone, you’ve likely interacted with voice assistants like Siri or Alexa, for example.
  • Machine translation: Google Translate is perhaps what comes to mind when thinking of machine translation, the ability to translate from one language to another automatically.
  • Sentiment analysis: A very useful area is understanding the sentiment in areas like social media, for example. Companies want to know how brands are perceived; e-commerce wants to quickly understand product reviews to boost their business.
  • Chatbots and virtual assistants: You’ve likely seen chatbots being integrated on web pages even before the advent of ChatGPT. These chatbots can answer simpler questions, and companies have them to ensure you quickly get an answer to simpler questions and provide a more natural experience than an FAQ page, among other usage areas.
  • Text summaries: Search engines come to mind again when thinking about text summaries. You might have seen how, when you use search engines like Bing or Google, it’s able to summarize a page and show the summary together with the link to the page in a search result page. As a user, you get a better understanding of what link to click.
  • Content recommendation: This is another important area used by a variety of different domains. E-commerce uses this to present products you’re likely to be interested in, Xbox uses this to recommend what games to play and buy, and video streaming services display content you might want to watch next.

As you can see already, with NLP, both companies and end users benefit greatly from adopting it.

The rise of LLMs

How did we evolve from NLP to LLMs, then? Initially, NLP used rule-based systems and statistical methods underneath. This approach, although working well for some tasks, struggled with human language.

This changed for the better when deep learning, a subset of machine learning, was introduced to NLP, and we got models like RNN, recurrent neural networks, and transformer-based models, capable of learning patterns in data. The result was a considerable improvement in performance. With transformer-based models, we’re starting to lay the foundations of large language models.

LLMs are a type of transformer model. They can generate human-like text and, unlike NLP models, they’re good at a variety of tasks without needing specific training data. How is this possible, you ask? The answer is a combination of improved architecture, a vast increase in computational power, and gigantic datasets.

LLMs rest on the idea that a large enough neural network can learn to do anything, given enough data and compute. This is a paradigm shift in how we program computers. Instead of writing code, we write prompts and let the model do the rest.

GPT models

There are many different types of LLMs out there, but let’s focus on GPT for a second, a type of LLM on which the book’s chosen tools are based (even if GitHub Copilot uses a specific subset known as Codex).

There have been several different versions developed in the last few years. Here are some models developed by the company OpenAI:

  • GPT-1: The first one, with 117 million parameters using transformer architecture.
  • GPT-2: This model has 1.5 billion parameters and is able to generate coherent and relevant text.
  • GPT-3: This model has 175 billion parameters and is considerably better than its predecessor with features like answering questions, fiction generation, and even writing code.
  • GPT-4: This model has been quoted to have 1.76 trillion parameters.
  • The number of parameters allows the model to understand more nuanced and coherent text. It should also be said that the larger the model, the larger the computational resources that are needed to train it.
  • ChatGPT recently switched to GPT-4 and the difference compared to GPT-3 is significant.

How LLMs are better

Now that we have a better understanding of how LLMs came to be and where they came from, what makes LLMs great? What are some good examples of why we really should adopt AI assistants based on LLMs?

Because LLMs are bigger and more advanced, there are some areas in which they clearly outperform traditional NLP models:

  • Context: LLMs can understand not just the recent input but can produce responses based on a longer conversation.
  • Few-shot learning: To perform a task, LLMs usually just need a few examples to produce a correct response. This should be contrasted with NLP models, which usually use a large amount of task-specific training data to perform properly.
  • Performance: LLMs are better than traditional NLP models in areas like translations, questions, and summarization.

It’s worth mentioning that LLMs aren’t perfect; they do generate incorrect responses and can sometimes make up responses, also known as hallucinations. It’s our hope though that by reading this book, you will see the advantages of using LLM-based AI assistants and you will feel the pros clearly outweigh the cons.

The new paradigm, programming with natural language

Probably the biggest game changer with using LLM-based AI assistants is that you’re able to interact with them using nothing but natural language. There’s no need to learn a programming language to get the response you need. This change constitutes a new paradigm in interacting with AI. We’re moving away from writing in specific languages for producing apps, data retrieval, or even how we produce images, presentations, and more to express at a high level what we want through a prompt.

Here is an example of things that are now possible to do using prompts, where it before needed considerably more effort:

  • Programming: With a prompt, you express what app you want to build or what changes you want to make with the code.
  • Image generation: Where you before needed a designer or artist, you can now generate via prompts.
  • Videos: There are tools out there that, once given a prompt, will generate videos where an avatar reads out your written text.
  • Text tasks: LLM-based AI assistants can generate emails, summarize large bodies of text, author interview ads, and much more; anything you can imagine with text really.

All these application areas mentioned above make it clear that LLM-based AI tools are useful not only to programmers and data scientists but numerous different professions.

Challenges and limitations

Is everything working perfectly at this point? AI assistants aren’t able to replace “you” just yet, and should be considered more of a “thinking partner.” Microsoft has even, through conscious naming, called their AI assistants “Copilots” where you’re clearly the pilot that sets out the direction. These tools can generate text and other modalities in seconds, but you need to verify the correctness. Often, the first response you get from a tool is something you need to iterate over. The good news is that it just takes seconds to redo the instruction.

An important thing to realize about AI assistants is that the more skilled you are at a certain topic, the more intelligent questions you can ask of it, and you’ll be able to better assess the correctness of the response.

About this book

The goals of this book are to:

  • Introduce you to the new paradigm of programming with natural language.
  • Provide you with the tools to get started using AI assistants.
  • Empower you to use AI assistants effectively and responsibly by teaching you prompt engineering and specifically a set of prompting strategies (covered in Chapter 2) and some sound practices (covered in Chapter 8).

We believe that with these tools, prompting strategies, and practices, you will be able to use AI assistants effectively and responsibly to augment your work and increase your productivity.

Who this book is for

This book is for professional developers within both the web and machine learning space. It is for those who want to learn how to use AI assistants like GitHub Copilot and ChatGPT to augment their work and increase their productivity.

Evolution of programming languages

Programming has gone through a series of changes and paradigm shifts throughout history:

  • Ada Lovelace wrote the first algorithm for a machine, the Analytical Engine, in the 1840s. Lovelace is considered the first computer programmer and the first to recognize that the machine had applications beyond pure calculation.
  • In the 1940s, the first programmable computers were created. These computers were programmed using punch cards. One such computer was the Harvard Mark I, which was used to calculate the trajectory of artillery shells. Also, Bombe is worth mentioning, which was used to crack the Enigma code during World War II and was instrumental in the Allies winning the war.
  • In the 1950s, the first high-level programming languages were created. This time period saw the birth of FORTRAN, LISP, COBOL, and ALGOL. Some of these languages are still in use today, especially in banking systems, scientific computing, and defense.
  • In the 1970s, the first object-oriented programming languages were created. The 1970s meant we got Smalltalk, C++, and Objective-C. Except for Smalltalk, these languages are heavily in use today.
  • In the 1990s, the first functional programming languages were created. The 1990s gave us Haskell, OCaml, and Scala. The benefit of these languages is that they encourage immutability and pure functions, which makes them easier to reason about and test.
  • In the 2000s, the first declarative programming languages were created. Declarative programming languages are used to describe what you want to do, rather than how you want to do it. The 2000s gave us SQL, HTML, and CSS.
  • In the 2010s, the first low-code and no-code platforms were created. These platforms opened programming to a wider audience, and allowed anyone, regardless of technical background, to build applications.
  • In the 2020s, the first AI assistants were created that leveraged natural language. If you can write a sentence, you can write code.

In summary, programming has gone through a series of changes and paradigm shifts. Prompt-first programming is the latest paradigm shift and mastering it will be key to staying relevant in the immediate future.

Looking ahead

If changes and paradigm shifts took years or decades in the past, they now take months or even weeks. We’re moving toward a new world at breakneck speed.

There’s reason to be excited, as we’re moving faster than before, but as always, we should exercise caution. We should be aware of the risks and the dangers of using these tools irresponsibly, but most of all we should be aware of the opportunities.

As Alan Kay once said, “The best way to predict the future is to invent it.”

How to use this book

We believe the best way to use this book is to follow the chapters in order.

Chapter 2, with the prompting strategies, is the most important chapter in the book. These patterns and strategies are referred to throughout the book and are the foundation for how to use AI assistants effectively and responsibly.

The book is written in the following format:

  • Introduction: The first chapter aims to provide you with an overview of what this book is about, its goals, and who it is for.
  • Prompt strategy: The idea is to lay the foundation on how to break down problems within the domains of data science and web development. From this chapter, you will learn strategies you can adopt for your own problems.
  • Tools of the trade: The third chapter introduces you to our tools, GitHub Copilot and ChatGPT, what they are, how they work, and how to install them. However, the book is written in such a way that you can take any of the prompts we suggest and feed those into any AI assistant, and get a similar experience.
  • The remaining chapters of the book show how we use the prompt strategies from Chapter 2 and apply them to various domains from web development to data science and machine learning.

Happy reading!

Join our community on Discord

Join our community’s Discord space for discussions with the author and other readers:

https://packt.link/aicode

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Utilize prompts to enhance frontend and backend web development
  • Develop prompt strategies to build robust machine learning models
  • Use GitHub Copilot for data exploration, maintaining existing code bases, and augmenting ML models into web applications

Description

AI-Assisted Programming for Web and Machine Learning shows you how to build applications and machine learning models and automate repetitive tasks. Part 1 focuses on coding, from building a user interface to the backend. You’ll use prompts to create the appearance of an app using HTML, styling with CSS, adding behavior with JavaScript, and working with multiple viewports. Next, you’ll build a web API with Python and Flask and refactor the code to improve code readability. Part 1 ends with using GitHub Copilot to improve the maintainability and performance of existing code. Part 2 provides a prompting toolkit for data science from data checking (inspecting data and creating distribution graphs and correlation matrices) to building and optimizing a neural network. You’ll use different prompt strategies for data preprocessing, feature engineering, model selection, training, hyperparameter optimization, and model evaluation for various machine learning models and use cases. The book closes with chapters on advanced techniques on GitHub Copilot and software agents. There are tips on code generation, debugging, and troubleshooting code. You’ll see how simpler and AI-powered agents work and discover tool calling.

Who is this book for?

Experienced developers new to GitHub Copilot and ChatGPT can discover the best strategies to improve productivity and deliver projects quicker than traditional methods. This book is ideal for software engineers working on web or machine learning projects. It is also a useful resource for web developers, data scientists, and analysts who want to improve their efficiency with the help of prompting. This book does not teach web development or how different machine learning models work.

What you will learn

  • Speed up your coding and machine learning workflows with GitHub Copilot and ChatGPT
  • Use an AI-assisted approach across the development lifecycle 
  • Implement prompt engineering techniques in the data science lifecycle
  • Develop the frontend and backend of a web application with AI assistance 
  • Build machine learning models with GitHub Copilot and ChatGPT 
  • Refactor code and fix faults for better efficiency and readability 
  • Improve your codebase with rich documentation and enhanced workflows 

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 30, 2024
Length: 602 pages
Edition : 1st
Language : English
ISBN-13 : 9781835083895
Vendor :
OpenAI
Category :
Languages :
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Aug 30, 2024
Length: 602 pages
Edition : 1st
Language : English
ISBN-13 : 9781835083895
Vendor :
OpenAI
Category :
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 98.96 142.97 44.01 saved
Generative AI Application Integration Patterns
$34.98 $49.99
Python Feature Engineering Cookbook
$30.99 $44.99
AI-Assisted Programming for Web and Machine Learning
$32.99 $47.99
Total $ 98.96 142.97 44.01 saved Stars icon
Banner background image

Table of Contents

24 Chapters
It’s a New World, One with AI Assistants, and You’re Invited Chevron down icon Chevron up icon
Prompt Strategy Chevron down icon Chevron up icon
Tools of the Trade: Introducing Our AI Assistants Chevron down icon Chevron up icon
Build the Appearance of Our App with HTML and Copilot Chevron down icon Chevron up icon
Style the App with CSS and Copilot Chevron down icon Chevron up icon
Add Behavior with JavaScript Chevron down icon Chevron up icon
Support Multiple Viewports Using Responsive Web Layouts Chevron down icon Chevron up icon
Build a Backend with Web APIs Chevron down icon Chevron up icon
Augment Web Apps with AI Services Chevron down icon Chevron up icon
Maintaining Existing Codebases Chevron down icon Chevron up icon
Data Exploration with ChatGPT Chevron down icon Chevron up icon
Building a Classification Model with ChatGPT Chevron down icon Chevron up icon
Building a Regression Model for Customer Spend with ChatGPT Chevron down icon Chevron up icon
Building an MLP Model for Fashion-MNIST with ChatGPT Chevron down icon Chevron up icon
Building a CNN Model for CIFAR-10 with ChatGPT Chevron down icon Chevron up icon
Unsupervised Learning: Clustering and PCA Chevron down icon Chevron up icon
Machine Learning with Copilot Chevron down icon Chevron up icon
Regression with Copilot Chat Chevron down icon Chevron up icon
Regression with Copilot Suggestions Chevron down icon Chevron up icon
Increasing Efficiency with GitHub Copilot Chevron down icon Chevron up icon
Agents in Software Development Chevron down icon Chevron up icon
Conclusion Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(9 Ratings)
5 star 88.9%
4 star 11.1%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




N/A Oct 14, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Excellent book reference for developers who want understanding utility of developing software with generative artificial intelligence.
Feefo Verified review Feefo
Charlie Wright Oct 01, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A simple, easy to understand prompt engineering flow as outlined early in the book guides the way to more in depth ideas. The writing is clear and logical in the way it progresses from one point the the next taking you along step by step in understanding the material.
Amazon Verified review Amazon
Thomas M. Sep 22, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As an avid developer always looking to stay ahead of the curve, I was thrilled to dive into this book covering all things AI-assisted programming. I was skeptical at first in terms of what an AI-assisted workflow might look like, but I found this to be a comprehensive guide for anyone seeking to harness the power of AI in their development workflow -- truly a game-changer for how I'll approach future projects.The authors have masterfully crafted a resource that bridges the gap between traditional programming and the nascent world of AI-assisted development. What sets this book apart IMO is its practical, hands-on approach to integrating tools like ChatGPT and GitHub Copilot into real-world projects. The step-by-step walkthroughs for building an e-commerce application are particularly illuminating, demonstrating how AI can streamline every stage of development from frontend design to backend implementation.I was impressed by the book's thorough coverage of prompt engineering techniques. The authors provide invaluable strategies for effectively communicating with AI assistants, turning what could be a daunting task into, really, an art form. This skill alone is worth the price of admission, so to speak, as it dramatically enhances productivity and opens up new possibilities in code generation and problem-solving.I found the ML sections to be equally robust, offering detailed guidance on tasks like data exploration, model building, and hyperparameter tuning, bridging classical and modern ML techniques seamlessly. The authors' approach of using both free and paid versions of ChatGPT showcases the tools' versatility and accessibility for developers at all levels. The book doesn't just teach you how to use these powerful tools, but also how to validate and refine AI-generated solutions. This balanced perspective ensures that readers develop a critical eye alongside their newfound AI skills, which is what more companies look for in applied ML.For those concerned about the learning curve, fear not. The authors have structured the content to cater to both AI newcomers and seasoned professionals. The historical context and explanations of underlying concepts provide a solid foundation, while the advanced chapters offer plenty of depth for experienced developers. I was a bit hesitant as to whether this would be suitable for me since my domain is more data science, but I found this to be a perfect read for both DS and CS alike.In a world where AI is reshaping the software development landscape, I'm convinced that this book is a ticket to riding the wave of innovation with clarity and success. If you're looking to supercharge your development process, stay competitive in a rapidly evolving tech landscape, or simply curious about the future of programming, this book is an absolute must-read IMO. It's not just a manual; it's a roadmap to becoming a more efficient, innovative, and AI-savvy developer.
Amazon Verified review Amazon
Banachan Oct 15, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book gives a great progression of the topics in regard to LLMs and use cases. It starts with the basic principles and premises and goes into more details chapter by chapter. So if you want a broad landscape perspective of use LLMs especially on how it is applied in chats, assistants, and used to help generate regression, classification unsupervised, and even deep learning models, etc. this is a good book to get and utilize for your purposes. It gives a good grounding on the world of LLMs and how to apply it by walking you through its practical applications and approaches.While not as deep technically as I would have hoped, it gives a good grounding on what to expect for such a new field in AI. Concepts on how apply LLMs in prompting, front and back end web app dev using assistants, data analysis are covered in enough detail. If you're already familiar with traditional classification and regressions modeling, it also covers how do it with LLMs. It blends both the traditional and newer methods to give you a sense on how to leverage what you already know with LLM based approaches. The code generation assistants make for a good exercise to accelerate your machine learning coding efforts.In all these of course, you need to have a good understanding of machine learning to begin with, as depending 100% on AI is not a panacea for good machine learning modeling expertise to apply in the real world. A small bonus content is that the book also covers Agentic processes in software development. Since this area is so new (as of this writing), a good basic introduction on the concepts were discussed.Overall, a good read providing a good virtual roadmap on how to do traditional machine learning using more cutting -edge tools and assistants. Highly recommended book and must read for those getting into the LLM field.
Amazon Verified review Amazon
Brian Hedgeman Sep 16, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is an invaluable resource for both seasoned developers and those just beginning to explore the world of AI-driven programming. Authored by a team of experts, this book provides a comprehensive guide to leveraging AI tools like ChatGPT and GitHub Copilot to enhance your development workflow.One of the standout features of this book is its clear and structured approach to integrating AI into various stages of web development and machine learning projects. The authors skillfully break down complex concepts into manageable pieces, making it accessible to readers with different levels of expertise. The detailed explanations of prompt strategies and the step-by-step guidance on using AI tools for specific tasks are particularly useful.The book is not just a technical manual; it also offers insights into the evolving landscape of programming languages and the role AI is playing in this transformation. The historical context provided in the early chapters sets the stage for understanding the significance of AI in today's development environment.What I appreciate most about this book is its practical focus. Each chapter is filled with real-world examples, assignments, and challenges that encourage hands-on learning. The authors emphasize the importance of validating AI-generated solutions, ensuring that readers not only learn how to use AI tools but also how to do so responsibly.Overall, this book is a must-read for anyone looking to stay ahead in the rapidly changing world of software development. Whether you're interested in improving your productivity, exploring new AI-driven possibilities, or simply curious about the future of programming, this book has something valuable to offer. Highly recommended!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.