Techniki programowania
Kevin Dunglas
Doctrine 2 has become the most popular modern persistence system for PHP. It can either be used as a standalone system or can be distributed with Symfony 2, and it also integrates very well with popular frameworks. It allows you to easily retrieve PHP object graphs, provides a powerful object-oriented query language called DQL, a database schema generator tool, and supports database migration. It is efficient, abstracts popular DBMS, and supports PHP 5.3 features.Doctrine is a must-have for modern PHP applications.Persistence in PHP with Doctrine ORM is a practical, hands-on guide that describes the full creation process of a web application powered by Doctrine. Core features of the ORM are explained in depth and illustrated by useful, explicit, and reusable code samples.Persistence in PHP with Doctrine ORM explains everything you need to know to get started with Doctrine in a clear and detailed manner.From installing the ORM through Composer to mastering advanced features such as native queries, this book is a full overview of the power of Doctrine. You will also learn a bunch of mapping annotations, create associations, and generate database schemas from PHP classes. You will also see how to write data fixtures, create custom entity repositories, and issue advanced DQL queries. Finally it will teach you to play with inheritance, write native queries, and use built-in lifecycle events. If you want to use a powerful persistence system for your PHP application, Persistence in PHP with Doctrine ORM is the book you.
Doug Bierer
PHP 7 comes with a myriad of new features and great tools to optimize your code and make your code perform faster than in previous versions. Most importantly, it allows you to maintain high traffic on your websites with low-cost hardware and servers through a multithreading web server.This book demonstrates intermediate to advanced PHP techniques with a focus on PHP 7. Each recipe is designed to solve practical, real-world problems faced by PHP developers like yourself every day. We also cover new ways of writing PHP code made possible only in version 7. In addition, we discuss backward-compatibility breaks and give you plenty of guidance on when and where PHP 5 code needs to be changed to produce the correct results when running under PHP 7. This book also incorporates the latest PHP 7.x features. By the end of the book, you will be equipped with the tools and skills required to deliver efficient applications for your websites and enterprises.
PHP 7: Real World Application Development. Real World Application Development
Doug Bierer, Iltaf (Altaf) Hussain Gul, Branko...
PHP is a great language for developing web applications. It is essentially a server-side scripting language. PHP 7 is the latest version, providing major backward-compatibility breaks and focusing on improved performance and speed. This course follows a learning path which is divided into three modules. Each module is a mini course in its own right, taking your basic PHP programing skills to the next level by showing you intermediate to advanced PHP techniques with a focus on PHP 7. The first module of the book is a programming cookbook that consists over 80 recipes! Each recipe is designed to solve practical, real-world problems faced by PHP developers like yourself every day. This course also covers new ways of writing PHP code made possible only in version 7. The second module of the course is designed to improve the performance and productivity of your application. You’ll be introduced to the concepts of Object-Oriented Programming (OOP) in PHP 7 and then shed some light on how to improve the performance of your PHP 7 applications and database. With all important concepts of PHP covered up you will move on to third module. In this module you will gain a deep insight into the modular programming paradigm and how to achieve modularity in your PHP code. Modular design techniques help you build readable, manageable, reusable, and more efficient codes. By the end of this module you will have a good understanding of modular application development using PHP 7.This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:• PHP 7 Programming Cookbook, Doug Bierer• Learning PHP 7 High Performance, Altaf Hussain• Modular Programming with PHP 7, Branko Ajzele
PHP and MySQL. The Comprehensive Guide
Rheinwerk Publishing, Inc, Christian Wenz, Tobias Hauser
PHP and MySQL is an essential guide for both beginner and intermediate developers looking to master web development using PHP and MySQL. The book starts with the basics, including installation, syntax, and testing, providing a solid foundation for those new to programming. It then moves on to cover core PHP concepts such as functions, arrays, strings, and object-oriented programming, giving readers a comprehensive understanding of the language.As you progress through the chapters, the book dives deeper into more advanced topics, including working with databases using MySQL, PDO, and other database systems like PostgreSQL, Oracle, and MongoDB. It also explores web technologies such as JavaScript, XML, and APIs, empowering readers to create dynamic, data-driven applications.In the final chapters, the book addresses crucial topics like security, email functionality, session handling, and unit testing with PHPUnit. With practical examples and tips, PHP and MySQL equips developers with the skills needed to build robust web applications, troubleshoot effectively, and contribute to the PHP ecosystem.
Doug Bierer, Rainier Sarabia
PHP 8 introduces powerful features like JIT compilation, Fibers, union types, and attributes, but many developers struggle to use them effectively in real-world projects. This book solves that problem by combining PHP 8 with Generative AI to help you build faster, smarter, and more reliable applications.Through practical, hands-on recipes, you’ll learn how to use AI to generate clean OOP code, design scalable architectures, and automate repetitive development tasks. You’ll optimize performance using OPcache, JIT, and async programming while also implementing robust security practices and modern design patterns.The book goes beyond basics, covering real-world use cases such as building REST APIs, microservices, WebSocket-based applications, and database-driven systems. You’ll also learn how to modernize legacy PHP applications, improve code quality with AI-assisted testing, and apply test-driven development workflows.By the end, you’ll be able to confidently use AI alongside PHP 8 to build secure, high-performance, and production-ready web applications.
Matt Eland, Kevin Griffin
Too many C# developers feel stuck building the same apps day in and day out, but learning through side projects can reignite your passion and level up your skills. This book offers a practical, hands-on approach to building confidence with .NET 10 and modern C# by building a variety of engaging applications, from interactive games and productivity tools to machine learning apps and browser-based chatbots.These projects are designed to teach practical patterns and modern tooling, with a focus on learning and experimentation over production hardening. You'll work with tools like Spectre.Console, ML.NET, Uno Platform, and more, developing everything from an adventure game and a card tracker to an AI chatbot. You’ll also build modern AI-enabled systems using Ollama, Microsoft Agent Framework, OpenTelemetry, and Aspire.Written by an experienced C# engineer and teacher, this book blends technical depth with a developer-friendly tone, helping you learn faster and retain more. You'll sharpen your understanding of core .NET capabilities and gain confidence to apply them in your own work or hobby projects.By the end of this book, you'll not only have a portfolio of practical .NET apps - you’ll also have grown as a developer and rediscovered the joy of programming.*Email sign-up and proof of purchase required
joakim verona
DevOps is a practical field that focuses on delivering business value as efficiently as possible. DevOps encompasses all the flows from code through testing environments to production environments. It stresses the cooperation between different roles, and how they can work together more closely, as the roots of the word imply—Development and Operations.After a quick refresher to DevOps and continuous delivery, we quickly move on to looking at how DevOps affects architecture. You'll create a sample enterprise Java application that you’ll continue to work with through the remaining chapters. Following this, we explore various code storage and build server options. You will then learn how to perform code testing with a few tools and deploy your test successfully. Next, you will learn how to monitor code for any anomalies and make sure it’s running properly. Finally, you will discover how to handle logs and keep track of the issues that affect processes
Adam Tibi
Test-driven development is a manifesto for incrementally adding features to a product but starting with the unit tests first. Today’s project templates come with unit tests by default and implementing them has become an expectation. It’s no surprise that TDD/unit tests feature in most job specifications and are important ingredients for most interviews and coding challenges. Adopting TDD will enforce good design practices and expedite your journey toward becoming a better coding architect.This book goes beyond the theoretical debates and focuses on familiarizing you with TDD in a real-world setting by using popular frameworks such as ASP.NET Core and Entity Framework. The book starts with the foundational elements before showing you how to use Visual Studio 2022 to build an appointment booking web application. To mimic real-life, you’ll be using EF, SQL Server, and Cosmos, and utilize patterns including repository, service, and builder. This book will also familiarize you with domain-driven design (DDD) and other software best practices, including SOLID and FIRSTHAND.By the end of this TDD book, you’ll have become confident enough to champion a TDD implementation. You’ll also be equipped with a business and technical case for rolling out TDD or unit testing to present to your management and colleagues.