Newsfeeds

Acquia Developer Center Blog: The Faichi Story: From Unknown Drupal Shop to Top 10 in 6 months

Planet Drupal - 11 April 2016 - 6:21am

It all started at DrupalCon Barcelona, when Shailesh Gogate, VP at Faichi Solutions, met Johanna Boel Bergmann, the Account Manager, Drupal Businesses at the Drupal Association.

Johanna had never heard of Faichi; she had never seen it in the Drupal.org Marketplace. This even though our company has been working with big enterprise clients for the past five years, as well as contributing to Drupal.org.

That was an eye­-opener for Shailesh. When he returned to India, he shared his findings with Faichi’s engineers and senior management. They took the feedback very seriously. They decided to create a plan to show their presence: not only in the Drupal Marketplace, but to the whole Drupal community.

Tags: acquia drupal planet
Categories: Drupal

Chapter Three: Javascript testing comes to Drupal 8

Planet Drupal - 11 April 2016 - 4:47am

With the arrival of Drupal 8.1.0 finally you can test javascript interactions on Drupal.org. This is culmination of years of work by many developers to improve the testing API and infrastructure. Without the improvements delivered by Drupal 8 it'd be hard to leverage Mink, PhantomJS and PHPUnit to run our tests, and without the new DrupalCI infrastructure we'd have nowhere to run the tests.



Categories: Drupal

Drop Guard: Big update: the new onboarding process, improved patching workflow and more

Planet Drupal - 11 April 2016 - 3:14am
Big update: the new onboarding process, improved patching workflow and more Igor Kandyba Mon, 11.04.2016 - 12:14

Today, we’re excited to introduce you to a number of new features, improvements and fixes for Drop Guard - the first update in the series of releases planned for 2016.  It includes many enhancements designed to improve user experience when creating projects in Drop Guard, support for the "Unsupported updates", and even smarter automated patching workflow. Read below to learn about the major improvements and don't forget to check your Drop Guard account to check it by yourself. Let's dive right in!

Drop Guard features Drupal Planet
Categories: Drupal

Kristof De Jaeger: Taking a (Drupal 8) website offline using AppCache

Planet Drupal - 11 April 2016 - 2:41am
Written on April 11, 2016 - 11:41

A native mobile application which can cache the data locally is a way to make content available offline. However, not everyone has the time and/or money to create a dedicated app, and frankly, it's not always an additional asset. What if browsers could work without network connection but still serve content: Application Cache and/or Service Workers to the rescue!

For Frontend United 2016, Mathieu and I experimented to see how far we could take AppCache and make the sessions, speakers and some additional content available offline using data from within the Drupal site. There are a couple of pitfalls when implementing this, of which some are nasty (see the list apart link at the bottom for more information). Comes in Drupal which adds another layer of complexity, with its dynamic nature of content and themes. Javascript and css aggregation is also extremely tricky to get right. So after trial and error and a lot of reading, we came up with the following concept:

  1. Only add the manifest attribute to all "offline" pages which are completely separate from "online pages", even though they might serve the same content. In other words, you create a sandboxed version of some content of your site which can live on its own. Another technique is a hidden iframe which loads a page which contains the html tag with the manifest attribute. You can embed this iframe on any page you like. This gives you the option to create a page where you link to as an opt-in to get a site offline. Both techniques give us full control and no side affects so that when network is available the site works normally.
  2. You define the pages which you want to store in the cache. They are served by Drupal, but on a different route than the original (e.g. node/1 becomes offline/node/1) and use different templates. These are twig templates so you can override the defaults to your own needs. Other information like stylesheet and javascript files can be configured too to be included.
  3. The manifest thus contains everything that we need to create the offline version when your device has no network connection. In our case, it contains the list of speakers and sessions, content pages and some assets like javascript, stylesheet, logo and images.
Offline in the browser or on the homescreen

Go to the Offline homepage of Frontend United and wait until the 'The content is now available offline!' message appears, which means you just downloaded 672 kb of data - it is really really small, surprising no? Now switch off your network connection and reload the browser: still there! Click around and you'll be able to check the offline version at any time. If you're on a mobile device, the experience can be even sweeter: you can add this page to your homescreen, making it available as an 'app'. On iOS, you need to open the app once while still being connected to the network. We really do hope safari/iOS fixes this behavior since this is not necessary on Android. After that, turn off your network and launch the app again. Oh, and it works on a watch too if you have a browser on it. If that isn't cool, we don't know what else is! We have a little video to show you how it looks like. Watch (pun intended) and enjoy! Oh, in case we make changes to the pages, you will see a different notification telling you that the content has been updated - if your device has network of course.

Drupal integration

We've created a new project on Drupal.org, called Offline App, available for Drupal 8. The project contains the necessary code and routes for generating the appcache, iframe, pages (nodes and views) and settings to manipulate the manifest content. 3 new regions are exposed in which you can place the content for offline use. Those regions are used in offline-app-page.html.twig - but any region is available if you want to customize. Two additional view modes are created for content types and the read more link can be made available in the 'Offline teaser' mode. Formatters are available for long texts to strip internal links and certain tags (e.g. embed and iframe) and for images that will make sure that 'Link to content' is pointing to the 'Offline path'. Last, but not least, an 'Offline' Views display is available for creating lists. We're still in the process in making everything even more flexible and less error-prone when configuring the application. However, the code that is currently available, is used as is on the Fronted United website right now.

This module does not pretend to be the ultimate solution for offline content, see it as an example to quickly expose a manifest containing URL's from an existing Drupal installation for an offline version of your website. Other Drupal projects are available trying to integrate with AppCache or Service workers, however, some are unsupported or in a very premature state, apart from https://www.drupal.org/project/pwa. Note that I've been in contact with Théodore already and we'll see how we combine our efforts for coming up with one single solution instead of having multiple ones.

What about service workers ?

Not all browsers support the API yet. Even though AppCache is marked deprecated, we wanted to make sure everyone could have the same offline experience. However, we'll start adding support for service workers soon using the same concept.

We're also planning to start experimenting with delivering personal content as well, since that's also possible, yet a little trickier.

Links
Categories: Drupal

Offline Application

New Drupal Modules - 11 April 2016 - 2:15am

Offline application is a module that allows you to make content from your website available offline. You can configure nodes, views and the menu that will be used as the 'offline app' version of your website. Further configuration includes manifest for adding the content as an app on your homescreen.

Supports Application Cache API, even though it has been deprecated, but has the best support on all major browsers. Service Workers integration is following soon though.

Categories: Drupal

To the (Gaming) Muses

Gnome Stew - 11 April 2016 - 1:00am

Art by Avery Liell-Kok

I’m in fifth grade. It’s after school and I’m stuck waiting for my mom to pick me up. The middle school kids have their classrooms at the other end of the building, and I can hear shouting, so of course that’s where I go. They’re in our dingy little library gathered round a battered table. They have paper, dice, and books– and they’re playing Dungeons and Dragons. Advanced Dungeons and Dragons, to be specific (they are very specific). They offer to teach me, but for now I just want to sit and listen, maybe look at the books. While they argue about THACO, I open the Monstrous Manual, and my world changes.

I am in 7th grade. I am taking orders. “Okay . . . so, here’s the list of races I can draw. Yeah, I can totally do a Swan May. What color hair should she have? Eyes? Skin?” I have a tiny cohort, and they all want characters to “adopt”. A battered copy of the Monstrous Manual is passed around, in case anyone doesn’t know what a Swan May is, or a Drow, or a Rakshasa. I also offer custom races– mermaids, cat people, vampires, anthropomorphic ducks (don’t ask). My notebooks have their own entries, copied off D&D’s model, detailing the biology, habitats and stats of all these creations. I slavishly create my own pictures. My goal is to make something look as cool as the Tarrasque, but I’m leagues away.

I am in 8th grade. My dad comes home from the recycling center with a box of abandoned books. The all have similar titles– Vampire: the Masquerade, Werewolf: the Apocalypse, Mage: The Ascension, Wraith:the Oblivion, and Changeling: The Dreaming. My heart skips a beat when I see Changeling’s beautiful stained glass cover. I think of my favorite author, Charles de Lint, and the world he described in my personal holy book, Memory and Dream– a world of faeries and stranger things, of a painter who could bring the numinous into reality by the power of her brush alone. When I open that book and see Rebecca Guay’s unbelievable watercolors and Tony DiTerlizzi’s iconic splash pages, I think this is what Mr. de Lint was describing. This is real magic. I use up reams of printer paper creating a whole cast of characters for my own personal World of Darkness, and never show anything but a sliver to the outside.

I am a freshman in college. I am ostensibly here to study art, mostly I am here to escape my disintegrating home life. I am depressed, and for the first time I understand what artist’s block is. The best I can manage is some half-assed Jackie Chan Adventures fan art. I take comfort in the mechanical exercises of my entry level classes, but my worlds are closed to me, until my old high school friend tells me I need to come with him to this LARP. It’s Changeling based, he says, and so much fun, and all I can think about is how embarrassed I would be to play in a game with people I don’t know– but in the grayest part of February, when I can’t walk down the street without wanting to chuck myself in front of a bus, I say yes. He helps me with the basics. I go home, and start thinking about my character. The first thing I need to do to get to know her is draw her face.

I am a Junior in college. I am doing a project for the Changeling game, drawing as many of the characters as I can. There’s a lot– we’re talking a game that regularly pulls in around sixty people at it’s height. I’ve decided to focus on illustration when I get out of school. Just last year was my first GenCon, and this year I’m putting together a portfolio to take to the people at Wizards of the Coast. I work at my local games store and when I’m not slinging magic cards, I’m coming up with picture ideas. I never do finish the project, and the Wizards people very kindly tell me they hate my work, but I am invigorated. I can do this.

I am a couple of months out of school after taking an extra year to travel to Italy. When I’m not wandering Florence, I’m either working on several illustrations related to the Exalted game I’m utterly obsessed with; or, I’m reading the new Changeling: the Lost, and once again coming up with a cast of people to inhabit this gorgeous, insane city I will come to call home even ten years later. When I return and graduate, it is these illustrations I include in my portfolio when I get my first real gig doing some interiors for a little company called Silvervine Games. It’s a start, and I can’t be happier.

It is 2016, and I have been working full time as a professional illustrator for five years, employed at a company that gives me a salary to draw all day. I have never broken through to Wizards, in large part because I stopped thinking of painting a Magic card as the pinnacle of my potential career. I have other ambitions, now. Those old notebooks? I still have them. I’m starting to think maybe other people would be interested in those places and characters I have imagined so thoroughly, have drawn constantly. In partnership with my writer friend, I’m working on my first original gaming supplement. It’s great– I draw, he writes; he writes, I draw.

Roleplaying games were the fertile ground in which the seeds of my creativity were planted. Whatever fantastic fruits spring from that garden, I’m always going to tithe a portion of the harvest to the industry that nurtured me and gave me the confidence to tell whatever story I wanted, that taught me about world building and the joys of character design and made it imperative that I learn to tell a story in my paintings.

Thanks, you guys. I’ve got my pencil — Let’s play.

What was your gaming journey? How did you get inspired and pulled into the world of gaming?

Categories: Game Theory & Design

Sponsored: 22 Do's and don'ts when fighting cheating in online games

Social/Online Games - Gamasutra - 11 April 2016 - 12:59am

Want to sharpen your anti-cheat skills? This sponsored article is a brief summary on the topic, based on materials from an upcoming book on "Development and Deployment of Multiplayer Online Games." ...

Categories: Game Theory & Design

Search API Cross-language information retrieval

New Drupal Modules - 11 April 2016 - 12:35am

Cross-language information retrieval (CLIR) is a subfield of information retrieval dealing with retrieving information written in a language different from the language of the user's query. For example, a user may pose their query in English but retrieve relevant documents written in French.

https://en.wikipedia.org/wiki/Cross-language_information_retrieval

Categories: Drupal

The Game Developer's Toolbox (for Students) - by Anna Jenelius

Gamasutra.com Blogs - 11 April 2016 - 12:33am
This post offers a list of tips and tricks for budding game developer - a toolbox, if you will. It touches on many things, such as marketing, your elevator pitch, and how to sync your idea within the team.
Categories: Game Theory & Design

Fuzzy Thinking: Where There's a Whip ...

RPGNet - 11 April 2016 - 12:00am
Fuzzy songs!
Categories: Game Theory & Design

Educational Games: The Big Picture Part I - by Sande Chen

Gamasutra.com Blogs - 10 April 2016 - 11:33pm
In this podcast, game designer Sande Chen discusses the challenges of getting educational games adopted into schools.
Categories: Game Theory & Design

The Dark Zone Versus The Prisoner’s Dilemma - by Scott Fine

Gamasutra.com Blogs - 10 April 2016 - 11:33pm
Today we're going to talk about the Dark Zone and how it relates to the prisoner's dilemma.
Categories: Game Theory & Design

Breaking Into The Industry - by Ryan Darcey

Gamasutra.com Blogs - 10 April 2016 - 11:33pm
Some advice from a 12 year industry veteran for those that want to make a career in the video game industry.
Categories: Game Theory & Design

Conquest! Open Beta Begins - by James Bennett

Gamasutra.com Blogs - 10 April 2016 - 11:33pm
After ~8 months of development Conquest! beta has started. Learn more!
Categories: Game Theory & Design

Why the Rush? - by Matthew DeLucas

Gamasutra.com Blogs - 10 April 2016 - 11:33pm
A miniature retrospective on my latest untitled game, Project Merfolk, and the struggles I've been facing while trying to make an IndieCade build.
Categories: Game Theory & Design

Evolving Web: Bringing files along for the ride to D8

Planet Drupal - 10 April 2016 - 6:24pm

We just upgraded our site to Drupal 8, and a big part of that was migrating content. Most content was in JSON files or SQL dumps, which are supported by Drupal's migrate module. But what about images and other files? How could we bring those along?

We'll show how to write a custom migrate process plugin!

read more
Categories: Drupal

Presshub.io

New Drupal Modules - 10 April 2016 - 3:28pm
Categories: Drupal

The New Gnome Stew Site

Gnome Stew - 10 April 2016 - 1:12pm

So, uh, hey, we’ve got a new site up.

After the cowardly attack by Kobolds who hacked our site on the very first day of April this year (evidence archived here and the ensuing twitter war and retaliation hack here, here, and here), we went deep into figuring out how they hacked us and realized we’d completely broken the site while trying to fix it… Stupid kobold hacking and not at all a really fun april fools day joke and cover screen for redesigning the site…

So we built a new site, with the very best bits and bobs we found laying around Gnome Stew’s headquarters. The last time the site was redesigned was back in 2012, so we figured it was time to change a few things up.  We are 100% sure there are no Kobolds on the site, no matter how many easter eggs you try to find or konami codes you try to enter. Plus, we think it even looks kind of pretty and modern.

We’re still fiddling with some of the bits and bobs and will be slowly improving a few things (like the guest article process and commenting options), but for now we’d love to hear if you have any issues or find any bugs. Just ping us at techgnome@gnomestew.com to let us know any issues you find and we hope the new site treats you well!

Categories: Game Theory & Design

Lullabot: Lullabot DrupalCon Sessions 2016

Planet Drupal - 10 April 2016 - 1:29am

This year we have a stellar lineup of sessions by the Lullabot and Drupalize.Me teams which were accepted for DrupalCon North America being held in New Orleans. Take a look at who is presenting and read a short synopsis of what they’ll be talking about.

Coding and Development Altering, Extending, and Enhancing Drupal 8 - Joe Shindelar A large part of Drupal's appeal lies in its flexibility. The fact that a developer can alter, extend, and enhance almost any aspect of Drupal without having to hack core. Historically this versatility has been made possible through the existence of hooks. Specially named PHP functions that are executed at critical points during the fulfillment of a request. And they've served the framework well for years. But times are changing, and Drupal 8 offers a variety of new patterns that all module developers will be required to learn, and understand. Configuration Management for Developers in Drupal 8 - Matthew Tift Is the configuration system your favorite feature of Drupal 8? Are you interested in doing continuous integration? Do you want to easily export all of your Drupal configuration to code? Interested in building a best practice continuous integration and deployment solution? This session, hosted by co-maintainers of the configuration system, will focus on how Drupal 8's configuration management system works, how to integrate it with a continuous integration system, and what developers can do to extend its power through contributed modules and custom code. Come with your questions and learn more about this magical part of Drupal 8. Core Conversations Drupal (admin) as an application: More JavaScript in core? - Marc Drummond In recent months, much debate has revolved around the compelling user experiences increasingly accompanying the runaway growth of JavaScript frameworks. Some argue that Drupal already has many moving parts and should evolve toward more seamless user experiences with existing tools and better processes. Some argue that Drupal should address this trend with additional capabilities for JavaScript in the form of a JavaScript framework. Some argue we should look at using modern PHP and JavaScript technologies that don’t require a JavaScript framework. Others have positions that fall both inside and outside this spectrum! Learning to Let Go (Contrib Burnout) and Module Giveaway - Dave Reid How can someone deeply involved in the Drupal contributed module ecosystem start to step away? How do we handle burnout not just in Drupal core development, but in contrib? I'd like to engage a conversation based the challenges I have encountered and currently face personally/emotionally on my journey from being one of the top contributors to Drupal 7, prolific writer of modules, to someone starting a family and needing to rebalance their personal, work, and Drupal life. With so much focus on getting people involved in Drupal.org, are there technical solutions we can explore to help make active contributors happier? Drupal.org Documentation Is Getting An Overhaul - Joe Shindelar Having high-quality documentation available for Drupal.org is key to gaining wider adoption, growing the community, and the overall success of the Drupal project. I want to share the work related to documentation going on in the community, as well as some of our plans for continued improvement in the future. Front End Debugging, Profiling, & Rocking Out with Browser-Based Developer Tools! - Mike Herchel Browser based developer tools have become an indispensable tool for modern front-end web development. New features and changes are being added at a rapid pace, and keeping up with all of the changes is difficult, but well worth it! In this session, Mike will walk attendees through modern debugging techniques, tips and tricks, front-end profiling, and more! Sizing up responsive images: Make a plan before you Drupal - Marc Drummond Drupal 8 has built-in responsive images support based off of Drupal 7’s contributed Picture and Breakpoint modules. Understanding how to use those modules without first making a plan could easily lead to a cat-tastrophe! Horizons AMPing up Drupal - Karen Stevenson, Matthew Tift, and Marc Drummond In many cases, the mobile web is a slow and frustrating experience. The Accelerated Mobile Pages (AMP) Project which involves Google is an open source initiative that embodies the vision that publishers can create mobile optimized content once and have it load instantly everywhere. When AMP was first introduced last October 2015, many commentators immediately compared it to Facebook's Instant Articles and Apple's News app. One of the biggest differentiators between AMP and other solutions is the fact that AMP is open source. Beyond the Blink: Add Drupal to Your IoT Playground - Amber Himes Matz What does making a light blink have to do with Drupal? Come to this session to find out how you can add Drupal to your Internet of Things data playground. (THERE WILL BE BLINKING LIGHTS.) Site Building Recoupling: Bridging Design and Structured Content - Jeff Eaton For years we’ve talked about separating content and presentation. Structure, reuse, and standardization are the name of the game in a future-friendly, multi-channel world — aesthetics are someone else’s concern … right? UX Web Accessibility 101: Principles, Concepts, and Financial Viability - Helena Zubkow If your website wouldn't work for anyone living in the state of New York, would that be a launch-blocker? Of course! So why are we ignoring the even larger population of people with disabilities?

Photo by: Jeff Turner and used via Creative Commons License

Categories: Drupal

Colossal Menu

New Drupal Modules - 9 April 2016 - 2:00pm

Menu of Epic Proportions

Colossal Menu is a new type of menu system that is built on content entities rather than the plugin & config system in the core Menu System. This allows for fieldable menu links as well as multiple link types.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator