All RPGs and Storygames by Tod Foley are now available at DrivethruRPG and RPGnow. Bring these games to your table!
Caring about Webform accessibility
Caring about Webform accessibility was a significant and unexpected personal milestone that happened last year while working towards a stable release of the Webform module for Drupal 8. It’s not that I didn’t care about accessibility, I just never paid attention to it.
Mike Gifford and Andrew Macpherson, Drupal's Accessibility Topic maintainers, helped me understand the importance of accessibility. They also gave me some direction for how to address webform related accessibility issues. This experience led me to do a presentation about Webform Accessibility @ Design4Drupal and to strive to fix accessibility issues in the Webform module. I learned to care about accessibility, but it’s not enough - I still have to ask the question…
Accessibility can't be neglected
Accessibility has become an important and persistent topic in Open Source communities. I've stated how impressed I am with WordPress's reimaging of its page building user experience, called 'Gutenberg'. At the same time, I was disappointed to see how the WordPress community, specifically how Automattic, addressed accessibility issues related to Gutenberg's user experience. My criticism is based on my sense of the responsibility associated with maintaining an Open Source product used by tens of thousands of websites, and in WordPress' case, is used by over 30% of all websites.
Open Source is about sharing and...Read More
Jagex could be one of the assets put up for sale if its parent company decides to take that route during a restructuring effort. ...
The European Commission made an exciting announcement; it will be awarding bug bounties to the security teams of Open Source software projects that the European Commission relies on.
If you are not familiar with the term, a bug bounty is a monetary prize awarded to people who discover and correctly report security issues.
With over 150 Drupal sites, the European Commission is a big Drupal user, and has a large internal Drupal community. The European Commission set aside 89,000€ (or roughly $100,000 USD) for a Drupal bug bounty. They worked with Drupal's Security Team every step along the way to get this set up. To participate in the Drupal bug bounty, read the guidelines provided by Drupal's security team.
Over the years I've had many meetings with the European Commission, presented keynotes at some of its events, and more. During that time, I've seen the European Commission evolve from being hesitant about Open Source to recognizing the many benefits that Open Source provides for its key ICT services, to truly embracing Open Source.
In many ways, the European Commission followed classic Open Source adoption patterns; adoption went from being technology-led (bottom-up or grassroots) to policy-led (top-down and institutionalized), and now the EU is an active participant and contributor.
Today, the European Commission is a shining example and role model for how governments and other large organizations can contribute to Open Source (just like how the White House used to be).
The European Commission is actually investing in Drupal in a variety of ways — the bug bounty is just one example of that — but more about that in a future blog post.
From time to time, I have the need to take a Twig template and a set of variables, render the template, replacing all the variables within, and then get the output as a string. For example, if I want to have a really simple email template in a custom module which has a variable for first_name, so I can customize the email before sending it via Drupal or PHP, I could do the following in Drupal 7:
Apple joins a growing list of prominent companies (reportedly) looking at creating a 'Netflix for games.' ...
Early registration for the 2019Â Game Developers ConferenceÂ endsÂ Wednesday, January 30thÂ atÂ 11:59 PM Pacific,Â soÂ take the opportunity to save money on your pass by registering nowÂ at aÂ discounted rate! ...
Updates to your Drupal site are reflected in your list of checked pages in Silktide within seconds.
IllFonic, the studio that developed the no. 3Â game on Playstation Store for 2017 Friday the 13th: The Game, is ramping up production on several unannounced projects. ...
Acquia Developer Center Blog: Building Usable Conversations: Conversational Information Architecture
In this second installment in our series on conversational usability, we dive into a relatively overlooked area of conversational interfaces that can have an outsized impact on the eventual user experience that results: information architecture.Tags: acquia drupal planet
A few nights ago as I left my dinner spot, a lady behind me on a scooter handed me a rose and told me she just liked to brighten people’s days. She rode around with a bouquet of flowers all day and handed them to people. The rose is beautiful and it smells divine, but it doesn’t hold a candle to the kind of emotional giving that’s possible in a tabletop rpg. I was lucky enough on a few weekends ago to sit down with Ryan Macklin and fellow gnome Angela Murray so that Becky Annison could run us through her upcoming kickstarter game, Bite Me. I loved the game — it’s all werewolves and feelings — but the people at the table reminded me of an important role player skill: shining the spotlight.
When I land in a game where the spotlight isn’t being shared freely and generously, it’s rough both as a player and a GM — it can feel boring, or like a power struggle. Share25Tweet18+11Reddit1EmailWe frequently talk about sharing the spotlight, and sharing it is key. Sharing it is how we work as a team and collaborate to create a story (and fun times for all). Sharing the spotlight is when I bring someone in to my scene, or hook them in to the story in another way; give them fodder to play to with my character and engage with them. Without sharing we have a group of disparate characters who are loosely held together by the fact that the people at the table are in the same physical space. When I land in a game where the spotlight isn’t being shared freely and generously, it’s rough both as a player and a GM — it can feel boring, or like a power struggle.
Shining the spotlight to me is a little different. When you shine the spotlight on another character, you are making them the most important part of the scene or story. Shining the spotlight requires selfless players, creativity, and an ability to prize the group story over the personal story of a single character and individual time in the spotlight. It also requires trust — trust that the other players in the game will shine back to you when you shine on them. In this particular game, Ryan did two things that I thought were spectacular examples of shining the spotlight on another character: he tossed Ang’s character Jax in to the front lines of a negotiation, and he sank a thousand teeth of creepy prophecy (we’d agreed there was one, but that was all) in to my character. So how can you shine the spotlight at your table?
- Be on the lookout for story beats that you can toss others in to. When our werewolf pack needed a negotiator, Ryan, playing Old Dog Miller, didn’t use his pack status to jump in to the negotiation role — he actually did the opposite and thrust the situation on Jax before disappearing from the scene entirely on a mysterious errand of his own. Narratively, he created the story that seeing his face across the table would only have made the negotiations go even more poorly than they did, since his sister led the opposing pack.
- Trust that you will receive play time in return. Trust that when you take the spotlight and point it at someone else, they will do the same for you in return. Instead of hoarding or fighting for your time, allow the spotlight to be gifted back to you, which leads directly to…
- Celebrate your fellow players (and GM). When you are excited not just about what someone else’s character is doing, but what they could be doing, when you are just as excited about their story as your own, then you can shine the spotlight on them selflessly, and the game is better for it. Be interested in the ways that your fellow PCs will react to situations, and then help build those interesting narratives. That’s not just tossing Jax in to the lion’s mouth on negotiations, it was also building up a prophecy related to my character further and further without my character’s knowledge, until we could have a moment where it all came out in the open.
And finally, when the spotlight is being pointed at you, accept the gift with grace…and share the moment. When the beam of story is aimed at you on high, now is the time to share that light out and make sure that others are involved with you. Take the story offering that is handed to you (given that it is safe and consensual), and make it the coolest moment you can. Once your moment is past, take the light and reflect it on someone else. Give someone a rose, just to see them smile.
What is a memorable time someone shone the spotlight on you? Do you have any other tips for shining vs. sharing as a player?
If you are interested in more information about Bite Me, which is coming to kickstarter in February, you can follow up here!
This fall the South Carolina Drupal User’s Group started using Zoom are part of all our meetings. Sometimes the technology has worked better than others, but when it works in our favor we are recording the presentations and sharing them when we can.
Chris Zietlow presented back in September about using Machine Learning to Improve UX.
We frequently use these presentations to practice new presentations and test out new ideas. If you want to see a polished version hunt group members out at camps and cons. So if some of the content of these videos seems a bit rough please understand we are all learning all the time and we are open to constructive feedback.
If you would like to join us please check out our up coming events on Meetup for meeting times, locations, and connection information.
Flexi Magazine is a free mobile first, Bootstrap 3 based theme for Drupal 8, which helps you to create a great looking news magazine site.
A flexible, theme with many regions and a responsive, mobile first drupal 8 theme for faster and easier web development.
It's Most flexible & user-friendly drupal theme
Optional configuration for the Redirect module.
- Add validation for the 'to' path to prevent 404 errors (internal and/or external)
- Warn or convert the destination while creating a redirect chain
- Permissions to use redirect types (301, 302, ...)
Visualise yourself getting involved in a social experiment (and you are oblivious of your involvement). You are walking down the street and find cash on the sidewalk. You get drowned in different thoughts as to whether casually pick it up and slip it inside your pocket or just plod away as if you haven’t seen anything or just take it and give it to someone needy. Supposing you have chosen the second option, you, then, realise that it was a social experiment as some guys come towards you appreciating your character.
Diving into Automated testing
Sometimes life gives you such opportunities without even giving you some sort of prompt where you are automatically tested for your behaviour. Speaking of an automatic test, there is a different sort of automated test involved in the digital scene but has a lot of significance. Adding test coverage to your website and application can be very fruitful. For instance, you can ensure that requirements are met and avoid regressions from happening. One of the many approaches for testing is Behaviour Driven Development (BDD). As one of the leading open source content management systems, Drupal enables you to imbibe automated testing through tools like Behat in your website.
Automated testing is a process that involves pre-scripted tests which are run automatically. Their function is to compare actual results with expected results that help in determining if the application works as expected. It can help in executing iterative tasks and regression tests to verify if an application works correctly after the newly implemented alterations.Automated testing is a process that involves pre-scripted tests which are run automatically.
On the contrary, manually testing involves quality assurance specialists who need to verify that the applications are working properly by following conditions written in test cases. In spite of its primitive nature, it is still very significant in cases like wearables and mobile devices that may need field testing in a physical environment.Source: Gear Inc
Automated testing saves a lot of time by reducing the time to run repetitive tests which, in turn, saves money. It vastly enhances your test coverage. Lengthy tests that are, most often than not, avoided in manual testing can be run unattended. It also improves precision by performing the same steps precisely whenever they are executed and never misses from recording detailed results. It can simulate tens and thousands of virtual users interacting with a network, software and web applications. Moreover, shared automated tests can be leveraged by developers to detect problems quickly before sending to QA.Automated testing in Drupal
Drupal 8 core testing framework comes with numerous automated testing options. To ensure the quality and reaction of code on edge cases, testing can be performed in different layers:
- To test class methods, you can write Unit tests which constitute the process of testing the discrete parts or units of a software project. PHPUnit can be leveraged in this case.
- For testing module APIs, you can write Kernel tests which are basically unit tests on steroids.
- You can also adopt functional testing where software testing is performed for detecting the actual performance of an application’s functional requirements. Functional testing is great for accuracy, interoperability, compliance, security and suitability.
- There is also the possibility of utilising an external framework like Behat with scenarios in gherkin syntax.
Behat is an open source Behaviour-driven Development framework.
Behat is an open source Behaviour-driven Development (BDD) framework, as stated in the official site of Behat, and helps in supporting the process of delivering software that matters via perpetual communication, deliberate discovery and test automation. BDD is a way of building software through continuous interaction with stakeholders in the form of examples like what help would a particular software be offering to them and you for attaining your goals.
Behat was created for PHP and is a spectacular PHP library to the core with its codebase leveraging a superabundance of Symfony components, strictly adhering to coding standards, and comes out on top in major static analysis tools. Moreover, Behat has superb extensibility as almost all of its functionality could be enhanced or replaced via a magnificent extension system.Behat for Drupal
There is a provision for a Drupal extension that offers an integration layer between Behat, Mink Extension and Drupal. For the starters, this Drupal extension can be enabled using Composer followed by the creation of behat.yml file in the projectdir. You also get to add your features files to the features directory of your repository that contains human-readable steps to test something.
By describing the behaviour of a site in plain but stylised language followed by the process of turning that description into an automated test, Behat and Mink come in very handy. These functional tests enable the site builders to ensure that the added value that is created while building a Drupal website keeps on behaving as per the expectations even after alterations are done to the website like security updates, changes to custom code among others.
This Drupal extension helps in setting up test data using Drush or the Drupal API in addition to defining theme regions and test data that appear within them. It also assists in clearing cache, logging out and other such significant steps. Moreover, it is an astronomical solution for detecting and discovering steps offered by contributed modules and themes.Case study
Global Canopy Programme wanted to retrieve the news syndicated from a plethora of public sources, govern it through an internal application followed by resyndicating it to numerous public-facing sites. For this, it leveraged the power of Drupal with the help of a digital agency to build this application called Forest Desk. They followed the paradigm of BDD that was beneficial for each piece of functionality and could be embedded in the Scrum process.
Behat was meritorious for testing whether the functionality has been built correctly. It turned out to be an essential tool for testing comprehensible action on a website like clicking links or hitting submit buttons. Behat’s knowledge could further be extended using custom PHP code thereby leveraging it to understand RSS which is the format for syndicating content on the web.Behat’s knowledge could further be extended using custom PHP code thereby leveraging it to understand RSS which is the format for syndicating content on the web.
The RSS standard was utilised for syndicating data and Drupal’s Feeds module was very beneficial in consuming this standard from remote websites and modules like Views helped in repackaging it for consumption by other sites. Furthermore, the Adminimal theme offered an immaculate administrative design.
For developing each feature, once its scenario was specified in Gherkin syntax, Features module was leveraged. This helped in altering the configuration and save the changes and return to the previous state of configuration in case any BDD test no longer works.Conclusion
Behat is a great tool for enabling superfast and efficacious automated testing in Drupal development.
Offering stupendous digital experience with our suite of services to our partners has been our supreme goal.
Contact us at firstname.lastname@example.org to get the best out of automated testing through this wonderful tool - Behat.blog banner blog image Behat Behaviour-driven Development Drupal Drupal 8 Mink Automated Testing Blog Type Articles Is it a good read ? On