Drupal

Amazee Labs: Decoupled Developer Days - New York

Planet Drupal - 7 August 2017 - 11:45pm
Decoupled Developer Days - New York

The upcoming Decoupled Developer Days, at the NBCUniversal NYC Headquarters in New York, is taking place from 19-20 August 2017.

It’s a small developer-focused conference for architects, developers, and businesspeople who are involved in implementing decoupled Drupal architectures in their various lines of work.

Anli de Jager Tue, 08/08/2017 - 08:45

Decoupled Drupal is the use of Drupal as a content service for other non-Drupal applications, whether they are in native desktop or mobile, universal JavaScript, set-top boxes, IoT devices, conversational interfaces, or other technologies.

This 2-day conference will create a platform for those involved in decoupled Drupal architectures to come together to share their knowledge and insights during a single track of sessions about decoupled architecture strategies, technology, and best practices. There will also be opportunities to contribute to the learning experience through the building of open-source projects in sprints.

Decoupled Drupal Sites not only bring exciting new technologies to us. They also require a new way of thinking around local development and hosting. At Amazee our speciality is Decoupling Drupal with React and GraphQL and we have multiple Decoupled Sites running, all with enabled Server-Side-Rendering, CDNs and Reverse Proxies included!

Our very own Michael "schnitzel" Schmid will, therefore, be hosting a session, ‘Your PHP and Nginx won't be enough to host and develop your decoupled site’ that will address some of these questions that will undoubtedly come up, for example:

  • How to develop Node locally with multiple Node versions, test CORS and Server-Side-Rendering locally and make overall sure that my Node App behaves locally the same as in production.

  • How do I deploy, test and host that on a server when using ServerSide Rendering of my Decoupled Site built in Node.

  • How to use a CDN to cache my GraphQL/REST/JsonAPI requests and also the Server-Side-Rendering response.

In this session, Michael will also show you how the power of Docker allows to develop Decoupled Drupal Sites with Node and Server-Side-Rendering with a breeze and also how to use the same Docker Tools to run them in staging and production. No Docker Knowledge required :)

For more conference updates, you can follow the action here.

Categories: Drupal

Lullabot: Markdown Won’t Solve Your Content Problems

Planet Drupal - 7 August 2017 - 12:25pm

(This article was cross-posted from Medium.)

Every few weeks I hear from a colleague who’s dealing with the tangles of editorial tools on a web CMS project. Inevitably, someone on their team suggests that things will be easier if users can’t enter HTML at all. “We’ll use Markdown,” they say. “It’s simple.”

On most projects, it’s a terrible idea — and I’m going to rant about it. If you don’t care about the nerdy details, though, here’s the long and short of it:

Markdown turns common “plaintext” formatting conventions like asterisks, indentation, and so on into HTML markup. If you need anything more complicated (say, an image with a caption or a link that opens in a new window), you need to mix markdown and raw HTML. Markdown is easy to remember for simple stuff (blockquotes, italics, headings, etc) but more complicated structures require extensions to the standard that are just as tweaky as HTML.

It was designed to mirror the ad-hoc conventions of ASCII-only channels like Usenet, email, and IRC. As creator John Gruber said in his original introduction of the project:

The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.

Markdown’s strength is that it speeds and simplifies the most common text formatting tasks, and does so in a way that looks correct even before the markup is transformed into visual formatting. Markdown accomplishes that by ruthlessly cutting most HTML structures — anything that can’t be turned into a fairly straightforward ASCII-ism is left behind. When it’s pushed beyond that role, things get just as ugly any error-prone as raw HTML: witness the horrors of Markdown Tables and CSS In Markdown.

In many ways, Markdown is less a markup language and more a way to hide basic formatting information in a plain text document. That’s great! I use Markdown for my Jekyll-powered blog. If your project’s body field needs are simple text formatting without complicated embedding, captioning, microformatting, etc? Markdown is probably going to work fine. But — and this is a big one — if that’s all you need, then using a WYSIWYG HTML editor will also work fine.

WYSIWYG editors aren’t a pain because they “hide the code” from content creators. They’re problematic because they’re often configured to give editors access to the full range of HTML’s features, rather than the specific structural elements they really need to do their jobs. I’ve written about this “vocabulary mismatch” problem before, but it’s worth coming back to.

When you decide to use Markdown, you aren’t just choosing markup that’s easier to read; you're choosing a specific restrictive vocabulary. If that vocabulary covers your editors’ real needs, and they’ll be using plaintext to write and revise stories during their editorial workflow, by all means: consider it!

But if what you really need is a way to reign in chaotic, crappy markup, invest the time in figuring out how it’s being used in your content, what design requirements are being foisted on your editors, and what transformations are necessary for real world usage. Modern WYSIWYG editors don’t have to be the “dreamweaver in a div” disasters they used to be — taking the time to configure them carefully can give your team a clean, streamlined semantic editor that doesn’t constrain them unnecessarily.

Photo by Lee Campbell

Categories: Drupal

Entity Query Decorator

New Drupal Modules - 7 August 2017 - 11:00am

Entity query decorator is a Drupal 8 wrapper around the Entity Query class to make querying entities even easier. Whenever using entity queries you generally always end up in the same scenario: Executing your query, checking for results, loading the entities, looping through the entities and then obtaining a value you want. This module sets out to simplify that process by providing a decorator class to combine those steps together.

Categories: Drupal

OpenShift API

New Drupal Modules - 7 August 2017 - 10:58am

This module provides a basic API interface for Drupal modules to use the Red Hat OpenShift API Endpoint. This is not an official module and is only intended as a useful supplementary for programming your own functions.

Documentation for the OpenShift API Endpoint is available at:
https://docs.openshift.org/latest/rest_api/

Categories: Drupal

Envato Tuts+: New Course: Code a Custom Drupal Module

Planet Drupal - 7 August 2017 - 10:54am
What You'll Be Creating

If you want an easy way to create engaging, content-driven websites for you and your customers, you should give Drupal 8 a try. And Drupal modules allow you to take things a step further and create highly customized functionality for your site. 

In our new course, Code a Custom Drupal Module, Envato Tuts+ instructor Derek Jensen will get you up and running with modules in no time. You'll build a simple calculator module, and along the way you'll learn about creating routes, controllers, parameters, and more.

You can take our new course straight away with a subscription to Envato Elements. For a single low monthly fee, you get access not only to this course, but also to our growing library of over 1,000 video courses and industry-leading eBooks on Envato Tuts+. 

Plus you now get unlimited downloads from the huge Envato Elements library of 200,000+ photos and 26,000+ design assets and templates. Create with unique fonts, photos, graphics and templates, and deliver better projects faster.

 

Looking for a shortcut? Try downloading some of the ready-made Drupal themes on Envato Market.

Categories: Drupal

Tin Can API Package Player

New Drupal Modules - 7 August 2017 - 10:21am

This module provides a "TinCan package" entity type. Tin Can API compatible packages such as those produced by Articulate Storyline, Articulate Studio, and Adobe Captivate can be played in the Tin Can Package entity view.

Can connect to the Drupal native Tin Can Learning Record Store, or Learning Locker

Categories: Drupal

Drupal Modules: The One Percent: Drupal Modules: The One Percent — Style Guide (video tutorial)

Planet Drupal - 7 August 2017 - 5:31am
Drupal Modules: The One Percent — Style Guide (video tutorial) NonProfit Mon, 08/07/2017 - 07:31 Episode 30

Here is where we bring awareness to Drupal modules running on less than 1% of reporting sites. Today we'll investigate Style Guide, a module which gathers common elements in one place, allowing you to  more efficiently determine which need to be styled.

Categories: Drupal

Session Token

New Drupal Modules - 7 August 2017 - 4:25am

This module allows you to retrieve data from the $_SESSION storage and use that
information inside any form which accepts tokens.

A good example can be the usage of a form which you want to populate with
data which has already been entered by the current (anonymous) user.

Another example is to populate a multistep form.

Developers can easily store and retrieve information from this storage using the
functions session_token_get($key) and session_token_set($key, $value).

Categories: Drupal

PHPWord

New Drupal Modules - 7 August 2017 - 4:07am

PHPWord module integrates the PHPWord library with Drupal.

Categories: Drupal

PHPOffice-Common

New Drupal Modules - 7 August 2017 - 3:36am

PHPOffice-Common module integrates the PHPOffice-Common library with Drupal 7.

PHPOffice Common is a library written in pure PHP that provides a set of components for PHPOffice librairies.

Dependencies

In order for this module to work, you must download the PHPOffice-Common library.

Categories: Drupal

Blair Wadman: Creating a modal in Drupal 8 with one line of HTML

Planet Drupal - 7 August 2017 - 3:11am

Modal dialogs are incredibly useful on websites as they allow the user to do something without having to leave the web page they are on. Drupal 8 now has a Dialog API in core, which greatly reduces the amount of code you need to write to create a modal dialog. Dialogs in Drupal 8 leverage jQuery UI.

Categories: Drupal

Commerce EasyPost

New Drupal Modules - 6 August 2017 - 10:21pm

EasyPost integration for Drupal Commerce shipping.

Categories: Drupal

CKEditor specialChars

New Drupal Modules - 6 August 2017 - 8:17pm

Overrides Drupal core handling of specialChars CKEditor plugin to provide ability to configure character available to user for insert.

Categories: Drupal

PreviousNext: Performance improvements with Drupal 8 Libraries

Planet Drupal - 6 August 2017 - 6:26pm

For a long time I’ve been compiling my Sass into a single CSS file - styles.css, but recently, with our component based design/frontend process and Drupal 8’s lovely Library system I’ve been wondering if the single file was still a good idea. Looking at the amount of unused CSS loading into any given page was a little bit painful.

Categories: Drupal

Configuration Data

New Drupal Modules - 6 August 2017 - 5:52pm
Config Data

This module provides a Config Data API for storing and overriding
configuration with data persisted in the State API.

What is Configuration Data?

When we do configuration in Drupal sites, we are generally
providing two types of information.

1) Logic: Content types, fields, views, etc.
2) Data: Site name, GA tracker code, GTM code, api key, etc.

Categories: Drupal

Remote Config Sync

New Drupal Modules - 6 August 2017 - 10:42am

Remote Config Sync module allows you to push the configuration files from development to production site with a click of a button. By using this module you don't have to waste your time with the manual export/import process.

Categories: Drupal

Multiple Recaptcha on One Single Page

New Drupal Modules - 6 August 2017 - 9:59am

This module will add a challenge type into the dropdown that allows an admin to select a captcha for one of the defined forms.

If all forms on a page use this challenge type, the reCaptcha will show up for all of them.

Categories: Drupal

heykarthikwithu: Drupal 7 – Performance Optimization and Checklist

Planet Drupal - 6 August 2017 - 9:39am
Drupal 7 – Performance Optimization and Checklist

Some Best Practices in Drupal 7's Optimization in Performance can be achieved..

heykarthikwithu Sunday, 06 August 2017 - 22:09:58 - IST, Asia/Kolkata
Categories: Drupal

Social Content Locker

New Drupal Modules - 6 August 2017 - 1:47am
Categories: Drupal

Twig Backlink

New Drupal Modules - 5 August 2017 - 9:00pm

The Twig Backlink Twig extension builds a list of URL of the parents of the node based on the field name passed in the Twig twig_backlink extension parameter.

Usage:

{{ twig_backlink('field_name') }}

This extension will automatically build a list of parents when an An Entity Reference field is used and referenced in the Twig file.

Requirements

- An Entity Reference field added to a node.
- Access to a node twig file that the themer can edit.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal