Skip to Content

Newsfeeds

Community Media Series

New Drupal Modules - 12 May 2015 - 12:26am

With Community Media Series you can create series and automatically create cm_shows and cm_airings based on specified criteria. The idea is to radically simplify creating recurring shows, without having to add each show and its airings one by one.

Categories: Drupal

Deeson: We're hiring: Creative Director

Planet Drupal - 12 May 2015 - 12:23am
Could you be the one to make your mark here at Deeson?

We're looking for a Creative Director. That's a brand new role for us so you'll be the very first CD to grace our offices.

A lot of expectation? Maybe. But the perfect opportunity to lead our team of talented designers and put your stamp on some award-winning work.  

Why now? 

In short, we've increased our portfolio of clients and our designers are in demand. 

It's a perfect time for someone new to come and join our dynamic leadership team, contributing to key decisions as we enter our next phase of growth.

We're at a stage where we feel ready for a strong-minded Creative Director to help develop the team and help shape the direction of the agency.  

Why me?

We're looking for someone talented, that's a given.

But as well as a killer portfolio, we want someone who has an interest in nurturing the skills of those in their team. Development is really important to us at Deeson; we'll be looking for ideas about how you would grow your team's skills and confidence.    You could be a Senior Designer with tonnes of managerial experience looking for your next move or a Creative Director looking for your next challenge. If you fit the criteria we'd love to hear from you.   What else? A great bunch of people to work with and a progressive agency culture.   A huge range of benefits, including flexi working, team lunches and an unlimited training budget.    Oh, and we're located in one of the UK's most beautiful cities too. Check out our full story here.   Read the full job spec and apply here.       

 

Categories: Drupal

Deeson: Site configuration strategy (or how to manage your settings.php files)

Planet Drupal - 12 May 2015 - 12:10am

Managing site configuration across multiple hosting and staging environments can get complicated, and if each one of these requires a settings.php file making sure that you consistently apply configuration can be a nightmare.

This is especially true when you start requiring different files at different points – it's very easy to lose track of which setting is where.

A typical example here at Deeson might be a site that's usually hosted on Acquia's platform, but that we need to be able to work locally on (we use VDD for this).

That probably gives you 3 settings.php files: one for your local, one for the live domain name and one for Acquia's staging URLs. We'll also have different configuration for each of these. An example is where both reroute email and shield need to be disabled only on live, if our site has 3rd party integrations then we'll configure different API keys on staging and caching is always on on live.

So, how do we solve this?

In much the same way that we don't create a site-wide views feature, and instead we use a modular approach – for example one feature for news and another for events, we should do the same with our configuration and split it up. We don't do this by environment, but by module. So all the performance stuff together, all the security stuff together etc.

For example, you might have a reroute email file, that could read something like this:

$conf['reroute_email_address'] = "rerouted_mail@example.com"; $conf['reroute_email_enable_message'] = TRUE; $conf['reroute_email_enable'] = TRUE; if (SETTINGS_LIVE_DOMAIN) { $conf['reroute_email_enable'] = FALSE; }

This is clearer and less error prone than the situation that can occur where you can't instantly tell which setting will apply in a given situation. And by coding your conditions defensively you'll improve security.

So it's possible that you might still have those three settings.php files, but instead of adding config directly to them all they do is define the database settings and then do something like this:

// e.g. dev, stage or prod or read from $_ENV['AH_SITE_ENVIRONMENT'] on Acquia. // Master.inc could read this instead of the “scopes” concept? define('SETTINGS_ENVIRONMENT', 'prod') // e.g. local or acquia define('SETTINGS_HOSTING', 'acquia'); <?php // TRUE only on the actual live domain - so any testing domains, including the "live preview" should give this FALSE. define('SETTINGS_LIVE_DOMAIN', FALSE | TRUE); foreach (glob('sites/all/conf/*.settings.inc') as $file) { require_once $file; }

See that glob call? Create files in a new dir – sites/all/conf – like thing.settings.inc and place your config in there, using 'if' statements to react to the different envrionments.

Glob sorts by file name, so prefix each of these files with a number if you need them to be in a specific order, e.g 00-master.inc, 10-reroute-email.inc.

Here are some suggestions for files you might create (all to end in .settings.inc):

  • drupal-defaults (Maybe copy settings.default.php in here and update it keep it in sync with core updates?)
  • master
  • warden
  • shield
  • reroute_email
  • mandrill
  • performance (caching, aggregation etc. Only force these on live, if you must)
  • your-api-here

In this manner we can create sets of default settings php files which are likely to be common across projects. This makes initial setup to our standards and best practice simple. Any deviation from the standards can then be configured and described in the main settings file for the site.

Categories: Drupal

The RPGnet Newsletter: RPGnet Newsletter #3

RPGNet - 12 May 2015 - 12:00am
Beginning our AP Spotlight.
Categories: Game Theory & Design

Idea Emporium: The Agloanikoi, Part One

RPGNet - 12 May 2015 - 12:00am
A new species for your SF game.
Categories: Game Theory & Design

Inventarium. Principles of Video Games. An essay on Items. - by Jordan Roc

Gamasutra.com Blogs - 11 May 2015 - 10:59pm
A paper on Items and their prevalence in Video Games across numerous, popular franchises.
Categories: Game Theory & Design

Independence and Existentialism - by Armando Marini

Gamasutra.com Blogs - 11 May 2015 - 10:45pm
It's like Jean Paul Sartre was speaking to indie developers when he wrote Humanism and Existentialism. We are "condemned to freedom" indeed. This is a bit of a ramble more than a lesson, but I felt the need to express it.
Categories: Game Theory & Design

Funding your game startup - by Burak Tezateser

Gamasutra.com Blogs - 11 May 2015 - 10:45pm
A look at all the available methods generating an initial cash or finding external resources for a game startup.
Categories: Game Theory & Design

DrupalCon News: Session Submission Live!

Planet Drupal - 11 May 2015 - 9:21pm

With the call for papers officially open, we wanted to take a moment to give you all of the details you should know about sessions: what new and cool tracks we are offering, how to submit an awesome session submission, and how session selection works.

 

Categories: Drupal
Syndicate content


Google+
about seo