Uncover the secrets of functional programming with PHP to ensure your applications are as great as they can be About This Book Greatly improve your code quality, testability, and readability using modern functional programming techniques Get a solid foundation in functional programming techniques and methodologies Step-by-step learn the concepts to architect more robust code Who This Book Is For If you are a PHP developer with knowledge of object-oriented programming, this book is for you. You do not need prior experience with functional programming. What You Will Learn Declare functions/callables and find out how to manipulate and call them Write pure functions to get more robust code that can be easily tested Learn to compose function using various techniques Use a functional approach to find readable solutions to common issues Utilize performance optimization techniques such as laziness, memorization, and parallelization Build the business logic of applications with the functional paradigm Test functional code and know how to speed up test runs using parallel testing Understand the impact and limitation of functional programming in PHP In Detail A functional approach encourages code reuse, greatly simplifies testing, and results in code that is concise and easy to understand. This book will demonstrate how PHP can also be used as a functional language, letting you learn about various function techniques to write maintainable and readable code. After a quick introduction to functional programming, we will dive right in with code examples so you can get the most of what you've just learned. We will go further with monads, memoization, and property-based testing. You will learn how to make use of modularity of function while writing functional PHP code. Through the tips and best practices in this book, you'll be able to do more with less code and reduce bugs in your applications. Not only will you be able to boost your performance, but you will also find out how to eliminate common loop problems. By the end of the book, you will know a wide variety of new techniques that you can use on any new or legacy codebase. Style and approach This is an easy-to-follow, definitive guide on developing applications using a functional paradigm with PHP. It will guide you through functional programming with the help of real-life examples.
Author: Gilles Crettenand
Publisher: Packt Publishing Ltd
Bring the power of functional programming to your PHP applications. From performance optimizations to concurrency, improved testability to code brevity, functional programming has a host of benefits when compared to traditional imperative programming. Part one of Pro Functional PHP Programming takes you through the basics of functional programming, outlining the key concepts and how they translate into standard PHP functions and code. Part two takes this theory and shows you the strategies for implementing it to solve real problems in your new or existing PHP applications. Functional programming is popular in languages such as Lisp, Scheme and Clojure, but PHP also contains all you need to write functional code. This book will show you how to take advantage of functional programming in your own projects, utilizing the PHP programming language that you already know. What You'll Learn Discover functional programming in PHP Work with functional programming functions Design strategies for high-performance applications Manage business logic with functions Use functional programming in object-oriented and procedural applications Employ helper libraries in your application Process big data with functional PHP Who This Book Is For Programmers and web developers with experience of PHP who are looking to get more out of their PHP coding and be able to do more with PHP.
Application Development Strategies for Performance Optimization, Concurrency, Testability, and Code Brevity
Author: Rob Aley
Author: Martin Sikora
Publisher: Packt Publishing Ltd
Author: Simon Holywell
Category: Functional programming (Computer science)
Learn to develop high-quality applications and frameworks inPHP Packed with in-depth information and step-by-step guidance, thisbook escorts you through the process of creating, maintaining andextending sustainable software of high quality with PHP.World-renowned PHP experts present real-world case studies fordeveloping high-quality applications and frameworks in PHP that caneasily be adapted to changing business requirements. . They offerdifferent approaches to solving typical development andquality assurance problems that every developer needs to know andmaster. Details the process for creating high-quality PHP frameworksand applications that can easily be adapted to changing businessrequirements Covers the planning, execution, and automation of tests for thedifferent layers and tiers of a Web application Demonstrates how to establish a successful developmentprocess Shares real-world case studies from well-known companies andtheir PHP experts With this book, you’ll learn to develop high-quality PHPframeworks and applications that can easily be maintained withreasonable cost and effort.
Author: Sebastian Bergmann,Stefan Priebsch
Publisher: John Wiley & Sons
PHP and MySQL Phrasebook gives you the code you need to complete your web programming projects quickly and effectively in PHP, the leading scripting language for creating dynamic web pages. Concise and Accessible Easy to carry and easy to use–lets you ditch all those bulky books for one portable pocket guide Flexible and Functional Packed with more than 100 customizable code snippets–so you can readily code functional PHP and MySQL in just about any situation
Author: Christian Wenz
PHP - kurz & gut, der nützliche Klassiker im praktischen Taschenbuchformat, deckt in der dritten Auflage jetzt PHP 5 ab. Für die Neuauflage wurde die von Rasmus Lerdorf geschriebene Referenz von den PHP-Experten Garvin Hicking und Sebastian Bergmann überarbeitet, aktualisiert und noch einmal deutlich erweitert. Das Buch enthält eine knappe Einführung in Syntax und Struktur von PHP sowie eine Schnellreferenz für die gebräuchlichsten Funktionen von PHP 5. Im Referenzteil sind die PHP-Funktionen thematisch angeordnet und zusätzlich mit einem alphabetischen Index versehen worden, so dass Sie jetzt noch effektiver mit dem Bändchen arbeiten können. Kompakt, übersichtlich und auf den Punkt gebracht: PHP - kurz & gut bietet auch in der dritten Auflage den komprimierten Überblick über die beliebte Skriptsprache, den Sie von einem Band aus O'Reillys Taschenbibliothek erwarten.
Author: Sebastian Bergmann,Rasmus Lerdorf
Publisher: O'Reilly Media
Author: Keith Wald,Jason Lengstorf
Author: Rasmus Lerdorf,Kevin Tatroe,Peter MacIntyre
Publisher: O'Reilly Germany
Category: PHP (Computer program language)
Readers can take their PHP skills to the next level with this fully revised and updated PHP Advanced: Visual QuickPro Guide, Third Edition! Filled with fourteen chapters of step-by-step content and written by bestselling author and PHP programmer Larry Ullman, this guide teaches specific topics in direct, focused segments, shows how PHP is used in real-world applications. The book teaches developing web applications using advanced PHP techniques and advanced database concepts, and this edition offers several chapters devoted to object-oriented programming and all-new chapters on debugging, testing, and performance and using the Zend framework. Author hosts a popular companion website at www.larryullman.com, where readers can freely download code used in the book, access a user forum and book updates, and get advice directly from the author.
Visual QuickPro Guide
Author: Larry Ullman
Publisher: Peachpit Press
Aimed at experts who are dedicated to software testing, The Software Testing Process: Test Management addresses the major issues related to advanced, state-of-the-art test management. This book covers the syllabus required to pass the Certified Tester Examination - Advanced Level as defined by the International Software Testing Qualifications Board (ISTQB). Software developers, project managers, quality managers, and team leaders will benefit from the comprehensive coverage of risk oriented management and the way testing is shown to be an integral, though independent part of software development. Included are best practices in the field of testing, as well as detailed descriptions of involved tasks, roles, and responsibilities. Well suited for self-study, the reader is "taken by the hand" and guided through the key concepts and terminology of software testing in a variety of scenarios and case studies (as featured in the first book in this series, Software Testing Foundations). Not only will testers and test managers find this a must-read, but anyone requiring advanced professional knowledge and skills in this field, anyone wanting to become a true testing professional, will find this book a must for a successful, well-founded education in advanced test management. Topics include: Test process and test toolsTesting in the software life cycleTest policy and test manualTest plan and test planningTest controlIncident managementRisk management/risk-based testingStaff qualificationsTest metrics
A Study Guide for the Certified Tester Exam ISTQB Advanced Level
Author: Andreas Spillner,Tilo Linz,Thomas Rossner,Mario Winter
Publisher: Rocky Nook, Inc.
Author: Martin Fowler
Publisher: mitp Verlags GmbH & Co. KG
If you are a frontend developer with considerable knowledge of jQuery UI and want to take this expertise to the next level, then this book is for you.
Author: Vijay Joshi
Publisher: Packt Publishing Ltd
What you hold in your hands is the answer to all your PHP 5 needs. We have written PHP 5 Recipeswith a number of purposes in mind. First, this book is a source of instant solutions, including countless pieces of useful code that you can just copy and paste into your own applications, giving you answers fast and saving you hours of coding time. Second, this book is a useful reference to the most important aspects of the PHP 5 language, including the vital functions you know and love from previous versions of PHP, as well as the functions introduced in PHP 5. Finally, this book explains the PHP 5 functionality in detail, including the vastly improved object-oriented capabilities and the new MySQLi database extension. We are confident PHP 5 Recipeswill be a useful and welcome companion throughout your PHP journey, keeping you on the cutting edge of PHP development, ahead of the competition, and giving you all the answers you need, when you need them.
a problem-solution approach
Author: Lee Babin
Increase your productivity by implementing data structures About This Book Gain a complete understanding of data structures using a simple approach Analyze algorithms and learn when you should apply each solution Explore the true potential of functional data structures Who This Book Is For This book is for those who want to learn data structures and algorithms with PHP for better control over application-solution, efficiency, and optimization. A basic understanding of PHP data types, control structures, and other basic features is required What You Will Learn Gain a better understanding of PHP arrays as a basic data structure and their hidden power Grasp how to analyze algorithms and the Big O Notation Implement linked lists, double linked lists, stack, queues, and priority queues using PHP Work with sorting, searching, and recursive algorithms Make use of greedy, dynamic, and pattern matching algorithms Implement tree, heaps, and graph algorithms Apply PHP functional data structures and built-in data structures and algorithms In Detail PHP has always been the the go-to language for web based application development, but there are materials and resources you can refer to to see how it works. Data structures and algorithms help you to code and execute them effectively, cutting down on processing time significantly. If you want to explore data structures and algorithms in a practical way with real-life projects, then this book is for you. The book begins by introducing you to data structures and algorithms and how to solve a problem from beginning to end using them. Once you are well aware of the basics, it covers the core aspects like arrays, listed lists, stacks and queues. It will take you through several methods of finding efficient algorithms and show you which ones you should implement in each scenario. In addition to this, you will explore the possibilities of functional data structures using PHP and go through advanced algorithms and graphs as well as dynamic programming. By the end, you will be confident enough to tackle both basic and advanced data structures, understand how they work, and know when to use them in your day-to-day work Style and approach An easy-to-follow guide full of examples of implementation of data structures and real world examples to solve the problems faced. Each topic is first explained in general terms and then implemented using step by step explanation so that developers can understand each part of the discussion without any problem.
Author: Mizanur Rahman
Publisher: Packt Publishing Ltd
Now installed on more than 20 million Internet domains around the world, PHP is an undisputed leader in web programming languages. Database connectivity, powerful extensions, and rich object-orientation are all reasons for its popularity, but nearly everyone would agree that, above all, PHP is one of the easiest languages to learn and use for developing dynamic web applications. The ease of development and simplicity of PHP, combined with a large community and expansive repository of open source PHP libraries, make it a favorite of web designers and developers worldwide. PHP in a Nutshell is a complete reference to the core of the language as well as the most popular PHP extensions. This book doesn't try to compete with or replace the widely available online documentation. Instead, it is designed to provide depth and breadth that can't be found elsewhere. PHP in a Nutshell provides the maximum information density on PHP, without all the fluff and extras that get in the way. The topic grouping, tips, and examples in this book complement the online guide and make this an essential reference for every PHP programmer. This book focuses on the functions commonly used by a majority of developers, so you can look up the information you need quickly. Topics include: Object-oriented PHP Networking String manipulation Working with files Database interaction XML Multimedia creation Mathematics Whether you're just getting started or have years of experience in PHP development, PHP in a Nutshell is a valuable addition to your desk library.
A Desktop Quick Reference
Author: Paul Hudson
Publisher: "O'Reilly Media, Inc."
h2> Kommentare, Formatierung, Strukturierung Fehler-Handling und Unit-Tests Zahlreiche Fallstudien, Best Practices, Heuristiken und Code Smells Clean Code - Refactoring, Patterns, Testen und Techniken für sauberen Code Aus dem Inhalt: Lernen Sie, guten Code von schlechtem zu unterscheiden Sauberen Code schreiben und schlechten Code in guten umwandeln Aussagekräftige Namen sowie gute Funktionen, Objekte und Klassen erstellen Code so formatieren, strukturieren und kommentieren, dass er bestmöglich lesbar ist Ein vollständiges Fehler-Handling implementieren, ohne die Logik des Codes zu verschleiern Unit-Tests schreiben und Ihren Code testgesteuert entwickeln Selbst schlechter Code kann funktionieren. Aber wenn der Code nicht sauber ist, kann er ein Entwicklungsunternehmen in die Knie zwingen. Jedes Jahr gehen unzählige Stunden und beträchtliche Ressourcen verloren, weil Code schlecht geschrieben ist. Aber das muss nicht sein. Mit Clean Code präsentiert Ihnen der bekannte Software-Experte Robert C. Martin ein revolutionäres Paradigma, mit dem er Ihnen aufzeigt, wie Sie guten Code schreiben und schlechten Code überarbeiten. Zusammen mit seinen Kollegen von Object Mentor destilliert er die besten Praktiken der agilen Entwicklung von sauberem Code zu einem einzigartigen Buch. So können Sie sich die Erfahrungswerte der Meister der Software-Entwicklung aneignen, die aus Ihnen einen besseren Programmierer machen werden – anhand konkreter Fallstudien, die im Buch detailliert durchgearbeitet werden. Sie werden in diesem Buch sehr viel Code lesen. Und Sie werden aufgefordert, darüber nachzudenken, was an diesem Code richtig und falsch ist. Noch wichtiger: Sie werden herausgefordert, Ihre professionellen Werte und Ihre Einstellung zu Ihrem Beruf zu überprüfen. Clean Code besteht aus drei Teilen:Der erste Teil beschreibt die Prinzipien, Patterns und Techniken, die zum Schreiben von sauberem Code benötigt werden. Der zweite Teil besteht aus mehreren, zunehmend komplexeren Fallstudien. An jeder Fallstudie wird aufgezeigt, wie Code gesäubert wird – wie eine mit Problemen behaftete Code-Basis in eine solide und effiziente Form umgewandelt wird. Der dritte Teil enthält den Ertrag und den Lohn der praktischen Arbeit: ein umfangreiches Kapitel mit Best Practices, Heuristiken und Code Smells, die bei der Erstellung der Fallstudien zusammengetragen wurden. Das Ergebnis ist eine Wissensbasis, die beschreibt, wie wir denken, wenn wir Code schreiben, lesen und säubern. Dieses Buch ist ein Muss für alle Entwickler, Software-Ingenieure, Projektmanager, Team-Leiter oder Systemanalytiker, die daran interessiert sind, besseren Code zu produzieren. Über den Autor: Robert C. »Uncle Bob« Martin entwickelt seit 1970 professionell Software. Seit 1990 arbeitet er international als Software-Berater. Er ist Gründer und Vorsitzender von Object Mentor, Inc., einem Team erfahrener Berater, die Kunden auf der ganzen Welt bei der Programmierung in und mit C++, Java, C#, Ruby, OO, Design Patterns, UML sowie Agilen Methoden und eXtreme Programming helfen.
Author: Robert C. Martin
Publisher: MITP-Verlags GmbH & Co. KG