零基础入门Drupal 8:打造功能网站全攻略

5星 · 超过95%的资源 需积分: 9 23 下载量 166 浏览量 更新于2024-07-21 1 收藏 16.26MB PDF 举报
"《Drupal 8 for Absolute Beginners》是一本面向完全初学者的Drupal 8指南,由James Barnett编著,于2015年由Apress出版。本书旨在帮助读者从零开始掌握这款强大的内容管理系统(CMS),即使没有丰富的网络知识也能轻松上手。作者首先引导读者设置并定制一个基础博客,展示了Drupal的强大功能。 在学习过程中,读者将系统地学习HTML、CSS、JavaScript和PHP的基础知识,并把这些技术与Drupal相结合。作者会指导如何创建自定义模块,从编写代码到赋予模块样式和功能性,一步步引导读者动手实践。Drupal命令行工具Drush在此过程中也扮演着重要角色,通过它进行主题应用,实现个性化定制,并将作品发布到互联网上。 书中还特别关注了一些初学者常问的高级话题,如Git和版本控制的使用,如何利用MySQL与数据库交互,以及如何在Linux环境下配置和运行Drupal。这些内容对于深入理解Drupal的工作原理和管理大型项目至关重要。 版权方面,该书受版权法保护,所有权利归出版社所有。只有在符合版权法规定的范围内,如用于学术评论、教学或计算机系统内的特定用途,复制或部分复制才被允许。使用权限需通过Springer的RightsLink或其他相关途径获得。 《Drupal 8 for Absolute Beginners》是一本实用且全面的入门教程,适合希望进入Drupal世界,尤其是对Web开发感兴趣的初学者,通过它能够建立起坚实的基础,进而进一步提升技能,探索Drupal的无限可能。"
2015-12-04 上传
Drupal 8 for Absolute Beginners is your definitive guide to starting from scratch with Drupal even if you have little web knowledge. This book teaches you the basics of HTML, CSS, JavaScript, and PHP in relation to Drupal, so that you can begin to use this popular CMS with all of its features. You will first learn how to set up and customize a basic blog using Drupal, one of the most powerful and popular content management systems available today. From there you will learn the basics of HTML, CSS, JavaScript and PHP, and apply this knowledge to create your own custom Drupal module. You will learn how to build, style, and add functionality to your own Drupal module from scratch. You will then use Drush to apply a theme to Drupal, customizing everything to your liking, before publishing your work to the world. The book also covers some more advanced topics that beginners often ask about, such as getting set up with Git and using source control, using MySQL to interact with a database, and a guide to getting up and running with Linux. Rarely has all the knowledge required to start with Drupal been collated in one place as it is in Drupal 8 for Absolute Beginners. You need no prior knowledge of the web, only a desire to learn. The book is fully supported by video material on the author's website. Start your Drupal journey with this book today! What you’ll learn Written for beginners to Drupal and web programming Learn what Drupal can do and how you can master it Use all of the common web technologies in conjunction with Drupal Create and apply a theme to your Drupal site Start your journey into more advanced topics, such as Git, MySql, and Linux Who this book is for The book targets anyone wishing to learn either basic web technology, Drupal, or both, and in particular it shows how basic web technologies fit into working with Drupal. Even if you know basic CSS, HTML, and JavaScript many fall short on learning how to tailor Drupal and extend Drupal with these basic skills. The book can elevate the reader to be able to land a great first job in the Drupal community after learning HTML, CSS, JavaScript, JQuery, PHP, MySql, and Linux. The book also is great for the business community trying to understand the power of open source. It’s important as a business person to know what tools are available to solve problems. The Drupal community has many unfilled job openings, as programmers, support persons, UX experts, sales people ... after reading this book the reader will be able to wow those interviewing them with their in depth knowledge of how much Drupal can do. Table of Contents Chapter 1: Installing Drupal Chapter 2: Site Building: Building Drupal Sites Without Programming Chapter 3: Getting Started with HTML Chapter 4: Creating a Basic Drupal Module with HTML Output Chapter 5: A CSS Primer for Drupal Chapter 6: Adding CSS to Your Drupal Module Chapter 7: A JavaScript Primer for Drupal Chapter 8: Adding JavaScript to Your Drupal Module Chapter 9: A PHP Primer for Drupal Chapter 10: Adding PHP-Generated Output to Your Drupal Module Chapter 11: Creating a Drupal Block Programmatically and Basic MySQL Usage Chapter 12: Theming Your Site Part 1: Theme Functions and a Twig Primer Chapter 13: Theming Your Site Part 2: Creating a Custom Theme and Subtheme Chapter 14: Working with Forms and Creating Custom Forms Chapter 15: Using Git to Manage Your Source Code Chapter 16: Advanced MySQL Primer Chapter 17: Linux Chapter 18: Publishing Your Site to a Production Linux Box Appendix A: Other Ways to Install Drupal Appendix B: Basic Linux Commands

The website encountered an unexpected error. Please try again later. AssertionError: Cannot load the "commerce_order_item_type" entity with NULL ID. in assert() (line 295 of core\lib\Drupal\Core\Entity\EntityStorageBase.php). assert(, 'Cannot load the "commerce_order_item_type" entity with NULL ID.') (Line: 295) Drupal\Core\Entity\EntityStorageBase->load(NULL) (Line: 488) Drupal\Core\Entity\EntityBase::load(NULL) (Line: 65) commerce_ticketing_form_commerce_product_variation_type_form_alter(Array, Object, 'commerce_product_variation_type_add_form') (Line: 562) Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'commerce_product_variation_type_add_form') (Line: 840) Drupal\Core\Form\FormBuilder->prepareForm('commerce_product_variation_type_add_form', Array, Object) (Line: 284) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

2023-06-02 上传