Newsfeeds

Entity Translation Copy

New Drupal Modules - 11 October 2018 - 7:29am

Problem:
You are given the task of updating an existing site (with content in it) to be multilingual. You do the steps on your local environment to make entities/nodes translatable (Following this guide) and then decide to export the configuration with features.

Categories: Drupal

Info Messages

New Drupal Modules - 11 October 2018 - 6:30am

Inglish
The module Info Message has a intention of alow the user and developers Drupal the render informative messages with blue background, for this enough call the function drupal_set_message and pass in second paramenter (type) the string "info".

Example:
drupal_set_message('Avoid deleting the modules directories manually before performing the uninstallation', 'info', FALSE);

Portugues

Categories: Drupal

content alert

New Drupal Modules - 11 October 2018 - 5:50am
Categories: Drupal

user notification

New Drupal Modules - 11 October 2018 - 5:48am
Categories: Drupal

Acquia Developer Center Blog: Decoupled Drupal Authentication with OAuth 2.0

Planet Drupal - 11 October 2018 - 5:48am

Perhaps the most critical component of any decoupled Drupal architecture is a robust authentication mechanism that protects data transmitted between a Drupal site and API consumers like JavaScript applications and native mobile applications. While Drupal core makes available HTTP Basic Authentication and cookie-based authentication, both easy to use, neither of these approaches is sufficiently secure when it comes to best practices.

Tags: acquia drupal planet
Categories: Drupal

Permissions by Term Redirect

New Drupal Modules - 11 October 2018 - 5:18am

This module builds upon the functionality provided by Permissions by Term in the following ways:

Categories: Drupal

Reactivesearch

New Drupal Modules - 11 October 2018 - 5:08am

Create blazing fast, decoupled react searches with Reactivesearch react library and Elasticsearch search server.

Project is under active development, no releases yet.

Categories: Drupal

Observations From A Gamer's Chair: Post-apocalyptic Games

RPGNet - 11 October 2018 - 12:00am
What is best in a Post-apocalyptic life?
Categories: Game Theory & Design

Tracking the evolution of Path of Exile†™s troublesome Delve mode

Social/Online Games - Gamasutra - 10 October 2018 - 3:33pm

Rock Paper Shotgun has shared an insightful interview that digs into the design and post-launch balancing struggles of the Delve game mode introduced to Path of Exile a few months back. ...

Categories: Game Theory & Design

Improbable launches GDK to expand SpatialOS Unity integration

Social/Online Games - Gamasutra - 10 October 2018 - 1:26pm

Improbable has launched a GDK that expands the features offered by SpatialOS for developers working in Unity. ...

Categories: Game Theory & Design

Ashday's Digital Ecosystem and Development Tips: How a Content Management System Can Help Streamline Your Business

Planet Drupal - 10 October 2018 - 1:00pm

 The reality is that running a business is such a diverse and complex endeavor that managing complex and rapidly evolving software solutions needed to execute the mission can be an overwhelming component. It already takes enough energy and expertise to be proficient in managing people, knowing your vertical, regulating cash flow, envisioning new products, evaluating old products, and on and on and on. The problem, however, is that if you don’t leverage complex and rapidly evolving software solutions to handle processes, you end up drowning in inefficiency and inconsistency. So therein lies a significant and difficult problem because you likely didn’t get into business to become an informal senior software architect. And that’s where leveraging something like a robust CMS comes into play. 

Let’s look at some of the ways leveraging a modern CMS, like Drupal, for example, can significantly streamline your business and free you to, well, run your business.

Categories: Drupal

Entity split

New Drupal Modules - 10 October 2018 - 10:48am

This module allows to create external parts for content entities such as nodes, taxonomy terms, etc.

If some data related to a node must be physically stored in a separate place, not in this node itself, "entity split" entity can be created for this. This separate entity is automatically linked with the initial node and can contain its own fields which thus connected to this node.

Categories: Drupal

myDropWizard.com: Drupal 6 security update for Lightbox2 module

Planet Drupal - 10 October 2018 - 10:40am

As you may know, Drupal 6 has reached End-of-Life (EOL) which means the Drupal Security Team is no longer doing Security Advisories or working on security patches for Drupal 6 core or contrib modules - but the Drupal 6 LTS vendors are and we're one of them!

Today, there is a Critical security release for the Lightbox2  module to fix a Cross Site Scripting (XSS) vulnerability.

The Lightbox2 module enables you to overlay images on the current page.

The module did not sanitize some inputs when used in combination with a custom View leading to potential XSS.

See the security advisory for Drupal 7 for more information.

Here you can download the Drupal 6 patch.

If you have a Drupal 6 site using the Lightbox2 module, we recommend you update immediately! We have already deployed the patch for all of our Drupal 6 Long-Term Support clients. :-)

If you'd like all your Drupal 6 modules to receive security updates and have the fixes deployed the same day they're released, please check out our D6LTS plans.

Note: if you use the myDropWizard module (totally free!), you'll be alerted to these and any future security updates, and will be able to use drush to install them (even though they won't necessarily have a release on Drupal.org).

Categories: Drupal

OpenSense Labs: Most scalable CMS: Drupal 8

Planet Drupal - 10 October 2018 - 9:48am
Most scalable CMS: Drupal 8 Shankar Wed, 10/10/2018 - 22:18

Everyone has their own preference when it comes to different genres of music ranging from alternative rock and post-rock to trap rap and drone metal. Website traffic touches sky-high when a horde of music lovers remain glued to their screens to witness their favourite artists being awarded in this annual event of Grammy awards. Being a scalable and high performing space, the website of Grammy has coped with huge spikes in traffic with ease.


Website scalability is such a crucial aspect which has a huge say in the performance of digital firms. Drupal 8 and its capabilities lend better web performance. Being highly scalable, Drupal 8 helps in building a web application that is unfazed by the colossal spike in the internet traffic and scales tremendously. Grammy, powered by Drupal, has extracted the scalability features of Drupal to a great extent. Let's find out how.

The Significance of Website Scalability 58% of application/site owners overestimate their capacity levels: State of Web Readiness Report by Load Impact


A report from Load Impact has some interesting statistics on web performance.

  • 68% of respondents have encountered performance or stability issues with their website where the main reason was pointed towards the lack of resources.
  •  
  • 39% of e-retailers claimed that they incurred a financial loss due to performance or stability problems. In comparison to this, just 24% of the non-e-retailers claimed that they incurred money loss.
  •  
  • 98% of e-retailers believed that sub-two-second response time was essential. But the load time for e-commerce sites that were analysed in this report surpassed the desirable response threshold by a huge margin. The average was 7.9 seconds which is more than that for non-e-commerce sites.

Typically, 90% of your website’s response time is from frontend resources but this laters as your load and traffic enhances.


Questions that you can raise while determining ways of scaling:

  • Is your website or application performing acceptably with a minimum number of users on the system?
  • Is the website or application responding running faster with additional concurrent users? And if so, how many?
  • Are there hardware bottlenecks in the present system?
  • Is the website or application able to handle the increasing number of users/data?
  • What is the maximum amount of load the system is able to handle?
Is Drupal Scalable?

Drupal is a highly scalable CMS. If you want your site to grow and be amongst the busiest of online spaces, then Drupal can scale with your needs. Even if you are already popular and offer stupendous digital experience to the customers, Drupal is scalable to cope with the gargantuan amount of traffic to your site content.

Large enterprises love Drupal with the digital presence of big names like Grammy, Weather.com, Pfizer, Time Inc., Tesla, Puma, Princess Cruises, and many more powered by Drupal. Whether it is the extreme traffic spikes on certain occasions or the constant web traffic, Drupal handles all of that with utmost ease.

Drupal accommodates content growth and supports the most content-rich sites and experiences. It scales to govern more traffic, content, and users. So whether if you have one or over a thousand content contributors, Drupal can efficaciously cope with a monumental amount of visitors, content, and Drupal users.

Optimising Drupal Performance and Scalability

A superfast website significantly contributes towards the improvement of user experience, usability and engagement. Drupal 8 is one of the most efficient CMS for enabling blistering page speed.

A superfast website significantly contributes towards the improvement of user experience, usability and engagement. Module management

Outdated modules can deter your efforts in speeding up your website. Updating every module enabled on your Drupal site can be beneficial.
 
It is also important to keep a record on 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 thereby affecting page load time. Hence, uninstalling unwanted modules can improve execution time.
 
Furthermore, disabling the modules also add to the execution time of the code. So, a complete removal by uninstalling the unused modules would make the site faster.

Cache optimisation

Caching is an important feature that you can configure for enhancing your website speed. For advanced caching, Drupal comes with a great set of modules:

  • Internal Page Cache module assists in caching the web pages for anonymous users to enhance the speed for subsequent users.
  • Dynamic Page Cache module caches web pages for the anonymous and authenticated users.
  • BigPipe module lets users to swiftly see the unaltered, cacheable page elements while the personalised content is displayed next.
  • Redis module helps in integrating with the Redis key-value store thereby offering a tremendous cache system for static pages.
  • Varnish module allows you to integrate Drupal sites with an advanced and fast reverse-proxy system - Varnish cache- to serve static files and anonymous page views faster and at high volumes.
  • Memcache API and Integration module integrated Drupal sites with Memcached which helps in storing your data in active memory for a limited time period that makes the site faster to access.
Incorporation of Content Delivery Network (CDN)

CDN, Drupal module, assists in the integration of Content Delivery Network for the websites. It alters the file URLs thereby allowing the files like CSS, JavaScripts, images, videos, and fonts to be downloaded from the CDN instead of the web server. This helps in mitigating page load time and rapidly delivers web page components.

Usage of lazy loading

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, offers the functionalities of lazy loading and multi-serves the images to save bandwidth and server requests.

Image optimisation

Drupal 8 is loaded with image optimisation feature for setting the compression ratio of the images and fine-tune the page performance. Also, the size of the images for different screen sizes can be optimised in Drupal 8 which increases the page load speed.

Bandwidth optimisation

Optimising bandwidth refers to the aggregation of all CSS and JavaScript files to make them load together which ensures that all the page elements can be seen by the users almost immediately.

404 error management

When something on the site breaks to cause a 404 error, it can result in sluggishness. For instance, a failed image can hamper the performance of the site. Fast 404, Drupal module, utilises the resources better and whitelists files and checks pathways of problem.

Management of use of CSS and JavaScript

Avoiding overuse of CSS files and JS and adopting a minimalistic approach by 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.

Web hosting

It is of utmost significance that, while implementing every possible way of utilising the Drupal’s powerful capabilities, you select the best hosting provider that will decide your site’s ultimate speed, stability and security.

Scaling the server

In case, your server hardware is nearing its limits and you have optimised the site as much as possible, or you need a faster way of scaling than you can optimise, you can upgrade the server hardware in the following ways:

  • Scaling vertically: This is the simplest way of scaling the hardware. It refers to throwing more resources at the same server. In a cloud data centre, it may be as simple as upgrading the server size for more CPU cores, memory etc.
  • Scaling horizontally: This is a more intricate process than scaling vertically. It refers to adding more servers to separate the load. When done right, this can hugely minimise the load any single server receives.
  • Considering multiple servers: In case, you have multiple app servers for Drupal, you will require a method of deploying code to each server simultaneously. For instance, SaaS platforms like platform.sh and pantheon.io can handle the complete hosting setup for you but if you are doing it by yourself, you would need an rsync setup or git push to each of your servers etc. 
Up above the world so high: Drupal’s scalability for NASA Source: Drupal.org

A digital agency migrated the website of NASA to the AWS cloud and onto Drupal to create a fully responsive and user-centric experience. Several AWS based Drupal CMS solutions for NASA were implemented for NASA for serving a plethora of needs ranging from nasa.gov to the Science Mission Directorate’s science.nasa.gov in both English and Spanish to a multisite platform and governance model for numerous Drupal applications serving groups across different NASA centres.
 
Nasa.gov and all of its subdomain components were migrated and relaunched which involved replacement of a closed source system. It comprised of more than 250000 pages and almost 3 TB of content.

Drupal in action

Drupal compressed the complete development timeline and also saved a lot of money in the process. Building with Drupal on the Amazon cloud ensured that NASA’s content is stored safely and scales with the content growth. With its user-driven APIs, dynamic host provisioning, infinite compute scalability and storage, and well-architected security architecture, Drupal and AWS together was the right fit.

Drupal compressed the complete development timeline and also saved a lot of money in the process. Project highlights
  • Migration from proprietary, on-premise CMS system to an open source CMS in the Amazon cloud was performed without any service interruptions
  • Mobile-first approach was employed to the redesign of the site.
  • Headless Drupal in AWS cloud environment was built with security, performance and availability in mind.
Outcome  Source: Drupal.org

It is deployed in multiple AWS availability zones for redundancy handling approximately 500 content editors performing over 2000 content updates every day. On an average, it receives nearly one million page views a day and has handled peak loads of over 40,000,000 page views in a single day with a staggering and record-breaking 2,000,000+ concurrent users during NASA’s 2017 Total Solar Eclipse coverage.

Conclusion

Website scalability and performance is a significant aspect that ensures how well the digital business does during the busiest of times. Whether internet users throng at your website causing a sudden spike in traffic, or you are managing a popular service that witnesses a constant web traffic, Drupal scales with your needs.
 
We have been steadfast in our objective of offering an amazing digital experience through a suite of services.
 
Contact us at hello@opensenselabs.com to build a highly scalable Drupal site for your business.

blog banner blog image website scalability Scalability scalable website scalable CMS high-performance website performance and scalability Drupal scalability Drupal performance server scaling Performance Optimisation Website Performance Optimisation Blog Type Articles Is it a good read ? On
Categories: Drupal

Porting Commerce Price Table drupal 8

New Drupal Modules - 10 October 2018 - 8:56am
Categories: Drupal

Blair Wadman: Need to reuse HTML in multiple templates? Try using partial Twig templates

Planet Drupal - 10 October 2018 - 8:43am

You have a piece of HTML code that needs to be included in multiple Twig templates. The code will be consistent across all of them - if you need to change it, you need to change it everywhere it is used.

As an example, I recently had to include a piece of code from a social share service called RhythmOne. I want to include this code in some, but not all, of the node templates.

Categories: Drupal

Lovecraft Quest — comics that you can play - by Andrey Sklyarov

Gamasutra.com Blogs - 10 October 2018 - 8:12am
The essence in one sentence: I’m making the game based on works by Howard Phillips Lovecraft, which is completely arranged as an interactive comics.
Categories: Game Theory & Design

Marketing and Session Data for Summoners Fate at PAX West - by Ross Przybylski

Gamasutra.com Blogs - 10 October 2018 - 8:11am
A retrospective look at the marketing budget, game demo setup, and session data on Summoners Fate collected while exhibiting at PAX West.
Categories: Game Theory & Design

LEVY: Designing for Accessibility_04 - by Daniel St Germain

Gamasutra.com Blogs - 10 October 2018 - 8:09am
My name is Dan St. Germain and while in undergrad, I worked with four other students on creating a blind/deaf accessible video game called LEVY. These blog posts will be dedicated to explaining the different UI, UX, and design decisions that were made.
Categories: Game Theory & Design

The more games I saw, the more I feel that the standards and processes I had used to evaluate games are all bullshit. - by Cheng(Orange) Qi

Gamasutra.com Blogs - 10 October 2018 - 8:08am
Recently there are two top selling games on Steam from Chinese developers, and neither of them is available in English.This makes me question the previous criteria and procedures in my mind.
Categories: Game Theory & Design

Pages

Subscribe to As If Productions aggregator