Blogs

EMAIL: info@example.com

Category: guide

  • Sooper Drupal Themes: What is Drupal used for?

    What is Drupal user for?

    As the world goes digital, marketers and entrepreneurs are searching for ways to increase their online presence.  One of the best ways to go about this is having a website that stands out from the crowd.  After all, it is the first thing that visitors notice about your brand before doing business with you. 

    Even though you can never run out of options whenever you want to build and maintain websites, not many outdo Drupal.  Open-source software made available under the GNU Public License, Drupal will come in handy when looking forward to building and maintaining your website globally.

    There is a huge chance you have used Drupal before without your knowledge. That is because many top businesses, Fortune 500 companies, nonprofits, and government organizations leverage Drupal.  But before you join the bandwagon and give it a try, it is in your best interest that you know what Drupal is and why you should give it a try. 

    Fortunately, that is what this guide will help you unearth today. Continue reading to find out more about Drupal and why you should consider giving it a try!

    What is Drupal?

    First things first, what is Drupal?  This is one of the questions you need to ask yourself to understand the system and unleash its potential.  In a nutshell, Drupal is a free and Open Source Content Management System (CMS) that allows users to create and manage content over one or multiple websites. 

    Being open-source software, anyone can download Drupal, work on it, and share it with others hassle-free.  Furthermore, it boasts of numerous inherent benefits including, accountability, security, and flexibility. No wonder it is among the most popular CMS’ currently available at your disposal.

    You might wonder what makes Drupal way more superior compared to other content management systems out there.  In a nutshell, many users find Drupal easy to use when creating a more customized website, unlike other free CMS systems like WordPress.  Better, Drupal tends to be versatile, giving you the freedom you need to build and maintain your website.

    What makes Drupal worth leveraging as opposed to other CMS’ is that almost anyone can contribute to the site with no HTML experience. Things are not any different for editors, writers, and website administrators without any coding experience.  That is possible thanks to the What You See is What You Get (WYSIWYG) feature that enables writing, editing, and adding content without the hassle. 

    Why Drupal Shines as CMS

    Now that you know what it entails, you need to understand what is Drupal used for and what makes it shine as a CMS.  With Drupal, you no longer have to go through a lot to create and publish your content. That’s because it allows users the chance of pulling this off without the hassle. 

    But how is this even possible in the first place?  The CMS platform is popular for accommodating unlimited content types.  Some of the most popular ones include media and text available in highly customizable forms.  To ensure users have a remarkable digital experience, Drupal retrieves, filters, and presents the content in powerful, but simple-to-use tools. 

    Furthermore, Drupal contains intuitive content creation tools and powerful in-place editing tools that ensure you get things done without the hassle. To give you the tip of the iceberg, Drupal is full of features and highly customizable, unlike other CMS systems out there.  Either way, you should be aware of what is Drupal used for before you finally give it a try.  

    Top Advantages of Drupal over Other Content Management Systems


    Before we dive deeper into what does Drupal do, it is essential that you know about the advantages it boasts over other Content Management Systems. After all, this is the only way you stand a good chance of reaping maximum benefits from the system.  With that in mind, below are some of the most notable benefits Drupal brings to your business or organization.

    Flexible Integration  

    One of the biggest selling points of Drupal is the ability to help users create and manage a host of content types.  Some of the most popular content types include statistics, podcasts, blogs, videos, and many more. For this reason, you will have an easy ride when looking forward to creating content-rich websites for different markets such as commerce and media. 

    Security 

    CMS security is something that you can’t risk skimping at any given time. Drupal does not disappoint in this regard as it offers unshakable security to all users.  To guarantee maximum user satisfaction, Drupal is highly secure and provides regular patches.  That explains why it works wonders for enterprise clients.

    However, you need to implement and maintain it properly to serve you as the most secure CMS. The good news is that Drupal happens to have the best security team you can count on, not forgetting advanced hosting providers.  For this reason, it is common to come across large organizations that leverage Drupal as the main CMS for powering their web applications or websites. 

    Scalability 

    Scalability is undeniably one of the tremendous strengths of Drupal over other Content Management Systems out there. As long as you have an idea of what does Drupal do, you will have an easy time growing the number of your web pages without the need to change anything.  Better, it serves you perfectly whenever you want to alternate between periods of high traffic spikes. 
    Current Version Features 

    Drupal 9 provides a host of features that make it way easier to use than was the case with its predecessors.  For instance, users can now take advantage of the new field locations and new fields.  If this is not enough, it relies on the CKeditor to make posting content similar to editing a document on Word.  Other popular features that will make you fall in love with Drupal 9 include the Quick Edit feature, helpful Tour button, and additional four key modules. 

    Ways Marketers Can Leverage Drupal

    Drupal 9 has undeniably turned into a marketer’s dream thanks to the new features and core enhancements it offers. And this doesn’t come as a surprise as it allows marketers the chance of personalizing content based on their target audience, device type, and language.  Keep in mind content is king when looking forward to improving SEO, driving organic traffic to your website, and creating leads.

    If you have done your homework on what is Drupal used for, you probably know that it draws on the innovations of thousands of marketers, designers, and developers.  With that in mind, below are some of the ways marketers can leverage Drupal to their advantage.

    Mobile Responsiveness  

    The responsiveness of your website or web applications on mobile devices speaks volumes on whether or not you’ll attain your digital marketing goals.  Not only does it impact Google rankings, but it also helps drive immense traffic to your website. That does not come as a surprise since more and more people now use smartphones for almost everything in their personal lives. 


    Fortunately, this is something that won’t give you sleepless nights since Drupal takes mobile seriously.  You might be wondering what does Drupal do when it comes to mobile responsiveness?  In a nutshell, Drupal comes with built-in themes that are mobile responsive together with web services built into the core. Thanks to these new features, users can access content from any device of choice. 

    Creative Freedom 

    Business competition will always exist regardless of the industry you choose.  To win over a huge share of the market and drive business growth, you must make an effort to stand out from the crowd.  And this not only implies how you do business, but it also refers to the way you run your marketing campaigns.

    With Drupal, you won’t worry about giving your competition a run for their money.  That is because it seamlessly incorporates the existing marketing and sales technologies of your venture.  That’s possible since the cutting-edge Drupal modules give your marketing team creative freedom to handle tasks at their desired pace and convenience. 

    As long as you have a good understanding of Drupal’s architecture, you can launch your website with ease when compared to other CMS’ out there.  That’s what your marketing team needs to lay the foundation of a strong digital marketing strategy. Before you know it, your business is a force to be reckoned with in the industry.

    Makes Your Website Faster 

    The vast majority of businesses lose visitors to their website due to speed. Keep in mind many web users expect your website to load in 2 seconds. If your website takes longer than this to load, be rest assured you will lose conversions from visitors to your website. In short, faster pages make money for your business. 

    That’s where Drupal proves beneficial to marketers as it makes websites faster. Of course, this is without the need to bring in a lot of technical expertise.  If you only know what is Drupal but have no idea about its working mechanism, then it might prove difficult to understand this. 

    To help clear some of the doubts in your mind, Drupal makes use of Cache Tags to make caching way more efficient. Furthermore, it allows for context-based caching thanks to its Cache Content API feature.  For this reason, your website will load faster while making sure visitors only make do with the latest version of your site. 

    Cost of Drupal

    Now that you know what does Drupal do and the numerous benefits it will bring to your organization, it is time to give it a try.  But before you make the switch, it is also essential that you find out the average cost of the structure. After all, you don’t want to take a toll on your business finances just because you want to use Drupal.

    The good news is that you don’t have to break the bank to take advantage of Drupal. Either way, it depends on the type and size of the business you’re running.  For large enterprise sites, you will have to spend way more when compared to medium-sized websites.  Remember, the average cost structure of a Drupal build include strategy, design, and implementation. 


    The Bottom Line 


    There you have it; some of the things that touch on what is Drupal used for.  Keep in mind there is more to Drupal than meets the eye. That’s why you should never make the mistake of creating a Drupal website without having the slightest idea of what it entails. Most business leaders and marketers who do that end up regretting their decision in the long run. 

    But what if you’re struggling to build pages on your Drupal Site? In this case, there is nothing to worry about since you’re not alone. Most marketers have no idea on whether to wait for a developer to help them out or try to build with Drupal single-handedly. Luckily, you don’t have to assign that webpage to a busy designer since some service providers allow users to unleash their creativity instantly.

    Before you build whatever you want, ensure you know what is Drupal and how it can help change your company or organization for the better. That way, you can build sites faster and easier without leaving any room for mistakes. So, what are you waiting for before you finally leverage Drupal!
     

    Continue reading

  • Zyxware Technologies: Complete Guide to Drupal Security Modules 2021

    Drupal, a market leader in open source CMS offers flexible architecture, fast implementation, scalability, and a host of other features. Here is a list of top Drupal 9 Security Modules

    Continue reading

  • Redfin Solutions: Accessible Website Design and Why It Matters

    Is your website WCAG compliant? The Web Content Accessibility Guideline (WCAG) is an internationally recognized set of guidelines that can help ensure your website is adhering to accessibility best practices. After all, it’s important that the people who view your website can complete tasks that align with your organization’s goals.

    Continue reading

  • Gábor Hojtsy: Seven days to go until Drupal 8 EOL: start using Composer!

    Gábor Hojtsy: Seven days to go until Drupal 8 EOL: start using Composer!

    With seven days to go until Drupal 8’s end of life (on November 2, 2021), now is a good time to take stock of your Drupal 8 sites’ modules. Use Upgrade Status to check for environment and module compatibility with Drupal 9.

    Various people in the Upgrade Status issue queue are concerned about the module requiring Composer though. While Drupal 8 or 9 do not require Composer to work, getting any extension installed on your site that depends on third party components is a sizeable challenge without Composer. With Drupal 8 core dependent on various third party components, it was inevitable that a dependency manager will be needed to build Drupal sites. Upgrade Status itself does require various third party components to check for deprecated API uses and even to locate your Drupal site root. So you cannot avoid using Composer to even check for Drupal 9 compatibility.

    If you are not using Composer yet, the best case scenario is you use this opportunity to convert your Drupal site to a Composer based solution. If you started your Drupal 8 site from 8.8.0 or later, the file structure is already ready for Composer. For Drupal sites started on prior versions, the move is more work, as explained in the guide.

    In case you are not ready to convert your site to Composer yet, but still want to get a Drupal 9 upgrade readiness check, you need to set up a separate, parallel site with Composer just for this purpose. Your existing site content or configuration does not matter for Upgrade Status checks, you only need to replicate the enabled projects on the site you use.

    Install Composer first. It is best to use Composer 2 because it will be much faster and will use significantly less memory, but you should have no problem installing Upgrade Status with Composer 1 either. After that, run these commands to create a new Drupal site from Composer, add core developer dependencies and add this module as a requirement.


    $ composer create-project 'drupal/recommended-project:~8.9' d9readiness
    $ cd d9readiness
    $ composer show drupal/core | grep versions
    $ composer require --dev drupal/core-dev:[copy version above]
    $ composer require drupal/upgrade_status


    Then, copy all of your custom and contributed projects to the web/modules, web/themes, and web/profiles folders. (You could use Composer to add at least the contributed ones, but since you are not planning to use this build for anything else, this will be the quickest way). Finally, visit /admin/reports/upgrade-status, and run the report.

    This should help you get a summary of where your site is at. I would suggest you plan for converting to a composer based setup and use composer for dependency management going forward. You will only need composer on your development environment and can still use your usual workflow to push your fully built codebase from there.

    Continue reading

  • OpenSense Labs: Drupal 8 End-of-life: FAQs

    OpenSense Labs: Drupal 8 End-of-life: FAQs

    Drupal 8 End-of-life: FAQs Shankar Fri, 10/22/2021 – 11:15

    Neil Young once famously sang, “It’s better to burn out than to fade away”, and it still reverberates loud enough in our ears when we think of an end, end of something colossal. Drupal 8 is less than a month away from hanging up the boots. Drupal 8, by no stretch of imagination, has faded away though. Rather it has traversed an amazing journey and left behind a legacy that will be impactful for the future of Drupal 9 and later versions.

    Like all great things, Drupal 8’s end of life date is nearing. Basically, when a version of Drupal reaches its end of life, the Drupal Community stops all the operations around it, that is, simply put, stops working on it and doesn’t provide free support. And, the core development comes to a halt where no new features are added and no bugs get fixed. So, we definitely have more than just a few questions to ponder over and make business critical decisions. Let’s jump on them right away.

    November 2, 2021: Farewell Drupal 8!

    On this day, Drupal 8 will be marked an end of life product before the release of Drupal 9.3.0. Drupal 8’s largest third party dependency is Symfony 3 which is going to be termed end of life in November 2021. Moving to Symfony 4 is not an option here since that would break the backward compatibility with previous versions of Drupal 8.

    More on the reasoning behind Drupal 9’s release schedule here in the official documentation.

    Why is Drupal 8 end of life before Drupal 7?

    Simply put, upgrading from Drupal 8 to 9 is a cakewalk in comparison to upgrading from Drupal 7 to 8/9. Therefore, Drupal 7 end of life has been extended and will get community-based security coverage till November 28, 2022 so that Drupal 7 site owners will get ample amount of time to upgrade. Drupal 7 will also get vendor extended support till November 2025.

    What if I don’t upgrade before the end of life date?

    Your website will still function normally, but only for a certain period of time. With Drupal Community no longer releasing security updates for Drupal 8, and the symfony communities not updating the code your site depends upon, something or the other will break after a while and there will definitely be security vulnerabilities discovered.

    After Drupal 8 end-of-life, will we get an extension to upgrade to Drupal 9?

    That’s a big NO. You will simply not get a grace period. You travel to a place, make memories and everything seems like a fairytale until you need to bid goodbyes. Like everything else in life, you have to confront the end of a beautiful time spent and move on to the next chapter.

    Is there any vendor extended support for Drupal 8?

    There is no vendor extended support for Drupal 8 after its end of life.

    Why upgrade to Drupal 9?

    If you are still on Drupal 8, upgrade to Drupal 9.2 before November 2, 2021 to keep your website safe and secure as the Drupal 9.1 security coverage will end right after the Drupal 8 end of life. More on this ultimate guide to Drupal 9.

    What’s the difference between upgrading from Drupal 7 to 8/9 and Drupal 8 to 9?

    While previous major version upgrades like Drupal 7 to 8 had a bigger architectural change, migrating from Drupal 8 to 9 is more similar to a minor version of Drupal core except for the removal of long-planned deprecations.

    How are Drupal 8 and Drupal 9 different?

    While using the admin UI or updating content, you won’t see any difference between Drupal 8.9 and Drupal 9.0 as they have the same features. The underlying technology stack that Drupal relies upon has been updated thereby making your site more safe and secure.

    How to upgrade from Drupal 8 to Drupal 9?

    Migrating from Drupal 8 to 9 is only a matter of update.php if your codebase is not using deprecated APIs anymore. Drupal 9 upgrade tools can further help in recognising and solving the deprecated APIs in your codebase. Working on Drupal.org with the maintainers of contributed projects and themes can be helpful to make those projects Drupal 9 compatible.

    Learn more on Drupal 9 upgrade here:

    How long do we have before Drupal 9 reaches the end of life?

    Symfony 4, which Drupal 9 currently uses, will reach its end of life in November 2023, and that will spell the end of life for Drupal 9 too. With the new minor release schedule in place, upgrades to new major releases of Drupal isn’t a hurdle anymore. Much like Drupal 8 to 9 migration, Drupal 9 to 10 and future major version upgrades will continue to be a no-big-deal affair.

    'farewell drupal 8, end of an era' written in the centre to depict drupal 8 end of life story
    Off

    Continue reading

  • OpenSense Labs: Drupal accessibility modules: The essentials

    OpenSense Labs: Drupal accessibility modules: The essentials

    Drupal accessibility modules: The essentials Maitreayee Bora Mon, 10/18/2021 – 16:52

    Web accessibility is always prioritized by Drupal to provide its potential users a decent user-experience. Without any fail, Drupal has succeeded in providing an extensive range of modules that can be downloaded according to user convenience. This platform has consistently put efforts in bringing significant improvements in all its versions when it comes to accessibility modules. So, with this article, I will try to give you an insight of some of the recently refreshed or newly released Drupal modules that will efficiently help you in your various challenging projects. You will also get the answer to a common question that often comes to your mind, “Why Drupal for accessibility”?

    To begin with, for your better understanding, I am describing the Drupal web accessibility modules by categorizing them based on their different functionalities. 

    Illustration diagram describing drupal logo and accessibility symbol


    Accessibility Auditing

    Under this category Drupal has a sufficient number of modules that help in offering you an enhanced accessibility audit for your ambitious projects.

    Illustration diagram describing drupal accessibility auditing modules


    Editoria11y Accessibility Checker

    Editoria11y can be termed as a user-friendly checker that provides support to the content authors and editors. Compatible with Drupal 9, it also looks after the three most vital needs of the content authors. 

    • It makes sure that the spellcheck is constantly running and rectifies the content mistakes when it occurs.
    • It makes sure that no mistakes take place in terms of Views, Layout Builder, Media and other modules, as it runs in context with them and it’s checkers are also constantly on. 
    • It prioritizes content issues by fixing them, also ensuring that the page editors do not omit any issue that is easily rectifiable.

    Monsido Tools

    Monsido helps in smooth optimization of your website, also focusing on web governance, quality assurance, and accessibility compliance. Since accessibility laws differ from country and sector, this module helps in validating your site against the international standard, the WCAG 2.1. This module which is compatible with Drupal 9 provides your site with the scanning facility to identify any difficulties that might further hamper accessibility, and also enhances your search engine rankings by recognizing SEO errors. 

    Siteimprove

    Known as the most comprehensive cloud-based Digital Presence Optimization (DPO) software, Siteimprove enables you in creating high quality content, editing efficiently, driving better traffic, measuring digital performance and working towards regulatory compliance. Siteimprove plugins help in filling the gap between Drupal and the Siteimprove Intelligence Platform, also empowering contributors to test, fix and optimize their work without any hurdles. This module has Drupal 9 compatibility which is an added advantage.

    CKEditor Accessibility Auditor

    CKEditor Accessibility Auditor is a module that has Drupal 9 compatibility and it functions by clicking a button which runs the HTML_CodeSniffer Accessibility Auditor on the source code of the current content. With this module, you get to access a detailed view on any type of specific error, convenient success criteria and suggestions of techniques, and also upon what exactly triggered the error, once you run the auditor. 

    CKEditor Accessibility Checker

    CKEditor Accessibility Checker helps in enabling the Accessibility Checker plugin from CKEditor.com in your WYSIWYG. You can inspect the accessibility level of content that is generated in CKEditor, and resolve any accessibility concerns at the earliest. 

    Sitemorse Lite – a11y Audit

    Integrating Drupal with the inCMS service, this module enables to run the on-page accessibility audits and view results from the Drupal Administration interface. Sitemorse along with Ixis bring you a Drupal connector that provides the facility of checking your content quality before it gets published. Additionally, this module is compatible with Drupal 9 as well. With this module, the content editors can have more command over their content by making it more SEO friendly, accessible and resolving any issues that adversely affect the customer experience. 

    Accessibility

    The Accessibility module is a great support for the content authors and theme developers as it enables them to make their websites accessible to the users regardless of their capabilities and the technologies they prefer. It offers a set of available Accessibility tests that helps in scrutinizing the content for any accessibility errors that are published by the editors. Since this module uses the QUAIL jQuery plugin, it is not covered by Drupal’s security advisory policy.

    Accessibility Scanner

    The Accessibility Scanner module enables you to use Drupal along with Axe toolset to opt for web accessibility scans on local and remote websites within the Drupal admin interface. It is compatible with Drupal 9 but isn’t covered by Drupal’s security advisory policy.

    USWDS Ckeditor Integration

    The USWDS library has become an essential requirement for government websites. This module majorly focuses on making a user to smoothly utilize and inject USWDS classes and components into the ckeditor without even opening the source event for a single time. The USWDS Ckeditor Integration module is compatible with Drupal 9.

    Quail API

    This module is a complete rework of parts of the Drupal 6 project known as “Accessible Content”. It offers an API for the 3rd-party Quail Library to Drupal modules. Quail API has Drupal 8 alpha version as well.

    Site builders

    This is the second category under which Drupal offers exclusive modules to its users which enable them to design and create functional sites without the need of manual code editing.

    Illustration diagram describing drupal site builders modules


    Automatic Alternative Text

    Automatic Alternative Text module allows you to automatically generate an image caption, while none of the Alternative Text has been given by the users. It is made possible by using the Microsoft Azure Cognitive Services API. This module offers one or even more descriptions of an image that are ordered as per their confidence. Although the default descriptions are in English, there is an option of translating them into other languages. This module is also compatible with Drupal 9. 

    iFrame Title Filter

    To comply with WCAG guidelines, the iFrame Title Filter helps in ensuring that embedded tags include a title attribute. When there is no title attribute available in an iFrame, this particular filter parses the src attribute’s URL and also adds a title attribute which reads “Embedded content from [url]”. There are many Drupal filters that generate iframes, for example, media, video_filter but their compliance with iFrame accessibility needs differs. It is compatible with Drupal 9.

    Text field formatter

    Text field formatter module which is compatible with Drupal 9 can be termed as the extension of the plain text formatter. The main concept of creating this module came from another similar module known as String field formatter. The main features of Text field formatter include: 

    • Adding additional wrapper to the text field.
    • Adding classes to this wrapper.
    • Adding any of the attributes to this wrapper and 
    • Ability to override a link label (tokens are supported).

    This module is compatible with Linked Field and Layout Builder. 

    Field Display Kit

    The Field Display Kit module enables fine tune rendering of any field in the system. The main features of this module consist of:

    • Independently changing title (label) of the field in every display (identified as view mode).
    • Ability to change the title (label) element tag, along with adding classes and some other attributes to the wrapper.
    • Ability to change the wrapper element of the field, and also add classes and other attributes to the wrapper.
    • Ability to change the wrapper element of every individual field item, and also add classes and other attributes to the wrapper and
    • Ability to link any field item. Therefore, to build the link, tokens like [node:url] can be used. 

    When authorized, this module helps in facilitating configurations for each field on each entity of your site. It works with fields which are normally displayed or with Layout Builder as well. It is compatible with Drupal 9 but isn’t covered under Drupal’s security advisory policy.

    Block ARIA Landmark Roles

    Taking inspiration from Block class, the Block ARIA Landmark Roles module prioritizes on adding additional elements to the block configuration forms that helps users to assign a ARIA landmark role and/or ARIA labels to a block. It is compatible with Drupal 9.

    A11Y Paragraphs Tabs

    With the A11Y Paragraphs Tabs module, you get the authority to smoothly add tabs through paragraphs to your content which complies with the standards of Accessibility (A11Y). The paragraphs which are already configured, to provide you tabs on desktop and an accordion on mobile are added by this module. There is no need to configure anything from your end. The three new paragraphs created by this module consist of:

    • A11Y Paragraphs Tabs Wrapper
    • A11Y Paragraphs Tabs Panel
    • A11Y Paragraphs Tabs Content

    The wrapper (A11Y Paragraphs Tabs Wrapper) consists of the tab panel (A11Y Paragraphs Tabs Panel) that enables you to add tabs according to your convenience. On the other hand, the tabs panel (A11Y Paragraphs Tabs Panel) consists of a paragraph in which you are able to add the paragraphs you would prefer to use inside the tab panel. It is compatible with Drupal 9.

    Decorative Image Widget

    The Decorative Image Widget proves to be a solution for the site builders that prefers the option of leaving an image’s alternative text blank explicit (by checking a new “Decorative” checkbox) instead of implicit (by simply leaving the alt text field blank). To put it simply, the editors are made to affirm the reason behind leaving alt text empty, which is because of the decorative image that needs to be hidden from the screen readers. The primary features of this module consist of: 

    • Providing an option of a “Decorative” checkbox to image widgets that has to be checked if the user chooses to leave the alt text empty.
    • Forcing users to focus upon alternative text instead of leaving it blank. 
    • Working with any existing image widget which extends from core’s default. For example, it can be used with the default image widget or the one offered by Image Widget Crop.
    • Lastly, there is no need for any kind of data model changes, since the position of the state of the “Decorative” checkbox is completely inferred from the value of the alt text.

    This module is compatible with Drupal 9 but isn’t covered under Drupal’s security advisory policy.

    A11Y: Form helpers

    A11Y: Form helpers module helps you to make forms more accessible in Drupal. Following are the modules features: 

    • You do not need any HTML5 validation.
    • You can include readable inline error messages for screen readers.
    • You can also put in pre-filled attributes to certain form elements.

    This module is compatible with Drupal 9 but isn’t covered under Drupal’s security advisory policy.

    CKEditor Abbreviation

    CKEditor Abbreviation module helps you in adding a button to CKEditor for inserting and editing abbreviations. This module also has an added benefit i.e., the availability of a link to edit the abbreviation. It is compatible with Drupal 9.

    Node Link Report

    Since links within content can take various forms in WYSIWYG, such as link fields, free text, entity reference fields and many more. It might be a difficult task to ensure that links are not broken in your content. But the Node Link Report module offers you a block which displays a link report also including all the links in the rendered note. It enables you to display the links on node view, node edit, and node preview as well. Also, it is compatible with Drupal 9.

    Devel Accessibility

    The Devel Accessibility module offers support to the module developers by providing them an API for aria-live region update announcements. It is compatible with Drupal 9.

    CKEditor Balloon Panel

    CKEditor Balloon Panel module allows the Ballon Panel plugin from CKEditor.com in your WYSIWYG editor. The Balloon Panel plugin offers the capacity for creating a floating, balloon-shaped container that is capable enough of presenting content at the preferred position in the document. The CKEditor Accessibility Checker uses this module to create the floating panels with accessibility tips. 

    Developers

    Under the third category, Drupal provides significant modules to the developers that helps in enhancing their experience in building well-designed and user-friendly websites. 

    Illustration diagram describing drupal developers modules


    WCAG Drawer

    The WCAG Drawer module is compatible with Drupal 9 and has Drupal 8 alpha version. Although it isn’t covered under Drupal’s security advisory policy, you can take the benefit of utilizing the framework offered by this module in order to create easily accessible drawers.

    Color Swatch

    Color Swatch module is considered as an alternative to the Drupal Core color module and color scheme. This module prioritizes supplying a css with the preferred colors. And it is also said to be flexible as the generated css isn’t compiled in the form of a file but rather added as an inline css. Additionally, the css operates via rendering of a twig file with a theme function that provides more control from preprocess functions, and also twig template overrides on a theme level. This module is compatible with Drupal 9 but isn’t covered under Drupal’s security advisory policy.

    End-users

    Under this category, the end-users of Drupal are offered with some unique modules that enable them to witness an excellent experience while building their respective projects.

    Illustration diagram describing drupal end users modules


    Accessibility Enabler

    People with any kind of disability can easily consume and navigate sites in a very effective way with Accessibility Enabler. It also meets the differently abled population in using the preferred content, enhancing accessibility, and increasing the sales and conversation. It helps in making your site more compliant with accessibility regulations of your country, preventing lawsuits and heavy penalties. You get an opportunity to build your brand among your customers, and also exhibit social responsibility by increasing accessibility via this module. The key features includes:

    • Availing accessibility tools for each and every disability.
    • Providing intelligent design for mobile.
    • Availing accessibility presets for each persona.
    • Option to put accessibility triggers anywhere.
    • Ability to change accessibility trigger button position.
    • Facility of making your own custom trigger.
    • Multiple color theme options.
    • Freedom to express your commitment towards accessibility.
    • Enhancing your site navigation to the best of its ability and
    • Ability to return to the top of the page easily.

    This module isn’t covered under Drupal’s security advisory policy.

    Civic Accessibility Toolbar

    Civic Accessibility Toolbar facilitates a block with accessibility utilities to enable end-users switch theme versions with higher color contrast and also change font size of text. You can create a block with both or one of the utilities to allow visually impaired users access Drupal sites without any difficulty. It is further tested with Bartik, Garland, Zen Starterkit, Stark, Oliveiro themes and is compatible with Drupal 9.

    Text Size

    For a better web accessibility, the text size module exhibits an adjustable text size changer or a zoom function on the page. Although, in Firefox 3, the zoom function is comparable to the text zoom function, this module also resizes vector images, variable pixel images and variable media objects. 

    Text Resize

    The Text Resize module provides a great support for the visually impaired people by increasing the accessibility of the pages with necessary text size adjustments. By using jQuery and the jQuery Cookie plugin, this module creates a Drupal block which can be themed. Moreover, it gives the option to resize  images as well. Also, never forget to enable the “Text Resize” block of your theme to help the block appear.

    High contrast

    With the High contrast module, you are able to smoothly switch the active theme and a high contrast version of it. You will only need to press the tab on the keyboard after installing the module and will then get the high contrast pop-up link on the screen. It is compatible with Drupal 9.

    Voice Search Redirect

    The Voice Search Redirect module enables you to redirect on any page with the help of voice command. And there is no need to click manually on the menu. This module isn’t covered under Drupal’s security advisory policy.

    Fluidproject UI Options

    Fluidproject UI Options offers accessibility options to its users to modify a page’s font size, font style, link style, line height and contrast using cookies. But there are some limitations such as:

    • Internationalization is done through JSON files within the module folder instead of the Drupal interface. 
    • Although this module is tested successfully with the most popular themes, some of the themes like Bootstrap require additional CSS for font-sizing or line heights to work. 
    • The contrast settings do not prefer working for elements that use CSS gradients.

     It is compatible with Drupal 9.

    Style Switcher

    The Style Switcher module empowers themers to create themes with alternate stylesheets, and site builders to add other alternate stylesheets in the admin section. It provides all those styles to site visitors in the form of a list which consist of links in a block. This helps the site visitors to select the style of the site they prefer. Cookies are being used by this module so that when people return to the site or even visit a different page they still get their preferred style. It is compatible with Drupal 9.

    Generic HTML validations

    The modules under this category enhance the overall accessibility for screen readers and other non-browser devices.

    Illustration diagram describing drupal generic HTML validations


    htmLawed

    Along with accessibility, the htmLawed module also provides you security. This module restricts and purifies HTML code for compliance with the site administrator policy and standards and for security by using the htmLawed PHP library. In addition to that, you are allowed to autocorrect and beautify HTML markup, restrict HTML elements, attributes and URL protocols in the input. It helps in balancing tags and ensuring that HTML elements are well nested, , transforms deprecated tags and attributes, and many more. It is compatible with Drupal 9.

    HTML Purifier

    Similar to the htmLawed module, the HTMLPurifier library is a great mix of both accessibility and security. Along with removing malicious code from your site, it also ensures your site with W3C standards compliance. Since this module works perfectly with WYSIWYG editors, it proves to be a great fit for Drupal as well. Also, options like custom fonts, tables, inline styling, and many more are offered by this module. It is compatible with Drupal 9.

    Now, what do you think, is Drupal accessible? Undoubtedly, YES, as all the above Drupal accessibility modules prove so. 

    Learn more about accessibility and what Drupal has to offer:

    Conclusion

    With the above mentioned Drupal module list, I tried providing you the essential modules that can efficiently help your developers, content editors and site visitors with better web accessibility. So, now it’s completely up to you how you choose the right modules that fits your project needs and expectations. Without waiting further, take your pick!

    blog banner
    An image with an accessibility symbol
    blog image
    A window image
    Blog Type
    Is it a good read ?
    Off

    Continue reading

  • Specbee: A Deep Dive into the Webform Module for Drupal 8/9

    Specbee: A Deep Dive into the Webform Module for Drupal 8/9

    A Deep Dive into the Webform Module for Drupal 8/9 Ankitha 12 Oct, 2021

    The Webform module is the most powerful and flexible form builder and submission manager for Drupal. It gives  site builders the power to easily create complex forms instantly. It comes with a certain level of default settings, also letting you customize it as per your requirements.

    Check out this amazing blog – Drupal 8 Webform Module – A Brief Tutorial to help you get started with the Webform module in your Drupal 8/9 site. This will help you understand the basics easily. 

    The Webform module ships with a lot of interesting features and I’d like to mention a few here.

    Web Form Module

    Webform Features

    1. Altering form & elements

    Any form, element and its related settings can be altered by using their respective hooks. Below are few hooks that are available to use and you can find more in the webform.api.php file:

    • Form hooks

            ◦ hook_webform_submission_form_alter()    
            ◦ Perform alterations before a webform submission form is rendered.

    • Element hooks

            ◦ hook_webform_element_alter()
            ◦ Alter webform elements.

    • Option hooks

            ◦ hook_webform_options_alter()
            ◦ Alter webform options.

    • Handler hooks

            ◦ hook_webform_handler_invoke_alter()
            ◦ Act on a webform handler when a method is invoked.

    • more hooks…

            ◦ hook_webform_access_rules_alter() etc..
            ◦ Alter list of access rules that should be managed on per webform level.

    2. YAML Source

    The Webform module started as a YAML Form module, which allowed people to build forms by writing YAML markup. At some point, the YAML Form module started to have UI and became the Webform module for Drupal 8.

    • YAML provides a simple & easy to learn markup language for building & bulk editing a webform’s elements.
    • The (View) Source page allows developers to edit a webform’s render array using YAML markup. Developers can use the (View) Source page to hand-code webforms to alter a webform’s labels quickly, cut-n-paste multiple elements, reorder elements, as well as add custom properties and markup to elements.
    • Here’s an example of a Contact form and its corresponding YAML source code:

     

    Contact Form with Drag and Drop UI

    A Contact form with drag-n-drop UI

     

    YAML Source Code

    The Contact form’s YAML source code

    3. Conditional fields

    Webform lets you add conditional logic to your elements within your form. Let us consider a small example, wherein we need to conditionally handle the visibility of elements based on the value of another element within the form.

    Here’s an example form with two-step fields, STEP 1 (Radios element) with options ‘Email’ and ‘Mobile Number’. STEP 2 (Fieldset) with two elements, ‘Email’ and ‘Mobile Number’.

    Build Page

    Form Build page

    Form View Page

    Form View page

    In the above example, I would like to show the ‘Email’ field if the ‘Email’ option is chosen in Step 1, else show the ‘Mobile Number’ field if the ‘Mobile Number’ option is chosen in Step 1.

    To achieve that, edit your ‘Email’ field, click on the ‘Conditions’ tab, choose the ‘State’ as ‘Visible’ and set the ‘Trigger/Value’ as ‘STEP 1 [Radios] value is email’. Similarly, follow the same steps to add conditional logic to your ‘Mobile Number’ field and set the ‘Trigger/Value’ as ‘STEP 1 [Radios] value is mobile_number’. Here’s the final look of the Webform:

    Edit Email Element

    Setting up conditional logic

    Step1

    Form when ‘Email’ is chosen on STEP 1

    Step 2

    Form when ‘Mobile Number’ is chosen on STEP 1

    4. Custom options properties

    Webform lets you add custom option properties to your from elements.

    Imagine a scenario where you would want to conditionally handle the options of a radio element based on the value of a different element within the form. How would you do that?

    Well, I did not find any way to handle it through the Conditional logic settings from the UI. But there is a provision to set ‘custom options properties’ to your element, wherein you write the required conditional logic targeting your options within the element using the YAML code.

    Here is an example, where we can see two radio elements and based on the option I select in the first element, the visibility of the options within the second element should change.

    Form Build Page

    Form Build page

    Custom Option

    Form View page before adding any custom options properties:

    • If ‘Type A’ is chosen, then ‘Option 1’ and ‘Option 2’ should be visible from the second element. Similarly, if ‘Type B’ is chosen, then ‘Option 3’ and ‘Option 4’ should be visible. To achieve this edit the second element, go to the ‘Advanced’ tab, scroll down to the ‘Options (custom) properties’ sections and write the necessary logic in YAML.
    Option ElementEdit option element

    Setting up the options properties

    Choose type

    Form when ‘Type A’ is chosen

    Choose Type B

    Form when ‘Type B’ is chosen

    5. Webform submission email handlers

    • Email handlers

              Email handlers sends a webform submission via email. To add email handlers to your webform, go to ‘Settings’ and then ‘Emails/Handlers’ tab. Next, click on the ‘Add Email / Add handler’ button.

    Email handler

    Add Email Handler

    • As shown in the below image, on the ‘General’ tab, add the ‘Title’ and set ‘Send to’  and ‘Send from’ details. Add the message ‘Subject’ and ‘Body ‘ as required and save the configuration form. 
    Email ConfirmationConfirmation HandlerEmail Confirmation HandlerMessageTitle & Description

     

    And that’s about it. Your handler gets fired whenever the form is submitted.

    • You can also set conditional email handlers to your webform i.e., trigger different email handlers based on the value of certain elements within the form.
    • For example, let us consider a ‘Select’ element with values ‘Type 1’ and ‘Type 2’. If the user submits ‘Type 1’, trigger the ‘Email – Type 1’ handler that has set ‘To’ address to ‘user1@gmail.com’. If the user submits ‘Type 2’, trigger the ‘Email – Type 2’ handler that has set ‘To’ address to ‘user2@gmail.com’.
    • To add conditional logic to your email handler, create one handler and name it ‘Email – Type 1’. Set ‘To’ address to ‘user1@mail.com’, switch to the ‘Conditions’ Tab, choose the ‘State’ as ‘Visible’ and set the ‘Trigger/Value’ as ‘Select Type [Select] value is type_1’. 
    • Similarly, create the second handler and name it ‘Email – Type 2’. Set ‘To’ address to ‘user2@gmail.com’, switch to the ‘Conditions’ Tab, choose the ‘State’ as ‘Visible’ and set the ‘Trigger/Value’ as ‘Select Type [Select] value is type_2’.
    Email type

     

    • Scheduled email handlers

      • It extends the Webform module’s email handler to allow emails to be scheduled. To use this feature, enable the ‘Webform Scheduled Email Handler’ sub-module. 
      • To schedule sending an email of the form submissions, click on the ‘Add handler’ button. Select ‘Scheduled Email’ handler here.
    Select Handler

     

    There is only one extra config setting in the ‘Scheduled Email’ handler compared to the normal ‘Email handler’. And that is to add Schedule email date under the General settings tab.

     

    Schedule email Handler

    Scheduled email handler

    Set the date to trigger your handler and when the next cron is run, your email will be sent!

    Finding Help

    There are different ways through which you can seek help with the webform module. Here is a list of a few sources:

     

    Continue reading

  • OpenSense Labs: Drupal 8 end-of-life is just around the corner, what’s your next step?

    OpenSense Labs: Drupal 8 end-of-life is just around the corner, what’s your next step?

    Drupal 8 end-of-life is just around the corner, what’s your next step? Maitreayee Bora Fri, 10/08/2021 – 08:23

    Drupal 8 was launched on November 19, 2015 to support the Drupal community with advanced features and functionalities. But now there is only three months left for it’s end-of-life (EOL) since we already have the end date fixed i.e. November 2nd, 2021. Well, what does Drupal end of life mean? End of life basically is the official date after which Drupal Community stops supporting a certain version of Drupal. This article can be considered as a guide where we will be able to clear all our queries in regards to Drupal 8 end-of-life (EOL). 

    Illustration diagram describing the end of life of Drupal 8


    When’s Drupal 8 going to be End-of-life

    As we have discussed above, Drupal 8’s end-of-life is just a few months away, so are we making our necessary plans for migrating to Drupal 8’s later version? Let us get into a little more detail about Drupal 8’s end-of-life as it will help you in taking any major decisions about the migrating process. So, basically, after November 2nd, 2021, the end date of Drupal 8 version, no security patches will be available to you and along with that you won’t be receiving any vendor extended support program for Drupal 8. 

    You will be surprised to know that Drupal 8’s End of Life happens before Drupal 7. Since, now you have an idea about Drupal 7 and 8 end of life, let us now look into the reasons why Drupal 8’s end of life takes place before Drupal 7. The first reason is that there was not much effort needed in the transition from Drupal 8 to Drupal 9. Since, Drupal 9 was not a reinvention of Drupal but rather it consists of two major differences i.e. updated dependencies and deprecating APIs. Second, Drupal 8 is majorly dependent on Symfony 3 and Symfony 3’s end of life is November 2021.

    Is it still safe to stay on Drupal 8 even if the end of life is approaching?

    If you decide to stay on Drupal 8 even after it’s end-of-life then you will have to go through some difficult consequences. Your website has to be compromised in terms of the security as the community support finishes with Drupal 8 end-of-life. You will have to purchase a vendor extended support program for Drupal 8 instead of depending upon the Drupal community to identify exploits and release patches. Additionally, as the developer community will no longer prioritize on enhancing the Drupal 8 version, so consequently, the existing modules will not receive any further necessary updates from the community as they will be busy focusing on Drupal 9 modules. Let me also tell you that with the growing time Drupal 8 sites tend to disappear and as a result, very few agencies will be available to offer Drupal support for these versions. Therefore, the best option you have is to upgrade to Drupal 9 without any further delay and get the maximum benefits out of it for your aspiring projects. 

    What benefits will I get after migrating to Drupal  9? 

    This section will give you a clarity about the important features that Drupal 9 offers. Once you take a look at them, you won’t regret migrating to this version from your present familiarised version of Drupal 8. 

    Illustration diagram describing the benefits of migrating to Drupal 9


    Availability of intuitive tools

    Enhancing Drupal’s ease-of-use is something that is prioritized in this version of Drupal 9. Some of the promising improvements in regards to the strategic initiatives for Drupal core include automatic updates, Drupal 10 readiness and, decoupled menus.

    Improving future upgrades

    Drupal 9 focuses on making the upgrades smooth for future releases. There won’t be any need to replatform as new versions get released. 

    Enabling you to stay close to innovation

    With Drupal 9, you get access to the latest new feature releases that happen twice a year.

    Front-end facilities

    Drupal’s API-First initiative provides your site more versatility, allowing much better integrations, and also availing the much needed front-end flexibility. 

    Providing richer media management

    Drupal 9 enables you to embed remote content like YouTube and Vimeo videos. Additionally, it also features a Media Library module that helps users to add existing media assets. 

    Accessibility of powerful visual design

    Drupal 9 provides an improved Layout Builder which exclusively offers a single, powerful visual design tool for:

    • Layouts for templated content
    • Customization for templated layouts
    • Custom pages

    Is migrating to Drupal 9 difficult?

    By far we have got familiar with some of the important aspects of Drupal 8’s end-of-life, but now we will get through the most significant aspect i.e. the nature of the migrating process to Drupal 9. Is it easy or difficult? This question might be at the back of your mind, so here I am with the answer you are looking for. Since, Drupal 9 is built on Drupal 8, the technology in Drupal 9 is to be surely, convenient and effective as it has already been used in Drupal 8. Therefore, it gives an understanding that the upgrade to Drupal 9 will be easy. Let me explain this to you in a more detailed way. 

    For Drupal core contributors, it means that there is a limited set of tasks to be done in Drupal 9 itself even before its release. Releasing Drupal 9 solely, depends on removing deprecated functionality and upgrading Drupal’s dependencies, for instance, Symfony. This further helps in making the release timing more predictable and the release quality extremely robust.

    For contributed module authors, the new technology is already available at their service, so they can easily work on Drupal 9 compatibility even before time (e.g., they can start with updating their media modules to use the new media library even before Drupal 9 gets released). Eventually, their Drupal 8 know-how remains extremely relevant in Drupal 9, since there won’t be any major change in building Drupal 9.

    Finally, for Drupal site owners, it means that the upgrading process to Drupal 9 should be much easier in comparison to upgrading to Drupal 8. As Drupal 9 happens to be the last version of Drupal 8, with its deprecations being removed. So, there is no need to introduce new, backwards-compatibility breaking APIs or features in Drupal 9 except for the dependency updates. Until modules and themes stay up-to-date with the latest Drupal 8 APIs, the upgrade to Drupal 9 is set to be easy. Moreover, a 12 to 18 month period is enough for a smooth upgrade. 

    Learn more about Drupal 9 upgrade approaches here:

    What about Drupal 9 end-of-life?

    With all the above discussion, you must be clear about the Drupal 8 end-of-life. But is that all you wanted to know? Or do you have any more curiosity to take a step forward and know about Drupal 9 end-of-life? Well, I’ll give you a little information about it. Drupal 9 support ends in November 2023. Since, Drupal can be seen using a lot of Symfony code, the end of life for Drupal 9 will be when Symfony 4 reaches its end of life in November 2023.

    The Drupal community is planning to release Drupal 10 ahead of the end date of Drupal 9. Therefore, Drupal 10 is estimated to be released in the mid of 2022. But they still haven’t fixed the Drupal 10 release date. And also we are far away from Drupal 10 end of life for sure. 

    You can also see the release cycle overview to get more information on the possible release dates. 

    Learn more about Drupal 9 here:

    Illustration diagram describing Drupal End of Life Cycle

    Conclusion

    With this article, I tried giving you a clear picture of the various risks which you will come across if you choose to stick around Drupal 8 even after it’s end of life (EOL).  You could also possibly see all the important benefits that Drupal 9 has to offer. So, now hopefully, it can be expected that you will take the right step towards Drupal 9 upgrade. But yes, I do agree that upgrading comes with a lot of challenges. Therefore, the first convenient step for you will be to perform a readiness audit. As audit helps in recognizing the work and effort needed on your website, along with recommending you a seamless migration to Drupal 9.

    blog banner
    Autumn leaf
    blog image
    Sunset
    Blog Type
    Is it a good read ?
    Off

    Continue reading

  • Specbee: How to Migrate Content from XML files to Drupal 8 (or 9)

    Specbee: How to Migrate Content from XML files to Drupal 8 (or 9)

    How to Migrate Content from XML files to Drupal 8 (or 9) Maithri Shetty 05 Oct, 2021

    Pulling data from different sources to your Drupal CMS is what migration is all about. Your migration source can be anything – a database, another CMS, CSV, XML files. Drupal always gives you the flexibility to migrate data from anywhere into the CMS. We have written extensively on Drupal migrations before like migrating from a database source, migrating multilingual content from CSV, from an SQL source, a complete how-to-guide to migrations and more! If you are looking for a guide to migrating data from XML files to Drupal 8 or Drupal 9, you have arrived at the right place as that is what we are going to discuss about here!

    If you’re looking to import external feeds to your Drupal 9 website using the Drupal Feeds module, check out this article.

    XML to Drupal Migration

    Drupal 8/9 Migration Modules

    Here, we will be using the whole set of Drupal migrate modules

    After installing these modules, you will need to create a custom module where you will write the script for migration. So first, create a custom module and then create an info.yml which will include the module’s details. Next, enable the module.

    name: test migration
    type: module
    description: Migrating data from the csv files.
    core_version_requirement: ^8 || ^9
    package: Migration
    dependencies:
     - drupal:migrate_source_csv
     - drupal:migrate_plus
     - drupal:migrate_tools
    config_devel:
     install:
       - migrate_plus.migration_group.test_migration
       - migrate_plus.migration.test_migration_sessions
       - migrate_plus.migration.test_migration_paper
       - migrate_plus.migration.test_migration_user

    Once the info.yml file is created, you need to create a migration group for this migration. You will need to create this migration group in the path: test_migration> config > install. These details are needed while running the migration:

    id: test_migration
    label: test Migration
    description: Migrating xml data 

    After creating the migration group, install this group in your info.yml file.

    config_devel:
     install:
       - migrate_plus.migration_group.test_migration 

    Now, you need to write a migration script for the content type. This script should be inside config > install and file name should be migrate_plus.migration.test_migration_paper.yml

    id: test_migration_paper
    label: 'Migrate Paper data from the xml file'
    migration_group: test_migration
    source:
     plugin: url
     # Full path to the file.
     data_fetcher_plugin: file
     data_parser_plugin: xml
     urls: private://xml/session.xml
     item_selector: /program/session/papers/paper
     fields:
       - name: title
         lable: 'Paper title'
         selector: papertitle
       - name: abstract
         lable: 'Paper abstract'
         selector: abstract
       - name: first_name
         label: 'Author first name'
         selector: authors/author/name/givenname
       - name: last_name
         label: 'Author last name'
         selector: authors/author/name/surname
       - name: paper_id
         label: 'Paper identifier'
         selector: paperid
       - name: session_id
         label: 'Session identifier'
         selector: sessionid
       - name: start_time
         label: 'Paper presentation start time'
         selector: starttime
       - name: end_time
         label: 'Paper presentation end time'
         selector: endtime
       - name: author_name
         label: 'Author name'
         selector: authors/author/name/fullname
       - name: session
         lable: 'Session name'
         selector: session
     ids:
       session_id:
         type: string
    process:
     # Adding the mapping between the fields and the csv columns.
     title:
       - plugin: skip_on_empty
         method: process
         source: title
     field_abstract/value: abstract
     field_abstract/format:
       plugin: default_value
       default_value: "full_html"
     field_presentation_timing/value:
       plugin: format_date
       from_format: 'Y-m-dTH:i:s'
       to_format: 'Y-m-dTH:i:s'
       source: start_time
     field_presentation_timing/end_value:
       plugin: format_date
       from_format: 'Y-m-dTH:i:s'
       to_format: 'Y-m-dTH:i:s'
       source: end_time
     field_paper_identifier: paper_id
     field_session_identifier: session_id
     field_author:
       - plugin: skip_on_empty
         method: process
         source: author_name
       - plugin: paper_user_migration_import_process
         no_stub: true
     field_session:
       - plugin: skip_on_empty
         method: process
         source: session
       - plugin: node_migration_import_process
         no_stub: true
    destination:
     plugin: 'entity:node'
     default_bundle: paper
    migration_dependencies:
     required: { }
    dependencies: { }
    Ad Label

     

    • id: Will be unique for each yaml file and displayed in the migration list.
    • label: Will contain description for the migration.
    • migration_group: This is the main group that contains all the migrations.
    • source: Will contains all source details for this migration.
    • urls: Will contain the file for migration. In the above code, source is placed inside the private directory.
    • item_selector: Item selector is the path from which the entire set of data is taken. Basically inside this tag there should be one set of data.
    • fields: Here we are assigning tag values to some variables.
    • name: Which gives variable names.
    • label: A short description.
    • selector: In which we are telling which tag value should be assigned to the variable.
    • ids: Which should be unique for each content.
    • process: In which we are mapping variable and field machine names.
    • destination: In which we are mentioning the entity name to which data should be migrated.

    Based on your data you can now write plugins for migration as well. The above code plugin is written for the field_author field.

    After this go to Structure, there you will see Migration – click on that. You can now see all the migration groups.

    Add Migration Group

     

    Click on List migration. There you can see the list of migration yaml we have created.

    Paper Data

    Click on the Execute button. You can see the migrating options.

    Import Operation

     

    Here you can run any option you want:

    • Import: This will migrate the data.
    • Rollback: Will roll back all migrated data.
    • Stop: Will stop the migration in the middle of the process.
    • Reset: Will change the status to an idle state.

    You can also migrate the contents through the terminal with these drush commands.

    • drush ms – Migration status
    • drush mim – Migration import
    • drush mr – Migration rollback
    • drush mrs – To make migration status idle.

     

    Continue reading

  • OpenSense Labs: The Ultimate Guide To Open Source Strategy

    OpenSense Labs: The Ultimate Guide To Open Source Strategy

    The Ultimate Guide To Open Source Strategy Meenakshi Sat, 09/25/2021 – 19:00

    In this growing era of technology, it is very important to have a smooth and trouble-free working environment. Today, all companies are enhancing their workflow and management in different ways. Keeping everything in line with the innovations, most of the tech companies are adopting open-source software strategies. Open-source software not only makes your work easier but cost-effective and adaptable for business growth. 

    Open-source software is released under an open-source license so that anyone can use it. Popular companies like Github host many open source projects, Linux, Ansible, and Kubernetes are examples of open source projects.  

    Likewise, thousands of companies using open source platforms experience a sustainable approach with a large user base. These companies use open-source software tremendously, and it is increasingly shaping enterprise software architectures. The use of open-source software has become imperative for their business growth. In this article, you will discover why companies are using open-source software strategies for their development. 

    Why do companies go open source  

    Knowledge is meant to be shared and the best way to learn is to teach. Open-source software is a free platform that allows its users to share experiences with others. Sharing your work can lead to better quality and helps to get constructive feedback. One of the best qualities of open source software is that the source code of a piece of software is kept open and free to download, also you can modify and incorporate it into third-party projects which helps to enhance the software itself. And that is why many companies are choosing open-source software strategies. 

    Every company either VMware, Dell, Nordstrom, or Home depot, relies on open-source software. It all started with Red Hat, who was an initiator in the open-source software market and investors always had this doubt whether other companies would be significant for open source or not. But we have seen rapid growth in the open-source software market and now an open-source has a good presence in the industry. A lot of big companies have now been putting a lot of emphasis on open source strategies.
    Talking about the up-gradation in the field of the open-source software environment, in 2019, Red Hat was taken by IBM for $32 billion, Mulesoft for $6.5 billion after going public, and MongoDB for worth $4 billion. In addition, there was a growing unit of remarkable open-source software companies working their way through the growth stages of their evolution like Confluent, HashiCorp, DataBricks, Kong, Cockroach Labs, and many more in the business world. These changes in the tech industry towards open space have given a lot of preference to open source software strategies and improved its occupancy in the industry.

    different boxes consisting of statistical information on open source strategy
    Source: Boston Consulting Group

    Business use of open-source software is rising at a rapid speed. With an increase in the number of users, we can now see a magnificent development in the open-source market. Open Source has become a community where people from different backgrounds work together and it gives companies the flexibility to choose the right staff and save money. Some of the very important reasons for choosing open-source software strategies of these companies are:

    'reasons to choose open source strategy' written on top and different icons below consisting of textual elements explaining open source strategy basics


    With open-source software, one of the major advantages is that you can check and track your code without having to rely on vendors. Which creates a sense of flexibility in workflow. Peer programmers can also help to improve the source code and you can have an open collaboration with them on a project basis. With no vendor lock-in system, you can take your open source code anywhere and use it accordingly. All these perks of open source software give an upper hand to companies to choose open source software strategies. 

    Open Source in numbers

    Compared to proprietary software where businesses must pay for them, open-source software is available for free in the market. Moreover, in proprietary software, vendors keep source code confidential but in open source software, it is developed publicly. These vendors rely a great deal on the open community. And not only vendors but employees, freelancers, and hobbyist programmers associated with open-source workspace participate in open source projects to get acknowledged for their technical skills. Because this platform gives global recognition as their work is accessible to all. 

    Contribution of big companies, vendors, developers, and freelancing programmers helped the global market of open-source software services to increase at an exponential rate. Its flexibility to modify code and free availability is the topmost advantages to widen up its use.

    'CAGR reports for the open source software market' written on top and different icons explaining statistical information on open source market forecast


    The tremendous growth in the graph of the open-source software market indicates that companies are ready to invest more and more in the open-source space. These researches depict that open source adoption in organizations is expected to grow across all IT segments to accelerate business growth.

    Merits and caveats of open source 

    The demand for open source software services in the market has seen tremendous growth to accelerate businesses. There are many reasons why the open-source software strategy has become so popular. Let’s have a look: 

    • One of the important features of open-source software systems is that their code can be fully customized and vendors can change portions of the code or add components to alter it for different business needs.
    • Latest technologies like AI and ML use open-source software. Its proficiency and vitality provide an edge, with the community ensuring that applications are developed rapidly.
    • The community utilizes a collaborative approach to software development, which helps drive development. Enterprise-grade open source software faces a lower risk of inactivity because of the community’s involvement.
    • Finding developers is easier in an open-source system as it is supported by a large number of developers of diverse backgrounds. More on diversity, inclusion and equity in open source here.

    Nothing is black and white there are greys in everything. For instance, licensing from commercial open source vendors may sometimes be pretty difficult to comprehend. If you see MIT and Apache licenses, they comprise only the barest of requirements vis a vis software redistribution. Hardly anything detailed can be seen in MIT license and apache license puts forth elaborative terms which means that the latter is most often seen with open source projects designed for enterprise-grade deployment. More on open source licensing here. Sometimes organisations find themselves on the crossroads when they have to strike the right chord between reaping the benefits of OSS and recognising the importance of bearing legal liability when anything goes downhill. Also, Open source security has the reputation of being the best in the business but under-funded open source projects can have serious repercussions.

    Why create an open source strategy for your business?

    An open-source software strategy is a collective approach towards innovation. It requires systematic flow and management to achieve its goals. According to Ibrahim Haddad at Samsung, hiring top-tier development talent that already has working knowledge in the area of open-source environments helps businesses to achieve their goals and also guides existing developers. An experienced person can easily supervise newcomers. 

    Lee Congdon, former CIO of Red Hat, also echoes the same thought stating that “Open source is a pool of space for businesses to attract new talent.”

    The business imperative

    So far we have understood the importance of open-source software strategy in business growth but we need to figure out how to set these strategies to boost efficiency and minimize risk. To start with an idea, the very initial step is to create a plan and here in open source software strategy, one has to start documenting a strategy document. This will help in keeping you out of trouble that can arise from picking up wrong decisions. 

    Strategizing your document will benefit you in many ways:

    • It will clearly explain your company’s approach to open source and its use. 
    • Helps in making decisions for multi-departmental organizations and builds a healthy community around inventions. 
    • The strategy document will give a clear-cut idea about the company’s investment and let more leaders and stakeholders be involved. Read more about open source leadership here.

    What’s in it for stakeholders

    Engaging stakeholders in your strategy is a crucial task. The goal of a company is to produce high-quality, secure, and reliable products. Open source platforms help each and everyone in the organization to grow and achieve their goals with high productivity and with a vision to achieve the desired result. What stakeholders look for is the best output for the business and sustainability in the market. 

    One of the best features of open source is its high flexibility in modifying source code. Since it is an open platform, it gives you ample space to make changes in code from anywhere. It encourages developing new features along with replacing or improving existing features.  

    Adding further to this, modification and development in source code becomes easy in open source software because you can take help and augment engineering resources from anywhere. Besides its contribution to code modification, the open-source platform is a great asset for cost reduction. It helps with consulting, training, and support costs because there is no exclusive access to the technology. And this helps in attracting third-party developers and contributors to your business. Learn more about open source being recession-free and how it thrives during economic slumps here.

    Whether your organization chooses open source software for its high-quality source code, lower costs, flexibility, or because it lets you embrace digital innovation by making you try out disruptive technologies keeps you on the leading edge of technology, it provides a competitive advantage. Therefore, an open-source software strategy requires the collaboration of every member of the organization with the same vision to build an effective open-source environment. 

    From the vantage point of Amazon Web Services

    Amazon, one of the leading companies in the world today, heads more than 1,200 open source projects on Github. Like many other companies, Amazon Web Services is also making a significant contribution in open-source space and funding open source development specific to customer needs. Why have they invested so much in open source software strategy when it is not an open-source company like Red Hat? Matt Assay, head of open source strategy and marketing at AWS explained self-servicing is their main objective. As well as using a lot of open-source software in its own products, AWS provides promotional credits to open source developers to entice them to use AWS products. 

    Their most recent open-source project is Babelfish for Aurora PostgreSQL. It is an open-source translation layer that makes it easy to migrate from Microsoft SQL Server to Amazon Aurora PostgreSQL.  

    What to know before forming an open source strategy

    We have gathered a lot about open-source software space in numbers and how to initiate the strategy. Now, two important aspects need to be kept in mind. These concepts will help businesses to determine a program framework and you can maximize your open source strategy. Let’s have a look,

    'what to know before forming an open source strategy' written on top and two different icons below explaining the prerequisites on open source strategy

     

    • Putting forth a standardised governance in place: A set of norms and guidelines is necessary while working on a project. As open-source software projects grow, contributions from different areas become more complex, if you do not have proper policies and procedures. Proper governance helps in setting up the same guidelines for everyone working on a particular project and reduces security and legal risks. It smoothes the transition when an internal project is open-sourced because then all the developers will work under a certain governance code. 
    • Putting forth a strategy for long-term, sustainable projects: For any business, it is important to have a sustainable approach for long-term relationships. A key driver to measure the success of open source software is that it builds a strategy around companies to take interest in your open source projects. Building a long-term relationship with contributors and partners in open source arises from feature-rich developer communities whose code is productized to get business profit and governance. The ultimate goal is to reinvest back into the project community lifecycle. More on open source sustainability here.

    How to create an open source strategy

    'how to create an open source strategy document' written on top and different icons below explaining open source guidelines in detail


    Do you think your words are sufficient enough to portray your idea? Obviously not, because everything can’t be remembered just by words. You need something handy to recall things. Similarly in an open-source software strategy, a written document will help you to align your goals and objectives. The documented strategy assists everybody in the team to work in sync and helps them to understand the business objectives behind your open source project.

    Document your goals and objectives

    The most important step is documenting your goals and objectives in a way that can be understood by everyone. At a minimum, your document should explain the company’s approach and what’s the role of open-source software strategy in that. And to determine an approach it is vital to understand your vision towards any project, whether you are ready for open source strategy or not, which open source strategy is helpful for your company and many people you need to contribute to your project. 

    Ian Varley, Software Architect at Salesforce shared his thoughts on open source strategy documentation, stating that at Salesforce, we have internal documents that we circulate to our engineering team, providing strategic guidance and encouragement around open source.

    Determine how your employees can contribute to open source

    The key element of any project is the workforce behind it. Determining the right amount of people and talent to shape your strategy is necessary for all businesses. Guiding your employees about how they can consume open source code and what contribution they can make in that. What acceptance, rejection, and exception policies should developers follow? How to manage if code comes into one of your products from a project with a different licensing setup? All these queries need to be kept in mind while producing an open-source strategy document. Learn more about the perks of contributing to open source here.

    Decide upon the number of people you need and the skills required

    The next step is to decide the strength for your project with the right amount of skills required. You might need to put in a lot of effort to gather the right workforce because in open source software strategy projects a developer has to be comfortable with an ambiguous ecosystem and should have the ability to take criticism and feedback. Not everybody is comfortable working under a public spotlight and that is why it becomes very important for any company to hire only those who have an intent to work in an open-source environment. 

    External resources:

    Open-source software strategy depends on many external and internal resources and these resources help you to determine the criteria to set your strategy. Talking about the external factors there are a lot of resources that help you flesh out your open source strategy and the majority of them are free. Have a look at some of them: 

    • Linux Foundation offers educational resources
    • Talk Openly Develop Openly practices on running open source strategy programs
    • Open Source Guide by GitHub helps on building open source community
    • Open source policy documentation by Google
    • InnerSource Commons founded by Paypal helps companies to pursue an open-source strategy in exchange 

    Their approach can differ according to their needs but a common agenda to contribute towards an open-source environment is the same. You can choose and adapt their practices and strategies that fit your business needs. 

    The surprising fact is that Netflix, which is the biggest OTT platform, is a true standout in open source. They have an Open Source Software Centre that contributed many tools and applications to the open-source community

    Internal resources:

    While these kinds of external resources can give basic direction and fill in as a benchmark for your strategy, internal resources are key in setting your open source business system. Your open-source methodology ought to be custom-made to your interesting plan of action, and individuals inside your own organization are the best wellspring of data. Moreover, you need to incorporate every one of the stakeholders to arrive at an agreement to guarantee that everybody is in total agreement and put resources into seeing the endeavors succeed.

    Chalk out policies and guidelines

    Now once you understand goals, objectives, and employee contribution, you have to set some policies and guidelines before working on an open-source software strategy project. These bullet points need to be written down properly in your strategy document. 

    'open source strategy document' written on top and different circles explaining them in detail


    Incorporate open source program offices

    It is important to have a center of all sources so that information becomes easily accessible to all. Companies and corporations mostly set up program offices that act as one-stop shops for open source-related activities. It helps to manage the process and to be a resource for your contributors to get help and guidance. An open-source program office can provide your contributors with a platform to share ideas, collaborate with other developers and spark innovation as well. Coordination between internal activities such as legal, technical, and marketing becomes with the program office. 

    Companies with poor open-source software strategies will never find a way to execute a project in an open ecosystem. For them, it becomes very important to foster the workforce with the right governance and supervision to achieve their goals. And that is where open source plays an important role. It helps in finding out the contributors for your project and improves the company’s reputation for both marketing and recruiting purposes. Most importantly it helps to support employees on a great level because of the fact that source code is open and they can ask for help anytime anywhere. 

    Measure your success

    'how to improve your open source strategy' written on top and different icons below explaining them in detail


    To summarize, by having a clear strategy you can justify your open-source projects and will be able to achieve the desired goals. Measuring metrics will go a long way to understand the success rates. But the bigger part is you need to understand how you are going to analyze which metrics to use? Eventually, you need to look at your strategies and plans to come up with criteria that will help you measure whether or not you are successful.

    At last, If your open source strategy is not giving you results, consider restructuring your strategy. Develop a strategic plan and set your goal, this will help in making your project sustainable. If you’re ignoring changes in the industry and not getting aware of the current software trend then it would create chaos for your business. It becomes very important to understand what this project will do and how it’s going to solve a problem, so just open that README file and look for solutions. Appreciable feedback will help you to analyze the problems and give better solutions. 

    Building a culture of psychological safety is necessary for an open-source ecosystem as developers can feel a sense of comfort while working and would not get worried about the results. All these points make open-source software strategy an important element to your business.

    blog banner
    front view of restaurant with open written on the door
    blog image
    front view of a shop at night with open written on a banner
    Blog Type
    Is it a good read ?
    Off

    Continue reading