Обзор Form API для Drupal 8.
Что нового? Что изменилось? А что осталось по-прежнему?
Множество вопросов интересует разработчиков в связи с приближением Drupal 8.
From Antispambot to Zeroize, WordPress has all sorts of lesser known or used functions. This presentation given at WordCamp Jerusalem 2013 goes over 10 such functions.
In this meetup Eyal Vardi will talk about Angular 2.0 architecture. The session will focus on the main parts of Angular 2.0:
Application Bootstrap
Angular Compiler
Hierarchical Injector
Component Lifecycle Hooks
Change Detector
Renderer
Dynamic component creation
Each part will be explained and analyzed. In some cases we will dive into Angular 2.0 source code. Our purpose is to list the Do's & Don’ts of Angular.
The session is mostly targeted for developers which already have some experience with Angular 2.0.
Session imparted at DrupalSummer in Barcelona on 2017 July about Drupal 8 Form API. Slides are here too: http://slides.com/estoyausente/d8-form-api-1#/
From Antispambot to Zeroize, WordPress has all sorts of lesser known or used functions. This presentation given at WordCamp Jerusalem 2013 goes over 10 such functions.
In this meetup Eyal Vardi will talk about Angular 2.0 architecture. The session will focus on the main parts of Angular 2.0:
Application Bootstrap
Angular Compiler
Hierarchical Injector
Component Lifecycle Hooks
Change Detector
Renderer
Dynamic component creation
Each part will be explained and analyzed. In some cases we will dive into Angular 2.0 source code. Our purpose is to list the Do's & Don’ts of Angular.
The session is mostly targeted for developers which already have some experience with Angular 2.0.
Session imparted at DrupalSummer in Barcelona on 2017 July about Drupal 8 Form API. Slides are here too: http://slides.com/estoyausente/d8-form-api-1#/
Est-ce que nous allons parler de gestion des ressources humaines au PHP tour ? Non, je vous vais vous parler des modèles anémiques et des modèles riches. Depuis des années frameworks et ORM nous conditionnent à utiliser des modèles anémiques, une classe avec de simples setters et getters. A travers l’histoire d’Estelle, une RH, qui veut une application pour gérer ses salariés, je vais vous montrer comment changer nos vieilles habitudes afin de nous focaliser sur le métier que nous implémentons. Nous verrons ensemble quels outils utiliser, comme par exemple, le design pattern command bus, l’opérateur NEW de doctrine pour vos Data Transfert Object dans une application Symfony.
Example de code : https://github.com/arnolanglade/code-me-hr
Refactoring, Agile Entwicklung, Continuous Integration – all diese für nachhaltigen Erfolg wichtigen Vorgehensweisen setzen Erfahrung mit Unit Testing voraus. Abseits von den üblichen "Bowling"-Beispielen möchten wir gerne einen Crashkurs inkl. Best Practices für das erfolgreiche Unit Testing durchführen. Anhand eines Beispielprojekts auf Basis des Zend Frameworks werden wir nach der Installation von PHPUnit auf allen Notebooks gemeinsam eine kleine Applikation aufbauen, die durchgehend Test-driven entwickelt wird.
A content management system your clients and developers will both be happy with. Open source, built on the Symfony MVC framework. Slides from Symfony Live 2011 in San Francisco
Prezentacja, która miała miejsce 2018-03-07 w Poznaniu. Wykonanie: Marek Tenus (HighSolutions). Podstawy tworzenia Form Requestów w miejsce standardowego obiektu Request. Opis zalet i wad takiego rozwiązania.
Come to this talk prepared to learn about the Doctrine PHP open source project. The Doctrine project has been around for over a decade and has evolved from database abstraction software that dates back to the PEAR days. The packages provided by the Doctrine project have been downloaded almost 500 million times from packagist. In this talk we will take you through how to get started with Doctrine and how to take advantage of some of the more advanced features.
All projects start with a lot of enthusiasm. As many projects grow the technical debt gets bigger and the enthusiasm gets less. Almost any developer can develop a great project, but the key is maintaining an ever evolving application with minimal technical debt without loosing enthusiasm.
During this talk you will be taken on the journey of application design. The starting point is an application that looks fine but contains lots of potential pitfalls. We will address the problems and solve them with beautiful design. We end up with testable, nicely separated software with a clear intention.
Everything you always wanted to know about forms* *but were afraid to askAndrea Giuliano
La componente dei Form di Symfony2 rende possibile la costruzione di diverse tipologie di form in modo del tutto semplice. La sua architettura flessibile e altamente scalabile permette di poter gestire strutture adatte ad ogni tipo di esigenza. Tuttavia, conoscere come utilizzare appieno tutta la sua potenza non è banale. In questo talk verrà trattato in profondità la componente Form di Symfony2, mostrando i suoi meccanismi di base e come utilizzarli per estenderli ed introdurre la propria logica di business, così da costruire form cuciti a misura delle tue necessità.
Мало кто реально осознает мощь рынка Drupal.
Мы провели гигантскую аналитическую работу собирая факты и делая выводы.
Мы подготовили фильм о мощи друпал, который будет показан во время доклада.
Премьера фильма о рынке Друпал!
Фильм и доклад будут полезны разработчикам, руководителям девелоперских компаний и конечно клиентам.
amoCRM - облачная лид-менеджмент система и партнер ГК i20 (http://i20.biz).
Специально для них мы разработали ряд модулей Drupal и виджет.
В данной презентации рассказано о том, как установить и использовать amoCRM Widget. Это модуль на Drupal и виджет в amoCRM, которые работают в комплексе, чтобы сделать ваши продажи еще эффективнее. Все возможности модуля описаны на его странице на Drupal.org: https://www.drupal.org/project/amocrm_widget
Чтобы использовать виджет, вам нужен сайт на Drupal с настроенным https и аккаунт в amoCRM https://www.amocrm.ru/.
Видеоинструкция: https://youtu.be/JN3USuUzr2o
Инcтрукция Виджет amoCRM на английском языке:
http://www.slideshare.net/DrupalJedi/amocrm-widget-instruction
Инструкция по другим модулям интеграции на русском языке:
http://www.slideshare.net/DrupalJedi/amocrm-60909031
Инструкция по другим модулям интеграции на английском языке:
http://www.slideshare.net/DrupalJedi/drupal-and-amocrm-integration-modules-instruction
This instruction was used at master-class in Novosibirsk State University at Days of a carrier on April, 10 2015.
Article about that day http://i20.biz/post/srum-lego-game
DrupalJedi corporate site drupaljedi.com
Contact as at hello@i20.biz
В наши дни веб-разработка усложнилась и разработчик тратит много времени на настройку рабочего окружения. Wodby решает эту проблему и позволяет быстро начать работу над проектом.
На сегодня виртуальные машины прочно заняли своё место в серверах реальных. Я в общих чертах напомню, что это за зверь и с чем его едят. Остальная, большая часть доклада посвящена проблемам, с которыми я столкнулся при практическом использовании разных технологий виртуализации - VirtualBox, KVM, LXC и различным оснасткам для них и вируализированным ОС.
Chingis Sandanov. Container virtualizationi20 Group
Я хочу рассказать о том, как хостятся веб-приложения, в т.ч. друпал, об индустрии хостинга в целом и о последних трендах в этой сфере, в частности - это контейнерная виртуализация приложений Docker, которая в настоящее время изменяет всю индустрию хостинга
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
2. Drupal 8 – объектно-ориентирован.
Form API теперь тоже…
3. <?php
/**
* @file
* Contains DrupalExampleFormExampleForm.
*/
namespace DrupalexampleForm;
use DrupalCoreFormFormInterface;
/**
* Provides a simple example form.
*/
class ExampleForm implements FormInterface {
}
public function getFormID()
public function buildForm(array $form, array &$form_state)
public function validateForm(array &$form, array &$form_state)
public function submitForm(array &$form, array &$form_state)
4. public function buildForm(array $form, array &$form_state) {
$form['my_text_field'] = array(
'#type' => 'textfield',
'#title' => 'Example',
);
return $form;
}
Form Builder
5. public function validateForm(array $form, FormStateInterface &$form_state) {
if (strlen($form_state->getValue('phone_number')) < 3) {
$form_state->setErrorByName('phone_number', $this->t('The phone number is too short.'));
}
}
Form Validate
6. use DrupalsystemSystemConfigFormBase;
class ExampleConfigForm extends SystemConfigFormBase {
/**
* Implements DrupalCoreFormFormInterface::getFormID().
*/
public function getFormID() {
return 'example_systemconfigformbase';
}
/**
* Implements DrupalCoreFormFormInterface::buildForm().
*/
public function buildForm(array $form, array &$form_state) {
$form = parent::buildForm($form, $form_state);
// Use the Form API to define form elements.
return $form;
}
…
system_settings_form()