Skip to Content

Newsfeeds

Joachim's blog: Graphing relationships between entity types

Planet Drupal - 31 August 2014 - 2:00pm

Another thing that was developed as a result of my big Commerce project (see my previous blog post for the run-down of the various modules this contributed back to Drupal) was a bit of code for generating a graph that represents the relationships between entity types.

For a site with a lot of entityreference fields it's a good idea to draw diagrams before you get started, to figure out how everything ties together. But it's also nice to have a diagram that's based on what you've built, so you can compare it, and refer back to it (not to mention that it's a lot easier to read than my handwriting).

The code for this never got released; I tried various graph engines that work with Graph API, but none of them produced quite what I was hoping for. It just sat in my local copy of Field Tools for the last couple of years (I didn't even make a git branch for it, that shows how rough it was!). Then yesterday I came across the Sigma.js graph library, and that inspired me to dig out the code and finish it off.

To give the complete picture, I've added support for the relationships that are formed between entity types by their schema fields: things like the uid property on a node. These are easily picked out of hook_schema()'s foreign keys array.

In the end, I found Sigma.js wasn't the right fit: it looks very pretty, but it expects you to dictate the position of the nodes in the canvass, which for a generated graph doesn't really work. There is a plugin for it that allows the graph to be force-directed, but that was starting to be too fiddly. Instead though, I found Springy, that while maybe not quite as versatile, automatically lays out the graph nodes out of the box. It didn't take too long to write a library module for using Springy with Graph API.

Here's the result:

Because this uses Graph API, it'll work with any graph engine, not just Springy. So I'll be interested to see what people who are more familiar with graphing can make it do. To get something that looks like the above for your site, it's simple: install the 7.x-1.x-dev release of Field Tools, install Graph API, install the Springy module, and follow the instructions in the README of that last module for installing the Springy Javascript library.

The next stage of development for this tool is figuring out a nice way of showing entity bundles. After all, entityreference fields are on specific bundles, and may point to only certain bundles. However, they sometimes point to all bundles of an entity type. And meanwhile, schema properties are always on all bundles and point to all bundles. How do we represent that without the graph turning into a total mess? I'm pondering adding a form that lets you pick which entity types should be shown as separate bundles, but it's starting to get complicated. If you have any thoughts on this, or other ways to improve this feature, please share them with me in the Field Tools issue queue!

Categories: Drupal

Objective Game Review: Monsters Ate My Birthday Cake - by Corvus Elrod

Gamasutra.com Blogs - 31 August 2014 - 9:40am
Another Objective Game Review inspired by #GamerGate
Categories: Game Theory & Design

The Sorry State Of Gaming's Truthers And Their #Gamergate - by Tadhg Kelly

Gamasutra.com Blogs - 31 August 2014 - 8:57am
In looking at how certain segments of the community react to Anita Sarkeesian and Zoe Quinn by accusing them of faking their attacks, I'm minded of birther, truther and other fringe movements that think they have a silent majority on their side.
Categories: Game Theory & Design

MariqueCalcus: Drupal 8 in action

Planet Drupal - 31 August 2014 - 8:05am

Drupal 8, Plugins, Guzzle, CMI, Caching... If those buzzwords trigger your interest, you should keep reading this article. We will cover those topics as we are building one of our first Drupal 8 modules. Recently one of our clients requested a solution to integrate a custom feed called IBP Catalog. The IBP Catalog is a filterable XML feed, which enable to easily collect web component like banners, documents or even audio files. Those components are selected by the broker through a dedicated website.

Read More...
Categories: Drupal

Doug Vann: Drupal is a community AND there happens to be a piece of software by the same name

Planet Drupal - 31 August 2014 - 5:09am

This is part one in a series of blog posts about the Drupal Community. There is NO SHORTAGE of posts on this topic, but I wanted to take the time to tell my story of how I got here and what the Drupal community means to me.

If you have ever attended one of my private or public trainings then chances are good that you have heard me utter the phrase that titles this blog post. You can also hear me saying this on a recent Podcast I did with the good folks at LightSky.com: http://www.lightsky.com/podcasts/drupal-community

Here is that quote again in longer form:

“Drupal is a community and there happens to be a piece of software by the exact same name, and that can be confusing for some.”

If you read that statement slow enough, or maybe a few times, I believe you will agree that this is a VERY loaded statement, a provocative one even. How does it make you feel when you read it? Do you instantly agree? Do you instantly disagree? Do you wonder if it is hyperbole or sensationalism at some level? I think all these reactions, and more, are well within the realm of expected, and acceptable, responses.

You see, my early exposure to “Drupal” started with a rather humongous dose of the Drupal Community. Therefore, it stands to reason that I know it well, love it dearly, and engage and describe it as often as I do. But it wasn’t just my early exposures that set me on a path of life long Drupal Community advocacy. It was the opportunities for continued exposures that were afforded to me by the very members of the community. It fed me, equipped me, and empowered me which, in turn, motivated me to energetically continue on in my role as an active Drupal Community member.

How it started:
For the LONGER version of this story, go listen to my 2009 DrupalEasy Podcast Interview.
Suffice to say that I discovered Drupal in December of 2007 and after becoming convinced that Drupal ROCKED I discovered that there was a training in Portland Oregon. This outfit with a real funny name was doing a 5 day training on module development for Drupal 5. What was that funny named company? Well, it was Lullabot, of course! :-) There I met MANY of the people who I count as good friends, partners, and colleagues to this day.
Let me keep this simple with a visual timeline of just how much Drupal Community interaction I had right out of the gate:

  • 2007
    • December            | Discover Drupal
  • 2008
    • Jan, Portland        | 5 days of Drupal5 Module Development Training with Lullabot & 2 dozen other [soon to be] friends.
    • Jan, Indianapolis   | I start the local Indy Drupal Users Group. Why? Because in Portland, Addi Berry told me to!
    • Feb, Los Angeles   | 5 days of Drupal5 Theme Development Training with Lullabot & some of my new friends from Portland PLUS some brand new friends.
    • Mar, Boston          | 4 days at DrupalCon with 850 Drupalers, so many of which I already knew from the 2 Lullabot classes
    • May, Minneapolis  | 5 days of Drupal6 Module/Theming training AGAIN with Lullabot & many familiar faces & new ones.
    • June, Toronto       | 5 days of Drupal6 Intensive Training AGAIN with Lullabot & many familiar faces & new ones.
    • July, Chicago        | 2 days helping to man the Drupal booth at HostingCon. Kieran Lal had put out a request for people to take shifts. I showed up and never left the booth. I was an animal doing everything I could to educate ppl on how awesome I thought Drupal was. I COULD NOT [would not?] shut up. I impressed the local Chicago Users Group members and they asked me if I would come speak at their first ever DrupalCamp Chicago. I AGREED! [Still didn’t understand what a DrupalCamp was!?!?!]
    • Oct, Chicago         | DrupalCamp Chicago is my 1st ever DrupalCamp! I wound up delivering over 8 sessions and leading a couple BoFs as I discovered my new title, King Of The N00bs!
    • Nov, Indianapolis  | I become aware of an event called IndyBANG [Indy Business & Arts Networking Get-together] I pay for booth space, print up a huge banner, and enjoyed some local entertainment, beverages, and got to tell my own city about this awesome thing called Drupal!
  • 2009
    • May, Chicago        | My First PAID Gig! I am invited to deliver a workshop at the 1st annual CMS Expo in Evanston IL. Local community leader Matthew Lechleider and I wow a good sized crowd for a 1/2 day Drupal intro workshop. I end up meeting many ppl who will play important, longterm roles in my professional life. 

You get the idea! right? :-)
So if you do the math, My first 90 days in Drupal included 80hrs of lullabot workshops, and the first “solo” DrupalCon in North America. That’s pretty intense! It only stands to reason that my perspective on Drupal is one that is Community driven. When I think of Drupal, I think of the Drupal community.

Other upcoming topics include:

  • Why it's important to distinguish the Drupal Communuity as its own entity and appreciate its value and power.
  • How companies have leveraged the Drupal Community and how they've achieved measurable ROI from doing so. 
  • How the Drupal Community is a "Value Added" consideration in the sales process and why the Drupal Community matters when businesses consider which CMS to use for their organization.
  • The evolution of DrupalCamps across the years. Many things have changed!
  • Other topics? Leave a comment on this post if you have an idea for a future blog post! :-)
Drupal Planet

View the discussion thread.

Categories: Drupal

Client Menu (Responsive Navigation)

New Drupal Modules - 31 August 2014 - 2:52am


Navigation for your clients and managers. Similar to Administration Menu, but focused on clients and user experience. Native responsive solution for mobile devices and high dpi device support.

Categories: Drupal

Outland 17 Development - Unity Ragdoll Tutorial - by JC Santiago

Gamasutra.com Blogs - 31 August 2014 - 12:43am
Our designer recently implemented ragdoll phsyics in our latest demo. He wrote up this simple tutorial to help teach anyone else that was curious on how to make their character models flop like fish.
Categories: Game Theory & Design

Field collection Tokens

New Drupal Modules - 30 August 2014 - 2:04pm

This module allows administrators to define custom tokens for any field_collection fields on their nodes.

The 'token' display mode is used for rendering subsituted field_collection fields. Rendering falls back to 'default' display mode if 'token' mode is not used.

Best used together with token_filter so users can use tokens in textareas to target field_collection values.

Categories: Drupal

ApacheSolr Infinite Scroll

New Drupal Modules - 30 August 2014 - 10:40am

Leverages the jQuery Autopager library (same library as views_infinite_scroll) to replace the pager on Apache Solr search results pages with an infinite scroll loader.

Categories: Drupal

Species and Societies

New RPG Product Reviews - 30 August 2014 - 10:28am
Publisher: Thunderegg Productions
Rating: 5
This work is all about creating new races of intelligent (more or less) creatures for your game. The cover is virtually obscured by 'Compatible with' logos ranging from fantasy to science fiction systems, but never fear if your chosen ruleset isn't there, it is generic enough to be used whatever game system you prefer although those are the ones explicitly supported.

There are two ways to use the book. Either grab a handful of dice and start rolling, see what you come up with, or use the sections as guidelines to drive your thoughts, ensuring that you consider all the aspects that will be useful in creating a species that you'll be able to bring to life in your chosen setting. Or, of course, a combination of both: maybe starting by rolling dice then change the things that don't suit the concept you're forming, or only roll when you don't have a clear idea about a particular aspect. However, bear in mind that it can be fun working out how an oddball species survives and thrives - the randomly-designed ones can be the most interesting! (Bipedal naked mammals, who'd have thunk THEM up?)

The first table covers general species biology while the second one deals with humanoid species biology. The idea here is that the first table can generate anything from animals to sentient races, whilst the second is aimed at creating the sort of 'aliens' that you find in science fiction films, the ones that when all is said and done are human beings with makeup and prosthetic effects on.

Then if you are after a strange-looking race (or rolled for something 'deviant' on whichever of the first two tables you used) there are some weird things you can mix and match into the race you are building. This is followed by a set of notes about different sorts of organisms, which may help you expand on the brief description that you have derived so far for your new species. They are quite broad, and contain several inaccuracies - mostly deliberate ones which are covered in the notes, like lumping dinosaurs in with reptiles. A couple of minor quibbles include the statement that a sense of smell is not much use if you're aquatic - try telling a shark that!

The notes also cover habitat and structure (of the body, that is). Then the discussion moves on to the core of the matter: creating new PC races for your game. This is handled by offering 'kits' for several game systems (13th Age, Dungeon World, Fate Core, Legend, Pathfinder and Traveller) which you use to derive the system-specific information that you need for the race you have just invented. As demonstration, each kit is used on the same basic race, a Turtle-Man from Chelonian Press's Turtle Lords RPG (1983). These kits come with explanatory notes showing you how to make the conversion from the core information generated here into the game system of your choice.

And then there's another set of tables, these ones are to enable you to devise the sort of society in which your new species likes to live. Everything from government types to their values and attitudes, as well as strengths and weaknesses, nature, assets... as well as further tables on the civilisation's past and current situation. Not only does this give you a good overview of what a society is like, it also feeds into the 'Societal Conflict System' that is presented next. This isn't so much about actual warfare as about determining the underlying geopolitical situation. Look at the news. In some part of the world, people are actually fighting each other, in others the diplomatic situation is a bit tense and in some places there is more or less a state of peace... but there are always tensions, allies and nations which do not get along and the like. This is about generating this kind of background situation which may or may not actually impact on your plot, but is part and parcel of the setting in which your game is being played.

Naturally character actions may have an influence: they are the stars of the show! This may be direct - perhaps they are soldiers, spies or diplomats - or incidental... who knows, maybe they created an international (interstellar?) incident without even intending to... and the intention is that the GM should use this system in between game sessions to model what is going on in the rest of the world while the party is off doing its thing. It's a neat concept which should add interesting depth to your game.
Categories: Game Theory & Design

Native game on Android – Porting Quest of Dungeons - by David Amador

Gamasutra.com Blogs - 30 August 2014 - 5:51am
Quest of Dungeons was made in C++ and OpenGL, it runs on Windows, Mac and Linux in native code. I never made anything for Android, in fact I never even used one before this, so when I decided to port QoD to it, I had no idea of what to expect.
Categories: Game Theory & Design

The Walking Dead vs Heavy Rain - by Frederic Fourcade

Gamasutra.com Blogs - 30 August 2014 - 1:23am
I feel that these two games are very similar in the way they intend to involve the player in the plot. But they are interestingly different in the way these intentions are implemented in-game.
Categories: Game Theory & Design

This Post Makes Me Want to Jump, Jump - by John Quick

Gamasutra.com Blogs - 30 August 2014 - 12:31am
Thanks to an insightful jumping analysis from a fellow Gamasutra blogger, I was inspired to share a few corresponding thoughts on whether to jump at all and how many times to jump.
Categories: Game Theory & Design

REalM Walk of Soul, a Developers Diary so far - by Alejandro Garza Cuellar

Gamasutra.com Blogs - 29 August 2014 - 11:51pm
It took us a while, but it's finally here: REalM Walk of Soul demo!! And that's not even the most important part, because when releasing the demo we decided to go big, and what better way to do it than to entering the game at Steam Greenlight.
Categories: Game Theory & Design

The Big Difference Between Amateur Designers and Good Ones - by Dan Felder

Gamasutra.com Blogs - 29 August 2014 - 11:41pm
Whether looking to improve, looking to hire or looking for team members - there's at least one big thing that sets amateur designers apart.
Categories: Game Theory & Design

Dynamic Internal Linking

New Drupal Modules - 29 August 2014 - 11:12pm

Internal Linking :

Meaning: Linking your valuable pages within your website.

Examples: Navigation (main & secondary menus) could serve as the best example of internal linking. Having a sitemap is another example.

Why Internal Linking? There are numerous articles on the internet that explain the need of internal linking from SEO perspective. But since you have reached here only after identifying the importance, we are not sharing the links :-)

Dynamic Internal Linking :

Categories: Drupal

Mediacurrent: Highlights from Drupalcamp Asheville

Planet Drupal - 29 August 2014 - 12:58pm

On August 22nd and 23rd, members of the Mediacurrent team attended the 4th annual Drupalcamp Asheville. With over 100 attendees convening at the Crowne Plaza Resort, our team experienced quality sessions, code sprints, and meaningful one-on-one coversations. Below are their highlights of the weekend.

Categories: Drupal

Video: #1ReasonToBe inspires European devs at GDC Europe 2014

Social/Online Games - Gamasutra - 29 August 2014 - 12:40pm

GDC Europe 2014 saw the triumphant European debut of one of the most popular GDC sessions: the #1ReasonToBe panel, a raucous celebration and exploration of gender and alternative voices in games. ...

Categories: Game Theory & Design

The Secrets of the Bravo (PFRPG)

New RPG Product Reviews - 29 August 2014 - 9:39am
Publisher: Rite Publishing
Rating: 5
Have you ever wanted to swash your buckle, breeze through adventure with wild abandon, living for the moment? Perhaps the new base character class of the bravo is for you.

Presented in the main as if one such bravo had paused for a moment to recount to you the details of his chosen career, no doubt over an ale you have had to buy him, this work presents a coherent and exciting review of all the material you need to know if you want to create and play a bravo character. This includes a lot of the material that is normally covered in more prosaic terms, things like alignment and religion and which classes a bravo character gets on best with, which races do best in this class, and even what the perceived 'role' of a bravo might be. This last involves skill in melee combat and social interactions, with wit and flair - and sheer luck - to get out of tight corners.

Only then do we get down to game mechanics, with progression table, starting wealth, class skill list and - of course - the special abilities that make this class unique. The most interesting one is 'fighting technique' which enables the bravo to develop his own distinctive fighting style. He may have come up with it for himself, or perhaps he has travelled far and wide studying with masters of the sword (or whatever he's decided to specialise in) to blend together something that will become his trademark style. Other abilities are designed to reinforce and expand that style, it all hangs together rather well.

There are a couple of new feats and a whole raft of fighting styles, conjuring up images of a party-full of bravos vying with each other as they develop their personal styles!

Well worth a look if the swashbuckling style appeals.
Categories: Game Theory & Design

Doug Vann: A Few Days Left To Vote For Ten SxSw 2015 Drupal Session Submissions

Planet Drupal - 29 August 2014 - 8:54am
Vote for my session: Web Content Publishing with Drupal Eight
[You must be signed in to vote, registration is free]Mark Your Calendar: The 2015 Dates for SXSW Interactive are March 13-17 in Austin TX, the same place we just had Drupalcon 2014.Read more at the official SxSwi site: http://sxsw.com/interactive/news/2014/mark-your-calendar-2015-dates-sxsw... Last year I was invited by the SxSw organizers to deliver a 2.5hr Advanced Drupal Workshop. This year I encouraged many ppl to submit sessions and quite a few did. Now it's time to vote! For 2015 there are TEN submissions which either include Drupal or are entirely about Drupal. 

In order to vote, you must create an account on the Panel Picker Website: http://panelpicker.sxsw.com/
Voting is free, even if you're not sure wether or not you will make it to Austin for SxSw Interactive.

Here's a list of SxSw Interactive submitted sessions that are Drupal related, some more than others.
  1. The Drupal 8 Console Scaffolding Module Generator Solo 
  2. Web Content Publishing with Drupal Eight Workshop 
  3. Large Drupal Site Builds Workshop 
  4. Drupal 8 Modules for PHP Devs: Now with Symfony! Workshop 
  5. Introduction to Drupal 8 Theming with Twig Workshop 
  6. Winning Lifecycle Technology Adoption Strategies Solo 
  7. There is a CMS for everything... but content. Solo 
  8. Managing Communities: Tales from Open Source Panel 
  9. Interconnected: The Future of the Experience Web Solo 
  10. Content Personalization for Web Teams of All Sizes -

See all sessions at: http://panelpicker.sxsw.com/vote#sthash.O5Ix4fBG.dpuf
Search for the word "DRUPAL" and you'll see links to the 10 sessions listed above.

Drupal Planet

View the discussion thread.

Categories: Drupal
Syndicate content


Google+
about seo