Tag Archives: Drupal

Part 3: Setting up a Docker development environment with Vagrant


via Setting up a Docker development environment with Vagrant – Part 3 – ActiveLAMP.

This post is part 3 in the series “Hashing out a docker workflow”. For background, checkout my previous posts.


Now that I’ve laid the ground work for the approach that I want to take with local environment development with Docker, it’s time to explore how to make the local environment “workable”. In this post we will we will build on top of what we did in my last post, Docker and Vagrant, and create a working local copy that automatically updates the code inside the container running Drupal.

How To Build Template Driven Java Websites with FreeMarker and RESTEasy


via How To Build Template Driven Java Websites with FreeMarker and RESTEasy.

Last week I wrote about why you should switch to a templating engine from Java Server Pages. This week I’ll take it a step further and show you how to use FreeMarker, along with Bootstrap and RESTEasy, to create truly template driven websites. By adding a thin layer on top of FreeMarker, you’ll be able to theme your Java web apps like anything built on top of a CMS like WordPress or Drupal.

HTML + CSS + JavaScript = Mobile Web App


via HTML + CSS + JavaScript = Mobile Web App | Drupal Watchdog.

If you’re a web developer, perhaps you’ve heard of this newfangeldy “mobile” concept that’s been sweeping the world. And perhaps you’ve even gone so far as reading a tutorial or two on how to create mobile applications. If so, you’ve seen that you get the delightfulchoice between Objective C and Swift (iOS), or Java (Android), all of which renders your hard-fought HTML, CSS, and JavaScript knowledge moot.

But, lo! There is hope!

If you’re someone for whom writing code in web parlance is a piece of cake (or at least more doable than C/Java), this article will explain how you can use the knowledge you already possess in order to create mobile applications using the following three ingredients:

  • jQuery Mobile, an HTML5-based framework for developing web-based mobile applications.
  • Drupal 8’s Web Services modules, which provide read and write access to Drupal’s content for use in your application.
  • Adobe PhoneGap, which packages web-based applications as mobile apps for use on platforms such as iOS and Android.

Let’s get started!

Drupal Event: Drupal Camp on 7th & 8th of March 2015.


via Drupal Camp Hyderabad #DCH2015.

Title Speaker(s) Description
Drupal 8 Multilingual Awesomeness and Whats New! Chakrapani R There is an amazing set of new features in Drupal 8 and  Drupal was never as multilingual as Drupal 8 is!

In this session I will be covering all the new features and improvements in Multilingual Drupal 8.

  • Language First in Installer
    • Language detection from browser during installation.
    • Optional English (You can now remove English from your Site).
  • More Core multilingual modules
    • 4 Core modules which will cover functionality of 20+ D7 modules in a better way.
    • Improved ‘Language’ handling.
    • ‘Interface Translation’ Automated.
    • More flexible ‘Content Translation’.
    • Module for ‘Configuration Translation’.
  • Language selection for everything
    • Everything starting from system configuration settings to blocks, views and menus are translatable.
  • Language visibility and filtering
    • block visibility – show block only for specific languages
    • Views language filtering
  • Transliteration in Core
  • Automated translation downloads
  • Context specific text translation APIs
    • No more get_t(), st()
  • Content Translations
  • Configuration Translations
  • And More..!
Deploying Drupal Dave Hall Hundreds of new Drupal sites are launched every day. This demonstrates how easy it is to deploy Drupal, right? That’s like saying 8.5 million people fly everyday, so flying a plane is easy. Downloading a zip file, extracting it, FTPing a bunch of code to a shared hosting server isn’t deployment!
Code, content and configuration are meant to be the 3 pillars of a Drupal site. Code is handled by git, content is handled by deploy/features UUID and CMI solves configuration issues that Features and CTools missed. That’s the theory, but in practice the 3 pillars are more like a tub of rainbow icecream. A view depends on a taxonomy term and the view output depends on an alter hook.
During this session Dave will rant a bit about his frustrations with deploying Drupal before he settles down and talks about challenges developers and site builders face when trying to build sites that are easily deployable. The session will also cover some of the mistakes made by module developers that make deployment more difficult than it should be.
About Dave
Dave Hall is the Managing Director of Dave Hall Consulting. When he isn’t working with clients to build high quality web applications, he is helping them improve their infrastructure and business processes. In the last 5 years Dave has been responsible for building and launching over 2100 production Drupal sites and maintaining sites for companies including Pfizer, Insurance Australia Group, Al Jazeera and CNN. Let’s just say he knows a thing or 2 about deployment.
Embracing the community as your second family. Parth Gohil Getting involved is very important for an open source community! But when you’re part of a community like Drupal it is important, rewarding & a whole lot of fun.

This session will talk about:
– How indian Drupal Community is not the same as other local Drupal Communities and what we need to do differently.
– Why you should get involved with a community.
— Perks of going to an event.
— Perks of contributing.
— Perks of being a part.
– Ways to get involved with the community, even if you’re not a coder.
– How to leverage being part of the community.
— How community can help you grow as a good Drupaler
— How connecting with other Drupalers help you with your initiatives
— How knowing more people in the community will keep you in the loop of things.

Git Workflow for Agile Team Sanjay Rohila, Arpit Rastogi Though any good team now-a-days uses version control to manage its code – mostly GIT, still they face a lot of inefficiencies in their workflows which pulls down the agility of the team. Deployment needlessly becomes a heavy exercise during end of sprints. Customers constantly complain of average or low code quality and developers fume over merge conflicts.

In this session we will go through a more efficient git workflow(not just theory but what we are following successfully in Srijan for over an year now) to improve your team’s performance and efficiency.

If you can relate to any one of the following deployment challenges: –

  • Maintaining code quality is difficult
  • Peer code reviews are infrequent
  • Quite a time spent in solving merge conflicts
  • In-progress features pushed to staging/prod
  • Pushing an urgent feature or hotfix on prod cleanly during an ongoing sprint becomes a headache
  • Tracing feature-wise code deployment isn’t easy

this session is for you.

Topics that will be covered are:-

  • Basic Git workflow and why not to follow that
  • Code Reviews with Git and Github
  • Frequent Deployment
  • Tag vs branch on Production
  • Tag naming Convention
  • Feature wise deployment

Prerequisites: Git knowledge

Features As Site Building Blocks Arpit Rastogi, Sanjay Rohila – Features as site building blocks and not as configuration porting tool. – Features role in project discovery phase. – Features architecture for large scale sites. – Demo of building consolidated feature stack for site using features module. Who should attend the session – – Drupal devs – Project Managers.
Drupal’s participation in GSoC and GCI Chandan Singh (cs_shadow) Drupal has taken part in Google Summer of Code[1] every single year since its inception in 2005 apart from 2013 and in every edition of Google Code-In[2]. GSoC has produced community leaders such as Angie Byron (webchick) and GCI has produced Core contributors such as Daniel Wehner (dawehner). Although both GSoC and GCI help in grooming long time contributors, there is still very less awareness about these programs in the community. As a GSoC student in 2104 and Drupal’s organization admin for GCI 2014 and GSoC 2015, I’d like to discuss about what these programs are, how do these help the community grow and how can you join.

[1] Google Summer of Code is an annual contest for university students organized by Google with projects managed by open source organization mentors such as us (Drupal!).
[2] Google Code-In 2014 is a contest for high-school students aged 13-17, where they complete tasks designed for beginners by Open Source organizations.

PS: Will upload slides once the session gets accepted.

Status of Media in Drupal 8 Chandan Singh (cs_shadow) Every keynote by Dries, and every time a new version of Drupal core is released, one of the biggest features asked for in Drupal 8 is better media handling. There are currently a wide selection of media management solutions for Drupal 7: media, scald, asset, mediabox and more, each with its own strengths and weaknesses.

At DrupalCon Prague, the first steps were done towards a unified media solution for Drupal 8 using media entities, while the File Entity and Media maintainers wanted to continue extending core’s file entities. At NYCCamp the different teams came together to agree on a common solution forward. This session is the occasion to present our progress so far.

PS: Will upload slides once the session gets accepted.

Understanding JavaScript behaviors in Drupal


via Understanding JavaScript behaviors in Drupal | Lullab

I can barely remember the first time I added JavaScript to a Drupal page using a custom module. I’m sure looked at the documentation, took the example snippet, tweaked it, tested it, and moved on to something else. It was only later, using a debugger, that I saw how Drupal’s “behavior” system worked and realized that my code was not being executed as I expected.

In this article, we’ll cover the key facts about Drupal behaviors, then look at a real Drupal project to inspect its behaviors and optimize them.

Roost API Sending Pushes


via Roost API Sending Pushes.

Our mission at Roost is to make web push as easy and flexible as possible. To this end, you can send push notifications in several different ways using Roost. The most obvious way to send notifications is manually, via the Roost dashboard. You can also automate notifications via RSS or one of the Roost plugins (WordPress, Drupal, Joomla, etc).

But you may need to send out notifications in a more controlled way. Fortunately, this is easily done with the Roost API. This post will demonstrate how to send notifications from several languages, including PHP, Java, and Ruby.

The best cheatsheets web designers will need


via The best cheatsheets web designers will need.

Despite of years of practice and coding, it’s impossible for any designers to remember and know absolutely everything required for their work. The technology and trend is never constant. Whether it’s a programming language, CMS or any other framework, they need to refer the official document and a handy cheatsheet for best outcome in any design and development work.

In this today’s post, here we have collected the best cheatsheets that any web designers will need. Have a look at it below and enjoy your work!