SlideShare a Scribd company logo
1 of 16
Milano - 8 Maggio @ 2014 - italomairo.com
WHY ENTITY FORMS?
The Case Study
Management & Subscription of
Editorial Plans
in the Fiera Milano Media Drupal
WebSite
www.fieramilanomedia.it
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Why Entityforms?
Every skilled Drupalis knows Webforms.
They have been widely used in the new institutional website of
Fiera Milano Media.
But the Entityform Module/Approach has been the most
effective for the implementation of sophisticated Management
(by Internal users) & Subscription (by External users) system
of Editorial Plans & Contents.
We will describe the logical approach and design, the structure of
Ajax EntityForms able to dynamically expose Editorial Content
(frontend) and the functional logic of subscriptions interfaces
(Views) and their contents’ management (backend).
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Entityform module (
http://drupal.org/project/entityform)
As its creator, Ted Bowman, further explained on Thu 10/25/2012 in the following article:
http://www.sixmiletech.com/content/why-entityforms-case-field-and-entity-based-survey-system-drupal
• Entityforms (differently from Webforms) are entities and use standard
Drupal fields.
• Entityform submissions themselves are field-able entities.
This has many advantages including being able to use virtually any field module
in Drupal. Now we can easily gather geographic information, reference site
content and include media references in your surveys and other forms.
• It also allows for simple integration with popular entity-aware modules.
With Entityforms thanks to the Entity API module, Rules and Views
have complete knowledge of the submission information just as they do
with the field values attached to other entities such as Nodes and Users. With
Webform, while possible, the same process is not as simple.
• Also for programmers the process of interacting with Entityforms is much
more familiar.. You can also use great helper classes such as the
EntityFieldQuery and Entity Metadata Wrappers to make dealing with
these entities much easier.
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Fiera Milano Media -
www.fieramilanomedia.it
Fiera Milano Media is the Fiera Milano group company specializing in the
specialized press, in B2B communication, management training and digital
services.
• 13 trade magazines
• 9 web portals
• 55 events / trade shows
• 120 training courses
• 2 B2B databases with
more than 700
thousand profiled users
• 2 outdoor venues*
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Fiera Milano Media website (www.fieramilanomedia.it)
has been developed (by me, on behalf of Crismaitalia srl) with Drupal 7 (since 2012)
let’s link in its bank-end (local link) ->
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Webforms Data Collection in Fiera Milano
Media
Webforms have been extensively used in the Fiera Milano
Media web site to collect different kinds of users
subscriptions:
http://fieramilanomedianew/it/admin/elenco_webforms
• Newsletter Subscription
• Free copy request
• Digital Magazine Subscription
• etc
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Each year, in advance, magazines’ editors and the company as a
whole define the so-called “editorial plans”: annual
programming, month by month numbers of different magazines
and the main issues to be treated within them.
The Editorial Plan of each Magazine is defined through:
Magazine Number / Month > Editorial Contents (1 - n)
This schedule is released outwards, so that an external user
(typically the company/press agency) may subscribe showing its
interest in contributing at editorial level.
Fiera Milano Media Editorial Plans
Subscriptions
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Fiera Milano Media Editorial Plans
Subscriptions
Previous subscription method (and traditional), very complex:
External user:
• download pdf > print and fill > send back via email (and scan) or via fax
Fiera Milano Media Operator/Editor:
• Manual drafting of editorial plans, in pdf format
• Acquisition via fax/email of requests/subscriptions
• Manual archiving/management of requests, with transcript on
spreadsheet or other formats
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Fiera Milano Media Editorial Plans
Subscriptions
New way of Editorial Plan Subscription, via Drupal 7:
External user:
• Cditorial content selection and details subscription/submit via web
Fiera Milano Media Operator/Editor:
• Creating and archiving plans and editorial content, year by year, via
the CMS backend
• Subscriptions and external user accounts management & storage,
year by year, via the CMS backend
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
New Editorial Plans Subscriptions Approach &
Analysis
We had the following needs:
• create the relational Editorial Plans Structure (Content Types in Drupal) and
make the internal users able to input,create & manage these contents via CMS
backend
• create Forms able to expose dynamic and relational contents (Entity
Referenced) of the Editorial Plans Structure and get subscriptions from to
external users
• manage and expose (with Views or whatever) Subcriptions and sub details (like
Entities) strictly related to the Editorial Plans Contents (Entity Referenced)
Why Entity Forms above Webforms ?
All those task are:
• very hard (probably impossibile …) to be achieved with the Webform Module
• easy - logical (and quite natural) to be achieved with Entity Form Module
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Creation & Management of Editorial Plans
Structure
Creation of Drupal Content Types:
Drupal implementation
Magazine Editorial Plan (magazine, number,
month year, etc)
Editorial Contents (Title, Section, Description, etc.)
1
n (as entity references)
Creation of Drupal Management Relational Logics & Views,
throughout specific administration links/hook_menus, administration &
management views
Example Links/Views (local links):
http://fieramilanomedianew/it/elenco-piani-editoriali
http://fieramilanomedianew/it/content/energie-ambiente-oggi-n-16-novembre-2014
This allows the
Creation of an endless and multilingual Archive
of Editorial Plans
for every Magazine
its monthly issue/number
and its specific content types (title, section description)
for every year
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
Creation of Entity-Form for Editorial Plans
Subscriptions
Drupal implementation
The Entity Form for Editorial Plans Subscriptions is created as a Field-
able Drupal Entity.
The Entity Form Module makes doing all this very easy, and very similar to the
creation of a Drupal Content Type.
Entity Forms Fields are just Drupal Fields.
In our case besides the usual and constant/text fields for collecting users
informations (Name, Company, Email, Address, etc.) we were able to expose
(and collect) specific and dynamic informations thorough entity reference
fields to the Editorial Plans’ specific Content Types.
is the implemented Entity Form structure (local link):
//fieramilanomedianew/admin/structure/entityform_types/manage/seleziona_piano_editoriale/
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
In our specific case we had to expose dynamic content (specific
Editorial Contents) regarding the specific chosen Year &
Magazine Editorial,
in a sort of dependent Drop Down Menu Logic.
We needed to hardly ‘alter’ the Entity Form to achieve this,
injecting a lot of code to implement Ajax Behaviors, in the Drupal
compliant way > AJAX Forms in Drupal 7
The front end of the Entity-Form for Editorial Plans
Subscriptions
Our Drupal implementation with Ajax Forms
Here is our live Entity Form result (external link):
www.fieramilanomedia.it/sottoscrivi_piani_editoriali
… & Tableselect &
JQuery
#DrupalDaysIT
Milano - 8 Maggio @ 2014 - italomairo.com
The collection & management of Editorial Plans
Subscriptions
Entity Forms Subscriptions management with Views and Rules
modules• Entity Form Subscriptions are Drupal Entities (such as Nodes are) easily
managed and exposed with Fields Displays Layouts (Full Content, Teaser, etc)
and Drupal Views.
• Once submitted by the Form, the data keeps the relation with the Entities
(Editorial Plans Content Types) referenced in the form, so that we are able to
extend of Editorial Plans Content Types’s Views with the related Subscriptions
collected by the Entity Form
(this is tricky with Webform Subscriptions > needs: webform_mysql_views
module)
• Besides that
the Entity Form and each Entity Form Subscription are exposed to the
Rules Module (through its Entityforms Notifications module, based on the
Entity Rules one), so that “events” might be triggered over Entity Forms
Submissions and their data.• We took great advantage of all this in the
Fiera Milano Media Editorial Plans Management
System
… in this way > (local link)
Milano - 8 Maggio @ 2014 - italomairo.com
ITALO MAIRO
Engineer & Drupal
Delevoper
Personal Web Site:
www.italomairo.com
Email: info@italomairo.com
Username on drupal.org: itamair
LinkedIn:
http://it.linkedin.com/in/italomairo/
dealing with Digital Communication,
Web 2.0 & Web Gis 2.0 Opensource
Applications
Thank you …
SPONSOR
MEDIA PARTNER

More Related Content

Viewers also liked

Factors influencing Process Design and Process Analysis
Factors influencing Process Design and Process AnalysisFactors influencing Process Design and Process Analysis
Factors influencing Process Design and Process Analysisi4VC
 
Role of Government- Technology and Standards, EXIM Policy
Role of Government- Technology and Standards, EXIM PolicyRole of Government- Technology and Standards, EXIM Policy
Role of Government- Technology and Standards, EXIM Policyi4VC
 
Kumpulan pengakap kanak
Kumpulan pengakap kanakKumpulan pengakap kanak
Kumpulan pengakap kanakAsni Korang
 
Technology Strategy
Technology StrategyTechnology Strategy
Technology Strategylakvij
 
Informe Academico
Informe AcademicoInforme Academico
Informe Academicormra2015
 
Informe académico
Informe académico Informe académico
Informe académico moni_tejeda
 
Garis panduan pelaksanaan program pemulihan khas 2008
Garis panduan pelaksanaan program pemulihan khas 2008Garis panduan pelaksanaan program pemulihan khas 2008
Garis panduan pelaksanaan program pemulihan khas 2008nuranis nabilah
 
Las 10 plataformas web mas populares del mundo.
Las 10 plataformas web mas populares del mundo.Las 10 plataformas web mas populares del mundo.
Las 10 plataformas web mas populares del mundo.1811
 

Viewers also liked (9)

Factors influencing Process Design and Process Analysis
Factors influencing Process Design and Process AnalysisFactors influencing Process Design and Process Analysis
Factors influencing Process Design and Process Analysis
 
Role of Government- Technology and Standards, EXIM Policy
Role of Government- Technology and Standards, EXIM PolicyRole of Government- Technology and Standards, EXIM Policy
Role of Government- Technology and Standards, EXIM Policy
 
Kumpulan pengakap kanak
Kumpulan pengakap kanakKumpulan pengakap kanak
Kumpulan pengakap kanak
 
Technology Strategy
Technology StrategyTechnology Strategy
Technology Strategy
 
Informe Academico
Informe AcademicoInforme Academico
Informe Academico
 
Informe académico
Informe académico Informe académico
Informe académico
 
Eviva franchise brand - thinkbag.eu
Eviva franchise brand - thinkbag.euEviva franchise brand - thinkbag.eu
Eviva franchise brand - thinkbag.eu
 
Garis panduan pelaksanaan program pemulihan khas 2008
Garis panduan pelaksanaan program pemulihan khas 2008Garis panduan pelaksanaan program pemulihan khas 2008
Garis panduan pelaksanaan program pemulihan khas 2008
 
Las 10 plataformas web mas populares del mundo.
Las 10 plataformas web mas populares del mundo.Las 10 plataformas web mas populares del mundo.
Las 10 plataformas web mas populares del mundo.
 

Similar to Pres why entity_forms_italo_mairo_drupal_days_milano_8_may_2014

Medi Cube Digital Tools Presentation
Medi Cube Digital Tools PresentationMedi Cube Digital Tools Presentation
Medi Cube Digital Tools PresentationURENIO Research Unit
 
Mainstream development presentation
Mainstream development presentationMainstream development presentation
Mainstream development presentationAnna Vyrostak
 
Drupal Commerce, DrupalCamp Colorado 2010
Drupal Commerce, DrupalCamp Colorado 2010Drupal Commerce, DrupalCamp Colorado 2010
Drupal Commerce, DrupalCamp Colorado 2010Ryan Szrama
 
Import and synchronize Drupal commerce content using Commerce feeds
Import and synchronize Drupal commerce content using Commerce feedsImport and synchronize Drupal commerce content using Commerce feeds
Import and synchronize Drupal commerce content using Commerce feedsPedro Cambra
 
Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014
Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014
Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014Amplexor
 
Mio product suite
Mio product suiteMio product suite
Mio product suiteOnFrame Ltd
 
Let your website do the work: create a viewbook from your online content
Let your website do the work: create a viewbook from your online contentLet your website do the work: create a viewbook from your online content
Let your website do the work: create a viewbook from your online contentMarc-Olivier Ouellet
 
Aamiaisseminaari sosiaalisen median palveluista
Aamiaisseminaari sosiaalisen median palveluistaAamiaisseminaari sosiaalisen median palveluista
Aamiaisseminaari sosiaalisen median palveluistaExove
 
Mamdouh Sami - Resume
Mamdouh Sami - ResumeMamdouh Sami - Resume
Mamdouh Sami - ResumeMamdouh Samy
 
Streamlined CMS - DrupalCon Session
Streamlined CMS - DrupalCon SessionStreamlined CMS - DrupalCon Session
Streamlined CMS - DrupalCon SessionSmile I.T is open
 
Adobe DPS, what's next? How to migrate from an existing digital publishing pl...
Adobe DPS, what's next? How to migrate from an existing digital publishing pl...Adobe DPS, what's next? How to migrate from an existing digital publishing pl...
Adobe DPS, what's next? How to migrate from an existing digital publishing pl...Rakuten Aquafadas
 
HTML5 Up and Running
HTML5 Up and RunningHTML5 Up and Running
HTML5 Up and RunningCodemotion
 
An introduction to Salesforce
An introduction to SalesforceAn introduction to Salesforce
An introduction to Salesforcevaluebound
 

Similar to Pres why entity_forms_italo_mairo_drupal_days_milano_8_may_2014 (20)

Why entity forms?
Why entity forms?Why entity forms?
Why entity forms?
 
Medi Cube Digital Tools Presentation
Medi Cube Digital Tools PresentationMedi Cube Digital Tools Presentation
Medi Cube Digital Tools Presentation
 
Feedbucks
FeedbucksFeedbucks
Feedbucks
 
Mainstream development presentation
Mainstream development presentationMainstream development presentation
Mainstream development presentation
 
Drupal Commerce, DrupalCamp Colorado 2010
Drupal Commerce, DrupalCamp Colorado 2010Drupal Commerce, DrupalCamp Colorado 2010
Drupal Commerce, DrupalCamp Colorado 2010
 
Import and synchronize Drupal commerce content using Commerce feeds
Import and synchronize Drupal commerce content using Commerce feedsImport and synchronize Drupal commerce content using Commerce feeds
Import and synchronize Drupal commerce content using Commerce feeds
 
DMP Online: update 2013
DMP Online: update 2013DMP Online: update 2013
DMP Online: update 2013
 
Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014
Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014
Amplexor Alfresco ECM Solutions Seminar - Alfresco Vision And Roadmap 2014
 
SAP BO Resume
SAP BO ResumeSAP BO Resume
SAP BO Resume
 
Mio product suite
Mio product suiteMio product suite
Mio product suite
 
Let your website do the work: create a viewbook from your online content
Let your website do the work: create a viewbook from your online contentLet your website do the work: create a viewbook from your online content
Let your website do the work: create a viewbook from your online content
 
Aamiaisseminaari sosiaalisen median palveluista
Aamiaisseminaari sosiaalisen median palveluistaAamiaisseminaari sosiaalisen median palveluista
Aamiaisseminaari sosiaalisen median palveluista
 
Ahmed Elsayed Ali
Ahmed Elsayed Ali Ahmed Elsayed Ali
Ahmed Elsayed Ali
 
Mini Project- Personal Multimedia Portfolio
Mini Project- Personal Multimedia PortfolioMini Project- Personal Multimedia Portfolio
Mini Project- Personal Multimedia Portfolio
 
Mamdouh Sami - Resume
Mamdouh Sami - ResumeMamdouh Sami - Resume
Mamdouh Sami - Resume
 
Streamlined CMS - DrupalCon Session
Streamlined CMS - DrupalCon SessionStreamlined CMS - DrupalCon Session
Streamlined CMS - DrupalCon Session
 
Adobe DPS, what's next? How to migrate from an existing digital publishing pl...
Adobe DPS, what's next? How to migrate from an existing digital publishing pl...Adobe DPS, what's next? How to migrate from an existing digital publishing pl...
Adobe DPS, what's next? How to migrate from an existing digital publishing pl...
 
GSOC 2016 mifos
GSOC 2016 mifosGSOC 2016 mifos
GSOC 2016 mifos
 
HTML5 Up and Running
HTML5 Up and RunningHTML5 Up and Running
HTML5 Up and Running
 
An introduction to Salesforce
An introduction to SalesforceAn introduction to Salesforce
An introduction to Salesforce
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Pres why entity_forms_italo_mairo_drupal_days_milano_8_may_2014

  • 1. Milano - 8 Maggio @ 2014 - italomairo.com WHY ENTITY FORMS? The Case Study Management & Subscription of Editorial Plans in the Fiera Milano Media Drupal WebSite www.fieramilanomedia.it
  • 2. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Why Entityforms? Every skilled Drupalis knows Webforms. They have been widely used in the new institutional website of Fiera Milano Media. But the Entityform Module/Approach has been the most effective for the implementation of sophisticated Management (by Internal users) & Subscription (by External users) system of Editorial Plans & Contents. We will describe the logical approach and design, the structure of Ajax EntityForms able to dynamically expose Editorial Content (frontend) and the functional logic of subscriptions interfaces (Views) and their contents’ management (backend).
  • 3. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Entityform module ( http://drupal.org/project/entityform) As its creator, Ted Bowman, further explained on Thu 10/25/2012 in the following article: http://www.sixmiletech.com/content/why-entityforms-case-field-and-entity-based-survey-system-drupal • Entityforms (differently from Webforms) are entities and use standard Drupal fields. • Entityform submissions themselves are field-able entities. This has many advantages including being able to use virtually any field module in Drupal. Now we can easily gather geographic information, reference site content and include media references in your surveys and other forms. • It also allows for simple integration with popular entity-aware modules. With Entityforms thanks to the Entity API module, Rules and Views have complete knowledge of the submission information just as they do with the field values attached to other entities such as Nodes and Users. With Webform, while possible, the same process is not as simple. • Also for programmers the process of interacting with Entityforms is much more familiar.. You can also use great helper classes such as the EntityFieldQuery and Entity Metadata Wrappers to make dealing with these entities much easier.
  • 4. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Fiera Milano Media - www.fieramilanomedia.it Fiera Milano Media is the Fiera Milano group company specializing in the specialized press, in B2B communication, management training and digital services. • 13 trade magazines • 9 web portals • 55 events / trade shows • 120 training courses • 2 B2B databases with more than 700 thousand profiled users • 2 outdoor venues*
  • 5. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Fiera Milano Media website (www.fieramilanomedia.it) has been developed (by me, on behalf of Crismaitalia srl) with Drupal 7 (since 2012) let’s link in its bank-end (local link) ->
  • 6. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Webforms Data Collection in Fiera Milano Media Webforms have been extensively used in the Fiera Milano Media web site to collect different kinds of users subscriptions: http://fieramilanomedianew/it/admin/elenco_webforms • Newsletter Subscription • Free copy request • Digital Magazine Subscription • etc
  • 7. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Each year, in advance, magazines’ editors and the company as a whole define the so-called “editorial plans”: annual programming, month by month numbers of different magazines and the main issues to be treated within them. The Editorial Plan of each Magazine is defined through: Magazine Number / Month > Editorial Contents (1 - n) This schedule is released outwards, so that an external user (typically the company/press agency) may subscribe showing its interest in contributing at editorial level. Fiera Milano Media Editorial Plans Subscriptions
  • 8. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Fiera Milano Media Editorial Plans Subscriptions Previous subscription method (and traditional), very complex: External user: • download pdf > print and fill > send back via email (and scan) or via fax Fiera Milano Media Operator/Editor: • Manual drafting of editorial plans, in pdf format • Acquisition via fax/email of requests/subscriptions • Manual archiving/management of requests, with transcript on spreadsheet or other formats
  • 9. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Fiera Milano Media Editorial Plans Subscriptions New way of Editorial Plan Subscription, via Drupal 7: External user: • Cditorial content selection and details subscription/submit via web Fiera Milano Media Operator/Editor: • Creating and archiving plans and editorial content, year by year, via the CMS backend • Subscriptions and external user accounts management & storage, year by year, via the CMS backend
  • 10. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com New Editorial Plans Subscriptions Approach & Analysis We had the following needs: • create the relational Editorial Plans Structure (Content Types in Drupal) and make the internal users able to input,create & manage these contents via CMS backend • create Forms able to expose dynamic and relational contents (Entity Referenced) of the Editorial Plans Structure and get subscriptions from to external users • manage and expose (with Views or whatever) Subcriptions and sub details (like Entities) strictly related to the Editorial Plans Contents (Entity Referenced) Why Entity Forms above Webforms ? All those task are: • very hard (probably impossibile …) to be achieved with the Webform Module • easy - logical (and quite natural) to be achieved with Entity Form Module
  • 11. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Creation & Management of Editorial Plans Structure Creation of Drupal Content Types: Drupal implementation Magazine Editorial Plan (magazine, number, month year, etc) Editorial Contents (Title, Section, Description, etc.) 1 n (as entity references) Creation of Drupal Management Relational Logics & Views, throughout specific administration links/hook_menus, administration & management views Example Links/Views (local links): http://fieramilanomedianew/it/elenco-piani-editoriali http://fieramilanomedianew/it/content/energie-ambiente-oggi-n-16-novembre-2014 This allows the Creation of an endless and multilingual Archive of Editorial Plans for every Magazine its monthly issue/number and its specific content types (title, section description) for every year
  • 12. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com Creation of Entity-Form for Editorial Plans Subscriptions Drupal implementation The Entity Form for Editorial Plans Subscriptions is created as a Field- able Drupal Entity. The Entity Form Module makes doing all this very easy, and very similar to the creation of a Drupal Content Type. Entity Forms Fields are just Drupal Fields. In our case besides the usual and constant/text fields for collecting users informations (Name, Company, Email, Address, etc.) we were able to expose (and collect) specific and dynamic informations thorough entity reference fields to the Editorial Plans’ specific Content Types. is the implemented Entity Form structure (local link): //fieramilanomedianew/admin/structure/entityform_types/manage/seleziona_piano_editoriale/
  • 13. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com In our specific case we had to expose dynamic content (specific Editorial Contents) regarding the specific chosen Year & Magazine Editorial, in a sort of dependent Drop Down Menu Logic. We needed to hardly ‘alter’ the Entity Form to achieve this, injecting a lot of code to implement Ajax Behaviors, in the Drupal compliant way > AJAX Forms in Drupal 7 The front end of the Entity-Form for Editorial Plans Subscriptions Our Drupal implementation with Ajax Forms Here is our live Entity Form result (external link): www.fieramilanomedia.it/sottoscrivi_piani_editoriali … & Tableselect & JQuery
  • 14. #DrupalDaysIT Milano - 8 Maggio @ 2014 - italomairo.com The collection & management of Editorial Plans Subscriptions Entity Forms Subscriptions management with Views and Rules modules• Entity Form Subscriptions are Drupal Entities (such as Nodes are) easily managed and exposed with Fields Displays Layouts (Full Content, Teaser, etc) and Drupal Views. • Once submitted by the Form, the data keeps the relation with the Entities (Editorial Plans Content Types) referenced in the form, so that we are able to extend of Editorial Plans Content Types’s Views with the related Subscriptions collected by the Entity Form (this is tricky with Webform Subscriptions > needs: webform_mysql_views module) • Besides that the Entity Form and each Entity Form Subscription are exposed to the Rules Module (through its Entityforms Notifications module, based on the Entity Rules one), so that “events” might be triggered over Entity Forms Submissions and their data.• We took great advantage of all this in the Fiera Milano Media Editorial Plans Management System … in this way > (local link)
  • 15. Milano - 8 Maggio @ 2014 - italomairo.com ITALO MAIRO Engineer & Drupal Delevoper Personal Web Site: www.italomairo.com Email: info@italomairo.com Username on drupal.org: itamair LinkedIn: http://it.linkedin.com/in/italomairo/ dealing with Digital Communication, Web 2.0 & Web Gis 2.0 Opensource Applications Thank you …