PHP

9
Ebook

Domain-Driven Design in PHP. A Highly Practical Guide

Keyvan Akbary, Carlos Buenosvinos, Christian Soronellas

Domain-Driven Design (DDD) has arrived in the PHP community, but for all the talk, there is very little real code. Without being in a training session and with no PHP real examples, learning DDD can be challenging. This book changes all that. It details how to implement tactical DDD patterns and gives full examples of topics such as integrating Bounded Contexts with REST, and DDD messaging strategies. In this book, the authors show you, with tons of details and examples, how to properly design Entities, Value Objects, Services, Domain Events, Aggregates, Factories, Repositories, Services, and Application Services with PHP. They show how to apply Hexagonal Architecture within your application whether you use an open source framework or your own.

10
Ebook

Drupal 8 Development Cookbook. Harness the power of Drupal 8 with this practical recipe-based guide - Second Edition

Matt Glaman

Began as a message board, Drupal today is open source software maintained and developed by a community of over 1,000,000 users and developers. Drupal is used by numerous local businesses to global corporations and diverse organizations all across the globe. With Drupal 8’s exciting features it brings, this book will be your go-to guide to experimenting with all of these features through helpful recipes.We’ll start by showing you how to customize and configure the Drupal environment as per your requirements, as well as how to install third-party libraries and then use them in the Drupal environment. Then we will move on to creating blocks and custom modules with the help of libraries. We will show you how to use the latest mobile-first feature of Drupal 8, which will help you make your apps responsive across all the major platforms. This book will also show you how to incorporate multilingual facilities in your sites, use web services and third-party plugins with your applications from inside Drupal 8, and test and deploy your apps.

11
Ebook

Drupal 8 Module Development. Build and customize Drupal 8 modules and extensions efficiently

Daniel Sipos

Drupal is an open source web-based content management system (CMS) that can be used for building anything from simple websites to complex applications. It enables individuals and organizations to build platforms that engage users and deliver the right content at the right time.Drupal 8 is an exciting new development in the Drupal community. However, the differences from the previous version are substantial and this can put quite some pressure on Drupal 7 developers that need to catch up. This book aims to help such developers in getting up to speed with Drupal 8 module development. The book first introduces you to the Drupal 8 architecture and its subsystems before diving into creating your first module with basic functionality. Building upon that, you will cover many core APIs and functionalities available to module developers.You will work with the Drupal logging and mailing systems, learn how to output data using the theme layer and work with menus and links programmatically. Then, you will learn how to work with different kinds of data storages, create custom entities, field types and leverage the Database API for lower level database queries. Moreover, you will learn about the Drupal 8 access system and caching layer as well as the APIs used for data processing (queues and batches).You will further see how to introduce javascript into your module, work with the various file systems and ensure the code you write works on multilingual sites. Finally, you will learn how to programmatically work with Views, write automated tests for your functionality and also write secure code in general.By the end of the book, you will have learned how to develop your own custom module from scratch that can help solve a small problem or even provide complex functionality. And who knows, maybe you’ll even contribute it back to the Drupal community.

12
Ebook

Drupal 8 Module Development. Build modules and themes using the latest version of Drupal 8 - Second Edition

Daniel Sipos

Drupal 8 comes with a release cycle that allows for new functionality to be added at a much faster pace. However, this also means code deprecations and changing architecture that you need to stay on top of. This book updates the first edition and includes the new functionality introduced in versions up to, and including 8.7.The book will first introduce you to the Drupal 8 architecture and its subsystems before diving into creating your first module with basic functionality. You will work with the Drupal logging and mailing systems, learn how to output data using the theme layer and work with menus and links programmatically. Then, you will learn how to work with different kinds of data storages, create custom entities, field types and leverage the Database API for lower level database queries. You will further see how to introduce JavaScript into your module, work with the various file systems and ensure the code you write works on multilingual sites. Finally, you will learn how to programmatically work with Views, write automated tests for your functionality and also write secure code in general.By the end, you will have learned how to develop your own custom module that can provide complex business solutions. And who knows, maybe you’ll even contribute it back to the Drupal community.Foreword by Dries Buytaert, founder of Drupal.

13
Ebook

Drupal 8 Quick Start Guide. Get up and running with Drupal 8

J. Ayen Green

Drupal is a powerful content management platform, ?exible enough to accommodate almost any content requirements. This ?exibility comes with a cost: complexity. Drupal 8 Quick Start Guide will clear your path from installation to a building usable site in minutes, and to a customized site in one sitting.You will begin with installation of Drupal and going through the main sections of the Drupal UI. Then, you will create a content type that describes its content, which simplifies the act of creating and editing the actual content later. You will learn about user roles, using real-world examples. This will help you to learn how to design roles, and how to assign appropriate permissions to them. Next, you will learn to use the WYSIWYG editor, configure it for other roles, navigate the various fields on the content creation form, and publish content.To begin to appreciate the ?exibility and expandability of Drupal, you will make use of popular content-focused modules that extend Drupal's power. You will learn how to expand your market to other readers directly and through other sites by configuring content and UI translations and creating a View that provides an RSS feed. Finally, you will put everything together by customizing the home page for your new website.

14
Ebook

Edytory vi i Vim. Leksykon kieszonkowy

Arnold Robbins

Wszystkie funkcje zawsze pod ręką! Jak wygenerować losowy ciąg znaków? Posadzić nowego użytkownika przed vi i kazać mu wyłączyć edytor. To jeden z dowcipów obrazujących specyficzną składnię edytorów vi i Vim. Prawdopodobnie edytory te są trudne dla początkującego użytkownika, ale jeżeli tylko opanujesz ich elementarną obsługę, nie zamienisz ich na nic innego. Oba sprawdzą się idealnie przy edycji różnego rodzaju plików tekstowych - nieważne, czy będzie to plik HTML, PHP czy kod źródłowy Javy. Niezliczona ilość opcji edytorów vi i Vim sprawia, że zapamiętanie ich wszystkich sprawia pewne trudności. Dlatego Arnold Robbins zebrał dla Ciebie najbardziej użyteczne polecenia edytorów vi, Vim i najważniejszych klonów vi (nvi, elvis i vile), a potem skondensował je i przedstawił w formie niewielkiego leksykonu, który sprawdzi się w codziennej pracy. Wykorzystanie wyrażeń regularnych, wyszukiwanie i zamiana tekstu, zarządzanie oknami, funkcje użytkownika, dopełnianie poleceń to tylko niektóre z omówionych elementów. Leksykon ten powinni mieć zawsze pod ręką zarówno zaawansowani, jak i początkujący użytkownicy edytora vi! Opcje wywołania edytora Polecenia i opcje trybu edycyjnego vi Skróty klawiszowe Podstawienia i wyrażenia regularne Inicjalizacja sesji edycji i przywracanie plików Rozszerzona obsługa znaczników i stosu znaczników Polecenia i opcje edytora Vim Wykaz dodatkowych funkcji nvi, vile i elvisa Niezastąpiony przewodnik dla użytkowników edytorów vi i Vim!

15
Ebook

From PHP to Ruby on Rails. Transition from PHP to Ruby by leveraging your existing backend programming knowledge

Bernard Pineda

Are you a PHP developer looking to take your first steps into the world of Ruby development? From PHP to Ruby on Rails will help you leverage your existing knowledge to gain expertise in Ruby on Rails. With a focus on bridging the gap between PHP and Ruby, this guide will help you develop the Ruby mindset, set up your local environment, grasp the syntax, master scripting, explore popular Ruby frameworks, and find out about libraries and gems.This book offers a unique take on Ruby from the perspective of a seasoned PHP developer who initially refused to learn other technologies, but never looked back after taking the leap. As such, it teaches with a language-agnostic approach that will help you feel at home in any programming language without learning everything from scratch. This approach will help you avoid common mistakes such as writing Ruby as if it were PHP and increase your understanding of the programming ecosystem as a whole.By the end of this book, you'll have gained a solid understanding of Ruby, its ecosystem, and how it compares to PHP, enabling you to build robust and scalable applications using Ruby on Rails.

16
Ebook

Head First PHP & MySQL. Edycja polska

Michael Morrison, Lynn Beighley

Odkryj tajniki tworzenia dynamicznych witryn opartych na bazach danych Uniknij kompromitujących wpadek przy korzystaniu z formularzy Wczytaj wszystkie kluczowe elementy składni prosto do swego mózgu Zainstaluj kod PHP i MySQL Sprawdź swą wiedzę na temat skryptów, wykonując dziesiątki ćwiczeń PHP wraz z MySQL stanowią najpopularniejszy zespół, służący do szybkiego tworzenia aplikacji internetowych o różnym stopniu złożoności. Dzięki dużym możliwościom, wydajności oraz optymalnemu podejściu do wielu zagadnień tworzą prawdopodobnie najpopularniejszą platformę do wprowadzania atrakcyjnych rozwiązań. Na temat wykorzystania możliwości PHP i MySQL napisano już wiele książek, jednak ta jest wyjątkowa — należy do popularnej i przyjaznej Czytelnikowi serii Head First! "Head First PHP & MySQL. Edycja polska" nie jest kolejnym trudnym i nudnym podręcznikiem do nauki PHP i MySQL. Autorzy wykorzystują tu innowacyjne oraz niezwykle skuteczne techniki przyswajania wiedzy szybko i bezboleśnie. Z pomocą licznych ilustracji i ciekawych skojarzeń nauczą Cię, jak stosować PHP wraz z MySQL w Twojej codziennej pracy. Dzięki temu bez najmniejszych problemów przygotujesz formularz, przetworzysz dane wprowadzone przez użytkownika, a następnie zapiszesz je w bazie MySQL. Ponadto zostaniesz wtajemniczony w szczegóły języka PHP oraz SQL. Zapoznasz się z zagrożeniami oraz dowiesz się, jak chronić swoją aplikację przed atakami z zewnątrz. To wszystko sprawi, że pewnym krokiem wejdziesz w świat profesjonalnych aplikacji internetowych! Tworzenie i obsługa formularzy Zastosowanie zmiennej $_POST Wysyłanie wiadomości e-mail z poziomu PHP Wykonywanie zapytań SQL Pobieranie i wykorzystywanie danych z MySQL w PHP Elementarz języka PHP Przesyłanie plików Bezpieczeństwo danych w PHP Zastosowanie sesji oraz ciasteczek Sortowanie wyników Obsługa kanałów RSS Zamieszczanie materiałów multimedialnych Zastosowanie formatu XML Instalacja i konfiguracja serwera Apache Wykorzystaj nowoczesne metody nauki i opanuj możliwości duetu PHP–MySQL!