Books: 9

Scratch

CoverTitleYear
KEY FEATURES * Set up the PHP environment and get started with web programming * Leverage the potential of PHP for server-side programming, memory management, and object-oriented programming (OOP) * This book is packed with real-life examples to help you implement the concepts as you learn BOOK more » DESCRIPTION PHP is a great language for building web applications. It is essentially a server-side scripting language that is also used for general purpose programming. PHP 7 is the latest version with a host of new features, and it provides major backwards-compatibility breaks. This book begins with the fundamentals of PHP programming by covering the basic concepts such as variables, functions, class, and objects. You will set up PHP server on your machine and learn to read and write procedural PHP code. After getting an understanding of OOP as a paradigm, you will execute MySQL queries on your database. Moving on, you will find out how to use MVC to create applications from scratch and add tests. Then, you will build REST APIs and perform behavioral tests on your applications. By the end of the book, you will have the skills required to read and write files, debug, test, and work with MySQL. WHAT YOU WILL LEARN * Set up a server on your machine with PHP * Use PHP syntax with the built-in server to create apps * Apply the OOP paradigm to PHP to write richer code * Use MySQL to manage data in your web applications * Create a web application from scratch using MVC * Add tests to your web application and write testable code * Use an existing PHP framework to build and manage your applications * Build REST APIs for your PHP applications * Test the behavior of web applications with Behat ABOUT THE AUTHOR Antonio Lopez is a software engineer with more than 7 years of experience. He has worked with PHP since university, which was 10 years ago, building small personal projects. Later, Antonio started his journey around Europe, working in Barcelona, London, Dublin, and back in Barcelona. He has worked in a number of different areas, from web applications to REST APIs and internal tools. Antonio likes to spend his spare time on personal projects and start-ups and has a strong vocation in education and teaching. TABLE OF CONTENTS 1. Setting Up the Environment 2. Web Applications with PHP 3. Understanding PHP Basics 4. Creating Clean Code with OOP 5. Using Databases 6. Adapting to MVC 7. Testing Web Applications 8. Using Existing PHP Frameworks 9. Building REST APIs 10. Behavioral Testing « less
2016
Create robust and spectacular 2D and 3D games from scratch using Swift – Apple's latest and easy-to-learn programming language
ABOUT THIS BOOK * Create engaging games from the ground up using SpriteKit and SceneKit * Boost your game's visual performance using Metal - Apple's new graphics library * A step-by-step approach to exploring the world of game development using Swift WHO THIS BOOK IS FOR This book is for novices more » as well as proficient game developers who want to learn more about game development using Swift. If you are from a 2D game development background and would like to learn the basics of 3D game development, this book is for you. Additionally, if you want to learn the basics of graphics programming and shaders, this book will be a good starting point. WHAT YOU WILL LEARN * Learn Apple's latest programming languagea€”Swift * Acquaint yourself with the Xcode interface * Create stunning games with SpriteKit and SceneKit * Understand the basics of graphics programming * Intensify your gameplay experience by learning how to add customized sound * Develop highly interactive games using animation, sound, collision detection, particle systems, and shaders * Package and publish games on the Apple App Store IN DETAIL Game development has been simplified with Apple's new programming language―Swift. It starts with the absolute basics such as the Xcode interface and takes you all the way to Swift programming. You will take a walk through the creation of 2D and 3D games followed by an introduction to SpriteKit and SceneKit. The book also looks at how game objects are placed in 3D scenes, how to use the graphics pipeline, and how objects are displayed on mobile screens. You will also delve into essential game concepts such as collision detection, animation, particle systems, and scene transitions. Finally, you will learn how to publish and distribute games to the iTunes store. « less
2015
Exploit the features of TypeScript to develop and maintain captivating web applications with ease
ABOUT THIS BOOK * Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript * Create object-oriented JavaScript that adheres to the solid principles efficiently * A comprehensive guide that explains the fundamentals of TypeScript with the more » help of practical examples WHO THIS BOOK IS FOR If you are a JavaScript developer aiming to learn TypeScript to build beautiful web applications, then this book is for you. No prior knowledge of TypeScript is required. WHAT YOU WILL LEARN * Learn the key TypeScript language features and language runtime * Develop modular, scalable, maintainable, and adaptable web applications * Create object-oriented code that adheres to the solid principles * Save time using automation tools like Gulp and Karma * Develop robust applications with testing (Mocha, Chai and SinonJS) * Put your TypeScript skills in practice by developing a single-page web application framework from scratch * Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript IN DETAIL TypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. It allows developers to use the future versions of JavaScript (ECMAScript 6 and 7) today. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications. This book is a step-by-step guide that will get you started with TypeScript with the help of practical examples. You start off by understanding the basics of TypeScript. Next, automation tools like Grunt are explained followed by a detailed description of function, generics, callbacks and promises. After this, object-oriented features and the memory management functionality of TypeScript are explained. At the end of this book, you will have learned enough to implement all the concepts and build a single page application from scratch. STYLE AND APPROACH This is a step-by-step guide that covers the fundamentals of TypeScript with practical examples. Each chapter introduces a set of TypeScript language features and leads the readers toward the development of a real-world application. « less
2015
Harness the power of Magento 2 – The most recent version of the world's favourite e-Commerce platform for your online store ABOUT THIS BOOK * Set up, configure, and power up your Magento environment from development to production * Master the use of Web API to communicate with the Magento system more » and create custom services * Create custom modules from scratch to extend the core functionality of the Magento system WHO THIS BOOK IS FOR This book is intended primarily for intermediate to professional-level PHP developers who are interested in Magento development. For backend developers, several topics are covered that will enable you to modify and extend your Magento 2 store. Frontend developers will also find some coverage on how to customize the look of the site in the frontend. WHAT YOU WILL LEARN * Set up the development and production environment of Magento 2 * Understand the new major concepts and conventions used in Magento 2 * Build a miniature yet fully-functional module from scratch to manage your e-commerce platform efficiently * Write models and collections to manage and search your entity data * Dive into backend development such as creating events, observers, cron jobs, logging, profiling, and messaging features * Get to the core of frontend development such as blocks, templates, layouts, and the themes of Magento 2 * Use token, session, and Oauth token-based authentication via various flavors of API calls, as well as creating your own APIs * Get to grips with testing Magento modules and custom themes, which forms an integral part of development IN DETAIL Magento is one of the most exciting, flexible, and customizable e-commerce systems. It offers you an extensive suite of powerful tools for creating and managing an online store. After years of development, Magento 2 introduces itself with a strong emphasis on modularity, Web API's, automated testing and overall new technology stack platform. The long-awaited Magento 2 release introduces a whole new e-commerce platform to develop online stores. The all new Magento 2 architecture, Web APIs, and a host of other features are equally challenging to master as much as they are exciting to use. This book will ease the learning curve by offering step-by-step guidance on how to extend the core functionality of your Magento 2 store. This book is your one-stop guide to build and customize a quality e-commerce website from the latest version of one of the largest, fastest growing, and most popular e-commerce platforms—Magento 2. We start off with an introduction to the fundamental concepts of Magento to give you a foundation to work from. We then move on to configure the development and basic production environment for Magento. After this, you'll get to grips with the major concepts and conventions that are new to the Magento 2 platform. We then delve deeper to get to the core of automated deployments, persisting data, writing data fixture scripts and applying various backend and frontend modifications. As we near the end of the book, you will learn to make API calls and write automated tests. Finally, you will be guided through building a full-blown helpdesk module from scratch. By the end of this book, you will have learned a wide range of techniques to extend and customize your Magento 2 store to fit the requirements of your business. STYLE AND APPROACH This book is a mix of theoretical and step-by-step approaches, explained in a conversational and easy-to-follow style. Topics are explained sequentially, giving detailed explanations of the basic and advanced features to get you working on Magneto 2. « less
2015
Rethink what's possible with Docker – become an expert in the innovative containerization tool to unlock new opportunities in the way you use and deploy software
ABOUT THIS BOOK * Create highly scalable applications and services using the Linux container virtualization paradigm * Extend Docker with external platforms, including Heroku and OpenStack * Integrate with some of the most innovative and exciting orchestration tools such as Kubernetes for larger and more » more controlled deployments WHO THIS BOOK IS FOR If you recognize Docker's importance for innovation in everything from system administration to web development, but aren't sure how to use it to its full potential, this book is for you. WHAT YOU WILL LEARN * Become fluent with the basic components of Docker * Learn best practices for storing and managing Docker files * Secure your containers and files with Docker's security features * Learn how to use Docker machine to build new servers from scratch * Find out how to set up and manage multiple environments with Docker compose * Utilize Docker Swarm to orchestrate containers across different servers * Integrate Docker with a wide range of cloud and configuration tools to fully realize its potential IN DETAIL Docker has been a game-changer when it comes to virtualization – it has now grown to become a key driver of innovation beyond system administration, having an impact on the world of web development and more. But how can you make sure you're keeping up with the innovations that it's driving? How can you be sure you're using it to its full potential? Mastering Docker shows you how – it not only demonstrates how to use Docker more effectively, it also helps you rethink and reimagine what's possible with Docker. Covering best practices to make sure you're confident with and the basics, such as building, managing and storing containers, before diving deeper into Docker security, you'll find everything you need to help you extend and integrate Docker in new and innovative ways. You'll learn how to take greater control over your containers using some of Docker's most sophisticated and useful tools, such as Docker compose and Docker swarm, before bringing together everything you already know and have learned to put your containers into production and monitor them for safety and performance. Beyond this, you'll also explore even more advanced strategies, as you learn how to extend and integrate Docker with cloud platforms such as Heroku and OpenStack, and how tools such as Kubernetes can improve the way you manage large-scale container orchestration. With further guidance on how you can use configuration management tools such as Puppet, Chef and PowerShell, by the end of the book you'll have a broad and detailed sense of exactly what's possible with Docker – and how seamlessly it fits with a range of other platforms and tools. STYLE AND APPROACH This book takes you through some of the most sophisticated Docker tools in a way that's accessible and practical. It has been created to help you put new ideas in practice – and to demonstrate precisely what's possible with Docker. « less
2015
A pragmatic guide for developing your own games with Python
ABOUT THIS BOOK * Strengthen your fundamentals of game programming with Python language * Seven hands-on games to create 2D and 3D games rapidly from scratch * Illustrative guide to explore the different GUI libraries for building your games WHO THIS BOOK IS FOR If you have ever wanted to create more » casual games in Python and you would like to explore various GUI technologies that this language offers, this is the book for you. This title is intended for beginners to Python with little or no knowledge of game development, and it covers step by step how to build seven different games, from the well-known Space Invaders to a classical 3D platformer. WHAT YOU WILL LEARN * Take advantage of Python's clean syntax to build games quickly * Discover distinct frameworks for developing graphical applications * Implement non-player characters (NPCs) with autonomous and seemingly intelligent behaviors * Design and code some popular games like Pong and tower defense * Compose maps and levels for your sprite-based games in an easy manner * Modularize and apply object-oriented principles during the design of your games * Exploit libraries like Chimpunk2D, cocos2d, and Tkinter * Create natural user interfaces (NUIs), using a camera and computer vision algorithms to interpret the player's real-world actions IN DETAIL With a growing interest in learning to program, game development is an appealing topic for getting started with coding. From geometry to basic Artificial Intelligence algorithms, there are plenty of concepts that can be applied in almost every game. Python is a widely used general-purpose, high-level programming language. It provides constructs intended to enable clear programs on both a small and large scale. It is the third most popular language whose grammatical syntax is not predominantly based on C. Python is also very easy to code and is also highly flexible, which is exactly what is required for game development. The user-friendliness of this language allows beginners to code games without too much effort or training. Python also works with very little code and in most cases uses the “use cases” approach, reserving lengthy explicit coding for outliers and exceptions, making game development an achievable feat. Python Game Programming by Example enables readers to develop cool and popular games in Python without having in-depth programming knowledge of Python. The book includes seven hands-on projects developed with several well-known Python packages, as well as a comprehensive explanation about the theory and design of each game. It will teach readers about the techniques of game design and coding of some popular games like Pong and tower defense. Thereafter, it will allow readers to add levels of complexities to make the games more fun and realistic using 3D. At the end of the book, you will have added several GUI libraries like Chimpunk2D, cocos2d, and Tkinter in your tool belt, as well as a handful of recipes and algorithms for developing games with Python. STYLE AND APPROACH This book is an example-based guide that will teach you to build games using Python. This book follows a step-by-step approach as it is aimed at beginners who would like to get started with basic game development. By the end of this book you will be competent game developers with good knowledge of programming in Python. « less
2015
10 engaging projects that will teach you how to build exciting games with the easy-to-use Scratch 2.0 environment
***** About This Book ***** * Discover how to make the most of the new Scratch 2.0 interface * Understand how video games work under the hood * Make your projects come to life, using practical programming principles * Learn how to plan and build your own interactive projects ***** Who This Book more » Is For ***** If you are a new, or current Scratch user and would like to improve your understanding of the new Scratch 2.0 interface, and learn how to make video games, this book is ideal for you. Each project is explained in-depth from start to finish, so everyone can follow along, even if you don't have much previous experience with the software. If you want to become a video game designer, this book is an easy- to- use and friendly guide about the world of interactive media. It will teach, challenge, and inspire you to create great interactive projects. ***** What You Will Learn ***** * Draw and edit game graphics * Construct scripts from logic blocks * Utilize operators and conditions to steer game actions * Use variables and lists to save and reuse dynamic numbers * Create both mouse and keyboard controls for various purposes * Implement natural physics effects such as collisions and gravity * Invent and build power-ups * Learn how to use some advanced math, for better looking movement patterns * Make interesting level designs * Balance the game for an enjoyable experience * Reuse elements to speed up the building process Playing video games is fun, however, it's even more fun to make your own! Scratch 2.0 makes that challenge a lot easier. Instead of diving into abstract and confusing code, you can build games using easy to understand logic blocks. Within minutes you can have your first game up and running. Readers can look forward to an easily accessible and fun introduction to programming and interactive media design. Within minutes of starting the program, you will be able to see the first results of your hard work. Visual feedback comes early and often, making high-level, abstract concepts a lot easier to understand. This book offers readers access to completely interactive projects based on well-known video game genres. You will then learn how to use standard programming principles such as operators, variables, and functions. From a broader perspective, you will also learn how to plan and develop a game from a general idea to the finished product, creating a fun and user-friendly game. Scratch 2.0 includes many new and exciting features, which makes it possible to create more advanced games. The final results will be close to production level games. This book will not only introduce you to the Scratch 2.0 software, but also teach you about interactive media design. « less
2014
Creating Fun with HTML5, CSS3, and WebGL
Discover new opportunities for building 2D and 3D games with HTML5 The newest iteration of HTML, HTML5 can be used with JavaScript, CSS3, and WebGL to create beautiful, unique, engaging games that can be played on the web or mobile devices like the iPad or Android phones. Gone are the days where games more » were only possible with plugin technologies such as Flash and this cutting-edge book shows you how to utilize the latest open web technologies to create a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets. You'll discover how to build a framework on which you will create your HTML5 game. Then each successive chapter covers a new aspect of the game, including user input, sound, multiplayer functionality, 2D and 3D graphics, and more. * Aims directly at a new way to develop games for the web through the use of HTML5 * Demonstrates how to make iOS and Android web apps * Explains how to capture player input; create 3D graphics; and incorporate textures, lighting, and sound * Guides you through the process of creating a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets By the end of this invaluable book, you will have created a fully functional game that can be played in any compatible browser or on any mobile device that supports HTML5. « less
2011
Solve Real-life Linux Problems Quickly
If you're an experienced system administrator looking to acquire Linux skills, or a seasoned Linux user facing a new challenge, Linux System Administration offers practical knowledge for managing a complete range of Linux systems and servers. The book summarizes the steps you need to build everything more » from standalone Soho hubs, web servers, and Lan servers to load-balanced clusters and servers consolidated through virtualization. Along the way, you'll learn about all of the tools you need to set up and maintain these working environments. Linux is now a standard corporate platform with users numbering in the hundreds of millions, and there is a definite shortage of talented administrators. Linux System Administration is ideal as an introduction to Linux for Unix veterans, Mcses, and mainframe administrators, and as an advanced (and refresher) guide for existing Linux administrators who will want to jump into the middle of the book. Inside, you'll learn how to: * Set up a stand-alone Linux server * Install, configure, maintain, and troubleshoot a Dns server using Bind * Build an Internet server to manage sites, perform email and file transfers, and more * Set up an email service for a small-to-medium-sized site, complete with authentication * Install and configure Apache, Php, and MySql on a web server built from scratch * Combine computers into a load-balanced Apache web server cluster based on the free Linux Virtual Server * Set up local network services from distributed file systems to Dhcp services, gateway services, print services, user management and more * Use Linux virtualization with Xen or Vmware to run multiple kernels on one piece of hardware; manage each kernel's access to processor time, devices, and memory « less
2007