Live today by what truth we can get today and be ready to call it falsehood tomorrow.
Find some useful tips on Drupal website data security from our guest blogger Jack Dawson, founder of Big Drop Inc.
In Drupal web development, there are a number of things that can be done to ensure the superior user experience and consistency, as well as save time and pain for the webmaster in times to come. First, you’ll need to have in mind the theme structure of Drupal and how you intend to draft your content in order to take advantage of Drupal’s best aspects and make the site efficient.Read more
Entity Data is a handy little API to make module builder's lives easier. If you need to build a module that adds functionality and data to an entity, no longer will you have to implement your own CRUD and export/import support.A module builders dilemma
Fields are a powerful way to add data to Drupal entities. However, sometimes fields can be rather cumbersome. Particularly when you want to add something and thus attach fields to entities that already exists.... Read more
Drupal traditionally excels in the area of content organization – not only as a content management system, but also in allowing you to create structured data, thanks to the entity and field systems.
However, while flexibility in Drupal 7 has grown – compared to Drupal 6 – the preview and revisioning systems have been very limited (and still are in Drupal 8, as of now). The only possibility in Drupal 7 was to click “preview” and see a very rough outline of how the content might look styled with the admin theme.
Trying to use the same CSS and/or JS in the admin and default themes is a difficult endeavor. Solutions include AJAX callbacks and iframes, but those solutions are neither optimal nor in widespread use.
The Drupal 7 core revisioning system is also limited and mainly allows auditing and reverting back to another revision; any saved revision is immediately live and overwrites the state of the old revision. Therefore, it is impossible to have different stages of the same piece of content once it has been published.CPS
The workflow needed by most larger content teams is that each article can be a “draft” stage, then revised by an editor and, finally, approved by a content publisher.
While the workflow provided by the Workbench module is already quite good at this, it still lacks something that even bigger teams need: The possibility to publish content together as a “pack.”
One example of this is a large marketing campaign that has several articles which, taken together, form the new front page and show several subpages. In order to properly review these changes, editors and content publishers need to be able to see the set of changes on the site as a whole. CPS fills this gap, because it allows you to view the whole site as if the content was already published – but your live site remains unchanged!How Does it Work?
CPS divides your site into changesets, called ‘site versions’ in the UI.
Every editor has their own ‘site version’ (though collaboration and moving of drafts between changesets is possible) and can see the site overlayed with all the changes they have made.
Yesterday we hosted our first Drop Guard webinar. For those who couldn’t attend, I share the video with you below. Both the participants’ interaction and the number of attendees far exceeded our expectations: more than 70 people watched the free webinar and learned how to update Drupal automatically with integration into development and deployment workflows. First of all, I want to thank everybody who has supported us from the initial idea through to the first closed beta phase and helped us to improve the service. Without the help of the awesome Drupal community we would never reach our ambitious goals to build this product!
Here I’d like to share a couple of tweets we got during the webinar, such as @drop_guard @tweetsBS Chapeau, you guys build something really great! #drupal and Drupal updates as a service? @drop_guard looks like a powerful solution. Thanks! You make us very proud and prove we’re on the right track.
A couple of questions have come up that I want to summarize and share with you here.
"How do you update servers on @acquia or @getpantheon when you don't have direct access to staging servers?"
In the current version we support "Events and Actions" to trigger deployment actions such as "call a URL", "Execute SSH command". With these actions you can call scripts on a separate server that trigger deployment actions on pantheon.io, Acquia cloud, platform.sh or Freistil Box hosting. In the future we’ll consider how we can provide seamless integration with these hosting providers. As they all expose an API or a CLI, you can use scripts that are triggered by the "execute SSH command" action in the events tab (see the video for further details). We’ve already started our first talks on cooperating with freistil Drupal hosting and platform.sh, so we hope to have the same interesting and valuable conversations with other hosting platform providers. If you have concrete ideas for integration scenarios, I’m happy to discuss them in the comments.
"It there a way to let Drop Guard work via FTP only?"
An FTP-based workflow is planned for the future, earliest in 2016. We plan to provide a feature to let you connect to your FTP account, and Drop Guard will copy the code base to operate on a local GIT repository. Actually, Drop Guard requires a GIT repository where your code is committed.
"Can I integrate Drop Guard with Jira?"
You can do this in the current version by using the web hook integration to create a task. You need to wait until we release our REST API that lets you execute actions on task to change statuses and trigger deployment actions accordingly.
"Does Drop Guard need a copy of my database?" No, Drop Guard doesn't require you to grant access or copy your live database. To avoid this we based our architecture on services that are exposed by the Drop Guard module that you need to install on your live site. This module exposes and API and transfers the information that Drop Guard needs from your live installation via an encrypted connection, which is also how Drop Guard receives information regarding installed modules and their versions to determine available updates.
"Is there an agency partner program for Drop Guard partners?" Our pricing model targets the need for scale of Drupal shops: you pay for one site and use Drop Guard as a white-label service to sell reliable update services to your client. You can also add your agency fee to the price as needed. There will be an affiliate program till the end of this year that rewards successful recommendations to Drop Guard.
For those of you who couldn’t attend the webinar live, here’s the full video:
and the slides are available as well:Drop Guard vs. Drupalgeddon webinar from Manuel Pistner
This is a followup post to a post where I showed how you can use VDC to display data from an external database table in a Drupal View. In this post I display an external database view as a Drupal View. This is another step towards showing how Drupal can be used as a Business Intelligence (BI) or data analysis platform.
MariaDB is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. You can use the link to know more about MariaDB and it's features. If you want to try MariaDB without losing MySQL, then here is the tutorial for running MariaDB alongside MySQL.
Let's start with the steps to install Mariadb along with Mysql
XHProf is a hierarchical profiler for PHP. It reports function-level call counts and inclusive and exclusive metrics such as wall (elapsed) time, CPU time and memory usage. A function's profile can be broken down by callers or callees. The raw data collection component is implemented in C as a PHP Zend extension called xhprof. XHProf has a simple HTML based user interface (written in PHP). The browser based UI for viewing profiler results makes it easy to view results or to share results with peers. A callgraph image view is also supported.Install XHProf
I made sure xhprof-0.9.2 was installed inside the www-directory of the webserver.
As the product blurb states, this is part of the W20 Kickstarter and it is great to see new products still arriving so long after the initial rulebook release. I read a lot of gaming fiction, and White Wolf has novels that sit across the quality spectrum. This novel is certainly one of the better ones that I have read and it shows that the author not only has a good grasp of the core concepts and game material, but a great love for the setting.
The main story is about a besieged Sept ruled by a Shadow Lord Elder. Even though the Sept is part of a greater area, the Elder has autocratically locked down the city, whilst playing political games with both the Garou Nation and the human world. His former Glory is enough to cement his position, but the city is falling steadily to the Wyrm. His daughter Ingrid is the main character and the daily war against the Fomori (and worse) falls to her.
The setting is well-imagined and I'd love to see Onyx Path follow the same 'enhanced fiction' route as Catalyst - that is, a novel that presents the story and then includes game statistics in the back for major characters, places, and items. The overall feeling of the city is one of creeping, inevitable doom - perfectly evoked for Werewolf. The sense of impending Apocalypse is portrayed through a confluence of events that overlap and interact meaningfully and add to the story. Intertwined are the character relationships, influenced by Rank and Tribe (there is plenty of prejudice against the Ronin and Metis that is not overdone) and the reader is treated to a view of the Garou Nation that is fractured by petty rivalries, personal grudges, and past hatred. There are a lot of small details included from the use of Rites, the portrayal of the Umbra, and even Spirit Weapons that I appreciated as they all worked to make the world more consistent with the game whilst at the same time written in a way that didn't feel like a retelling of a gaming session. When reading some game novels, I can almost hear the dice fall on the table behind the descriptions, but this is not the case here.
It is a setting that I'd like to see explored in further novels and possibly a short sourcebook, and I'd recommend this for any fan of Werewolf. Mike Lee's work has already been included in 'When will you rage? II', and if Onyx Path is to produce more novels, then he should be part of the regular mix of authors.
Provides a simple HTML5 geolocation service. User's location is returned in a callback via jQuery.
Geolocate module provides a more mobile friendly user geolocation service for Drupal. Most other geolocation solutions in Drupal seem to use a stored field, which doesn't make a lot of sense on the real time web. (Eg. why would you need to update the user's profile each time their location changes?)
Drupal 8 is the talk of the town and hopefully by Barcelona time, it can be the headliner. But with all of the excitement, there will also be changes that come with the new release. Drupal developers have grown used to using hooks throughout Drupal's history, but ‘times are changing’ as Joe Shindelar (eojthebrave) notes in his session about the new patterns Drupalistas will need to learn to make Drupal 8 work.
Since the last Drupal 8 core update, the API module maintainers started looking for co-maintainers, and Two-Factor Authentication was rolled out to anyone with the Community role on Drupal.org (among other improvements).What's new with Drupal 8?
Drupal 8's minimum PHP version increased to 5.5.9, and minimum PostgreSQL version increased to 9.1.2. Also, tim-e handed off co-maintainership of the Contact module to Jibran Ijaz and Andrey Postnikov; and Frando stopped being a maintainer of the Entity, Form, and Render systems — special thanks to both tim-e and Frand for their amazing contributions!
Some other highlights of the month were:
- A bunch of usability problems on the advanced search form, on autocomplete controls in modal dialogs, and on the modules/extend page were fixed.
- Brian Altenhofel at VMdoh listed 6 reasons why Drupal 8 is an exciting step forward, and Gábor Hojtsy announced a multilingual site-building hacks contest.
- The D7 to D8 migration path saw some work, as the dblog and syslog modules got upgrade paths.
- Dylan Tack at Metal Toad explained why Drupal 8 won't ship with REST content negotiation, and Darryl Norris explained how to request a node via REST using web services.
- Sascha Grossenbacher at MD Systems wrote a script to run tests on modules with D8 support, and Jon Peck at Four Kitchens explained his progress porting Site Audit to Drupal 8.
- To improve performance, CSRF links were made cachable, all token replacements now have cacheability metadata, and for certain LanguageManager strings, the number of calls to the t() function were reduced.
- Amber Matz of Drupalize.me wrote an article on learning Drupal 8 by looking at boilerplate code,
- Tim Millwood explained how to override Drupal 8 services, and Alex Pott at Chapter Three continued his series on configuration management with a post on configuration dependencies.
- To improve the developer experience, Text input form elements were documented as part of the push to move away from a monolithic, manually-maintained HTML file documenting the Form API, the custom menu caching strategy in the Toolbar module was replaced with Core's standard caching, and the Symfony response view listener learned to accept PSR-7 Response objects.
- A lot of discussion on building Drupal 8 sites is happening in the g.d.o group on Drupal 8 production sites.
- ThemeManager::theme() was renamed to ThemeManager::render()
See Help get Drupal 8 released! for updated information on the current state of the software and more information on how you can help.
We're also looking for more contributors to help compile these posts. Contact mparker17 if you'd like to help!Drupal 8 In Real Life
- Drupal Camp Costa Rica will be July 29–31 in San Pedro Montes de Oca, San José, Costa Rica. The schedule includes sessions on the RESTful features of Drupal 8, Drupal 8 for small sites, theming D8, migrating D7 sites to D8, writing D8 modules from scratch, and the Drupal Console project. Don't forget to register!
- There will be a Drupal 8 sprint weekend July 31–August 2 in the Wunderkraut offices in Munich, Bavaria, Germany.
- DrupalCorn Camp 2015 will be July 31–August 2 in Cedar Falls, Iowa, USA, with sessions on D8 media management, and a full-day sprint. Early-bird tickets are already sold out, but you can still register for regular-priced tickets.
- Design4Drupal will be July 31–August 2 in Boston, Massachusetts, USA, featuring sessions on Drupal 8 theming, and Drupal 8 for designers.
- Drupal Camp PA will be August 1–2 in Pittsburgh, Pennsylvania, USA with sessions on Drupal 8 theming and asset management.
- Drupalaton will be August 6–9 in Lake Balaton, Keszthely, Hungary. Tickets are still available, but you must sign up for the Drupalaton sprints separately. There are a number of sessions on Drupal 8 plus a full day of sprinting!
- acouch and the other awesome folks at NuCivic are organizing a Hackathon in Lieu of DrupalCamp Wisconsin on August 7 in Madison, Wisconson 53703.
- Drupal Rush In Sprints #2 will be held August 8 in Delhi, India.
- One of the biggest Drupal sprints every year, the Drupal MidWest Developers Summit will be August 12–15 in Chicago, Illinois, USA. Don't forget to register for this awesome event!
- Drupal Camp Asheville will be August 14–15 in Asheville, North Carolina, USA. August 14th will be a day of sprints!
Do you follow Drupal Planet with devotion, or keep a close eye on the Drupal event calendar, or git pull origin 8.0.x every morning without fail before your coffee? We're looking for more contributors to help compile these posts. You could either take a few hours once every six weeks or so to put together a whole post, or help with one section more regularly. If you'd like to volunteer for helping to draft these posts, please follow the steps here!
One of the most frequent questions we get asked by OSTraining members is this:"Is there an easy shopping cart for Drupal?"
Don't get me wrong. Drupal Commerce is a great system, and we have a detailed video class explaining how to use it. But no-one would describe Drupal Commerce as easy, and Ubercart is equally difficult.
There are few other valid e-commerce options. One, called Basic Cart, works great but doesn't actually have any payment options.
So in this tutorial, we'll explain how to use Shopify.com and Drupal together. Shopify is a robust option and can reduce the burden of maintaining an e-commerce store.
Whether you're counting Business Summit attendees or conference registrants with C-Suite titles, last year DrupalCon Europe saw about 500 attendees who were highly interested in the business-side of Drupal. As we saw in the Business Track and the business-related BoFs, there is a strong interest at Cons for not only learning the skills to code better, but also to make your business better, and DrupalCon Barcelona will be no different.
"If you can keep players from feeling obliged to check a game every few minutes, or from feeling forced into huge daily binge visits, in certain reward contexts this is going to help players to have a much improved experience." ...
Shinra Technologies, the cloud gaming company established by Square Enix late last year, has today made the dev toolset for its unique remote game-streaming technology available in English on Github. ...
Last year we conducted a Drupal Job Market survey to better understand the opportunities for those who know Drupal. The survey showed strong demand for Drupal skills and demonstrated why Drupal is a rewarding and potentially lucrative career path. We are conducting another survey this year.
This year we are adding questions about compensation to help Drupal talent and hiring organizations benchmark themselves.
You can expect to see the results from the survey published in late August. Thank you for taking the survey!