Opis ebooka: PHP Cookbook
If you're a PHP developer looking for proven solutions to common problems, this cookbook provides code recipes to help you resolve numerous scenarios. By leveraging modern versions of PHP through version 8.1, these self-contained recipes provide fully realized solutions that can help you solve similar problems in your day-to-day work.
Whether you're new to development or merely new to PHP, these recipes will help you unpack the most powerful features of this programming language. Author Eric Mann, a regular contributor to php[architec magazine, frequently makes presentations on software architecture and has built scalable projects for startups and Fortune 500 companies alike.
- Learn the type system of modern PHP
- Build efficient applications composed of functions and objects
- Understand key concepts such as encryption, error handling, debugging, and performance tuning
- Explore the PHP package/extension ecosystem
- Learn how to build basic web and basic command-line applications
- Work securely with files on a machine, both encrypted and in plain text
Wybrane bestsellery
-
API to akronim pochodzącego z języka angielskiego terminu application programming interface, co tłumaczy się jako interfejs programowania aplikacji. W praktyce to zestaw zasad i protokołów, które pozwalają różnym programom komunikować się ze sobą. API może być używane do inte...
REST API i Symfony. Kurs video. Nowoczesne aplikacje w PHP REST API i Symfony. Kurs video. Nowoczesne aplikacje w PHP
(44.70 zł najniższa cena z 30 dni)39.90 zł
149.00 zł(-73%) -
Ten znakomity podręcznik programowania dla początkujących sprawi, że nauka PHP i MySQL będzie przyjemna i efektywna. Został pomyślany tak, aby po zapoznaniu się z najpotrzebniejszymi, kluczowymi informacjami szybko przystąpić do tworzenia stron internetowych ― i w ten sposób wraz z przyswaj...
PHP i MySQL. Aplikacje internetowe po stronie serwera PHP i MySQL. Aplikacje internetowe po stronie serwera
(83.85 zł najniższa cena z 30 dni)77.40 zł
129.00 zł(-40%) -
PHP, niezwykle popularny język programowania umożliwiający tworzenie stron i aplikacji webowych, wraz z bazą danych SQL stanowi fundament zdecydowanej większości działających obecnie serwisów internetowych, w tym tych największych i najbardziej znanych. Wraz z wydaniem PHP 8 programiści otrzymali...
PHP 8 i SQL. Programowanie dla początkujących w 43 lekcjach PHP 8 i SQL. Programowanie dla początkujących w 43 lekcjach
(51.35 zł najniższa cena z 30 dni)47.40 zł
79.00 zł(-40%) -
Moodle 4 Security offers practical guidance on securing your platform by exploring Moodle’s security-related issues. This book will enable you to protect your Moodle platform from potential attacks, ensuring the security of your data.
Moodle 4 Security. Enhance security, regulation, and compliance within your Moodle infrastructure Moodle 4 Security. Enhance security, regulation, and compliance within your Moodle infrastructure
-
This book will help you adopt the Ruby mindset and get to grips with Ruby-related concepts. You'll learn about setting up your local environment, Ruby syntax, popular frameworks, and more. A language-agnostic approach will help you avoid common pitfalls and start integrating Ruby into your projects.
From PHP to Ruby on Rails. Transition from PHP to Ruby by leveraging your existing backend programming knowledge From PHP to Ruby on Rails. Transition from PHP to Ruby by leveraging your existing backend programming knowledge
-
To książka adresowana do początkujących programistów, którzy chcą zacząć pisać czysty kod w PHP. Znajdziesz w niej przystępnie wyjaśnione koncepcje, a także szereg wskazówek, opisów dobrych praktyk, wzorców projektowych i technik pracy. Treść została podzielona na dwie części. W pierwszej wyjaśni...
Czysty kod w PHP. Wskazówki ekspertów i najlepsze rozwiązania pozwalające pisać piękny, przystępny i łatwy w utrzymaniu kod PHP Czysty kod w PHP. Wskazówki ekspertów i najlepsze rozwiązania pozwalające pisać piękny, przystępny i łatwy w utrzymaniu kod PHP
(43.55 zł najniższa cena z 30 dni)40.20 zł
67.00 zł(-40%) -
Skoro zainteresował Cię ten kurs, Twoje informatyczne serce najprawdopodobniej bije w rytmie projektowania aplikacji, które mają wydajnie działać w sieci. To świetnie, ponieważ proponowane przez nas szkolenie pozwala poznać dwie kluczowe technologie, dzięki którym będziesz w stanie samodzielnie b...
PHP i MySQL. Kurs video. Twórz strony i aplikacje webowe PHP i MySQL. Kurs video. Twórz strony i aplikacje webowe
(59.60 zł najniższa cena z 30 dni)39.90 zł
149.00 zł(-73%) -
Jeśli chodzi o budowę stron internetowych i aplikacji, język PHP jest absolutnym królem. Ceni się go za możliwości, dzięki wydajnym strukturom bowiem umożliwia tworzenie szybkiego i rozbudowanego oprogramowania. Jednak coś za coś: pisanie stron i aplikacji w PHP wymaga sporo cierpliwości i...
Naucz się Symfony 6. Kurs video. Od zera do pierwszej aplikacji Naucz się Symfony 6. Kurs video. Od zera do pierwszej aplikacji
(58.05 zł najniższa cena z 30 dni)39.90 zł
129.00 zł(-69%) -
This PHP programming book helps you get to grips with the latest features in one of the world's most used server-side languages - PHP 8. You'll get hands-on with modern PHP patterns and practices to overcome common and deep-rooted problems in managing legacy PHP applications with the help of prac...
The Art of Modern PHP 8. Learn how to write modern, performant, and enterprise-ready code with the latest PHP features and practices The Art of Modern PHP 8. Learn how to write modern, performant, and enterprise-ready code with the latest PHP features and practices
-
This PHP programming guide quickly brings you up to speed with the changes introduced in PHP 8 and offers insights into the pitfalls of the earlier versions of PHP. By the end of this book, you'll have learned how to avoid nasty code failure and how to develop code using a new paradigm, asynchron...
PHP 8 Programming Tips, Tricks and Best Practices. A practical guide to PHP 8 features, usage changes, and advanced programming techniques PHP 8 Programming Tips, Tricks and Best Practices. A practical guide to PHP 8 features, usage changes, and advanced programming techniques
Kup polskie wydanie:
PHP. Receptury. Wydanie II
- Autor:
- Adam Trachtenberg, David Sklar
29,90 zł
99,00 zł
(49.50 zł najniższa cena z 30 dni)
Ebooka "PHP Cookbook" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "PHP Cookbook" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "PHP Cookbook" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-10-981-2128-0, 9781098121280
- Data wydania ebooka:
- 2023-05-16 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 3.9MB
- Rozmiar pliku Mobi:
- 8.7MB
Spis treści ebooka
- Preface
- Who This Book Is For
- Navigating This Book
- Conventions Used in This Book
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Variables
- 1.1. Defining Constants
- 1.2. Creating Variable Variables
- 1.3. Swapping Variables in Place
- 2. Operators
- 2.1. Using a Ternary Operator Instead of an If-Else Block
- 2.2. Coalescing Potentially Null Values
- 2.3. Comparing Identical Values
- 2.4. Using the Spaceship Operator to Sort Values
- 2.5. Suppressing Diagnostic Errors with an Operator
- 2.6. Comparing Bits Within Integers
- 3. Functions
- 3.1. Accessing Function Parameters
- 3.2. Setting a Functions Default Parameters
- 3.3. Using Named Function Parameters
- 3.4. Enforcing Function Argument and Return Typing
- 3.5. Defining a Function with a Variable Number of Arguments
- 3.6. Returning More Than One Value
- 3.7. Accessing Global Variables from Within a Function
- 3.8. Managing State Within a Function Across Multiple Invocations
- 3.9. Defining Dynamic Functions
- 3.10. Passing Functions as Parameters to Other Functions
- 3.11. Using Concise Function Definitions (Arrow Functions)
- 3.12. Creating a Function with No Return Value
- 3.13. Creating a Function That Does Not Return
- 4. Strings
- 4.1. Accessing Substrings Within a Larger String
- 4.2. Extracting One String from Within Another
- 4.3. Replacing Part of a String
- 4.4. Processing a String One Byte at a Time
- 4.5. Generating Random Strings
- 4.6. Interpolating Variables Within a String
- 4.7. Concatenating Multiple Strings Together
- 4.8. Managing Binary Data Stored in Strings
- 5. Numbers
- 5.1. Validating a Number Within a Variable
- 5.2. Comparing Floating-Point Numbers
- 5.3. Rounding Floating-Point Numbers
- 5.4. Generating Truly Random Numbers
- 5.5. Generating Predictable Random Numbers
- 5.6. Generating Weighted Random Numbers
- 5.7. Calculating Logarithms
- 5.8. Calculating Exponents
- 5.9. Formatting Numbers as Strings
- 5.10. Handling Very Large or Very Small Numbers
- 5.11. Converting Numbers Between Numerical Bases
- 6. Dates and Times
- 6.1. Finding the Current Date and Time
- 6.2. Formatting Dates and Times
- 6.3. Converting Dates and Times to Unix Timestamps
- 6.4. Converting from Unix Timestamps to Date and Time Parts
- 6.5. Computing the Difference Between Two Dates
- 6.6. Parsing Dates and Times from Arbitrary Strings
- 6.7. Validating a Date
- 6.8. Adding to or Subtracting from a Date
- 6.9. Calculating Times Across Time Zones
- 7. Arrays
- 7.1. Associating Multiple Elements per Key in an Array
- 7.2. Initializing an Array with a Range of Numbers
- 7.3. Iterating Through Items in an Array
- 7.4. Deleting Elements from Associative and Numeric Arrays
- 7.5. Changing the Size of an Array
- 7.6. Appending One Array to Another
- 7.7. Creating an Array from a Fragment of an Existing Array
- 7.8. Converting Between Arrays and Strings
- 7.9. Reversing an Array
- 7.10. Sorting an Array
- 7.11. Sorting an Array Based on a Function
- 7.12. Randomizing the Elements in an Array
- 7.13. Applying a Function to Every Element of an Array
- 7.14. Reducing an Array to a Single Value
- 7.15. Iterating over Infinite or Very Large/Expensive Arrays
- 8. Classes and Objects
- 8.1. Instantiating Objects from Custom Classes
- 8.2. Constructing Objects to Define Defaults
- 8.3. Defining Read-Only Properties in a Class
- 8.4. Deconstructing Objects to Clean Up After the Object Is No Longer Needed
- 8.5. Using Magic Methods to Provide Dynamic Properties
- 8.6. Extending Classes to Define Additional Functionality
- 8.7. Forcing Classes to Exhibit Specific Behavior
- 8.8. Creating Abstract Base Classes
- 8.9. Preventing Changes to Classes and Methods
- 8.10. Cloning Objects
- 8.11. Defining Static Properties and Methods
- 8.12. Introspecting Private Properties or Methods Within an Object
- 8.13. Reusing Arbitrary Code Between Classes
- 9. Security and Encryption
- 9.1. Filtering, Validating, and Sanitizing User Input
- 9.2. Keeping Sensitive Credentials Out of Application Code
- 9.3. Hashing and Validating Passwords
- 9.4. Encrypting and Decrypting Data
- 9.5. Storing Encrypted Data in a File
- 9.6. Cryptographically Signing a Message to Be Sent to Another Application
- 9.7. Verifying a Cryptographic Signature
- 10. File Handling
- 10.1. Creating or Opening a Local File
- 10.2. Reading a File into a String
- 10.3. Reading a Specific Slice of a File
- 10.4. Modifying a File in Place
- 10.5. Writing to Many Files Simultaneously
- 10.6. Locking a File to Prevent Access or Modification by Another Process
- 11. Streams
- 11.1. Streaming Data to/from a Temporary File
- 11.2. Reading from the PHP Input Stream
- 11.3. Writing to the PHP Output Stream
- 11.4. Reading from One Stream and Writing to Another
- 11.5. Composing Different Stream Handlers Together
- 11.6. Writing a Custom Stream Wrapper
- 12. Error Handling
- 12.1. Finding and Fixing Parse Errors
- 12.2. Creating and Handling Custom Exceptions
- 12.3. Hiding Error Messages from End Users
- 12.4. Using a Custom Error Handler
- 12.5. Logging Errors to an External Stream
- 13. Debugging and Testing
- 13.1. Using a Debugger Extension
- 13.2. Writing a Unit Test
- 13.3. Automating Unit Tests
- 13.4. Using Static Code Analysis
- 13.5. Logging Debugging Information
- 13.6. Dumping Variable Contents as Strings
- 13.7. Using the Built-in Web Server to Quickly Run an Application
- 13.8. Using Unit Tests to Detect Regressions in a Version-Controlled Project with git-bisect
- 14. Performance Tuning
- 14.1. Timing Function Execution
- 14.2. Benchmarking the Performance of an Application
- 14.3. Accelerating an Application with an Opcode Cache
- 15. Packages and Extensions
- 15.1. Defining a Composer Project
- 15.2. Finding Composer Packages
- 15.3. Installing and Updating Composer Packages
- 15.4. Installing Native PHP Extensions
- 16. Databases
- 16.1. Relational Databases
- 16.2. Key-Value Stores
- 16.3. Graph Databases
- 16.4. Document Databases
- 16.5. Connecting to an SQLite Database
- 16.6. Using PDO to Connect to an External Database Provider
- 16.7. Sanitizing User Input for a Database Query
- 16.8. Mocking Data for Integration Testing with a Database
- 16.9. Querying an SQL Database with the Eloquent ORM
- 17. Asynchronous PHP
- 17.1. Fetching Data from Remote APIs Asynchronously
- 17.2. Waiting on the Results of Multiple Asynchronous Operations
- 17.3. Interrupting One Operation to Run Another
- 17.4. Running Code in a Separate Thread
- 17.5. Sending and Receiving Messages Between Separate Threads
- 17.6. Using a Fiber to Manage the Contents from a Stream
- 18. PHP Command Line
- 18.1. Parsing Program Arguments
- 18.2. Reading Interactive User Input
- 18.3. Colorizing Console Output
- 18.4. Creating a Command-Line Application with Symfony Console
- 18.5. Using PHPs Native Read-Eval-Print-Loop
- Index
O'Reilly Media - inne książki
-
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(194.65 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
If programming is magic, then web scraping is surely a form of wizardry. By writing a simple automated program, you can query web servers, request data, and parse it to extract the information you need. This thoroughly updated third edition not only introduces you to web scraping but also serves ...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
Do you wish the existing books on site reliability engineering started at the beginning? Do you wish someone would walk you through how to become an SRE, how to think like an SRE, or how to build and grow a successful SRE function in your organization? Becoming SRE addresses all of these needs a...
Becoming SRE. First Steps Toward Reliability for You and Your Organization Becoming SRE. First Steps Toward Reliability for You and Your Organization
(135.15 zł najniższa cena z 30 dni)143.65 zł
169.00 zł(-15%) -
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern data warehouse. These new architectures have solid benefits, but they're also surrounded by a lot of hyperbole and confusion. This practical book provides a guided tour of these architectures to...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
As an engineering manager, you almost always have someone in your company to turn to for advice: a peer on another team, your manager, or even the head of engineering. But who do you turn to if you're the head of engineering? Engineering executives have a challenging learning curve, and many folk...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
Trillions of lines of code help us in our lives, companies, and organizations. But just a single software cybersecurity vulnerability can stop entire companies from doing business and cause billions of dollars in revenue loss and business recovery. Securing the creation and deployment of software...(169.14 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
Entity resolution is a key analytic technique that enables you to identify multiple data records that refer to the same real-world entity. With this hands-on guide, product managers, data analysts, and data scientists will learn how to add value to data by cleansing, analyzing, and resolving data...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: PHP Cookbook Eric A. Mann (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.