Publisher: Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals. Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools. As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
5793
Ebook

Python Object-Oriented Programming. Build robust and maintainable object-oriented Python applications and libraries - Fourth Edition

Steven F. Lott, Dusty Phillips

Object-oriented programming (OOP) is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Python Object-Oriented Programming, Fourth Edition dives deep into the various aspects of OOP, Python as an OOP language, common and advanced design patterns, and hands-on data manipulation and testing of more complex OOP systems. These concepts are consolidated by open-ended exercises, as well as a real-world case study at the end of every chapter, newly written for this edition. All example code is now compatible with Python 3.9+ syntax and has been updated with type hints for ease of learning.Steven and Dusty provide a comprehensive, illustrative tour of important OOP concepts, such as inheritance, composition, and polymorphism, and explain how they work together with Python’s classes and data structures to facilitate good design. In addition, the book also features an in-depth look at Python’s exception handling and how functional programming intersects with OOP. Two very powerful automated testing systems, unittest and pytest, are introduced. The final chapter provides a detailed discussion of Python's concurrent programming ecosystem.By the end of the book, you will have a thorough understanding of how to think about and apply object-oriented principles using Python syntax and be able to confidently create robust and reliable programs.

5794
Ebook

Real-World Svelte. Supercharge your apps with Svelte 4 by mastering advanced web development concepts

Tan Li Hau, Rich Harris

Svelte has quickly become a popular choice among developers seeking to build fast, responsive, and efficient web applications that are high-performing, scalable, and visually stunning. This book goes beyond the basics to help you thoroughly explore the core concepts that make Svelte stand out among other frameworks.You’ll begin by gaining a clear understanding of lifecycle functions, reusable hooks, and various styling options such as Tailwind CSS and CSS variables. Next, you’ll find out how to effectively manage the state, props, and bindings and explore component patterns for better organization. You’ll also discover how to create patterns using actions, demonstrate custom events, integrate vanilla JS UI libraries, and progressively enhance UI elements. As you advance, you’ll delve into state management with context and stores, implement custom stores, handle complex data, and manage states effectively, along with creating renderless components for specialized functionalities and learning animations with tweened and spring stores. The concluding chapters will help you focus on enhancing UI elements with transitions while covering accessibility considerations.By the end of this book, you’ll be equipped to unlock Svelte's full potential, build exceptional web applications, and deliver performant, responsive, and inclusive user experiences.

5795
Ebook
5796
Ebook

SvelteKit Up and Running. Leverage the power of a next-generation web framework to build high-performance web apps with ease

Dylan Hildenbrand

The JavaScript ecosystem has grown vast, complex, and daunting for newcomers. Fortunately, SvelteKit has emerged, simplifying the process of building JavaScript-based web applications. This book aims to demystify SvelteKit, making it as approachable as it makes web app development.With SvelteKit Up and Running you’ll be introduced to the philosophy and technologies underlying SvelteKit. First, you’ll follow a standard educational programming approach, progressing to a 'Hello World' application. Next, you’ll explore the fundamental routing techniques, data loading management, and user submission, all through real-world scenarios commonly encountered in day-to-day development, before discovering various adapters employed by SvelteKit to seamlessly integrate with diverse environments. You’ll also delve into advanced concepts like dynamic route management, error handling, and leveraging SvelteKit to optimize SEO and accessibility.By the end of this book, you’ll have mastered SvelteKit and will be well-equipped to navigate the complexities of web app development.

5797
Ebook

Google SketchUp for Game Design: Beginner's Guide. Create 3D game worlds complete with textures, levels and props

Robin de Jongh, Robin de Jongh

Creating video game environments similar to the best 3D games on the market is now within the capability of hobbyists for the first time, with the free availability of game development software such as Unity 3D, and the ease with which groups of enthusiasts can get together to pool their skills for a game project. The sheer number of these independent game projects springing up means there is a constant need for game art, the physical 3D environment and objects that inhabit these game worlds. Now thanks to Google there is an easy, fun way to create professional game art, levels and props.Google SketchUp is the natural choice for beginners to game design. This book provides you with the workflow to quickly build realistic 3D environments, levels, and props to fill your game world. In simple steps you will model terrain, buildings, vehicles, and much more.Google SketchUp is the ideal entry level modeling tool for game design, allowing you to take digital photographs and turn them into 3D objects for quick, fun, game creation. SketchUp for Game Design takes you through the modeling of a game level with SketchUp and Unity 3D, complete with all game art, textures and props. You will learn how to create cars, buildings, terrain, tools and standard level props such as barrels, fencing and wooden pallets. You will set up your game level in Unity 3D to create a fully functional first person walk-around level to email to your friends or future employers.When you have completed the projects in this book, you will be comfortable creating 3D worlds, whether for games, visualization, or films.

5798
Ebook

Tableau Prep Cookbook. Use Tableau Prep to clean, combine, and transform your data for analysis

Hendrik Kleine

Tableau Prep is a tool in the Tableau software suite, created specifically to develop data pipelines. This book will describe, in detail, a variety of scenarios that you can apply in your environment for developing, publishing, and maintaining complex Extract, Transform and Load (ETL) data pipelines.The book starts by showing you how to set up Tableau Prep Builder. You’ll learn how to obtain data from various data sources, including files, databases, and Tableau Extracts. Next, the book demonstrates how to perform data cleaning and data aggregation in Tableau Prep Builder. You’ll also gain an understanding of Tableau Prep Builder and how you can leverage it to create data pipelines that prepare your data for downstream analytics processes, including reporting and dashboard creation in Tableau. As part of a Tableau Prep flow, you’ll also explore how to use R and Python to implement data science components inside a data pipeline. In the final chapter, you’ll apply the knowledge you’ve gained to build two use cases from scratch, including a data flow for a retail store to prepare a robust dataset using multiple disparate sources and a data flow for a call center to perform ad hoc data analysis.By the end of this book, you’ll be able to create, run, and publish Tableau Prep flows and implement solutions to common problems in data pipelines.

5799
Ebook

Midjourney. Leverage The Future Of Creativity

Adrian Twarog

Unleash the full potential of Midjourney by mastering the essentials of prompt creation. The book begins with an in-depth exploration of prompt anatomy, teaching you the key components that make up an effective input. From there, you'll move on to crafting your first Midjourney prompt, gaining confidence as you bring your creative ideas to life.As you progress, you'll delve into the vital commands and the parameter list that enable you to fine-tune your results. Each concept is broken down into actionable insights, ensuring you fully understand how to control Midjourney’s output. By learning the interplay of these elements, you’ll start crafting outputs tailored to your vision.Finally, advanced techniques take center stage, showing you how to push the boundaries of your creativity. Whether you're creating stunning visuals, refining complex ideas, or exploring new ways to express yourself, this course equips you with the tools and knowledge to excel in the world of Midjourney.

5800
Ebook

Asynchronous Android Programming. Click here to enter text. - Second Edition

Helder Vasconcelos, Steve Liles

Asynchronous programming has acquired immense importance in Android programming, especially when we want to make use of the number of independent processing units (cores) available on the most recent Android devices. With this guide in your hands you’ll be able to bring the power of Asynchronous programming to your own projects, and make your Android apps more powerful than ever before!To start with, we will discuss the details of the Android Process model and the Java Low Level Concurrent Framework, delivered by Android SDK. We will also guide you through the high-level Android-specific constructs available on the SDK: Handler, AsyncTask, and Loader. Next, we will discuss the creation of IntentServices, Bound Services and External Services, which can run in the background even when the user is not interacting with it. You will also discover AlarmManager and JobScheduler APIs, which are used to schedule and defer work without sacrificing the battery life. In a more advanced phase, you will create background tasks that are able to execute CPU-intensive tasks in a native code-making use of the Android NDK. You will be then guided through the process of interacting with remote services asynchronously using the HTTP protocol or Google GCM Platform. Using the EventBus library, we will also show how to use the Publish-Subscribe software pattern to simplify communication between the different Android application components by decoupling the event producer from event consumer.Finally, we will introduce RxJava, a popular asynchronous Java framework used to compose work in a concise and reactive way. Asynchronous Android will help you to build well-behaved applications with smooth responsive user interfaces that delight the users with speedy results and data that’s always fresh.