Newsfeeds

LevelTen Interactive: DrupalCon[densed] 2016: The Best Developer Sessions (Part II)

Planet Drupal - 23 May 2016 - 10:00pm

As a beginning developer who spent the majority of the last three months learning front-end javascript frameworks and the MEAN stack, I was anxious to get re-acquainted with Drupal, all of its ‘isms, and the storied community behind it. But besides tired feet, a hangover, and a backpack stuffed with free swag, what would I take away from it all?

Looking back, it’s tough to capture all the remarkable insights from such interrelated sessions and do them justice in a single blog post, but I did come across several ideas from the con that stuck with me in one way or another. So...Read more

Categories: Drupal

LevelTen Interactive: Drupal Con[densed] 2016: The Best Developer Sessions (Part II)

Planet Drupal - 23 May 2016 - 10:00pm

As a beginning developer who spent the majority of the last three months learning front-end javascript frameworks and the MEAN stack, I was anxious to get re-acquainted with Drupal, all of its ‘isms, and the storied community behind it. But besides tired feet, a hangover, and a backpack stuffed with free swag, what would I take away from it all?

Looking back, it’s tough to capture all the remarkable insights from such interrelated sessions and do them justice in a single blog post, but I did come across several ideas from the con that stuck with me in one way or another. So...Read more

Categories: Drupal

LevelTen Interactive: Drupal Con[densed] 2016: The Best Developer Sessions (Part I)

Planet Drupal - 23 May 2016 - 10:00pm

DrupalCon New Orleans was the third DrupalCon I’ve attended, and it never ceases to amaze me how much Drupal has changed over the years, and how much time and effort the community puts in -- not just into core and contrib, but also into building out third party tools, scripts, and methods that will benefit other agencies and freelancers. It really is a privilege to be a part of a community that is so incredibly committed to the values of open source and always willing to share their experience along the way.

Aside from the ...Read more

Categories: Drupal

World of Warcraft PvP Gear: A radical rethink, explained

Social/Online Games - Gamasutra - 23 May 2016 - 4:37pm

In a new blog post, World of Warcraft senior game designer Brian Holinka outlines a series of changes Blizzard is implementing in PvP gear for its next expansion pack, Legion. ...

Categories: Game Theory & Design

Commerce OpenBoleto

New Drupal Modules - 23 May 2016 - 3:51pm

Drupal Commerce payment method for OpenBoleto - http://garajau.com.br/openboleto/

Categories: Drupal

Drupal Association News: Ready to Serve

Planet Drupal - 23 May 2016 - 3:28pm

After five and a half years of serving the Drupal community as a Drupal Association staff member, I’m honored (and thrilled!) to step into the Executive Director role. This community is magical. Your generosity, kindness, and drive to create something meaningful together inspire me every day. Drupal 8 is destined for success, because each drop of code captures this ethos.

You’ve given me so many memorable moments. I remember that feeling of pride—that sense of “I’m one of you now!”—when my sprint mentor helped me contribute to D8. (The contributor sticker on my laptop is a daily reminder of how welcoming you all are.) Then, there was that time at DrupalCon Portland when people joined forces to build a site to help those impacted by a tornado in Oklahoma, USA. And I’ll never forget the first time a company joined our Drupal Supporter Program and then thanked us for creating this way to give back to the Project.

Those who work in other open source projects often point out how unique and special our community is because of its culture. I agree. This community is a bright spot in our complex world, and its health and longevity are worth protecting.

The Association does this through our mission to unite each of you—a global open source community—to BUILD and PROMOTE Drupal. With Drupal 8 out, my job will be to align the Association's resources where they are now needed most. 

Our Mission: To Help You Build and Promote Drupal

Over the last few years, the Drupal Association has partnered with the community to help you build Drupal 8. We invested in an engineering team who helped contribute semantic versioning, DrupalCI, and improved issue queue functionality. We also created the issue credit system to reward and motivate members to contribute to the Project. Plus, we raised funds through Drupal 8 Accelerate to pay for sprints that accelerated the software release. Additionally, DrupalCons have brought thousands of you together to grow your Drupal skills and learn from mentors. And, Con sprints are an opportunity to put that growth to work right away with hundreds of other people.

When Drupal 8 was released, The Drupal Association partnered with the community to promote the software on Drupal.org with rich, educational content, telling the world to “Build something amazing, for anyone.” And, we worked with the community to celebrate this great achievement by coordinating a global party. On release day, there were more than 200 release parties around the world.

We see so many wonderful ways we can help the community build and promote the software, yet our dreams cost more than our funding allows right now. So like any organization with a limited budget, we make choices based on priorities. Leading up to the D8 release, our priority was to help the community release the software. Now that D8 is out in the world, it makes sense to put more effort into promoting the software and do that in a way that only the Drupal Association can uniquely do. And, we need to promote the software in a way that generates more income for the Project so we can sustainably fund all the initiatives that help the community as you build and promote the software.

Grow Adoption. Generate Income

Drupal 8 is a platform that helps end users (customers) create amazing solutions that unleash digital business opportunities and solve business pain points. It’s ideal for complex web solutions as well as mobile, SaaS, and newer tech trends like the Internet of Things (IoT). However, the software alone is often not a complete solution. It must work in concert with third party software and hosting services. These solutions require an architecture strategy, integrations, and implementation—all of which is provided by our large ecosystem of service providers: Drupal shops, system integrators, and digital agencies.

When a CIO or CMO is deciding on Drupal as their platform, these software companies, hosting companies, and service providers want to be included in that decision making process. And, they are willing to pay for the ability to be considered part of a Drupal solution.

As a way to grow Drupal adoption and generate income, the Drupal Association can promote solutions, like Drupal for Higher Education or DevOps for Drupal, through its two main channels: Drupal.org and DrupalCon. For each solution, we’ll invite software companies, hosting companies, and service providers to participate in promotional campaigns and to pay for the ability to engage with the decision makers in our channels.

This is work we’ve already started, and it's working well. On Drupal.org, we have an adoption journey for visitors where they learn about Drupal. We invited other companies to provide educational content and services to improve that journey, so that visitors can see Drupal’s strength when it works in tandem with other technology. For example, from the homepage, people are invited to Download Drupal or Try Drupal, which is a selection of Drupal cloud offerings that let the evaluator get an immediate feel for Drupal. With this approach, we add value for visitors, and we lower barriers to adoption for Drupal. Plus, the Try Drupal partners generate leads and pay the Association for the opportunity.

We’re doing this work through DrupalCon too. We offer one-day summits that focus on specific verticals, such as Higher Ed, Media & Publishing, and Government. Current and prospective Drupal customers use the day to talk about how to use Drupal in new and better ways within their business. These talks help strengthen and deepen customer commitment to Drupal and help new customers decide the best way to use Drupal. As part of this event, we invite sponsors to participate. They are third party software companies and service providers who serve these verticals. We invite them to provide educational content, like case studies, and give them meaningful engagement with the audience. They in turn generate leads for future business and pay us for this business opportunity.

It’s important to point out that this opportunity is for those who want to pay. And that includes Drupal shops, who have always been an important part of our community. But I believe this approach still helps those of you not able to pay. Through promotional campaigns, we can attract more potential customers to the channels you are already engaged in: Drupal.org and DrupalCon. For online campaigns, we can point visitors to the marketplace to find all service providers. At DrupalCon, there are lots of opportunities to network and set meetings with a potential customer. Plus, we will look to share promotional content with businesses so they can use them in their local markets.

Bringing our multi-sided market together to help us promote Drupal and generate income works. It’s a tested approach that we can enhance, ultimately allowing us to realize the full vision of funding more work that helps the community build and promote the software.

Why This Matters

This is personal for me. I want Drupal to be adopted across all sectors and in all kinds of ways, so each of you are rewarded with the opportunity to pursue your Drupal dream and get paid doing it. You all give something special to the Drupal Project, from volunteer coding time to giving hugs and high fives when celebrating or supporting each other. I am constantly moved by these acts of generosity and kindness. My life is better because of knowing you and that fuels me to want to give back in the way that I can. The more we can grow Drupal adoption across sectors, the more doors open up to you to pursue your Drupal dream, from serving citizens through government solutions to working on new technology trends through Internet of Things solutions, and anything in between.

Where do we go from here?

I'm so thankful for Holly Ross's leadership. She showed an amazing ability to build community relationships and operationalize the organization, all while sharing her contagious laugh. The Association is in a better place because of her involvement. By investing in and empowering staff, and by leading by living our values, she created a team that’s passionate about serving our mission. I’m so fortunate to work every day with such incredibly talented, smart, kind, and passionate people. I will fiercely protect this culture we created, because it’s our secret sauce. Together, we’ll build off of the great foundation that Holly created.

I’m working with the board and staff to build towards our vision. We are looking at how to maintain and support the services you need to build the software while creating opportunities to promote solutions through Drupal.org and DrupalCon. We are in thinking and listening mode as we figure out the best way to execute this.

I invite you to share your thoughts on this vision. We are all in this together and we will be able to achieve this goal to fund more work on both sides of the Build/Promote equation if we have a shared vision and work together towards it. So please let me know your thoughts. What are the opportunities you see? What are the areas of concern we should consider?

Categories: Drupal

Matt Glaman: Run \Drupal\Tests\BrowserTestBase with SQLite

Planet Drupal - 23 May 2016 - 3:22pm

As part of the push to deprecate SimpleTest and use PHPUnit as the test runner in Drupal 8, there is the \Drupal\Tests\BrowserTestBase class. The BrowserTestBase provides a Mink runner that tests web pages in Drupal. Unlike kernel tests, which require a database and can be run via PHPUnit as well, browser tests use your default database connection. I prefer to run my tests with SQLite as I do not need to have my Docker containers running.

The simplest solution I have found, thus far, is to check the HTTP_USER_AGRENT

if ($_SERVER['HTTP_USER_AGENT'] == 'Drupal command line') { $databases['default']['default'] = array( 'driver' => 'sqlite', 'database' => '/tmp/test.sqlite', 'namespace' => 'Drupal\\Core\\Database\\Driver\\sqlite', ); }

With this, and running php -S localhost:8080 I'm able to write my Drupal Commerce browser tests without having my normal Docker containers running.

Categories: Drupal

Iron Wind Metals is Hiring

Tabletop Gaming News - 23 May 2016 - 3:00pm
Here’s another chance for you to possibly break into the world of hobby gaming. Iron Wind Metals is hiring. They’re looking to add a new mold maker/caster to their team. You could be part of one of the companies that’s been around since just about the very beginning. They’re looking for someone that’s already experienced. […]
Categories: Game Theory & Design

Cocomore: 5 recommendations before starting your first Drupal 8 project

Planet Drupal - 23 May 2016 - 3:00pm

Start developing with Drupal 8 with some tricks and thoughts before starting your first real Drupal 8 project.

Categories: Drupal

Guru Ganjifa Traditional Indian Playing Cards Up On Kickstarter

Tabletop Gaming News - 23 May 2016 - 2:00pm
Being a trained historian (hey… I’ve got a degree… shut up), I love when I see games that might have been played by our ancestors make it back to our gaming tables today. Something doesn’t have to have been designed in the last 2 years in order to be a good game. Ancient games lasted […]
Categories: Game Theory & Design

Vikings Gone Wild Board Game Up On Kickstarter

Tabletop Gaming News - 23 May 2016 - 1:00pm
You know, when you think of Vikings, you don’t tend to think of them just sitting around a fireplace, the walls of the room they’re in filled with books. Big, comfy-looking chairs. Sipping tea. One of them has a monocle. Perhaps discussing a bit of poetry. No. You think of them… well… going wild. And […]
Categories: Game Theory & Design

Overwatch and Blizzard's efforts to tell stories in a multiplayer shooter

Social/Online Games - Gamasutra - 23 May 2016 - 12:02pm

In a recent chat with Rock Paper Shotgun, Overwatch designer Michael Chu speaks to how the game's writers are learning to work with the community in a sort of "cat-and-mouse" game of storytelling. ...

Categories: Game Theory & Design

Goblinpunk Pathfinder Adventure Up On Kickstarter

Tabletop Gaming News - 23 May 2016 - 12:00pm
Goblins are known for tinkering around with things. They might always be the best at it, but the certainly will mess with things they get their little claws on. Such is the case with Goblinpunk, a new Pathfinder adventure that’s up on Kickstarter and looking for funding love. A group of enterprising goblins have started […]
Categories: Game Theory & Design

Don't Miss: Charting the (re)birth of the hero shooter genre

Social/Online Games - Gamasutra - 23 May 2016 - 11:25am

Why are we suddenly seeing a slew of "hero shooters"? Gamasutra talks to devs on Overwatch, Paragon and Battleborn about tracing the genre back to MOBAs -- and Team Fortress 2. ...

Categories: Game Theory & Design

Monday Terrain Corner

Tabletop Gaming News - 23 May 2016 - 11:00am
Well, we’ve already have our Wyrd preview. So that means we’ve just go our Terrain Corner to go as far as “it’s Monday, we gotta have it” posts. So… that’s what we’ve got now for you. Let’s get those gaming tables looking as good as possible. So today we have: Deadzone: Infestation Preview posted, Brigade […]
Categories: Game Theory & Design

Cinema of Attractions Party Card Game Up On Kickstarter

Tabletop Gaming News - 23 May 2016 - 10:00am
All of us have an opinion on the state of Hollywood these days. “Too many reboots.” “More superhero movies.” “Bring back Wagon Train.” That sort of stuff. Well, now the group behind Cinelinx is back with a new game that puts you in the position of being pitch-man for the next, big movie in Cinema […]
Categories: Game Theory & Design

Chromatic: Javascript Theme Functions in Drupal 7

Planet Drupal - 23 May 2016 - 9:26am

Like it or not, sometimes you have to output HTML in javascript.

Recently, I ran across a line of code something like this while reviewing a pull-request for a client:

var inputMarkup = '<span><label data-val="' + inputText + '" for="checkbox-' + index + '" data-tid="' + tid + '">' + inputText + '</label><input type="checkbox" id="checkbox-' + index + '" data-tid="' + tid + '" data-val="' + inputText + '" /></span>';

Aside from the fact that this code was hard to read (and therefore would be more difficult to maintain), the same code was used with no significant modification in three separate locations in the pull-request.

In PHP, most developers familiar with Drupal would immediately reach for one of the well-known parts of Drupal's theme system, render arrays, theme(), or a *.tpl.php file. In javascript, however, I seldom see much use of Drupal 7's extensive javascript API (also made available in a nicely browseable--though not quite up-to-date--form by nod_).

In this case, the relatively difficult-to-read code, combined with the fact that it was repeated several times across more than one file were clear signs that it should be placed into a theme function.

The Drupal.theme() function in the javascript API works much like theme() in PHP. When using theming functions in PHP, we never call them directly, instead using the theme() function.

In javascript, it's similar; when output is required from a given theme function, we call Drupal.theme() with the name of the theme function required, and any variable(s) it requires.

For example, drupal.org shows the following usage:

Drupal.theme('myThemeFunction', 50, 100, 500);

The example uses Drupal.theme() to call the theme function, myThemeFunction(), and pass it the arguments it requires (50, 100, and 500 in this instance). A theme function can accept whatever number of arguments is necessary, but if your theme function requires more than one parameter, it's good practice to define the function to take a single javascript object containing the parameters required by the function.

So in the case of my code-review, I suggested we use a theme function like this:

/** * Provides a checkbox and label wrapped in a span. * * @param {object} settings * Configuration object for function. * @param {int} settings.index * A numeric index, used for creating an `id` attribute and corresponding * `for` attribute. * @param {string} settings.inputText * The text to display as the label text and in various attributes. * @param {int} settings.tid * A Drupal term id. * * @return {string} * A string of HTML with a checkbox and label enclosed by a span. */ Drupal.theme.checkboxMarkup = function(settings) { "use strict"; var checkboxId = 'checkbox-' + settings.index; var inputText = Drupal.checkPlain(settings.inputText); var checkboxMarkup = ''; // Assemble the markup--string manipulation is fast, but if this needs // to become more complex, we can switch to creating dom elements. checkboxMarkup += '<span>'; checkboxMarkup += '<label data-val="' + inputText + '" for="' + checkboxId + '" data-tid="' + settings.tid + '">'; checkboxMarkup += inputText; checkboxMarkup += '</label>'; checkboxMarkup += '<input type="checkbox" value="' + inputText + '" id="' + checkboxId + '" data-tid="' + settings.tid + '" data-val="' + inputText + '">'; checkboxMarkup += '</span>'; return checkboxMarkup; };

This allowed the calling code to be much simpler:

// Creates themed checkbox. checkboxMarkup = Drupal.theme('checkboxMarkup', { index: i, inputText: $('.inputText').val(), tid: $('.tid') }); $container.append(checkboxMarkup);

The HTML generation is now also more loosely coupled, and more portable, meaning that we can easily use Drupal.theme.checkboxMarkup() elsewhere in this project--or in any other Drupal project.

Categories: Drupal

TGN Exclusive FAITH Preview Artwork

Tabletop Gaming News - 23 May 2016 - 9:00am
The FAITH: A Garden in Hell Kickstarter campaign keeps rolling along. They’ve made it over their funding goal over the weekend, and so they’re working their way towards the first of their stretch goals. To help entice you, they’re showing off some new artwork. And this is the first place you can see it. That’s […]
Categories: Game Theory & Design

Conocimiento Plus: [GSoC 2016: Social API] Week 0: Community bonding. GSoC starts!

Planet Drupal - 23 May 2016 - 8:30am
Today, Google Summer of Code has officially started. It is time students get to code. Google Summer of Code (GSoC) is a global program that offers students stipends to write code for open source projects. I will be working with the Drupal community on a project called Social API. This project tries to harmonize social networking functionality in […]
Categories: Drupal

Games Workshop To Release Captain Centos

Tabletop Gaming News - 23 May 2016 - 8:00am
Games Workshop has been working on opening up new shops around. They’re celebrating the opening of their 100th. That’s a lot of places to go get your minis-gaming on. To celebrate, they’re letting people pick up a special miniature, Captain Centos, at North American locations this weekend. Nothing special to do. Just go to a […]
Categories: Game Theory & Design

Pages

Subscribe to As If Productions aggregator