I love Free Software!
Subscribe to Planet Drupal feed
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 3 hours 26 min ago

Srijan Technologies: Step-by-Step Guide to Create PWA with React in Drupal 8

Tue, 2020/01/07 - 6:26am

We’ve already discussed in our previous blog, how Progressive Web Apps (PWAs) are trending and making web apps load faster, ensuring exceptional user experience.

Categories:

Kris Vanderwater: Using Drush to Simulate ContentHub 2.x Syndication

Mon, 2020/01/06 - 11:07pm
Using Drush to Simulate ContentHub 2.x Syndication Kris Vanderwater 6 January 2020

In my last blog, I talked a bunch about some of the basics of our development efforts around Acquia ContentHub 2.x. There's a lot more I'd like to discuss about that module and the efforts our team has put into it, but one of the comments I got on twitter specifically asked about the Drush commands we packaged with 2.x, how they're used, and what you can do with them, so in an effort to both continue discussing the good work of the team, and the capabilities of the product, I'm going to dedicate this blog to that topic.

Categories:

Evolving Web: React Native vs. Flutter: Top Mobile Development Frameworks for 2020

Mon, 2020/01/06 - 7:09pm

"There's an app for that."

We hear this often because it's true. In today's hyper-connected world, offering mobile apps for your business or services have become an expectation. According to Statista, the total number of mobile apps on Apple and Google's app stores are 1.8M and 2.47M respectively. It's now the norm to build apps that support both platforms. But native apps have always been an issue for businesses due to the costly development cycle. Then comes cross-platform technology, which enables developers to build and maintain a single code base for applications that can be published across multiple platforms.   

At Evolving Web, we specialize in web development using Drupal and recently extended our offerings to include mobile solutions. We developed mobile applications using React Native that could be seamlessly integrated to Drupal 8 using modules such as JSON:API or SimpleOAuth, and also implemented third party services such as Firebase or Amplify to enhance the mobile experience with features like push notification or real-time data synchronization.   

We have been actively researching and experimenting with cross-platform technologies and have learned that while they can save a lot of development time and costs, they also present new challenges.

Here's a quick overview of the pros and cons of cross-platform technology:

Pros
  • Write once, run anywhere: developers don't need to write Swift for iOS or Java/Kotlin for Android. The whole business logic remains in one single piece of code.
  • Easy code management: a single code base is easier to maintain.
  • Shorter development cycle: write once, deploy to both stores. 
Cons
  • Unoptimized app performance: the need to support multiple platforms can diminish performance. 
  • Not-so-native feel: Balancing platform-specific experiences can be difficult due to differences in user experiences for iOS and Android.

In this article, we'll explore our experiences with React Native and Flutter, two mobile application frameworks that will continue to dominate in 2020.

The Top Two Mobile Frameworks

In 2019, React Native took the lead of being the most used cross-platform mobile framework, followed by Flutter, Cordova, Ionic and Xamarin. Flutter has also been a rising star in the last year.  

//--> //--> React Native

Created by Facebook in 2015, React Native is undoubtedly the most adored cross-platform mobile development framework with 83.4k stars on Github so far. The framework allows you to build applications using Javascript or Typescript, and brought in the concept of the bridge that helps you generate and manipulate native mobile UI components from a background Javascript thread. Unlike other frameworks such as PhoneGap, Cordova, and Ionic—which rely on webview to render UI components—React Native allows us to create and manipulate real UIView instances like we would have done with native mobile development.  

Moreover, you can also write modules in native languages such as Objective C, Swift or Java, which allows you to interact with OS APIs if you want to build more sophisticated applications. This opens up more possibilities regarding what you can build with React Native.   

Facebook and Instagram are two top-of-the-chart applications built in React Native, not to mention other names such as Tesla and Bloomberg. In May 2019, Microsoft announced a new performance oriented open source project for React Native developers who want to target Windows, another example of how much the framework is extending their capabilities. 

Pros
  • Convenience: benefit from time and cost efficiencies. 
  • Faster refresh: get near-instant feedback for changes on React components.
  • It's a sibling with ReactJS so the web components are reusable. 
  • Awesome performance: thanks to its technical capabilities and big, supportive community.
Cons
  • Not completely intuitive: you may need expertise from native developers for platform-specific modules.   

With a vibrant developer community and increasing recognition from tech businesses, React Native will thrive and continue to evolve in 2020.

Apps Built With React Native

  • Facebook
  • Tesla
  • Bloomberg  
Flutter  

Flutter is a modern development kit from Google used to build mobile apps for Android, iOS and Google Fuchsia—an operating system that can run on embedded systems in smartphones, tablets, and personal computers.

Google announced Flutter's first stable release in 2018. Despite being quite young on the market, Flutter has quickly gathered a large community and is the fastest-growing skill among software engineers. One of the reasons Flutter has risen so quickly is because of its performance. With the UI refreshing at 60fps—mostly using GPU—each and every pixel on the screen is painted on SkiaCanvas, allowing developers to create sophisticated, smooth and highly customizable UIs.   

In order to build apps with Flutter, developers need to use Dart, a programming language also developed by Google. There are many fantastic features of Dart that make it crucial to Flutter's success, one of which is that Dart is one of the few languages that does compiling in both AOT and JIT. Just-in-time (JIT) compilers run during the execution of the program, compiling on the fly, which provides much faster development cycles as developers see updates right away, though it has slow startup times. On the other hand, ahead-of-time (AOT) compiles high-level programming languages into native machine code so that the resulting file can execute natively and really fast. Flutter's use of Dart benefits from the hot reload thanks to the JIT compiler and the quick execution and startup times due to the AOT compiler.   

Pros
  • Hot reload: you can see the results of your changes almost instantly.
  • Speed: fast execution and startup times.
  • High-performing native experience: the UI refreshes up to 60 fps animations.
  • Direct access to native code: you can import libraries and use native APIs.
  • Fantastic testing and performance profiling support. 
Cons
  • Relatively young: not as much support as other frameworks. 
  • Less features: less available plug-ins.  
Apps Built With Flutter

  • Google Ads
  • Alibaba 
  • Top Goals
Conclusion  

If you're a developer with a JS background, React Native's big community will speed up the learning process and is a quick way to familiarize yourself with mobile development.   

If you don't mind learning a new language and want to experiment with a new technology that's performance focused, Flutter is the way to go.  

In 2020, we will continue to bring more beyond-Drupal solutions to our clients and can't wait to maximize the capabilities of React Native and Flutter for future projects. Tune in for future blog articles where we teach you how to integrate these solutions with Drupal!

If you want to learn more about Evolving Web and our culture, feel free to visit our careers page

+ more awesome articles by Evolving Web
Categories:

OSTraining: 3 Modules to Enhance Drupal 8 Layout Builder

Mon, 2020/01/06 - 5:41pm

When Layout Builder was introduced into Drupal 8 Core, it gave Site Builders a tremendous amount of flexibility previously reserved for Front End Developers (or Themers).  While it represents a major leap for Drupal, there are still some shortcomings in the module, and that's where some great additional contributed modules are really helping.

In this blog post, we will highlight three of the best modules currently available.  (Note: more are being added all the time!). For a complete list of contributed modules for Layout Builder, visit https://www.drupal.org/docs/8/core/modules/layout-builder/additional-modules.

Categories:

Srijan Technologies: The Fundamentals of Caching in Drupal 8

Mon, 2020/01/06 - 2:40pm

It is known that page load time is one of the important aspects of search engine result position. Site speed is what stands between the website and the potential user.

Categories:

OpenSense Labs: Creating your own Twig Extension in Drupal

Mon, 2020/01/06 - 8:07am
Creating your own Twig Extension in Drupal Anmol Mon, 01/06/2020 - 12:37

The templating engine of Drupal 8 has seen a massive turnaround. Unlike Drupal 7, there’s Twig in Drupal 8 instead of PHPTemplate. Twig is basically a templating language for PHP i.e a tool used to output variables inside HTML. Fabien Potencier, the creator of the Symfony framework, gave life to Twig. Contrary to Drupal 7, you cannot call the regular PHP functions in your templates in Drupal 8. he way forward, in Drupal 8, is to create filters and functions.


Twig extension gives more flexibility to process nearly anything inside the twig. Twig can be extended in many ways such as tags, filters, operators, global variables, and functions.

One of the major plus points of creating a twig extension in Drupal 8 is in the view.

Drupal 8 views can often be more challenging in the case where you want to perform operations on the value or need to process the content in the field. When you need to write code often, try to reuse it rather than writing it from scratch every time.

You must use a filter when you want to transform the data you want to display. Imagine you have a title that you always want to be capitalized. For example, twig has the capitalize filter that allows you to transform any text into its equivalent in uppercase.

I came across Twig Extension during one of my E-commerce projects where I had to print dynamic currency name. Drupal Commerce allows only 3 characters long currency code and they have also implemented their own Twig Extension to convert Price object into equivalent price format. So to handle this case where I have to show currency name with more number of characters, I had implemented my own Twig Extension. Similarly, there are several other cases where these Twig Extension can be very handful.

Let’s see an example where we will create a filter that will allow us to count the number of words in the article. The process of creating filters and functions is exactly the same as normal Twig. Also, you can use word count to display the reading time of the article or any other use case as per the requirement.

The main difference between regular Twig and Drupal 8 Twig is that, in Drupal 8, you must create a service definition of the class you are creating and the class must also belong to a namespace, otherwise it will not be registered as a Twig filter in the Drupal environment.

This example assumes you have a module called:

twig_word_count_extension


This will be the basic definition of the inn service.

twig_word_count_extension.services.yml services: twig_word_count_extension.twig_extension: class: Drupal\twig_word_count_extension\TwigExtension\TwigWordCountExtension tags: - { name: twig.extension }


The key tags are also absolutely necessary and that is what Drupal tells you what this class is supposed to do (that is, register it as an extension of Twig).

And now the source code that should be placed in the path defined in the class service definition key.

<?php namespace Drupal\twig_word_count_extension\TwigExtension; use Twig_Extension; use Twig_SimpleFilter; class TwigWordCountExtension extends \Twig_Extension { /** * This is the same name we used on the services.yml file */ public function getName() { return 'twig_word_count_extension.twig_extension'; } // Basic definition of the filter. You can have multiple filters of course. public function getFilters() { return [ new Twig_SimpleFilter('word_count', [$this, 'wordCountFilter']), ]; } // The actual implementation of the filter. public function wordCountFilter($context) { if(is_string($context)) { $context = str_word_count($context); } return $context; } }


Clear your caches and now, if everything goes according to plan, you can use the filter in your templates.

{{ "shuffle me!" | word_count }} {# Return 2. #}


Note: If these twig extensions don’t have other service dependencies (i.e. if you don't inject services in them), the performance is not affected. However, if these extensions have lots of complex dependencies, for example, say those making database connections or perform heavy operations, the performance loss can be significant.

To avail help from our experts for your Drupal projects, you can check out our suite of services. You can also talk to us at hello@opensenselabs.com.

blog banner blog image Twig Symfony Drupal Drupal 8 Blog Type Tech Is it a good read ? On
Categories:

hussainweb.me: An easier way to get the current node in a block plugin in Drupal 8

Sun, 2020/01/05 - 10:42pm
It is over a year since I wrote how to get the current node in a block plugin and promised to write a follow-up post with an easier method. Well, better late than never, here it is! The previous method works, so why bother with another method? In short, it’s less code and less code is easier to maintain. Also, instead of doing all the work to get the node and set the correct cache contexts/tags, it is better to let Drupal handle that for us.
Categories:

OSTraining: How To Manage Image Styles for Media in Drupal 8

Fri, 2020/01/03 - 4:46pm

For years, Drupal site builders have endured a less than great experience with any media they wanted to use.  It was difficult to manage and reuse images; let alone video, audio, and other media.  A number of excellent contributed modules tried to bridge that gap in Drupal 7; however Drupal 8 committed to having a media manager in core.  

As of December 2019, that wait is over with the Media module now officially out of "experimental" and fully integrated into Drupal core.

Categories:

joshics.in blog: Drupal 8: Update to 8.8 in five minutes

Fri, 2020/01/03 - 10:34am
Drupal 8: Update to 8.8 in five minutes bhavinhjoshi 03/01/2020 03/01/2020

Finally, we are one more step closer to Drupal 9. In order to make your Drupal 8 website ready for Drupal 9, you will need to update your existing website to Drupal 8.8, the latest stable release in 8.8.x branch. This branch removes all the incompatible APIs and prepares your website for Drupal 9. And which is why, It is highly recommended that you update to 8.8.

Before you start with the update, make sure you take backup of your website (code base & DB) or preferably, carry out this process on a staging site or on your local Drupal 8 set up. For this, it is assumed that you have composer installed for your Drupal 8 environment.

Modify compser.json

 

The first step is to modify composer.json manually.
1. Unset / empty “replace”: {},
2. Remove "merge-plugin" entirely.
3. Append

“App\\”: “app/”,
“”: ”src/”

to “autoload”

Once you are done with modifying the composer.json, it is time to execute a few commands with composer on CLI.

Execute composer commands


composer remove webflo/drupal-core-strict --no-update
composer remove drupal/core --no-update
composer require 'composer/installers:^1.7' --no-update
rm composer.lock
rm -rf core
rm -rf vendor
composer require drupal/core-recommended:^8.8 --update-with-dependencies

Now, site back and relax while composer performs the update.
Once the updates are downloaded, it is time to perform the db updates using drush updb.

Congratulations! You have successfully updated your existing Drupal 8 website to 8.8 and you are now ready for Drupal 9!

Drupal Drupal 8 Drupal 9 Drupal Planet Get Updates I agree to the privacy policy Email Address CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Categories:

OpenSense Labs: ‘Terraform’-ing with Drupal

Fri, 2020/01/03 - 6:53am
‘Terraform’-ing with Drupal Shankar Fri, 01/03/2020 - 11:23

If you look up the word ‘terraform’ in the Oxford English Dictionary, the meaning that you find may make you reminisce about some of the science fiction movies or TV series you have watched or heard of. And you may start wondering if something like ‘terraforming’ is actually possible. Transformation of another planet to make it Earth-like, which is what terraform means, would seem like a glorious idea. As there’s always a ‘but’ associated with any brilliant thought that we have, this terraforming of Mars or any other planet is not possible with the current technologies, says NASA.


Anyway, on Earth, terraforming is possible. (Although this is in no way referring to the tackling of climate change, it would be nice to see some strong measures being taken). Earth, our home, is witnessing a wave of digitisation all around in this 21st century. Amongst different digital innovations that are happening, one of the open-source tools, which is incidentally, and rightfully, named Terraform, is here to metamorphose the web arena. And Drupal web application infrastructure can reap the benefits of Terraform to a great extent.

Infrastructure As Code with Terraform


To better understand Terraform, let’s start with an example where you are hosting a Drupal site on AWS. Managing the infrastructure here is a crucial aspect. You will be required to create an Amazon Elastic Compute Cloud (EC2) instance with your Drupal code to serve traffic. But that’s not all. There are more things to be taken care of. You are required to look after the identity and access management (IAM), subnets, auto-scaling groups, virtual private cloud, security groups, target groups, load balancers, Elastic load balancing and many more. Infrastructure as Code (IaC) is your solution to manage infrastructure resources effectively.

IaC automates the provisioning of infrastructure and allows your digital firm to build, deploy and scale cloud applications rapidly, cost-effectively and with minimum risks. It utilises top-of-the-line descriptive coding language for automating the process of provisioning of IT infrastructure. This reduces the need for developers to manually provision and manage servers, operating systems, database connections, storage and several other infrastructure elements. To apply IaC, leveraging Terraform is your best bet.

What is Terraform anyway? It’s a configuration orchestration tool that can work with private cloud, public cloud or on-premise system and has the provision for secure and convenient design, governance and improvement for infrastructure as code. As a cross-platform, extensible tool, Terraform codifies APIs into declarative configuration files. These can, then, be shared amongst team members, treated as code, edited, analysed and versioned.

“Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently.” - Terraform.io

Terraform enables you to define infrastructure in config/code and lets you rebuild/change and track alterations to infrastructure easily. Terraform’s speed and operations are impeccable. Its plan command ensures that you make alterations to the infrastructure predictably and safely. That is, you will know what Terraform will do before you make any changes which leaves zero possibilities of any sort of surprises later on. By building a graph of all your resources and parallelizing the building and modification of any non-dependent resources, it gives insights into dependencies in the infrastructure. And, intricate changesets can be applied to the infrastructure with the help of minimal human interaction. Being open-source, it also has a lively community for you to easily engage with them and start using it.

Comparison of Terraform with similar tools | Source: IBM

IBM states that, in general, Ansible, Puppet, SaltStack and Chef are considered to be the configuration management tools where the software is installed and managed on existing server instances. Terraform, on the other hand, is considered to be an orchestrator which provides server instances itself thereby leaving the job of configuring those servers to other tools.


Even though Ansible leads the adoption charts, it’s the Terraform that has witnessed a surge in users in recent times. According to a 2019 State of the Cloud survey, conducted by RightScale, Terraform displayed the strongest growth. It expanded from 20% in 2018 to 31% in 2019.

Implementing serverless architecture with Terraform and Drupal

A session at Decoupled Days 2019 showed how Terraform can be used in the Drupal web application infrastructure. It demonstrated how to architect a serverless solution for serving the frontend with data that is fetched via an API from Drupal. The serverless frontend application was hosted with multiple cloud providers available via a CDN (Content Delivery Network). Such an application could be provisioned several times in multiple regions of more than one cloud providers with the help of Terraform. Writing wrapper scripts for Terraform streamlined the process of deploying infrastructure.

Drupal’s multisite capabilities, where multiple separate websites from a single codebase could be run, made the hosting requirements for the backend simple. The Frontend part wasn’t easy as it required to run multiple instances to emulate the number of web properties. All the websites were built on a common stack and the infrastructure resources could be easily shared where needed.

Drupal’s multisite capabilities, where multiple separate websites from a single codebase could be run, made the hosting requirements for the backend simple.

In this decoupled Drupal setup, the infrastructure for static web assets (comprising HTML, CSS, JavaScript, fonts and others) required Amazon S3 or similar storage and a CDN distribution with origin set to the S3 bucket. The frontend code was done using Angular.

With the presence of different environments and the need for an endpoint to access the API, hardcoding the URL during the build time was necessary. IP whitelist was used for Drupal server for high-level security. All the content was retrieved from a proxy. The proxy could be placed behind a CDN thereby improving performance and availability.

With several websites and environments, infrastructure automation was needed. Terraform made it all possible. It enabled the process of writing similar scripts for AWS and Aliyun, for instance. Terraform modules were run once to prepare the environment and create IDs of all the resources. The IDs were set in a configuration file which was accessible to all the Jenkins runs. This made sure that the front end code could be deployed from the CI (Continuous Integration) builds. Terraform also helped in administering the state of all the infrastructure.

Conclusion

System administrators and DevOps engineers strive to do more with less. Defining infrastructure in code and automating its deployment brings about operational efficacy and lower administrative overhead. Terraform is all set to be your go-to toolset for infrastructure automation. And, it can be a great asset in Drupal web application infrastructure.

Using Terraform can be fun. For starters, you can take Terraform for a spin and simply play with it to better understand its efficiency for your digital business.

Offering fantastic digital experience has always been the objective of OpenSense Labs. Talk to our experts at hello@opensenselabs.com and understand more about Terraform’s capability in transforming the landscape of your web application infrastructure.

blog banner blog image Terraform Drupal Drupal 8 Infrastructure as Code Web Application Infrastructure Ansible Chef Puppet SaltStack Serverless Decoupled Drupal Blog Type Articles Is it a good read ? On
Categories:

Symphony Blog: Remove /web part from a Composer based Drupal site

Fri, 2020/01/03 - 5:22am

Ok, the problem is clear:

  • Your composer based Drupal site put code base to the /web folder
  • You are using a shared hosting which maps your primary domain to /public_html, and you can't change that

Now your users will have to browse your site as http://example.com/web . And it is not cool.

So how to serve your site from the subfolder /public_html/web but removing the /web suffix so it becomes transparent to users?

read more

Categories:

Lullabot: Emailing Users About Content Activity in Drupal 8

Thu, 2020/01/02 - 9:16pm

Site owners and administrators often want to send email to users telling them about content creation or changes. This sounds basic, but there are lots of questions. What exactly needs to be accomplished? Some examples could include:

Categories:

Kris Vanderwater: Product Development: Acquia ContentHub 2.x

Thu, 2020/01/02 - 7:48pm
Product Development: Acquia ContentHub 2.x Kris Vanderwater 2 January 2020

So my blog's been offline for a while now. I think there was a security issue sometime around 8.2.2 because I just upgraded the public version of the site from 8.2.1 directly to 8.8.1. I actually did an upgrade to 8.8.0 alpha-something that I used to bootstrap the upgrade to 8.8.1, but public-facing the site made a pretty big jump. Some of this is due to laziness on my part, but a pretty significant portion of my disappearance has been due to a new (to this blog) position within Acquia.

Categories:

Bounteous.com: Things to Look Forward to for Drupalists in 2020

Thu, 2020/01/02 - 5:12pm
An overview and exploration of some of the exciting releases, new features, products, and updates coming in 2020 for Drupal and Acquia.
Categories:

qed42.com: MLH Local Hack Day:Build 2019

Thu, 2020/01/02 - 10:58am
MLH Local Hack Day:Build 2019 Body

Major League Hacking’s Local Hack Day - Build is a global day-long hack day, which brings ideas to life with a worldwide community.

The Local Hack Day Build was scheduled from the 1st-7th December 2019 in different cities across the globe. A 12 hours hackathon known as BUILD was carried at more than 200+ locations during this period. Facebook and MLH were the event sponsors! 

QED42’s Pune office hosted approximately 65+ bright and curious minds for the Local Hack Day - Build on the 7th December 2019! This included a considerable amount of college graduates.

I had the opportunity to engage with Facebook Developer Circle Pune. To my surprise, students possessed knowledge about technologies like Docker, Git, and presented innovative ideas. Within a span of 12 hours, groups had created both desktop and mobile applications, which was commendable.

Let me walk you through the Local Hack Day at QED42. 

| Introduction

We kickstarted the event started with the MLH Local Hack Day introduction by Sangeeta Gupta (Facebook Developer Circle Pune Lead). Post this, Sayak Sarkar conducted a brief session on Git and Github. 

Some groups came up with innovative ideas, while others received ideas from the organizers. And finally, the event began! 

| Event Kick-Off

Groups of curious and innovative minds started working on their prototypes. In the middle of the prototype creation process, the organizers had arranged scrumptious lunch for everybody. Post lunch the groups resumed work on their respective prototypes.

| Interaction with FDC, Hyderabad

We also had the opportunity to interact with our sister community Facebook Developer Circle from Hyderabad. They were also hosting the MLH Hack Day!  Sharing updates and stories with them was an absolute pleasure. We played a fun game between Pune and Hyderabad folks, where each team has to mention a programming language name until other team runs out of known language names.

Among several innovative ideas and demos, here are a few of my favourites:
  1. An application that enables children with down syndrome identify wet and dry waste by looking at the images. The app guides and communicates via text to speech functionality, whether or not the choice made by the individual is right. This helps improve the performance of special children. Link: https://github.com/Amarn7/Learn

       Team Members:

  • Amar Nagargoje
  • Atharva Barve
  • Tejas Bhadane
  • Nirav Madariya
  1. An Online Judge System which also is one of the world's first Self Learning Ladder - based judge system, along with developing their own indigenous IDE. To make this project more of a Capstone Project, the team developed a Web interface and an Android App interface too. Link: https://github.com/pratikdaigavane/Son-Of-Anton

       Team Members: 

  • Ayush Shah
  • Kunal Raut
  • Prathamesh Shiralkar
  • Pratik Daigavane
  • Saarth Deshpande
  • Tejas Joshi
  • Utkarsh Atre
  1. Built an internet bot to buy and sell digital gold on Paytm Gold at the best possible buying and selling prices. Enabling users to earn money without doing anything. Link: https://github.com/PranshuTople/GoldDigger

       Team Members: 

  • Pranshu Tople
  • Pallavi Saha
  • Shubham Nandi
  • Rishabh Agarwal
  1. Women Safety App where the map will be segregated on the basis of the danger zones in the city based on the threat level. The areas will be colour-coded as grey, yellow, and red. The mobile will be connected with the GPS for live tracking if a person goes into the threat zone a prompt will be sent to the emergency contacts. If the person stays too long in the danger zone without any activity, the alert will be sent to the police department. Areas are segregated by the threat level determined by crowdsourcing the information about any particular area. Link: https://github.com/Knightfire1998/DotDashDot3.git

       Team Members:

  • Reshikesh Umakant Dhanrale
  • Akshit Abhay Keoliya
  • Shweta Singh
  1. Learning to use Azure Cloud Cognitive services and GitHub integration. Mood Detector - Captures your face and detects the mood like Happy or Sad. Link: https://github.com/AJV009/mooddetector/Hacker name: Alphons Jaimon

  2. Millions of saplings are planted every year, and millions die too. Because they are not taken care of. This is a humble attempt to track all such saplings around a volunteer's vicinity keeping the external factors like weather into account. Link: https://github.com/Devendrabhat/angry-buddha

       Team Members:

  • Aniruddha Kibey
  • Devendra Bhat
  • Shagun Kaushik
  • Shreyas Kalmegh

You may also read about the other projects here: https://github.com/devcpune/solid-doodle/

Here are a few more highlights from the Local Hack day: 
  1. FDC Pune members launched the official Facebook Developer Circle: Pune organisation on GitHub and made the first solid-doodle repo. Currently, it has 102 commits and 23 contributors in the repo. Link: https://github.com/devcpune/solid-doodle/

  2. We discussed the DevC Training courses and how they can prove to be extremely beneficial for the community.

At the end of the local hack day, we collected the participant’s feedback in a rather innovative way! Participants drew emoji’s on colourful sticky notes to express their feedback about the event. 

We had a wonderful time collaborating with participants from different domains. Hacking, brainstorming, and innovating collectively at the Local Hack Day - Build! 

Pratik Kamble Thu, 01/02/2020 - 15:28
Categories:

OpenSense Labs: Drupal 2019: Year In Review

Thu, 2020/01/02 - 9:44am
Drupal 2019: Year In Review Shankar Thu, 01/02/2020 - 14:14

A magnificent year has gone by! 2019 saw Drupal evolving by leaps and bounds. As the year comes to an end, here is a look at some of the significant moments from the Drupal world that happened during this time.


18 years old: Drupal is no longer a kid!

It was on 15th January 2001 when the world saw Drupal burst onto the scene. Drupal 1.0.0 was released on this date. Since then, with the support from thousands of open source enthusiasts and contributors, it is today one of the market leaders in the CMS segment. Drupal turned 18 in 2019 and Drupal Community revelled in its success with much mirth.

Drupal Community members were surely excitedNew Drupal releases

As per Drupal’s 6-month release cycle, the Drupal fraternity witnessed two new Drupal versions being released in 2019 - Drupal 8.7.0 and Drupal 8.8.0.

Drupal 8.7 was one step closer to a better future. It came packed with much-needed features, particularly the stable JSON:API core module and the stable Layout Builder module. With JSON:API support being included as a core feature, displaying your Drupal content in decoupled websites, mobile applications and others would be a downhill task.


After being introduced as an experimental module in Drupal 8.5, the announcement of a stable and production-ready version of the Layout Builder module in Drupal 8.7 was huge news. Its provision for state-of-the-art content management solution with features like drag and drop management for content blocks and the quicker process of creating layout templates for content is a massive improvement.


Drupal 8.8, that released on 4 December 2019, is the last normal feature release of Drupal 8. It came with a stable version of the Media Library module that was previously added as a beta experimental module in the core. Media Library streamlines the reuse of images, documents, videos and other assets across the website.


Claro, a new experimental administration theme, was also introduced in Drupal 8.8. Its intuitive features like touch-friendly administration pages and more accessible colour combination and contrasts will definitely enthral website handlers.


Drupal 8.8 also introduced a new experimental Help Topics module for further enhancement of in-Drupal help.

The Composer Initiative yielded great results as Drupal 8.8 became the first release that included native Composer support.

From the vantage point of businesses

With Drupal 9 set to be released in June 2020, the Drupal business leaders, as stated by Drupal Business Survey 2019, were eagerly looking forward to it. The survey revealed that the thought leaders from the Drupal circle had a lot of anticipations from Drupal 9.

(a)(b)

Source: Drupal.org

Majorly, these were the key results from the survey that showed what Drupal business leaders are excited about:

  • Streamlined upgrade path from Drupal 8 to Drupal 9
  • Ease of update. No large jumps on functionality changes when moving from one version to another
  • Better interface and improved user experience for developers as well as administrators, content editors and end-users.
  • The possibility of Drupal development becoming more simpler and a go-to option for not only the enterprises but also small and mid-size projects.
  • Drupal getting more powerful as an API-first CMS.

The survey did show that there are apprehensions about the migration from Drupal 7 to Drupal 8 or even from Drupal 7 to Drupal 9. It is perceived as a business-critical decision and the one that may be very intricate.

A clear picture: Drupal 9 upgrade

By the end of 2018 and in the entire 2019, Drupal Community began to see the clarity with the state of Drupal 7, Drupal 8 and Drupal 9. In DrupalCon Seattle 2019, the Driesnote presentation clarified that Drupal 7 will be fully supported by the community till November 2021 in addition to receiving security patches. From thereon, until at least November 2024, vendor support will continue.

It further stated that the Drupal 7 to Drupal 8 upgrade can be an uphill task for large sites in particular but nevertheless, once done, its advantages outranks the challenges.

Driesnote presentation in DrupalCon Amsterdam 2019 showed that the progress on Drupal 8’s Automated Updates Initiative has been spectacular last year.


Symfony 3, which Drupal 8 is highly dependent upon, has an End-Of-Life date towards the end of 2021. That means Drupal 8 will be End-Of-Life by November 2021. Essentially, by the time Drupal 8 reaches End-Of-Life, every Drupal site should have upgraded to Drupal 9. Driesnote in DrupalCon Amsterdam also stated that the upgrade from Drupal 8 to Drupal 9 will be extremely easy. Consistently checking for and removing the use of deprecated code would make the migration from Drupal 8 to Drupal 9 a very simple one.

Rather than working on Drupal 9 in a separate codebase, it is being built in Drupal 8. Therefore, the new features and functionalities are being added as backwards-compatible code and experimental features. As the code attains stability, old functionalities will be deprecated.

Drupal project pipeline

Drupal adoption rate saw a palpable growth last year.

 

Source: Drupal.org

When it comes to the experience that the business leaders had selling Drupal projects, according to Drupal Business Survey 2019, it has been fantastic. While the Drupal project pipeline has grown or remained at the same level, the average deal size has proliferated. Future of the Drupal project line is predicted to remain steady.

Source: Drupal.org

When asked about the type of projects that the respondents completed in 2018 and the industries in which they implemented Drupal projects for providing ambitious digital experience, ‘Education’ turned out to be the most popular industry. Industries like ‘Travel and Tourism’, ‘Sports’, ‘Telecommunications’, and ‘Logistics and Support’ also witnessed an increase in the implementation of Drupal projects.

Contributions

On examining Drupal.org’s contribution data in a 2018-2019 report, it was found that the number of contributors and contributions have increased to a great extent. There was an 8% rise in the number of Drupal.org projects that received contributions when compared to 2017-2018 period. More than half of the contributions were done on contributed modules. Interestingly, the big jump in non-product credits was discernible. This includes activities like organising different Drupal conferences, promoting Drupal, and community working groups.

Source: Dries Buytaert's Blog

There was a noticeable increase in the number of contributions that the Drupal.org’s credit system received. The top 30 contributors (the top 0.4%) accounted for 19% of credits. (Our very own Drupal architect Gaurav Kapoor was amongst them.)

It was also found that most of the contributions were sponsored. Even though sponsored contributions remained on the higher side when compared to volunteer contributions, the latter is significant to Drupal’s growth and success as an open-source CMS.

Source: Dries Buytaert's Blog

Drupal Business Survey 2019 shows that 111 out of 118 businesses contributed to Drupal. The survey delineated that the businesses have been contributing in multiple ways that ensure good health of Drupal. Whether it’s the contribution to modules, themes and distributions, or improvement of Drupal’s documentation, or sponsoring and organising events, businesses have been helping Drupal grow in their own ways. Some of the businesses, unable to contribute, cited lack of time and resources as the reason.

Different ways to contribute to Drupal | Source: Drupal.orgDecoupled approach

Since the time when Dries Buytaert, founder and project lead of Drupal, talked about RESTful Drupal and later about the future of Decoupled Drupal, this approach has evolved into something more exciting and attained new heights.

The two ways of decoupling Drupal include progressive decoupling and fully decoupling. But, as 2018 neared its end and 2019 began to unfurl, the fully decoupled approach branched into two methods. It was due to ever-increasing convolutions of JavaScript development that, in addition to existing fully decoupled application, it also took the form of a fully decoupled static site. The popularity of JAMstack and its reputation of rendering high performance, top-notch security and fewer complexities during the development gave wings to approach of building fully decoupled static sites.

Most importantly, API-first Initiative made great progress and strengthened Drupal’s capabilities as headless or decoupled solution. Not only has Drupal core started offering out-of-the-box JSON:API implementation with JSON:API module landing in core since the launch of Drupal 8.7, but several new improvements to JSON:API support in the contributed space were seen. (For instance, an interactive query builder called JSON:API Explorer.)


Diversity and inclusion

Although Drupal’s contributors were found to have become more diverse in Drupal.org’s contribution data studied between 2018-2019, more effort needs to be put in to fill the gaps.

For instance, in this report, some interesting facts emerged when gender diversity and geographical diversity of Drupal.org contributors were studied. Even though the contributions made by persons who do not identify as male increased by one percent in 2018-2019 period, the gender imbalance in Drupal is still a worry. Non-male contributors accounted for only 8%.

Source: Dries Buytaert's Blog

When it comes to geographical diversity, Europe and North America continued to dominate the contributions space. While the United States topped among the countries, India remained the second-largest contributor. Overall, the contributions from Asia were on the decline (particularly India in spite of it being the second-largest contributor).

Drupal Community understands the need to foster diversity and inclusion. Several efforts have been taken in 2019 to show its strong will to diversify its community and be more inclusive.

Drupal Association, like in 2018, changed its logo to show its support for LGBTQ+ community for the whole month of June (Pride Month).


Listening to a more diverse group of people can be an inspiration to new contributors from all gender identities, races, religious groups, geographies, ethnicities and more. There were significant efforts made to help more people from underrepresented groups speak at Drupal conferences and workshops. For instance, Drupal Diversity and Inclusion group hosted a speaker diversity training workshop in September.

In their resolve to diversify the leadership group, Drupal Association decided to elevate a diverse group of leaders. The nominations for community elected board position were open for all.

Climate change

It was also the year when a teenager took the world by storm. An unlikely teenager somehow got the world’s attention. Greta Thunberg inspired millions of people to join the global climate strike in September which turned out to be the largest climate demonstration in human history.


Drupal.org, along with thousands of websites across the globe, posted a banner message declaring that it has opted for a global digital climate strike.

End thoughts

2019 proved to be remarkable for Drupal. It reached new avenues. It kept getting bigger. It realised where it lacked and showed strong resolve to improve.

Drupal 8 isn’t done yet. It’s gonna be here for a while and will continue to offer enriching digital experiences all over the world. But, eventually, Drupal 9 will take over. It’s going to be released in a few months from now and Drupal Community is very excited to welcome it. A lot of interesting things are lined up for Drupal in 2020 and it will be amazing to see them all happening.

Happy New Year to all the Drupalists! Grow Drupal, grow with Drupal.

blog banner blog image Drupal Drupal 8 Drupal 9 Drupal 7 Drupal 8.7 drupal 8.8 Drupal 8.9 Year In Review DrupalCon Amsterdam DrupalCon Seattle 2019 Drupal Business Survey 2019 Drupal Contribution Drupal Project Pipeline Drupal Release Pipeline Decoupled Drupal Diversity And Inclusion Blog Type Articles Is it a good read ? On
Categories:

Gizra.com: Improving Health Care with Plain-Text Medical Records and Git

Thu, 2020/01/02 - 1:00am

Recent travel to Rwanda has brought me to build a POC (Proof-of-Concept) with a familiar stack, only in a very different structure.

To better understand why the POC was built that way, I should give you the backstory.

The Backstory

In 2016, I was invited to present about Drupal & Elm in DrupalCamp Tokyo. I always like to bring this fact up in any kind of conversation - but this time there’s even a reason beyond my usual bragging rights: The flight is terribly long from Israel to Tokyo. Twenty-four hours door-to-door kind of long.

As it so happened, a short time before my flight, Adam, Gizra US Director had virtually dropped a PDF on my table. I was preparing myself for yet another long RFP (Request for proposal) with an impossible spec, and an even less possible timeline. I was surprised to see that was not the case. That PDF was forty-something pages, with a wireframe per page and some notes, showing the flow of a rather interesting app.

Wireframe from the spec

Three years later I still refer to those pages as the best spec we’ve ever received. The people behind those wireframes were Dr. Wendy Leonard and her Ihangane team. They were planning an electronic medical record for an HIV prevention program in Rwanda.

I was really impressed. Sure, the wireframes were rougher than usual, but they did exactly what they were supposed to. The team was smart enough to not rush into development and in fact, they even printed out the spec pages, went to the field, sat with nurses, and let them click on the screens. The printed screens. They clicked on paper!

Anyway, did I ever mention I was invited to Tokyo in 2016?

That long 24 hours flight. I’ve finished my book (“Ancillary Justice”), watched a movie (“Wreck-It Ralph”, as for some reason I love watching cartoons on planes), and there were still many hours before my arrival. So I took my laptop out, spun up a Drupal backend and an Elm frontend - and the first POC for Ihangane’s app called “E-Heza” was born in the sky.

Continue reading…

Categories:

Brian Osborne: Introducing the Media Entity File Replace module

Wed, 2020/01/01 - 11:03pm
The Problem

Replacing files uploaded to your Drupal site can be very frustrating. In most cases, when an editor wants to replace a document, they want to keep the exact same filename and filepath and just overwrite the contents of the file. This is important in cases where the file is linked to elsewhere throughout the website or on other websites outside of the editors control. If you use the media module to manage documents on your site, you'll quickly discover that it's not possible to upload a replacement file for a document and keep the same filename.

Categories:

Specbee: Why is Drupal CMS the top choice for Government Websites in 2020?

Tue, 2019/12/31 - 12:52pm
Why is Drupal CMS the top choice for Government Websites in 2020? Shri Ganesh Hegde 31 Dec, 2019 Top 10 best practices for designing a perfect UX for your mobile app

In 2018, The Open Source Initiative celebrated its 20th Anniversary, a milestone and a huge success for the global non-profit dedicated to raising awareness and adoption of open source software. Since its inception, the open source movement has gained tremendous momentum in corporate computing. In the recent years, open source has entered the government sphere as well.

One such popular open-source platform is Drupal. Developed by Dries Buytaert in 2001, Drupal became a sensation when it was used to build a network for the Democratic primary campaign of Howard Dean in 2003. Since then, Drupal has come a long way and now more than 100 countries use Drupal for their government websites.

Steve Nichols, CTO of Georgia Technology Authority, which runs more than 65 state government websites, recently talked about how shifting to a Drupal platform helped him manage the government websites in a better way. Earlier, these government websites were running on two different versions of proprietary software - Vignette 6 and Vignette 7. But as the functionalities increased, it became very cumbersome and expensive. Soon they started looking out for other options, and all the evident choices pointed to open source CMS, and the most obvious and the strongest among all the contenders was Drupal.

When they dug a little deeper, they found out that many key federal government sites were being powered by Drupal, and that is when they decided upon to narrow down on the Drupal CMS.

So why exactly do these government websites opt for a Drupal CMS among the plethora of options? Why is the most obvious choice Drupal? Let us know a bit more about what makes Drupal so special!

Drupal's Market Share

In the present world, with more than 150 federal government sites running on Drupal platform, it is kind of obvious that the Drupal CMS has an enormous market share when it comes to the government websites and the public sector in general.

 

The list contains big guns like NASA, Department of Health, Department of Education, Transportation, Defense and Homeland Security. When Drupal platform is being preferred by some of these big government sites, it is not surprising to see that many other private and media companies are inclining towards Drupal CMS for their own websites.


Drupal's Adaptability Features

A few years back, the energy department's website, energy.gov got into a lot of trouble. The website faced low traffic, high bounce rate, and to make it worse, the entire website was built on the basis of an internal office structure which made it quite impossible to navigate. It needed immediate attention, and that is when the organization decided to migrate their website to Drupal.

One of the greatest strengths of the Drupal CMS is its ability to integrate with any other solutions and services. Even a proprietary CMS such as Sharepoint, is likely to coexist with Drupal and other open source platforms. The modular system that a Drupal CMS works on, allows it to adjust easily based on the type of deployments.

Security

While the typical stereotypes about open-source platforms is that they are quite vulnerable to threats, Drupal has a track-record of being one of the most secure open-source CMS. Well-equipped to handle cyberthreats, the Drupal community does a great job to work together and ensure that they eliminate any threats before they affect the users.

Drupal consists of several security modules, making it one of the most reliable platforms amongst several others. Some of these modules include, Login Security, Password Policy, Captcha, Security Kit etc.

Multisites - An Easy Task

Governments tend to have multiple websites, in multiple languages in order to handle various sections of their administration. Irrespective of whether the government has just a couple of websites or few hundreds, the task of building each one of them individually and maintaining them is going to be a tough job.

Drupal CMS makes it easier with its multisite feature, allowing the developers to copy the site's code base and create as many new websites as required. Thus, by leveraging the features and functionalities of an already existing website, the need to build every single site from scratch, is eliminated.

Additionally, Drupal also offers out of the box Content and Entity Translator modules which help content authors to translate pages, individual fields, elements and more. Thus, multiple sites in multiple languages is an easy feat with Drupal CMS.

Say Hello To DeGov

DeGov is the first of its kind Drupal 8 open source distribution that focuses on the needs of government organizations only! DeGov offers a comprehensive set of customized functionalities which are commonly used only for those applications that are necessary for government websites.

With the ability to release federal and state portals, internet sites for ministries, authorities, municipalities and more, DeGov distribution allows web pages and group-specific portals to be created easily, without any hassle.
Learn more about DeGov here.

 

Considering the exceptional growth in the public sector, Drupal platform has surely got a positive outlook. Keeping aside the reasons as to why government websites prefer Drupal, there are various other features offered by Drupal which can easily manage any website irrespective of its state of complication. With the release of Drupal 8, flexibility in terms of grouping functions has increased, thus making it easier for Drupal development companies to inherit and derive particular characteristics in various parts of the website.

Drupal Planet Shefali ShettyApr 05, 2017 Subscribe For Our Newsletter And Stay Updated Subscribe

Leave us a Comment

  Shefali ShettyApr 05, 2017 Recent Posts Image Why is Drupal CMS the top choice for Government Websites in 2020? Image An Introduction to PHP Standard Recommendation (PSR) Image GraphQL with Drupal 8 : The All-You-Need-To-Know Guide (with examples!) Want to extract the maximum out of Drupal? Contact us TALK TO US Featured Success Stories

Know more about our technology driven approach to recreate the content management workflow for [24]7.ai

link

Find out how we transformed the digital image of world’s largest healthcare provider, an attribute that defined their global presence in the medical world.

link

Develop an internal portal aimed at encouraging sellers at Flipkart to obtain latest insights with respect to a particular domain.

link
Categories:

Srijan Technologies: Prepping Up For Apigee Developer Portal Migration To Drupal 8

Tue, 2019/12/31 - 11:37am

As APIGEE end of support for Drupal 7 in May 2020 is combined with Drupal 7 end of life in Nov 2021, developer portal are not left with many choices - migrate to Drupal 8 or continue with Apigee’s integrated portals. 

Categories: