Skip to Content

Drupal

Modules Unraveled: Installing Git on Windows and Mac - Free Video Series

Planet Drupal - 8 May 2015 - 10:00am

The Installing Git series is a free series that walks you through the process of installing Git for the first time and/or updating Git to the latest release on both Windows and Macs.

Installing Git on Windows is pretty straight forward, you just download the "Git for Windows" installer, and step through the process.

On a Mac though:
* You might not have any version of Git installed
* You might have the version that comes with Xcode or the Command Line Developer Tools
* You might have the version from Apple as well as an official install
* Or, you might just need to update an existing official install

This series covers all of those scenarios to get you updated to and running on the latest release.

It also covers the basic Git configuration options you need to set in order to use Git effectively.

So, what are you waiting for? Watch them now! They're free!

Tags: Gitplanet-drupal
Categories: Drupal

Forum One: Content After Launch: Preparing a Monkey for Space

Planet Drupal - 8 May 2015 - 7:16am

We’re excited to announce this talk, Content After Launch – Preparing a Monkey for Space on Wednesday, May 15, 2015 from 5pm to 6pm at DrupalCon LA!

So what’s it all about? Well, coupled with a silly metaphor, I’m going to be talking about what happens to content during various stages of a website build, from the initial kickoff, through the production, and well after launch. The talk will touch on:

  • how all team members can get involved in the success of a launched website.
  • setting and managing expectations for what it takes to run a site post-launch.
  • everything you might have missed while focused on designing and building the website.

Come for the metaphor, stay for the juicy takeaways! Spoiler alert – there will be an abundance of monkey photos.

Categories: Drupal

iterate.: Creating custom cron tasks in Drupal 7

Planet Drupal - 8 May 2015 - 7:11am

In one of our latest projects we developed a Facebook app which integrates with Drupal. Even though Drupal 7 has a powerful set of core tools to manage files and images, using it would unnecessarily overcomplicate a simple PHP app. 

Categories: Drupal

Lullabot: The SyFy Project

Planet Drupal - 8 May 2015 - 6:02am

The redesigned SyFy.com website is a beautiful example of the latest in front-end technology. Lullabot developers Mike Herchel and Chris Albrecht join the Drupalize.Me podcast to explain it all.

Categories: Drupal

Better Maintenance

New Drupal Modules - 8 May 2015 - 3:55am

This module provides a second option for maintenance mode in Drupal. The
standard maintenance mode hides the entire site behind the maintenance message.
This module allows the whole site to be visible, however it blocks any editing
the site. This allows for a clean migration of a site between servers, with
minimal visible downtime.

Categories: Drupal

Code Drop: Creating Custom Config Entities in Drupal 8

Planet Drupal - 8 May 2015 - 3:35am

Drupal 8 is skipping through the betas and it won’t be long until we’re staring at a release candidate. With that in mind, i’m now taking the time to learn some of the key concepts that you’ll need to know as a day to day site builder using Drupal 8.

Custom Config Entity Types

A custom configuration entity type referred to as a config entity for most of this article is a custom definition of an entity that allows you to provide a config class, validation schema and custom storage.

They'll have hundreds of practical usages during development custom development. To give some examples, core uses them for user roles, blocks, image styles and plenty more. Use your IDE to see what’s extending ConfigEntityBase if you’re interested.

Creating Our Config Entity Type Schema

First up, lets define our schema. The schema allows us to say what fields our config entity should have and what type those fields should be.

Categories: Drupal

Jim Birch: Drupal 7: Google Analytics and Google Webmaster Tools Setup

Planet Drupal - 8 May 2015 - 3:00am

At first, I dismissed the need for yet another module.  I have always added the Google Analytics code straight into a template file in various other CMS and static sites I have been involved in over the years.  Why do I need a module to do that?  Well, you don't, but the Drupal Google Analytics Module does offer a lot more functionality that will make it worth your while.

The first thing you need to do, it you haven't is sign up for a Google Analytics account.  It's pretty straight forward process. 

Once you are signed up, the most confusing thing to me was the Account vs. Property vs. View:

I break it down like this.  Account is the company or the owner.  The Property is the website.  The view is segmented data of the website.  At first, you should have a default "All Website Data" view, but moving forward you may have an app and a website, or a view for different languages on the site like /en and /de.

Read more

Categories: Drupal

Pseudo field

New Drupal Modules - 8 May 2015 - 2:37am

This module allows you to render an extra field as a real field (with field label).

Description

The extra fields that can be attached to the entity using
hook_field_extra_fields() lack the overall look and feel of real fields because
real fields have labels and a theme around them while extra fields initially
look pretty bare (unless you theme them manually).

Just add "#pseudo_field" attribute set to TRUE to the extra field output render
array and it will look just like the real field!

Categories: Drupal

Wim Leers: The Montpellier Perf Sprint, and what’s next

Planet Drupal - 8 May 2015 - 2:37am

At least 20 people helped push one or more issues forward in Montpellier, at the Drupal Dev Days Performance Sprint!

Here’s an overview of what we set out to do, what we did, and what the next steps are.

The plan for DDD Montpellier

The sprint board, midweek. Yellow stickies are performance stickies. Middle of the board is “in progress”. Bottom right is “fixed”.

1. Finding more performance issues

We already know that certain things are slow, and we know how to fix them. But significant portions of slowness do not yet have explanations for, let alone precise or even rough plans on how to reduce the slowness.
The parts of Drupal 8 that are slow that we do not have a strong grasp on yet are the bootstrap phase in general, but also routing, container services and route access checking.

Berdir, amateescu, dawehner, yched, znerol, pwolanin and I did a lot of profiling, testing hypotheses about why certain things took a given amount of time, comparing to Drupal 7 where possible, figuring out where the differences lied, and so on.
Bits and pieces of that profiling work1 are in https://www.drupal.org/node/2470679, including patches that help profile the routing system.

In the weeks since DDD Montpellier, effulgentsia and catch have continued discussions there, posted further analyses and filed many more issues about fixing individual issues.

2. Try to break Drupal 8’s internal page cache & fix it

So, Drupal 8 had the internal page cache enabled by default shortly before DDD Montpellier, with only a few known problems. Having many people to try to break it, using scenarios they use daily in their day jobs, that’s the ideal way to find any remaining cache invalidation problems.

Many tried, and most did not succeed in breaking it (yay! :)), but about half a dozen problems were discovered. See https://www.drupal.org/node/2467071.

What we got done

We fixed so incredibly many issues, and we had more than twenty people helping out! Notably, fgm was all over class loading-related issues, borisson_ and swentel got many of the page cache issues fixed, pwolanin pushed routing/REST/menu links issues forward significantly, and we overall simply made progress on many fronts simultaneously.

We made Drupal 8’s authenticated user page loads several percent faster in the course of that week!

Most of the page cache problems that were discovered (see above) were fixed right at the sprint! There are 4 known issues left, of which one is critical on its own, one is blocked, and the two others are very hard.

(If you want more details, we have day-by-day updates on what got done.)

The sprint board, end result. Focused on the bottom right corner: look at all those yellow stickies!

Next steps

We currently have 11 remaining criticals with the “Performance” tag. Getting that to zero is our top priority. But many in that list are difficult.

If you specifically care about performance for authenticated users: less difficult issues can be found in the child issues of the Cache contexts meta issue. And for some least difficult issues, see the child issues of the SmartCache issue.

Generally speaking, all major issues tagged with either “Performance” or “D8 cacheability” can use a hand.

Hopefully see you in the queues! :)

  1. It was impossible to capture all things we considered in an issue, that’d have slowed us down at least tenfold. 

  • Acquia
  • Drupal
  • performance
Categories: Drupal

Another Drop in the Drupal Sea: DrupalCon for n00bs

Planet Drupal - 8 May 2015 - 2:29am

DrupalCon LA is right around the corner! Woo hoo! I'll be there. Will you?

If this will be your first DrupalCon, I'd like to provide you with some ideas of how you can approach things. You have different options available to put together your Con:

read more

Categories: Drupal
Syndicate content


Google+
about seo