PHP Beyond the Web

PHP Beyond the Web PDF

Author: Rob Aley

Publisher: Apress

Published: 2016-12-15

Total Pages: 214

ISBN-13: 1484224817

DOWNLOAD EBOOK →

Use your existing web-based PHP skills to write all types of software: CLI scripts, desktop software, network servers, and more. This book gives you the tools, techniques, and background necessary to write just about any type of software you can think of, using the PHP you know. PHP Beyond the Web shows you how to take your knowledge of PHP development for the web and utilise it with a much wider range of software systems. Enjoy the benefits of PHP after reading this book: save money by redeploying existing skills, not learning new ones; save time and increase productivity by using a high-level language; and make money by providing your clients a full-stack service (not just websites). PHP is no longer just a great scripting language for websites, it's now a powerful general-purpose programming language. Expand your use of PHP into your back-end systems, server software, data processing services, desktop interfaces, and more. What You'll Learn Write interactive shell scripts Work with system daemons Write desktop software Build network servers Interface with electronics using PHP and the Raspberry Pi Manage performance, deployment, licensing, and system interaction Discover the software tools for development and get other great sources of technical information and help Who This Book Is For Experienced PHP programmers or experienced programmers interested in leveraging PHP outside the web development context. /div

Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques

Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques PDF

Author: Stuart Leeks

Publisher: Packt Publishing Ltd

Published: 2020-10-23

Total Pages: 246

ISBN-13: 1800563523

DOWNLOAD EBOOK →

A practical handbook that will help you bridge the gap between Windows and Linux to develop apps that leverage the best features across both ecosystems with seamless interoperability Key FeaturesConfigure and control WSL to suit your needs and preferencesDiscover tips for working seamlessly between Windows and WSL Linux distrosLearn how to work effectively with containers in WSL, as well as how to containerize your development environments with Visual Studio Code to isolate your dependenciesBook Description Windows Subsystem for Linux (WSL) allows you to run native Linux tools alongside traditional Windows applications. Whether you’re developing applications across multiple operating systems or looking to add more tools to your Windows environment, WSL offers endless possibilities. You’ll start by understanding what WSL is and learn how to install and configure WSL along with different Linux distros. Next, you'll learn techniques that allow you to work across both Windows and Linux environments. You’ll discover how to install and customize the new Windows Terminal. We'll also show you how to work with code in WSL using Visual Studio Code (VS Code). In addition to this, you’ll explore how to work with containers with Docker and Kubernetes, and how to containerize a development environment using VS Code. While Microsoft has announced support for GPU and GUI applications in an upcoming release of WSL, at the time of writing these features are either not available or only in early preview releases. This book focuses on the stable, released features of WSL and giving you a solid understanding of the amazing techniques that you can use with WSL today. By the end of this book, you’ll be able to configure WSL and Windows Terminal to suit your preferences, and productively use Visual Studio Code for developing applications with WSL. What you will learnInstall and configure Windows Subsystem for Linux and Linux distrosAccess web applications running in Linux from WindowsInvoke Windows applications, file systems, and environment variables from bash in WSLCustomize the appearance and behavior of the Windows Terminal to suit your preferences and workflowsExplore various tips for enhancing the Visual Studio Code experience with WSLInstall and work with Docker and Kubernetes within Windows Subsystem for LinuxDiscover various productivity tips for working with Command-line tools in WSLWho this book is for This book is for developers who want to use Linux tools on Windows, including Windows-native programmers looking to ease into a Linux environment based on project requirements or Linux developers who've recently switched to Windows. This book is also for web developers working on open source projects with Linux-first tools such as Ruby or Python, or developers looking to switch between containers and development machines for testing apps. Prior programming or development experience and a basic understanding of running tasks in bash, PowerShell, or the Windows Command Prompt will be required.

Pro Functional PHP Programming

Pro Functional PHP Programming PDF

Author: Rob Aley

Publisher: Apress

Published: 2017-09-27

Total Pages: 301

ISBN-13: 1484229584

DOWNLOAD EBOOK →

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.

Mastering Adobe Commerce Frontend

Mastering Adobe Commerce Frontend PDF

Author: Jakub Winkler

Publisher: Packt Publishing Ltd

Published: 2024-03-29

Total Pages: 402

ISBN-13: 1837637385

DOWNLOAD EBOOK →

A comprehensive guide to Adobe Commerce storefront development covering theme creation, customization, JavaScript usage, and optimization techniques for optimal customer satisfaction Key Features Learn techniques for customizing templates and layouts for an optimal user experience Use the command-line interface for efficient and streamlined theme development and deployment Implement best practices for using JavaScript and frontend optimization techniques for improved performance and customer satisfaction Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionNavigating the frontend realm of the Adobe Commerce platform can often feel like a labyrinth, given its multifaceted systems and intricate layering. This book demystifies Adobe Commerce frontend development, guiding you through its paths with clarity and precision. You'll learn how to set up your local environment, paving the way for a smooth development experience and navigate the platform's theming ecosystem, exploring layout XML systems and the power of templates. As you progress through the book, you'll leverage an array of JavaScript libraries and frameworks that Adobe Commerce boasts of, with special emphasis on RequireJS, jQuery, Knockout.JS, and UI Components. Additionally, you'll gain an understanding of the intricacies of Adobe Commerce CMS, explore frontend-related configurations in the admin panel, and unlock the secrets of frontend optimization. Practical exercises provided in the book will enable you to create top-notch Adobe Commerce sites that are functional, optimized, user-centric, and a step ahead in the ever-evolving frontend landscape.What you will learn Set up your own Dockerized environment in the Adobe Commerce platform Customize page structure using Layout XML, templates, and a fallback system Build and personalize system emails to match website themes Work with various JavaScript frameworks and libraries in the project Create and manage content using the Adobe Commerce CMS system Validate your solutions with the practical examples provided Who this book is for The book is ideal for storefront developers proficient in frontend technologies such as HTML, CSS, and JavaScript, aiming to broaden their knowledge of Adobe Commerce and Magento Open Source applications. If you've encountered challenges with frontend development for Adobe Commerce and struggled to find solutions online, this book is tailored to assist you.

Python Crash Course, 3rd Edition

Python Crash Course, 3rd Edition PDF

Author: Eric Matthes

Publisher: No Starch Press

Published: 2023-01-10

Total Pages: 553

ISBN-13: 1718502702

DOWNLOAD EBOOK →

Python Crash Course is the world’s bestselling programming book, with over 1,500,000 copies sold to date! Python Crash Course is the world’s best-selling guide to the Python programming language. This fast-paced, thorough introduction will have you writing programs, solving problems, and developing functioning applications in no time. You’ll start by learning basic programming concepts, such as variables, lists, classes, and loops, and practice writing clean code with exercises for each topic. You’ll also learn how to make your programs interactive and test your code safely before adding it to a project. You’ll put your new knowledge into practice by creating a Space Invaders–inspired arcade game, building a set of data visualizations with Python’s handy libraries, and deploying a simple application online. As you work through the book, you’ll learn how to: Use powerful Python libraries and tools, including pytest, Pygame, Matplotlib, Plotly, and Django Make increasingly complex 2D games that respond to keypresses and mouse clicks Generate interactive data visualizations using a variety of datasets Build apps that allow users to create accounts and manage their own data, and deploy your apps online Troubleshoot coding errors and solve common programming problems New to this edition: This third edition is completely revised to reflect the latest in Python code. New and updated coverage includes VS Code for text editing, the pathlib module for file handling, pytest for testing your code, as well as the latest features of Matplotlib, Plotly, and Django. If you’ve been thinking about digging into programming, Python Crash Course will provide you with the skills to write real programs fast. Why wait any longer? Start your engines and code! Uses Python 3

Learning Apache OpenWhisk

Learning Apache OpenWhisk PDF

Author: Michele Sciabarrà

Publisher: O'Reilly Media

Published: 2019-07-03

Total Pages: 394

ISBN-13: 1492046132

DOWNLOAD EBOOK →

Serverless computing greatly simplifies software development. Your team can focus solely on your application while the cloud provider manages the servers you need. This practical guide shows you step-by-step how to build and deploy complex applications in a flexible multicloud, multilanguage environment using Apache OpenWhisk. You’ll learn how this platform enables you to pursue a vendor-independent approach using preconfigured containers, microservices, and Kubernetes as your cloud operating system. Michele Sciabarrà demonstrates how to build a serverless application using classical design patterns and the programming language or languages that best fit your task. You’ll start by building a simple serverless application hands-on before diving into the more complex aspects of the OpenWhisk platform. Examine how OpenWhisk’s serverless architecture works, including the use of packages, actions, sequences, triggers, rules, and feeds Learn how OpenWhisk compares to existing architectures, such as Java Enterprise Edition Manipulate OpenWhisk features using the command-line interface or a JavaScript API Design applications using common Gang of Four design patterns Use architectural design patterns such as model-view-controller to combine several OpenWhisk actions Learn how to test and debug your code in a serverless environment

PHP Web Development with MySQL

PHP Web Development with MySQL PDF

Author: Kenneth Marks

Publisher:

Published: 2021-07-23

Total Pages:

ISBN-13: 9781940111957

DOWNLOAD EBOOK →

# BioKen Marks has been working in his dream job as a Programming Instructor at Madison College in Madison, Wisconsin, teaching PHP web development using MySQL since 2012. Prior to teaching, Ken worked as a software engineer for more than 20 years, mainly developing medical device software. Ken is actively involved in the PHP community, speaking and teaching at conferences.# Description## Build Web Applications from Scratch with PHP and MySQLLearn how to build dynamic and secure websites using modern PHP with MySQL databases.PHP today is a mature, robust language focused on programming web applications and sites. This book gives you an introduction to its syntax, built-in data structures, and scalar data types. You'll also see how to work with cookies, sessions, and web requests using native PHP functions and features. This approach gives you a solid grounding for working in any other PHP application from WordPress, to modern frameworks, to legacy applications. Each chapter includes plenty of code examples to reinforce the concepts introduced as well as suggested exercises for the reader.The book also walks you through building a typical Create-Read-Update-Delete (CRUD) application, starting with setting up a development environment through building the pages and forms required. Along the way, you'll get solid, practical advice on how to add authentication, handle file uploads, safely store passwords, application security, and more.### Topics Covered* PHP Script Execution* Setting up a Development Environment* Using Variables, Strings, and Basic Operators* Working with Arrays* Comparing Variables, Logical Operators, and Flow Control* Writing Counting and Sentinel Loops* Reusing code with custom functions* Working with HTML Forms* Validating User Input* Saving, Updating, and Deleting Data in a Database* Querying and Displaying Database Result Sets* Safely Working with File Uploads* Adding Basic and Session-based User Log Ins* Persisting User data with Cookies and Sessions* Securing against Common Web Attacks and Vulnerabilities* Building a shopping-cart-like feature.* An Introduction to Object-Oriented Code in PHP

Modernizing Drupal 10 Theme Development

Modernizing Drupal 10 Theme Development PDF

Author: Luca Lusso

Publisher: Packt Publishing Ltd

Published: 2023-08-31

Total Pages: 360

ISBN-13: 1803249021

DOWNLOAD EBOOK →

A comprehensive guide to creating Drupal themes from scratch, from design to fully styled websites with custom Twig templates and headless architecture Key Features Explore real-world examples with proven methodologies to gain a deeper insight into the Drupal theme layer Learn how to translate a graphic design into a maintainable and robust Drupal theme Improve performance and accessibility with a decoupled frontend to consume data exposed by Drupal’s APIs Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionWorking with themes in Drupal can be challenging, given the number of layers and APIs involved. Modernizing Drupal 10 Theme Development helps you explore the new Drupal 10’s theme layer in depth. With a fully implemented Drupal website on the one hand and a set of Storybook components on the other, you’ll begin by learning to create a theme from scratch to match the desired final layout. Once you’ve set up a local environment, you’ll get familiarized with design systems and learn how to map them to the structures of a Drupal website. Next, you’ll bootstrap your new theme and optimize Drupal’s productivity using tools such as webpack, Tailwind CSS, and Browsersync. As you advance, you’ll delve into all the theme layers in a step-by-step way, starting from how Drupal builds an HTML page to where the template files are and how to add custom CSS and JavaScript. You’ll also discover how to leverage all the Drupal APIs to implement robust and maintainable themes without reinventing the wheel, but by following best practices and methodologies. Toward the end, you’ll find out how to build a fully decoupled website using json:api and Next.js. By the end of this book, you’ll be able to confidently build custom Drupal themes to deliver state-of-the-art websites and keep ahead of the competition in the modern frontend world.What you will learn Map design systems made by Storybook components to Drupal structures Understand and use render arrays and Twig templates Get familiarized with the new Single Directory Component feature introduced in Drupal 10.1 Define, import, and use CSS and JavaScript libraries Discover how to style content created with fields and paragraphs Define, place, customize, and style blocks Explore advanced topics like extending Twig, making a theme configurable, and boosting performance and accessibility Find out how to build a decoupled website using json:api and Next.js Who this book is forIf you are a Drupal backend developer or frontend developer who wants to create Drupal themes that follow industry best practices and are fast and maintainable, this book is for you. Basic knowledge of HTML, CSS, and JavaScript and working knowledge of a CMS are needed to grasp the concepts present in this book.

Zend Framework 1 to 2 Migration Guide

Zend Framework 1 to 2 Migration Guide PDF

Author: Bart McLeod

Publisher: PHP[Architect]

Published: 2015-10

Total Pages: 108

ISBN-13: 9781940111216

DOWNLOAD EBOOK →

Zend Framework 1 was one of the first major frameworks for PHP 5 and, for many, introduced object-oriented programming principles for writing PHP applications. Many developers looking to embrace a well-architected and supported framework chose to use it as the foundation for their applications. However, the first version was not without its faults. Zend Framework 2 is a significant improvement over its predecessor. It re-designed key components, promotes the re-use of code through modules, and takes advantage of features introduced in PHP 5.3 such as namespaces. The first release of ZF1 was in 2006. If you're maintaining an application built on it, this practical guide will help you to plan how to migrate to ZF2. This book addresses common issues that you'll encounter and provides advice on how best to update your application to take advantage of ZF2's features. It also compares how key components-including Views, Database Access, Forms, Validation, and Controllers-have been updated and how to address these changes in your application code. Written by PHP professional and Zend Framework contributor, coach, and consultant Bart McLeod, this book leverages his expertise to ease your application's transition to Zend Framework 2.