Programowanie
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
Aristides Bouras
Begin your journey into PHP programming and algorithmic thinking with a structured, detailed course that takes you from understanding the basic components of a computer to mastering complex decision control and loop structures. Each chapter builds on the previous one, starting with an introduction to how computers work and gradually progressing to more complex topics like decision control structures, loop structures, arrays, and subprograms.You'll start with foundational concepts such as variables, constants, and operators, before diving into more advanced topics like manipulating strings, handling input and output, and developing complex mathematical expressions. The course emphasizes practical application, guiding you through the use of Visual Studio Code, integrated development environments, and essential software packages.By the end of this book, you will have a solid understanding of PHP programming and algorithmic thinking, enabling you to write efficient code, develop your own subprograms, and utilize various control structures and arrays effectively. This course is tailored for beginners, ensuring a smooth learning curve with tips, tricks, and exercises to reinforce your knowledge, and prepare you with the necessary skills needed to be a programmer.
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.
Pablo Solar Vilarino, Carlos Pérez Sánchez
The world is moving away from bulky, unreliable, and high-maintenance PHP applications, to small, easy-to-maintain and highly available microservices and the pressing need is for PHP developers to understand the criticalities in building effective microservices that scale at large. This book will be a reliable resource, and one that will help you to develop your skills and teach you techniques for building reliable microservices in PHP.The book begins with an introduction to the world of microservices, and quickly shows you how to set up a development environment and build a basic platform using Docker and Vagrant. You will then get into the different design aspects to be considered while building microservices in your favorite framework and you will explore topics such as testing, securing, and deploying microservices. You will also understand how to migrate a monolithic application to the microservice architecture while keeping scalability and best practices in mind. Furthermore you will get into a few important DevOps techniques that will help you progress on to more complex domains such as native cloud development, as well as some interesting design patterns.By the end of this book you will be able to develop applications based on microservices in an organized and efficient way. You will also gain the knowledge to transform any monolithic applications into microservices.
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.
Shu-Wai Chow
The fusion of Eclipse, the leading open source development environment, and PHP is an exciting prospect for web developers. This book makes sure that you are up and running as quickly as possible, ready to take full advantage of PHPEclipse's tuned PHP development tools, without requiring any prior knowledge of Eclipse.You will begin with installing and configuring PHPEclipse, before moving onto a tour of the Eclipse environment, familiarizing you with its main components. As a plug-in to Eclipse, PHPEclipse is able to harness the platform to provide a rich and powerful development experience.For helping you improve the efficiency of your PHP coding, the book details the powerful editing features of PHPEclipse, and shows you how to use it to better organize your application code.You will see how PHPEclipse helps you throughout the development lifecycle, and learn how to use PHPEclipse's debugger to troubleshoot and step through your PHP code as it executes. The book rounds off with coverage of accessing databases and managing source code from within the. For the final step for your application, you will learn how to deploy your site to a production server.
Piękny kod. Tajemnice mistrzów programowania
Andy Oram, Greg Wilson
Poznaj techniki pracy guru programowania! Jak tworzyć czytelny i pozbawiony błędów kod? W jaki sposób projektować architekturę systemów? Jak zbudować uniwersalne interfejsy użytkownika? Wbrew pozorom programowanie to nie tylko nauka ścisła, to także sztuka! Trudna sztuka! Napisanie kodu poprawnie działającego czy kodu spełniającego oczekiwania użytkowników programu to niewątpliwie wyzwanie! Wymaga bowiem doskonałego zaplanowania architektury, skutecznej optymalizacji kodu źródłowego oraz umiejętności przewidywania potencjalnych problemów i ich odpowiednio wczesnej eliminacji. Właśnie w tej książce prawidziwi mistrzowie programowania podzielą się z Tobą swoimi doświadczeniami, przemyśleniami i spostrzeżeniami dotyczącymi tworzenia profesjonalnych rozwiązań. Znajdziesz tu wiele praktycznych porad dotyczących pisania kodu, rozwiązywania problemów programistycznych, projektowania architektury, tworzenia interfejsów użytkownika i pracy w zespole projektowym. Dowiesz się, kiedy należy postępować dokładnie według wskazań metodologii, a kiedy „pójście na skróty” może okazać się najlepszym rozwiązaniem. Poznasz sposób myślenia i zasady pracy najlepszych programistów świata, dzięki czemu użytkownikom Twoich aplikacji zapewnisz maksymalny komfort. Korzystanie z wyrażeń regularnych Dobór odpowiedniego poziomu abstrakcji Ocena jakości kodu źródłowego Testowanie Techniki analizy składni Zabezpieczanie komunikacji sieciowej Dostosowywanie architektury systemu do architektury komputerów Praca zespołowa Projektowanie systemów w oparciu o komponenty OpenSource Usuwanie błędów Ułatwianie pracy osobom niepełnosprawnym Dołącz do grona mistrzów programowania! Całkowity dochód z oryginalnego wydania tej książki zostanie przekazany na rzecz organizacji Amnesty International