Newsfeeds

path alias import

New Drupal Modules - 31 May 2019 - 6:02am

This project allows to create path aliases to specific nodes from imported csv files.

how to use:
-activate the extension
- import your csv file at /admin/config/path_alias_import/upload
- The file must contain 4 columns : an entry id (just for the sake of it ) , /path_alias, internal system path target ( ex : /node/2), lang
- check path alias creation at /admin/config/search/path

Categories: Drupal

OpenSense Labs: Open Source : A community and culture

Planet Drupal - 31 May 2019 - 5:28am
Open Source : A community and culture Harshit Fri, 05/31/2019 - 17:58

Open source communities are more about sharing ultimate value rather than just building something. They love to contribute and impact people all across the globe. Open source culture is more than just reusing free code on GitHub to get products to market faster.

The open source culture embraces an approach to software development which totally lays emphasis on all round collaboration and helpful nature, the teams tend to focus more on increased competencies instead of core infrastructure and cross channel implementation.  The culture embraces an approach to software development that emphasizes internal and external collaboration, an increasing focus on core competencies instead of core infrastructure, and implementation of DevOps processes commonly associated with microservices and cloud native technologies. 

What are the key traits of an open source community and culture? A responsibility to contribute 

Open source involves a broad range of technologies and a diverse set of people who bring some or the other expertise to the table. Often people are more inclined towards contributing the best of their individual abilities. They feel the responsibility to contribute and make sure they are often involved in the betterment of multiple projects and are they are often people are members of multiple projects, involving a broad range of technologies. Frequently, member recognition isn’t set by how much they’re paid or what titles they’re called. It’s how much of a headache is solved or endured for others. 

 All round responsibility and accountability

Accountability between members begins when they know each other as people and professionals. It’s especially important to have consistent written contact, ad hoc and scheduled video conferencing, and meeting in person at least once a year to build personal bonds.

Seamless and undeterred Collaboration

Collaboration for an open source organization culture stretches across multiple areas. Well into domains like organization goals, cultural fit, and more.

Team members who define together what a cultural fit is demonstrates what's important to the organization. Just as, a united group of passionate hackers and designers who take part in the joys of community sharing, they want to hire those having like interests and similar ideals.

More inclination towards automation

Automating tasks within an organizational culture is about respecting people’s effort while not wanting them to be distracted from getting the right thing done when needed. 

Organizational members focus ultimately should be on what’s important to them and, in turn, the organization.

Consistency in everything 

The consistency of people, processes, and management thereof is the glue of an open source organization culture. Without consistency of action, principles and guidelines flounder despite the best of intentions.

Streamlined Processes

It's extremely hard work to develop fundamentals when shortcuts and hacks so often seem to provide great short-term benefits. However, consistency is the key to positive long-term results.  

For example; there needs to be a detailed and consistent process in hiring for fit, not skills, and for the long-term. Beyond these two key criteria, the candidates should also be demonstrably capable, driven, and passionate for the role to be filled.  

An underlying passion 

The underlying spirit to do good work is hard to find, it comes to you upon due search. And it is more powerful than any other driving force in the professional landscape. You will strive harder and harder for the things which mean something to you and the Drupal community makes you feel connected to their growth, you grow as they grow, which ultimately helps you feel the need to deliver sheer excellence. 

Shared Responsibility

At an organization, culture becomes the way you work. Through culture, there’s a shared responsibility for good communication and positive results. In communicating with clients and one another, it needs to be timely, considerate, and accurate. 

Drupal: For great community and culture Drupal has a predefined set of values and principles

Drupal, since its inception was built around a foundational set of values and principles. The agenda was to gather a community of like minded individuals and bring them on the same page about the vision and mission of the product and its roadmap.

Source: Dries Buytaert’s Blog Drupal’s code of conduct and CWG 

Drupal community's Community Working Group comprises of independent volunteers who strive hard to protect and promote the health of the entire Drupal community, they also help and maintain and keep on track the Drupal Code of Conduct and also act as the escalation body to help mediate conflict between community members. 

What should make you want to contribute to Drupal?

Can you imagine hundreds of thousands of people relying on your code or waiting to get some feedback from you? Their business’s growth is dependent on the advancements you make in your contribution. The more you contribute the better your worth and stance in the community, what is better than people believing, listening and relying on you for some advancements in the community? 

Final word 

Open Source is here to stay and develop software that has a huge impact upon individuals and businesses. People continue to make efforts because of their underlying passion for building great things and open source communities are an example of that. 

blog banner blog image Open Source work culture Blog Type Articles Is it a good read ? Off
Categories: Drupal

OpenSense Labs: Myths about OpenSource Technology

Planet Drupal - 31 May 2019 - 5:02am
Myths about OpenSource Technology Harshit Fri, 05/31/2019 - 17:32

Open source software has been receiving some serious criticism and some serious applauds from the tech community all across the world. People beg to differ on a lot of ideas about it, it has led to some serious publicity over these years. But hold on a second, with publicity comes myth and with myth comes some serious thoughts and people get mislead. Which at the end of the day hampers people’s thought process. Some think source software is totally free to use and some question its security quotient.

Open source technology has made it nearly possible to do so much in literally no time.

Let’s get into some myths about open source technology about back them with actual facts.

Myth #1: Open Source is free

Many people get more inclined towards open source software because they are misled into thinking that open source software is free to use and there will be hardly any software run costs in the future. On the correct note, this is not true, open source means open source code and that you can easily  access the source code of any system if you are enrolled in any given community.

To break it into a more understandable concept:

An Open Source Content Management System vendor can charge you for the services being provided around the open source software, And by far there is no link between the software license and the what you have to pay to get out of it.

Take Drupal for example, it's free to download and use for personal purposes but the advancements have gone so far that you will need to seek expert services for utilising the software to it's very best potential.

What's the free part?

You are free to access the source code behind the functionality and alter it for your own use case but provided that you abide by the terms and conditions in the license agreement.

Myth #2 - All open source software is Linux based

This myth is one of the most common and it’s fair enough for people to believe, especially when they are new to the open source landscape or just starting off their careers. When OSS came into the picture, this was the most commonly When people mentioned OSS, the quick and common assumption about it is that OSS only runs on the Linux operating system. It is a quick and easy assumption to make as many open source programs are made with Linux availability as a prime motivator.

MYTH #3: Contribution to OpenSource is only for startups

In the government sector, open source contribution is strong and they have the deploy teams to be able to handle and make the best use out of the open source software. Hence they end up making more and more contributions in the process.

On the other hand, the developers in the public sector do contribute to the code base but they have to expect some benefit out of it, either in the financial aspects or on the career trajectory aspect.  Some state and federal agencies like code.ca.gov and code.gov are using code sharing and collaboration to help the government in cutting down the duplicacy costs.

Drupal as an open source software is great for giving startups a heads up for showcasing their expertise and content. On the other hand, it is also one of the best solutions when it comes to enterprise requirements. You can custom build your content management systems which serve for a large scale content repository.

Myth 4 : OSS is less secure than proprietary software

So, is open source software inherently more secure? Of course not. Before going for any open source solution, you should look into its security thoroughly.

You can always review its version history and the frequency of security updates provided by the supporting community, you should also look for the amount of work being poured into its security segment and what is the word of mouth like?

Maybe you’ll even find an independent agency vouching for a product’s security, or certificates proving its reliability, or a respected colleague who can assure you that it's the best option on the market.

Additionally, you can see what tools your competitors, partners, and established companies in the industry are using. For instance, Ruby on Rails is used by 500px and Airbnb, and that alone is a great indicator that this framework is reliable enough for startups.

Drupal is considered one of the most secure content management systems across the world. Why? Because of its dedicated security team and the frequent security releases which make the system more and more robust over time.

Myth 5 - OSS is not scalable

Open source software is never designed to fit in everyone's shoe, the entire agenda of open source software is to make sure people can make it fit in their shoes with the help of respective expertise and their organisational requirements.

Take Drupal for example, It is designed to be scalable and adaptable in comparison to its commercial competitors. It is supposed to be evolved by the community and hence meet enterprise expectations. Developers have been able to adapt projects to small  and enterprise size requirements.

Myth 6 - Open Source is not maintainable

It is a strong assumption that open source software is harder to maintain and it can lead to possible confusion among the user crowd. There is always a sense of responsibility and motivation to improve the code and better the software overall, not for monetary gain, not for any gain other than a feeling of social responsibility.

Open Source softwares generally track all the upgrades, improvements and maintenance measures using paid tools to help maintain a record of the versioning and who was the code contributed by. See? The community has already got the maintenance concern or issue covered before it even gets started.

One more strong foothold about open source is that it can be managed and the work can be overtaken by other technology service providers, in case your technical team decides to move on. So, you should now be sold on the idea that open source is maintained like a premier software.

Myth 7 - OSS doesn’t have a support system in place

Since there is no one to hold accountable openly, people think open source software is less cared about or not supported so well in the industry.

But things are the absolute opposite, the amount of care and support put in by the community support teams is enthralling and it can completely change your mindset about it. Companies which run on the software bring in their brightest minds to help provide support for their software so that they don't get shut down at the end of the day due to lack of sincerity in support and care.

Final word

There might be a ton of myths and rumors circulating within and outside the communities but one should always think and work this out before making any harsh assumptions. Myths often keep us from adopting or trying out a technology and this has to come to an end sooner or later because the technology and the community speak for themselves.

blog banner blog image Open Source Blog Type Articles Is it a good read ? Off
Categories: Drupal

OpenSense Labs: Brace yourself, Drupal 9 is Coming!

Planet Drupal - 31 May 2019 - 4:45am
Brace yourself, Drupal 9 is Coming! Jayati Fri, 05/31/2019 - 17:15

With Drupal 9 on the verge of release in June 2020, the Drupal community has about 18 months to map out a transition plan. The latest versions of Drupal in recent times saw a major breakthrough from the past versions. As the philosophy of development has changed, Drupal 9 is said to be built in Drupal 8 and the migration will be super easy this time.

Released in 2011, Dries announced the end-of-life (EOL) for Drupal 7 to be due in November 2021 after serving for more than 8 years. However, many people are still on Drupal 7 given the compatibility issues in the two versions which caused major disruption and migration became a task for developers. However, the new philosophy makes it easier to plan and anticipate any unforeseen obstacles that you may encounter. Are you prepared for it?

Planning for Drupal 9?

Launching with the objective to modernise the dependencies such as Twigs and Symfony and to remove support of deprecated APIs, Drupal 9 is making its way into the Drupal community soon.

Every new information being released about the update and new features is gearing us up for the big leap. The first and foremost action to be taken in consideration is to plan and upgrade no later than the summer of 2019. Experts believe, as long as your modules are updated with minor releases like Drupal 8.7 and the upcoming Drupal 8.9 in December 2019, there won’t be much to worry during the main release of Drupal 9. Being upto date with Drupal 8 is a crucial step for adaptability and easier usability in the future.  

Dries Buytaert wrote recently in a blog:

‘’Instead of working on Drupal 9 in a separate codebase, we are building Drupal 9 in Drupal 8. This means that we are adding new functionality as backwards-compatible code and experimental features. Once the code becomes stable, we deprecate any old functionality.’’ What’s New in Drupal 9?

With a lot of buzz around the new features to be delivered, let’s understand few important reasons for the strategic release of Drupal 9:

  • The innovative model of Drupal 8 had new releases every six months which led to adding of new features and enabling improved ways of problem solving. However, Drupal 9 will deprecate the codes which are needed for backward compatibility. In the process, it will provide an opportunity to remove the codes and anything else that is no longer needed.
  • As of now, Drupal needs to adhere to the vendor support life cycles and integrates with common PHP projects like Twig and Symfony. But the third-party dependencies will reduce with Drupal 9 and we’ll have supported versions of software for a long time such as Twig 2 and Symfony 4/5.
Why upgrade Drupal 8 when Drupal 9 is coming?

Drupal 9 is not being built on a new core and its functionalities will not look alien to Drupal 8 users. Instead, they will be added to D8 as backward-compatible code. Only with time and familiarity, as the new features will hold a stable position and mark their success, the older counterparts will be deprecated. As a result, D9 will be stripped of all deprecated code and only the complete collection of stable features will be termed as Drupal 9.

For example, in Drupal 8.0.0, the Drupal::l($text, $url) was deprecated. Instead of using \Drupal::l(), you can use Link::fromTextAndUrl($text, $url). The \Drupal::l() function was marked for removal as part of some clean-up work.

What does it Mean…

With no new paradigms of development and yet being a big leap, how will Drupal 9 change the workings?

For Core Contributors:

Your tasks will get limited in Drupal 9 even before the release. Making the quality robust and release more predictable, new features will remove deprecated functionality and lead to Drupal's dependencies to a minimum.    

For contributed module authors

Similarly, authors can also start working on the compatibility issues before the release as their Drupal 8 know-how will still remains relevant in Drupal 9 with no dramatic changes in the core.

For Drupal site owners

The release of Drupal 9 will make the upgradation much easier for site owners. It will be the same as Drupal 8, only with its deprecated codes removed. According to the experts, keeping your modules and themes stay up-to-date with the latest Drupal 8 APIs will do and a 12- to 18-month upgrade period will be sufficient.

What happens to module, profile and theme maintainers?

Though existing Drupal 8 sites have a year and a half to upgrade to Drupal 9, the technology in Drupal 9 would be already battle-tested in Drupal 8. The set of tasks for module and theme maintainers involve getting updated with the new and better APIs. It would be a mandate to check if your code is compatible with Drupal 9 as it may hold invalid when sites migrate. However, do not wait till the release of Drupal 8.8 which is expected at the end of 2019. As six months will be a limited time to upgrade to Drupal 9 for complex codes, it’s advisable to start assessing now.

How to Prepare for Drupal 9

The big catch in this whole drill of migration is to make sure that you no longer use the deprecated codes. Following are few ways suggested by Acquia:

  • Be updated with Drupal 8 features and modules
  • Create a report for deprecation using Drupal Check.
  • Check for your active modules which might be deprecated at api.drupal.org
  • Address a consolidated list of errors that can occur and need upgradation to Drupal 9 by generating a ‘’readiness assessment’’.
  • Use the latest versions of dependencies in line with Drupal 9.
Wrapping it up

As Drupal 9 will emerge as a phoenix from the ashes of Drupal 8, Buytaert sums it up best, “The big deal about Drupal 9 is that…it should not be a big deal.”

Excited? Have questions about how Drupal 9 will impact your site? Want to chalk out a plan for upgradation? We are here to help. Drop a line to our experts at hello@opensenselabs.com.

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

OpenSense Labs: Run to Glory: The Drupal Effect on High Performance Websites

Planet Drupal - 31 May 2019 - 4:06am
Run to Glory: The Drupal Effect on High Performance Websites Shankar Fri, 05/31/2019 - 16:36

Usain Bolt, in his last appearance at the World Track and Field Championships in 2017, stood third by a narrow defeat in the 100m race leaving behind a yawning gulf. Bolt finished the race just a hundredth of a second later than his fellow competitors.

Every (nano)second counts!


Such is the importance of speed that even a three-time Olympic gold medallist, Usain Bolt, had to bear the brunt of those nanoseconds. Someone might ask “How do I get started learning about web performance?

Visualise that it is the Mega Book Sale Day and the bookworms are thronging the best performing online stores that are selling the books of renowned authors. Coping with such a colossal turn-up, a site with much faster page load speed would be preferred over the ones that are a bit sluggish. Drupal offers a superb platform for an effective website performance optimisation thereby making it faster and user-friendly.

The Significance of Website Performance Optimisation

Web performance optimisation involves monitoring the performance of web application analysing and assessing it, and identifying the best practices to improve it.

Web applications are a combination of server-side and client-side code. To improve the web performance, both the sides need to be optimised.

The client-side optimisation relates to the initial page load time, JavaScript that runs in the browser, downloading all of the resources etc. that are seen in the web browser.

The server-side optimisation relates to database queries and other application dependencies to check how long it takes to run on the server for executing requests.

Performance optimisation is significant because of the following factors:

User retention

BBC found that they are losing out of 10% of users for every extra second their website took to load. Also, DoubleClick by Google found that if the web page took more than 3 seconds to load, 53% of mobile site visitors tend to abandon the page.

 

We all strive to make our users engage in a meaningful interaction with what we have built for the web.

So, if it is an online store, you would like to see a prospective audience turning into buyers. Or if it is a social networking web application, you would want your online visitors to get ensconced in an arresting interaction with one another. High performing sites play a vital role in engaging and retaining users.

An increase in user retention by 5% can result in increased profits by up to 95%.

It costs 5 to 25 times more to attract new customers. So, even a 5% enhancement in customer retention can lead to increased profits of 25%-95%.

By redesigning their web pages, Pinterest combated a 40% reduction in perceived wait times and witnessed a 15% increase in their search engine traffic and sign-ups.

COOK, a provider of high-quality frozen meals, was able to address the average page load time and cut it down by 850 milliseconds which resulted in 7% in conversions, 10% increase in pages per session and 7% decrease in bounce rate.

Improved Conversions

User retention ultimately leads to better conversion rates. Slow sites can have huge repercussions on the business revenues. Better performance of sites can be highly profitable to shore up revenues.

Source: Hubspot

According to 2016 Q2 Mobile Insights Report by Mobify, 1.11% increase in session-based conversion was seen for every 100ms decrease in homepage load speed. Moreover, a 1.55% increase in session-based conversion was noticed for every 100ms decrease in checkout page load time. The outcome was an increase in the average annual revenue by approximately $530,000.

Also, AutoAnything revved up their sales by 12-13% after decreasing their page load time by half.

User experience

When sites ship tons of code, underwhelming performance persists as the browsers chew through megabytes of it on snail-paced networks. 

Source: Impactbnd

Even the devices with limited processing power and memory can find it hard to cope up with the modest amount of unoptimised code. With poor performance taking centre stage, application responsiveness and availability diminishes.

Better optimised code lead to high functioning and better-performing sites which in return alleviate the digital user experience.

Strategising the web performance

Formulation of strategies to improve web performance can be done in two ways:

Bottom-up strategy

Also known as performance-by-design, the bottom-up strategy is the preferred approach to integrate performance as a core development principle. In this strategy, the performance optimisation principles are framed, applied and maintained. This is done right from the application design phase. 

The key stages that are involved in this approach are stated below:

  • Performance principles are laid out.
  • The key pages/transactions are identified, optimised accordingly, and then performance principles are executed.
  • Performance SLAs (Service Level Agreement) are monitored and maintained.

Here's a chart by Infosys which explains it best: 

Key stages involved in bottom-up strategyTop-down strategy

If an existing application needs to be optimised for performance, top-down strategy comes into play. This is a preferred option only when the legacy applications are being optimised for high performance. Also, this is not cost effective and the optimisation options are limited.

Steps involved in this strategy are as follows:

  1. Factors that are contributing to the page performance are assessed using tools like PageSpeed Insights, WebPageTest etc.
  2. Activities that would lead to maximum performance improvements are optimised.
  3. Other optimisations with subsequent releases are iteratively implemented.

In addition to these strategies, one must consider an important methodology called ‘Performance Budgeting’. It means setting a performance threshold that you aim to stay within. You can safeguard your site speed and detect any regression in the performance by setting up a performance budget to ensure continual eye on performance.

This is how we do it!

Expected load time and Google page speed score, as shown below, is the core of our perpetual and iterative development process.

The above chart shows that, while applying performance budgeting methodology, we take note of:

  1. Average load time of 2 seconds or less
  2. Defined maximum limit on page size and number of HTTP requests
  3. Verification of all server site tuning for an efficient and responsive site
  4. Google page speed performance grade of above 90
  5. Implementing performance optimisation
Implementing Performance Optimisation

How to speed up my Drupal website performance? Drupal is loaded with an enormous amount of features which, when implemented smartly, can lead to superfast page loads. There are several techniques to make your website faster by leveraging the amazing features of Drupal.

Keeping your site and modules updated

Outmoded modules can deter your efforts in speeding up your website. Thus, it is important to update every module enabled on your Drupal site.

Uninstalling unused modules

Like those outdated modules, it is significant to keep a tab on least used or no longer used modules. The number of Drupal modules installed on the site is directly proportional to the time taken for code execution which affects page load time. Uninstalling unwanted modules can alleviate execution time.

Moreover disabling the modules also adds to the execution time of the code. So, a complete removal by uninstalling the unused modules can speed up the Drupal site.

Optimising Cache

Optimisation of native cache system ensures that all the web page components are stored in an easily accessible location after a user visits your site for the very time. So, whenever the user visits your site again, the page elements are loaded from the cache which leads to increased page load speed.

Drupal has the provision of advanced caching with a great set of modules:

  • Internal Page Cache module helps in caching the web pages for anonymous users to increase the speed for subsequent users.
     
  • Dynamic Page Cache module caches web pages for the anonymous and authenticated users and is recommended for the websites of all screen sizes.
     
  • BigPipe module allows your users to quickly see the unchanged, cacheable page elements while the personalised content is exhibited next. This technology was inspired by Facebook. Drupal 8’s much improved render pipeline and render API is of huge help.
     
  • Redis module helps in integrating Drupal with Redis key-value store thereby providing a robust cache system for static pages.
     
  • Varnish module lets you integrate Drupal sites with an advanced and fast reverse-proxy system - Varnish cache -  to serve static files and unknown page-views quicker and at high volumes.
Optimising database

Website coding is not the sole thing that can be optimised. Optimising database by regularly cleaning up the data and removing the unwanted piece of information.

Memcache API and Integration module, help in the integration of Drupal and Memcached. It stores your data in active memory for a limited period of time thereby making it faster to access. 

So, instead of making queries to the database constantly, the information is readily available. Such a system also works on the shared web hosting plans.

Incorporating a Content Delivery Network (CDN)

Components like CSS, JavaScript and media are hosted by CDN and served to the online visitors from the nearest location. This can help in mitigating the page load time by rapidly delivering web page components.

Drupal module, CDN, helps in the integration of Content Delivery Network for Drupal websites. It changes the file URLs so that files like CSS, JavaScripts, images, videos, and fonts are downloaded from the CDN instead of your web server.

Optimising bandwidth

Aggregating all CSS and JavaScript files to make them load together is what bandwidth optimisation refers to. Such a parallel processing ensures that all the page elements can be seen by the users almost immediately.

Optimising images

Drupal 8 core is loaded with image optimisation feature to set the compression ratio of the images and fine-tune the page performance.

Moreover, the size of the images for screen sizes of different devices can be optimised in Drupal 8 to enhance the page load speed.

Handling 404 errors

Whenever something on the website breaks to cause a 404 error, it can lead to sluggishness. For instance, a failed image can damage the performance of the site. Drupal 8 provides a module called Fast 404 which utilises the resources better and whitelists files and verifies pathways of problem.

Managing the use of CSS and JavaScript

CSS and JavaScript provide wonderful methods for customisation and flexibility. But, too much of good things can be troublesome for your websites. Avoiding excessive use of CSS files and JavaScript use and keeping the code to a minimum can improve performance.

Advanced CSS/JS Aggregation, Drupal module, can help in keeping a tab of your front-end performance by aggregating CSS and JavaScript files to improve speed.

Using lazy loading

Lazy or on-demand loading is a perfect way to optimise your site’s performance. In this method, you split your code at logical breakpoints and then load it once the user has done something that requires a new block of code.

Basically, in traditional websites, all the images and content are preloaded into the web browser when someone accesses the site. Lazy loading loads these elements as soon as a user scrolls to view a content.

Blazy, Drupal module, provides the functionalities of lazy loading and multi-serving the images to save bandwidth and server requests.

Better web hosting

It is of consummate importance that, while implementing every possible tips and trick and utilising the Drupal’s amazing features, you chose the best web hosting provider that will decide your site’s ultimate speed, stability and security.

Upgrading the server hardware

Server scaling is of paramount importance in order to optimise the website. And to do so, you can either upgrade the server hardware by scaling vertically or by scaling horizontally. When you scale vertically, more resources are thrown at the same server and is considered the simplest approach of scaling the hardware. And when you scale horizontally, more servers are added to separate the load. This approach, when executed well, can minimise the load that any single server receives. In case, you have multiple app servers for Drupal, you will need a method of deploying code to each server concurrently. For example, plartform.sh and pantheon.io can manage the entire hosting setup for you but if you are handling it by yourself, you would require rsync setup or git push to each of your servers etc.

Case Study

The Drupal website of the Farm Journal’s MILK was optimised for high performance and better search engine rankings with a help of carefully drafted audit report by Opensense Labs.

In this section, we will focus on how we used our Drupal expertise to resolve the performance issues.

Project highlights

Previously segregated CSS and JS files cached separately which escalated the page load time. We aggregated all these files and put them in one place which assuaged the page load time.

Moreover, we used Advanced CSS/JS Aggregation Drupal module to minify CSS, JS and HTML and reduce load time.

In addition to these, we enabled Redis, used as a database, cache and message broker, so that it can be used as the backend instead of MySQL. This allowed cached items to be retrieved swiftly and improved performance.

Project outcome

On testing the performance metrics on tools like PageSpeed Insights and Pingdom, we witnessed significant improvement.

PageSpeed Insights

  • Result on handheld devices
Pre-implementation (Live Instance)

 

Post-implementation (Live Instance)

 

  • Result on Desktop
Pre-implementation (Live Instance)

 

Post-implementation (Live Instance)

 

Pingdom

Pre-implementation Pingdom Score (Live Environment)

 

Post-implementation Pingdom Score (Live Environment)

 

Conclusion

Speed can be the determining factor in the amount of time an online user spends on your website. It’s important that you remove the sluggishness from your website and inculcate betterments in its performance. Drupal 8 can help by incorporating wonderful features to make your site a high performing space.

Feel free to reach us at hello@opensenselabs.com for developing a high performing Drupal website

blog banner blog image Performance Optimisation Web Performance Performance Budgeting Website Performance Optimisation User Retention Conversion Rate User experience Page Load Speed Page Load time Blog Type Articles Is it a good read ? On
Categories: Drupal

Video Game Deep Cuts: The Outer Wilds Of A Void City - by Simon Carless

Gamasutra.com Blogs - 31 May 2019 - 3:23am
This week's roundup includes a look at the intriguing triple-I (sorry!) titles Outer Wilds & Void Bastards, as well as the role of the city in games, bringing back Bubsy, insane auto-playing Mario Maker levels & more.
Categories: Game Theory & Design

X-Cards w/Alex Roberts

Gnome Stew - 31 May 2019 - 2:00am

The cover art for Star Crossed. A great game and innovative use of a block tower.

As tabletop RPGs continue to spread like butter on hot toast, scores of people from all sorts of backgrounds find themselves gathered around tables to meet equally estranged strangers. This is especially true for gaming leagues, as well as the summer convention circuits, where many players will join together for a single adventure, only to never meet again.

If you’ve played around in convention games you’ve likely heard of the infamous X-Card, an index card with an X drawn on one side. Whenever a player feels uncomfortable with the subject matter, be it something being said or an in-game event, they can then either tap or raise the card to indicate their discomfort. They do not need to indicate why the subject makes them uncomfortable. The GM, as well as the other players, should then find a way to change or skip through the parts that make them uncomfortable.

As a player-safety tool, you’ll find it the most in pick-up games. However, it’s a fantastic mechanism many Gamemasters old and new can import into their own games. As it’s also part of the creative commons, creators are even able to incorporate it in their tabletop games freely.

Such was the case when I picked up my copy of Star Crossed, a two-person romantic tabletop RPG. I was pleasantly surprised to find high quality and glossy X-Card included in the game. While I’ve used one in the past, it was a delight to see a commercial game actually include one in their box. Very recently I was even able to sit down with Alex Roberts, the creator of Star Crossed and the upcoming For The Queen, and talk about her thoughts on X-Cards.

When the doc around x-cards popped up in 2012 there was a lot of buzz around it. How and when did you first hear about it?

Alex: It would have been a while later than that – 2014, maybe? I wasn’t very plugged into the broader RPG scene; I was just playing with my local group.

What were your first thoughts when you heard about it?

Alex: I was pretty dismissive! It was explained to me as a convenient way to avoid talking about serious topics at the table. I thought, hey, shouldn’t we be using our words? Let’s all be grownups about this! Let’s care for each other a little more proactively than that! It’s easy to dismiss something when you don’t do all your research on it (I hadn’t even seen the X Card document at this point) and when you haven’t been in the contexts where it becomes necessary. I hadn’t yet been in a situation where an X Card would really have helped me. I’ve been there since.

One of the main topics around x-cards is around editing content and censorship. Do you feel X-Cards limit creative freedom?

Alex: When we’re playing an RPG, we’re creating something with and for each other. All the players are creators and audience in one. It’s pure folk art; that’s what I love about roleplaying. In that context, you work within the needs and desires of your co-creators. Or you deliberately push their limits and ignore their desires I guess? I don’t know why you would want to do that. But yeah I guess the X Card would make that harder.

You have a new game, For The Queen, that deliberately lists x-cards as a game feature. I think that’s really cool, personally, especially since it’s the first I’ve seen to include it as a headlining element. Could I ask your thoughts on listing it there?

Alex: Star Crossed comes with an X Card as well, but in For The Queen it’s integral to how the game is played. Players draw question cards and then answer them, pass them to the next player, or X them out of the game. It actually helps make each playthrough unique. I was in one game with someone who kept X-ing out every question that implied cruelty or violence from the Queen, and it made for a much softer, gentler story that was no less interesting than some of the more brutal ones that can come out of the same game. I honestly believe that tools that help us articulate our desires and limits help us tell more interesting and unique stories. People are more creative when they can let their guard down, I’ve noticed.

Last question: What is your personal, or perhaps preferred, vision for the future landscape of tabletop gaming? Where do you see it going?

Alex: Honestly, for all the pain and frustration I see and experience from this weird little world, I think we’re headed in a good direction. When I see the discussions we’re finally having around labor, profit, power, care, conflict, colonialism, I feel optimistic. And I think it’s crucial to note that most of these conversations have arisen in spaces where BIPOC’s voices are being uplifted and respected more. So I think we should keep at that.

Was there anything else you wanted to say concerning X-Cards? “I just wanted to have fun. I’m really grateful we had a simple tool that made it easy for me and my friends”

Alex: Can I share a little story? I honestly think it’s more important than anything else I’ve written here.

I was once in a game very shortly after my grandfather passed away. It helped take my mind off of things, I got to connect with friends, and we told a cute and uplifting story together. But during character creation, someone said they were going to be another character’s grandpa. I immediately tapped the X Card and I think everyone was confused, but then another player who knew I was grieving – well you could see the light bulb go off above his head and he suggested an Uncle instead and we moved on!

That first player was completely within the tone and content of the game and offered his character idea with no intention of doing harm. But wow I was not up for talking about a grandfatherly relationship for the next few hours! And I would have explained why but I really didn’t want to do that either. I just wanted to have fun. I’m really grateful we had a simple tool that made it easy for me and my friends to look out for each other.

Thanks for your time, Alex. I really appreciate hearing your thoughts on what I see to be a step towards an overall positive and safe gaming environment.

Alex: Thank you for reaching out!

Despite its positive intent and implications, when talk of X-Cards first popped up in 2012 there was initially a large amount of negative buzz around it. Both players and Gamemasters alike were critical of X-Cards giving players too much power to edit content, even going as far to call using it akin to censorship. Since then, there have been major shifts in the community as a whole. It is long since past the age where tabletop gamers were stereotyped to simply be single, male, and heteronormative hermits that played their games in basements. Now we’re complex, gender- & sexuality-diverse hermits that only sometimes play in basements.

Now we’re complex, gender- & sexuality-diverse hermits that only sometimes play in basements.

As we move forward in the community we not only need to be able to look at current trends, but we need to plan for the future. We need to shape the community of tabletop RPGs and board games alike with positive checks and balances. This is especially true with settings set in older, less hospitable times. Especially since the highly popular high-fantasy is particularly rampant with uncomfortable topics.

X-Cards, in the end, are a powerful tool allowing safer navigation around complex and often upsetting topics even in unkind settings. Despite this, it’s also important to understand that X-Cards do not absolve responsibility from the GM or the players to be respectful of others; it’s simply a means for the players to healthily assert their own levels of comfort. As we continue to grow as a community of players and content creators, it becomes everyone’s responsibility to enable our own checks and balances over the content of the game.

We’re only at the start of a long climb to the top and I’m excited to see where we go.

You can find the official documentation for X-Cards by John Stavropoulos here: [LINK]
You can also find Alex Roberts’ upcoming game, For the Queen, here: [LINK]

Categories: Game Theory & Design

Simple OAuth: Fallback Header

New Drupal Modules - 30 May 2019 - 11:55pm

This module allows the use of X-OAuth-Authorization HTTP header for sending Bearer access tokens to get authenticated via OAuth. The alternative header name may help using the basic HTTP authorization in combination with OAuth (to eliminate headers conflict).

Usage

The module has zero configuration and works as plug & play, so you have to simply install it.

Categories: Drupal

Twig DomQuery

New Drupal Modules - 30 May 2019 - 9:18pm

Allow alter html markup from twig with DomQuery library.

Categories: Drupal

CKeditor No Autoparagraph

New Drupal Modules - 30 May 2019 - 5:54pm

This module prevents ckeditor from wrapping all content in paragraph tags. It is based on the StackOverflow answer https://drupal.stackexchange.com/questions/233283/how-to-remove-paragrap....

I intend to add an interface to the editor config to make this functionality togglable on a per text-format basis.

Categories: Drupal

Automx

New Drupal Modules - 30 May 2019 - 2:20pm

This module create a vocabulary with all the car models sell in Mexico in year 2018.

So if you want to use it you dont need to type or import all the list. here is the car list! use for your catalog of cars in mexico.

The automx module was originally developed by [medio y forma estudio](http://medioyforma.info) and sponsor by [Agencia molecula](http://agenciamolecula.com) to use in the site seminuevosalonso.com.mx

Categories: Drupal

Call of Duty: Modern Warfare brings cross-platform play to the series

Social/Online Games - Gamasutra - 30 May 2019 - 1:21pm

The latest game in Activision†™s long running Call of Duty series is the first to offer cross-platform play. ...

Categories: Game Theory & Design

JSON:API Schema

New Drupal Modules - 30 May 2019 - 1:06pm

Coming soon…

This module relies on a patch on JSON:API #3014277-27: ResourceTypes should know about their fields.

Categories: Drupal

Games on the Google Play Store now required to disclose loot box odds

Social/Online Games - Gamasutra - 30 May 2019 - 9:25am

Google Play's dev guidelines now say that apps with loot boxes "must clearly disclose the odds of receiving those items in advance of purchase.† ...

Categories: Game Theory & Design

Detroit: Become Human, Nintendo Labo among Games for Change Awards finalists

Social/Online Games - Gamasutra - 30 May 2019 - 8:14am

Games for Change has listed the games up for honors in its 2019 Games for Change Awards and introduced a pair of new awards coming to this year†™s show. ...

Categories: Game Theory & Design

Want to Boost Your Game’s ROI? Tap Into Your Community - by Henry Fong

Gamasutra.com Blogs - 30 May 2019 - 6:27am
Game community management couldn’t be more crucial in today’s online gaming world. With the right tools and methodologies, you will gain an understanding of your players that can engage each segment on a higher level to help boost your game’s ROI.
Categories: Game Theory & Design

Misleading with Play Counts - by Michael Heron

Gamasutra.com Blogs - 30 May 2019 - 6:26am
There is often a demand for reviewers to be transparent with how long, or how many times, they have played the game. I don't think that's helpful. This blog post outlines why that is.
Categories: Game Theory & Design

Senate Bill Could Mean Game Over For Microtransactions And Loot Boxes - by Steven Chung

Gamasutra.com Blogs - 30 May 2019 - 6:24am
A proposed Senate bill seeks to ban certain in-game microtransactions and loot boxes. But the bill's definition of microtransaction is broad and can include any in-game transaction.
Categories: Game Theory & Design

Do Loot Boxes Need to be Regulated - by Josh Bycer

Gamasutra.com Blogs - 30 May 2019 - 6:23am
The recent loot box bill being proposed could mean the end of the system as we know it, but is there a safer alternative that keeps everyone happy?
Categories: Game Theory & Design

Planning A Perfect Pitch: 9 Questions To An Art Producer - by Anastasiia Kladova

Gamasutra.com Blogs - 30 May 2019 - 6:22am
How many times were you unsure how to showcase a creative idea? In this article, Art Producer at Room 8 Studio shares a guide through the world of pain and gain, that helps to get a pitching deck right, impress the publisher, and create an awesome game.
Categories: Game Theory & Design

Pages

Subscribe to As If Productions aggregator