Decoupled Drupal in Practice

Decoupled Drupal in Practice

Author: Preston So

Publisher: Apress

Published: 2018-12-12

Total Pages: 505

ISBN-13: 1484240723

DOWNLOAD EBOOK

Gain a clear understanding of the most important concepts in the decoupled CMS landscape. You will learn how to architect and implement decoupled Drupal architectures across the stack—from building the back end and designing APIs to integrating with front-end technologies. You'll also review presenting data through consumer applications in widely adopted technologies such as Angular, Ember, React, and Vue.js. Featuring a foreword by Drupal founder and project lead Dries Buytaert, the first part of this book chronicles the history of the CMS and the server–client divide, analyzes the risks and rewards of decoupled CMS architectures, and presents architectural patterns. From there, the book explores the core and contributed landscape for decoupled Drupal, authentication mechanisms, and the surrounding tooling ecosystem before delving into consumer implementations in a variety of technologies. Finally, a series of chapters on advanced topics feature the Drupal REST plugin system, schemas and generated documentation, and caching. Several projects point to a decoupled future for Drupal, including the Contenta CMS and work to modernize Drupal's JavaScript using React. Begin learning about these and other exciting developments with Decoupled Drupal today. What You’ll Learn Evaluate the risks and rewards of decoupled Drupal and classify its architectures Authenticate requests to Drupal using OAuth, JWT, and Basic Authentication Consume and manipulate Drupal content via API through HTTP requests Integrate with other consumer applications for native mobile and desktop as well as set-top boxes (Roku, Apple TV, Samsung TV) Add new resources to Drupal's REST API using the REST plugin system Generate API documentation that complies with the OpenAPI (Swagger) standard Who This Book Is For Those with some exposure to CMSes like WordPress and Drupal and those who wish to follow along with JavaScript application development will benefit. A familiarity with API-first or services-oriented architectures is helpful but not presumed.


Drupal 9 Module Development

Drupal 9 Module Development

Author: Daniel Sipos

Publisher: Packt Publishing Ltd

Published: 2020-08-14

Total Pages: 626

ISBN-13: 1800200544

DOWNLOAD EBOOK

Build and extend flexible Drupal sites and applications with this up-to-date, expert guide to Drupal 9 module development Key FeaturesExplore the essential Drupal 9 APIs for module developmentLearn how to implement data modeling, caching, architecture, and much more in your Drupal applicationsDiscover what’s new in the latest Drupal core releasesBook Description With its latest release, Drupal 9, the popular open source CMS platform has been updated with new functionalities for building complex Drupal apps with ease. This third edition of the Drupal Module Development guide covers these new Drupal features, helping you to stay on top of code deprecations and the changing architecture with every release. The book starts by introducing you to the Drupal 9 architecture and its subsystems before showing you how to create your first module with basic functionality. You’ll explore the Drupal logging and mailing systems, learn how to output data using the theme layer, and work with menus and links programmatically. Once you’ve understood the different kinds of data storage, this Drupal guide will demonstrate how to create custom entities and field types and leverage the Database API for lower-level database queries. You’ll also learn how to introduce JavaScript into your module, work with various file systems, and ensure that your code works on multilingual sites. Finally, you’ll work with Views, create automated tests for your functionality, and write secure code. By the end of the book, you’ll have learned how to develop custom modules that can provide solutions to complex business problems, and who knows, maybe you’ll even contribute to the Drupal community! What you will learnDevelop custom Drupal 9 modules for your applicationsMaster different Drupal 9 subsystems and APIsModel, store, manipulate, and process data for effective data managementDisplay data and content in a clean and secure way using the theme systemTest your business logic to prevent regressionStay ahead of the curve and write PHP code by implementing best practicesWho this book is for If you are a Drupal developer looking to learn Drupal 9 to write modules for your sites, this book is for you. Drupal site builders and PHP developers with basic object-oriented programming skills will also find this book helpful. Although not necessary, some Symfony experience will help with understanding concepts easily.


Web Content Management

Web Content Management

Author: Deane Barker

Publisher: "O'Reilly Media, Inc."

Published: 2016-03-22

Total Pages: 375

ISBN-13: 1491908084

DOWNLOAD EBOOK

Looking to select a web content management system (CMS), but confused about the promises, terminology, and buzzwords? Do you want to understand content management without having to dive into the underlying programming? This book provides a clear, unbiased overview of the entire CMS ecosystem—from platforms to implementations—in a language- and platform-agnostic manner for project managers, executives, and new developers alike. Author Deane Barker, a CMS consultant with almost two decades of experience, helps you explore many different systems, technologies, and platforms. By the end of the book, you’ll have the knowledge necessary to make decisions about features, architectures, and implementation methods to ensure that your project solves the right problems. Learn what content is, how to compare different systems, and what the roles of a CMS team are Understand how a modern CMS models and aggregates content, coordinates workflow, and manages assets Explore the scope and structure of a CMS implementation project Learn the process and best practices for successfully running your CMS implementation Examine the practice of migrating web content, and learn how to work with an external CMS integrator


Mastering Drupal 8

Mastering Drupal 8

Author: Chaz Chumley

Publisher: Packt Publishing Ltd

Published: 2017-07-27

Total Pages: 448

ISBN-13: 1785886258

DOWNLOAD EBOOK

Mastering Drupal can lead to a mighty website - discover what Drupal 8 can really do with hidden techniques, best practices, and more! Key Features The most up-to-date advanced practical guide on Drupal 8 with an in-depth look at all the advanced new features such as authoring, HTML markup, built-in web services, and more If you are looking to dive deep into Drupal 8 and create industry-standard web apps, then this is the ideal book for you All the code and examples are explained in great detail to help you in the development process Book Description Drupal is an open source content management system trusted by governments and organizations around the globe to run their websites. It brings with it extensive content authoring tools, reliable performance, and a proven track record of security. The community of more than 1,000,000 developers, designers, editors, and others have developed and maintained a wealth of modules, themes, and other add-ons to help you build a dynamic web experience. Drupal 8 is the latest release of the Drupal built on the Symfony2 framework. This is the largest change to the Drupal project in its history. The entire API of Drupal has been rebuilt using Symfony and everything from the administrative UI to themes to custom module development has been affected. This book will cover everything you need to plan and build a complete website using Drupal 8. It will provide a clear and concise walkthrough of the more than 200 new features and improvements introduced in Drupal core. In this book, you will learn advanced site building techniques, create and modify themes using Twig, create custom modules using the new Drupal API, explore the new REST and Multilingual functionality, import, and export Configuration, and learn how to migrate from earlier versions of Drupal. What you will learn Discover how to better manage content using custom blocks and views Display content in multiple ways, taking advantage of display modes Create custom modules with YAML and Symfony 2 Easily translate content using the new multilingual capabilities Use RESTful services and JavaScript frameworks to build headless websites Manage Drupal configuration from one server to another easily Who this book is for This book is ideally suited to web developers, designers, and web administrators who want to dive deep into Drupal. Previous experience with Drupal is a must to unleash the full potential of this book.


Drupal 8: Enterprise Web Development

Drupal 8: Enterprise Web Development

Author: Nick Abbott

Publisher: Packt Publishing Ltd

Published: 2016-12-30

Total Pages: 1005

ISBN-13: 1787281531

DOWNLOAD EBOOK

Harness the power of Drupal 8 to create enterprise-grade, highly scalable websites About This Book Build complete, complex websites with no prior knowledge of web development entirely using the intuitive Drupal user interface Ensure your sites are modern, responsive and mobile-friendly through utilizing the full features available in Drupal 8 Quickly master theme administration, custom block layouts, views, and the Twig template structure Who This Book Is For This course is suitable for web developers, designers, as well as web administrators who are keen on building modern, scalable websites using Drupal 8 and its wide range of new features What You Will Learn Set up a local “stack” development environment and install your first Drupal 8 site Find out what is available in the Drupal 8 core Integrate third-party front-end and back-end libraries with Drupal Understand the plugin system that powers many of Drupal 8's new APIs to extend its functionality Build custom block layouts with reusable and fieldable blocks Work with the new Twig PHP templating engine Develop a theme from scratch following a step-by-step project outline In Detail This Drupal 8 course takes you through the journey of building, extending, and customizing websites to build highly scalable and enterprise-ready websites. The first part—Learning Drupal 8—takes you step by step through building a Drupal 8 website. You will start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then we move on to image and media handling and extending Drupal modules. This section will help you get to grips with the modular nature of Drupal, and you'll learn how to extend it by adding new functionalities to create your new modules. After learning to develop and manage a modern and responsive website using Drupal 8, you'll start exploring different techniques to take advantage of the new Drupal 8 features. The next module—Drupal 8 Development Cookbook—is your go-to guide to experimenting with all of Drupal 8's features through helpful recipes. You will explore techniques to customize and configure the Drupal environment, create blocks and custom modules, as well as make your web apps responsive by harnessing the mobile-first feature of Drupal 8. This module 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. In the third part—Drupal 8 Theming with Twig—you will master Drupal 8's new Twig templating engine to customize the look and feel of your website. This section will walk you through a real-world project to create a Twig theme from concept to completion while adopting best practices to implement CSS frameworks and JavaScript libraries. You will see just how quick and easy it is to create beautiful, responsive Drupal 8 websites while avoiding the common mistakes that many front-end developers make. By the end, you will have learned how to develop, manage, extend, and customize an enterprise-level website. 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: Learning Drupal 8 by Nick Abbott and Richard Jones Drupal 8 Development Cookbook by Matt Glaman Drupal 8 Theming with Twig by Chaz Chumley Style and approach This course offers a thorough coverage of developing, managing, extending, and designing highly scalable websites using the Drupal 8 platform. Filled with practical examples and recipes, this course is a great combination of example-driven learning complemented by interesting techniques to take advantage of the Drupal platform.


Decoupling Drupal

Decoupling Drupal

Author: Deepali Mayekar

Publisher: Apress

Published: 2017-11-24

Total Pages: 76

ISBN-13: 1484233212

DOWNLOAD EBOOK

Implement a headless/decoupled Drupal design to build easily maintainable web applications. This book begins by showing you CMS workflows and best practices to give you the basics you need for working with decoupled Drupal. As part of this process, Decoupling Drupal reveals the advantages of using content management systems and explains that decoupled Drupal is the answer to various problems faced in creating and maintaining enterprise applications. Decoupling Drupal will show you how administering Drupal monolithically to design web applications can be a challenge. You’ll see how the maintainability of your application reduces exponentially over the years. In contrast, a decoupled design enables an easy handshake between the front-end and back-end applications, meaning you can implement services in a short amount of time and scale them quickly. The final part of the book covers the impact of decoupling on functional and non-functional requirements and the use of Drupal 8 modules to address the requirements of decoupling. This involves solving the problems that occur at different stages of CMS evolution in an organization. What You Will Learn Discover the principles of headless/decoupled design Implement Drupal in a real-time environment Work with the Drupal modules normally used in a decoupled design Use Drupal to complete back-end tasks Integrate a Pantheon cloud-solution for headless Drupal Acknowledge the use of CMS in your day-to-day IT life Who This Book Is For Web application designers, developers, and Drupal enthusiasts.


Modern PHP

Modern PHP

Author: Josh Lockhart

Publisher: "O'Reilly Media, Inc."

Published: 2015-02-16

Total Pages: 251

ISBN-13: 1491904992

DOWNLOAD EBOOK

PHP is experiencing a renaissance, though it may be difficult to tell with all of the outdated PHP tutorials online. With this practical guide, you’ll learn how PHP has become a full-featured, mature language with object-orientation, namespaces, and a growing collection of reusable component libraries. Author Josh Lockhart—creator of PHP The Right Way, a popular initiative to encourage PHP best practices—reveals these new language features in action. You’ll learn best practices for application architecture and planning, databases, security, testing, debugging, and deployment. If you have a basic understanding of PHP and want to bolster your skills, this is your book. Learn modern PHP features, such as namespaces, traits, generators, and closures Discover how to find, use, and create PHP components Follow best practices for application security, working with databases, errors and exceptions, and more Learn tools and techniques for deploying, tuning, testing, and profiling your PHP applications Explore Facebook’s HVVM and Hack language implementations—and how they affect modern PHP Build a local development environment that closely matches your production server


Decoupled Django

Decoupled Django

Author: Valentino Gagliardi

Publisher: Apress

Published: 2021-07-03

Total Pages: 236

ISBN-13: 9781484271438

DOWNLOAD EBOOK

Apply decoupling patterns, properly test a decoupled project, and integrate a Django API with React, and Vue.js. This book covers decoupled architectures in Django, with Django REST framework and GraphQL. With practical and simple examples, you’ll see firsthand how, why, and when to decouple a Django project. Starting with an introduction to decoupled architectures versus monoliths, with a strong focus on the modern JavaScript scene, you’ll implement REST and GraphQL APIs with Django, add authentication to a decoupled project, and test the backend. You’ll then review functional testing for JavaScript frontends with Cypress. You will also learn how to integrate GraphQL in a Django project, with a focus on the benefits and drawbacks of this new query language. By the end of this book, you will be able to discern and apply all the different decoupling strategies to any Django project, regardless of its size. What You'll Learn Choose the right approach for decoupling a Django project Build REST APIs with Django and a Django REST framework Integrate Vue.js and GraphQL in a Django project Consume a Django REST API with Next.js Test decoupled Django projects Who This Book Is For Software developers with basic Django skills keen to learn decoupled architectures with Django. JavaScript developers interested in learning full-stack development and decoupled architectures with Django.


Mastering Symfony

Mastering Symfony

Author: Sohail Salehi

Publisher: Packt Publishing Ltd

Published: 2016-04-26

Total Pages: 290

ISBN-13: 1784394262

DOWNLOAD EBOOK

Orchestrate the designing, development, testing, and deployment of web applications with Symfony About This Book Create a robust and reliable Symfony development pipeline using Amazon's cloud platform Cut development and maintenance costs by defining crystal clear features and possible scenarios for each feature before implementation Follow detailed examples provided in each chapter to create a task management application Who This Book Is For If you are a PHP developer with some experience in Symfony and are looking to master the framework and use it to its full potential, then this book is for you. Though experience with PHP, object-oriented techniques, and Symfony basics is assumed, this book will give you a crash course on the basics and then proceed to more advanced topics. What You Will Learn Install and configure Symfony and required third-party bundles to develop a task management application Set up a continuous integration server to orchestrate automatic builds every time you add a new feature to your project Reduce maintenance costs dramatically using Behaviour Driven Development (BDD) Create a slick user interface using the Bootstrap framework Design robust business logic using Doctrine Build a comprehensive dashboard and secure your project using the Sonata project Improve performance using Redis, Memcache, and Varnish Create customized Symfony commands and add them to your console In Detail In this book, you will learn some lesser known aspects of development with Symfony, and you will see how to use Symfony as a framework to create reliable and effective applications. You might have developed some impressive PHP libraries in other projects, but what is the point when your library is tied to one particular project? With Symfony, you can turn your code into a service and reuse it in other projects. This book starts with Symfony concepts such as bundles, routing, twig, doctrine, and more, taking you through the request/response life cycle. You will then proceed to set up development, test, and deployment environments in AWS. Then you will create reliable projects using Behat and Mink, and design business logic, cover authentication, and authorization steps in a security checking process. You will be walked through concepts such as DependencyInjection, service containers, and services, and go through steps to create customized commands for Symfony's console. Finally, the book covers performance optimization and the use of Varnish and Memcached in our project, and you are treated with the creation of database agnostic bundles and best practices. Style and approach A step-by-step guide to mastering Symfony while developing a task management application. Each chapter comes with detailed examples.


Liferay Portal Performance Best Practices

Liferay Portal Performance Best Practices

Author: Samir Bhatt

Publisher: Packt Publishing Ltd

Published: 2013-06-10

Total Pages: 229

ISBN-13: 1782163697

DOWNLOAD EBOOK

A step-by-step tutorial on implementing Liferay- based portals to learn performance best practices.The book is good for Liferay portal developers and architects who want to learn performance best practices for implementing Liferay- based solutions. It is assumed that you have a working knowledge of the Liferay portal.