Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Encapsulation, Inheritance, and Polymorphism using Drupal Entities - SandCamp 2016

  • ActiveLAMP
  • 2016-04-27
  • 1050
Encapsulation, Inheritance, and Polymorphism using Drupal Entities - SandCamp 2016
drupaldrupal7entity apisandcampdrupal at the beachpsr4entitiesyeomansandcamp 2016
  • ok logo

Скачать Encapsulation, Inheritance, and Polymorphism using Drupal Entities - SandCamp 2016 бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Encapsulation, Inheritance, and Polymorphism using Drupal Entities - SandCamp 2016 или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Encapsulation, Inheritance, and Polymorphism using Drupal Entities - SandCamp 2016 бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Encapsulation, Inheritance, and Polymorphism using Drupal Entities - SandCamp 2016

One of the best things to happen with the Drupal 7 release was the introduction of Entities. Drupal Entities have been around forever, but it seems like a lot of developers still refer back to using Nodes when creating content that requires more functionality than what Nodes give you out of the box.

Do you find yourself writing a lot of code around Node data, maybe in a hook_node_view() or a hook_node_load()? Have you ever felt it would be great to have all the functions that you write to manipulate your node data right on the $node object in a PHP Class you have defined? Do you hate the fact that the Node object is just a PHP stdClass(), a glorified array?

In this session, I'll talk about why it's a good idea to create your own Entities when the content you're adding requires extended functionality. Nodes are great, but you shouldn't use Nodes for any content that you intende to write custom code to enhance the Node, that's what Entities are for.

I'm going to talk about the "what" and the "why" of Entities, not necessarily "how" to create an Entity. There are a bunch of resources already out there on the Internet. I'll talk about using the Entity API module, and defining your own Class for your custom Entities.

I'll show you a cool little trick we used on a recent project to have a custom PHP Class for each bundle of an Entity using the Proxy Pattern. That's Polymorphism in Drupal 7, Whoa!

Demo Repo: https://github.com/tomfriedhof/sandca...
Yeoman Repo: https://github.com/activelamp/generat...

http://activelamp.com

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]