Planet Drupal

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 20 min 30 sec ago

Drupal Association News: 2014 Drupal Association Annual Report and Financials

Tue, 08/25/2015 - 01:54
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpimg alt= src=https://assoc.drupal.org/files/Screen%20Shot%202015-08-24%20at%204.54.44%20PM.png style=width: 616px; height: 115px; border-width: 0px; border-style: solid; margin: 5px; //p pOne of our a href=https://assoc.drupal.org/aboutkey values/a at the Drupal Association is communication:/p blockquote pWe value communication. We seek community participation. We are open and transparent./p /blockquote pOne of the ways that we try to live this value is by making our numbers -- both operating targets and financial -- available to the public. The monthly board reports share basic financial numbers and all our operational metrics. Once a quarter, we release full financial reports for the previous quarter. You can access all this information at any time on the a href=https://assoc.drupal.org/node/18863Association web site/a./p pAt the close of each year, we take the opportunity to have our financials reviewed (and sometimes audited). The review process ensures that we've represented our financials properly. This work takes some time. Though our fiscal year closes on 31 December, it takes six to eight weeks to get the final bits and pieces handled in our financial systems. The independent review or audit adds another 8+ weeks to the process of closing out our year. Then we have to review the findings with the Finance Committee and the full Board before we share them publicly. That's why it's August and we're just now sharing the a href=https://drive.google.com/a/association.drupal.org/file/d/0B8gZDNT4xrvZeC1VWFJFeWtIMTQ/view2014 reviewed financial statements/a with you./p pIn 2014 we also began tracking our progress towards several operational goals for the first time. Though we share those numbers every month in the board report, we pulled some of our favorite stats and stories together into an a href=https://assoc.drupal.org/2014-annual-reportAnnual Report/a to share the work that our financials represent./p h3 What happened in 2014?/h3 p2014 was an investment year. Per our a href=https://assoc.drupal.org/node/18858Leadership Plan and Budget/a for the year, our key focus was building an engineering team to first address technical debt on Drupal.org and then take on actual improvements to the site. We purposely built a budget that anticipated a deficit spend in order to fully fund the team. The intent was to also build some new revenue programs (like a href=http://jobs.drupal.orgDrupal Jobs)/a that would ramp up and eventually allow us to fund the new staff without deficit spending. And that's what we did. We went from two full time staff focused on Drupal.org to ten./p pThe investment has been paying off. We spent a lot of 2014 playing catch up with technical debt, but also managed to improve site performance markedly while also increasing the portability of our infrastructure. On top of that, staff worked with community volunteers to release new features related to commit messages, profiles, and Drupal 8 release blockers. Most importantly, staff and the working groups prioritized upcoming work and published a strategic a href=http://drupal.org/roadmaproadmap/a for improvements to Drupal.org./p pWe held two huge DrupalCons, one in Austin and one in Amsterdam, and planned for a third. Our very small team of events staff and a crew of remarkable volunteers hosted over 5,500 people across our two events, all while planning our first Con in Latin America. We had some stumbling blocks and learning opportunities, and have been applying what we learned to the three 2015 DrupalCons./p pWe launched a href=http://jobs.drupal.orgDrupal Jobs/a. This was something the community asked for very clearly when we conducted a 2013 study. We’ve seen steady growth in usage since our quiet launch and will continue to refine the site, including our pricing models, so that it is accessible to Drupalers around the world./p pWe diversified our revenue streams. DrupalCons used to be 100% of our funding. Not only is this a risky business strategy, it puts undue pressure on the Cons to perform financially, leaving us little room to experiment or make decisions that may be right for attendees, but could negatively impact the bottom line. As we increase the funding sources for the Association, we can make more and different choices for these flagship programs and also grow new programs with the community./p pWe introduced branded content including white papers, infographics, and videos. These materials have been widely used by the community and have helped us understand the Drupal.org audience in a better way. You can see a lot of this work on the a href=https://www.drupal.org/drupal-8.0Drupal 8 landing pages/a, where the key content pieces were downloaded thousands of times in 2014./p pWe released new a href=https://assoc.drupal.org/aboutvision, mission, and values statements/a for the Association. These tools are really useful in defining the focus of the organization and helping to guide how we get our work done. Working in a community of this size and diversity is extremely challenging. There is no choice we can make that will include everyone’s ideals, but our values help us make those decisions in a way that allows for transparency and open dialogue with the community. It’s something that we try to honor every day./p h3 What about money in 2014?/h3 pAs anticipated, we ran a deficit in 2014. However, we did manage to grow our overall revenue by about 6% from 2013 to 2014. This trend has continued into 2015, though not at the rate we had hoped. Still, we are now on track to support the investment we made in 2014 into the future. Another key win in 2014 is that we grew non-DrupalCon revenue to 21% of our total revenue. Diversifying our revenue streams reduces our financial risk and takes the pressure off of Cons, allowing us to experiment more./p h3 I want all the details/h3 pExcellent! You can check out:/p ulli a href=https://assoc.drupal.org/2014-annual-reportGet the 2014 Annual Report Infographic/a/li li a href=https://drive.google.com/open?id=0B8gZDNT4xrvZeC1VWFJFeWtIMTQGet the 2014 Reviewed Financial Statements/a/li /ul/div/div/div

Larry Garfield: Just how insular is the PHP community?

Mon, 08/24/2015 - 22:21
pPeriodically, there is a complaint that PHP conferences are just the same old faces. That the PHP community is insular and is just a good ol' boys club, elitist, and so forth./p pIt's not the first community I've been part of that has had such accusations made against it, so rather than engage in such debates I figured, let's do what any good scientist would do: Look at the data!/p pa href=http://www.garfieldtech.com/blog/php-conference-data target=_blankread more/a/p

OSTraining: Drupal 8: What do Site-Builders Need to Know?

Mon, 08/24/2015 - 21:41
div class=ost-intro-imageimg src=https://www.ostraining.com/images/drupal/d8/drupal8-videos.jpg alt=Drupal 8: What do Site-Builders Need to Know? width=159 height=159 //div pOver the last few weeks, we've been working really hard on preparing training for Drupal 8./p pWe'll release the training close to the actual launch date of Drupal 8, but before then we have a great video to get you started./p pThis is a webinar we did with Acquia called, 10 Things Site Builders Need to Know Before Leaping to Drupal 8./p pI talked about the many user-friendly features in Drupal 8, including the mobile-friendly admin interface and the in-place WYSIWYG editor, plus improvements in theming and module development:/pimg src=http://feeds.feedburner.com/~r/ostrainingdrupal/~4/bgiV3nGSSQU height=1 width=1 alt=/

Drupal Watchdog: Auditing, Ethics, and Drupal Sites

Mon, 08/24/2015 - 19:07
div class=field field--article-edit-printtype field-type-list-text field-label-hidden field--rss Article /div div class=field field--article-body field-type-text-long field-label-hidden field--rss pimg src=/sites/default/files/images/web/DW-5.01-Call%20for%20Standards.png alt=Photo of Irish Setter at Dog Show width=50% align=right class=img-responsive img-thumbnail margin-left / As web sites and applications have become more complex, the need for auditing – at multiple points in the lifecycle of a project – has become ever more important./p p Before delivery, a web project can be audited to ensure the ability to meet business goals or compliance with regulations. After delivery, an audit can identify problems and propose remedies. In a possible merger or acquisition, an audit can help evaluate the project’s relative benefits and liabilities./p p Website auditing has become similar to financial auditing (which is separate and distinct from accounting and financial activities). It is similar to the practices applied in auditing management systems (see “There’s a Module Standard for That” sidebar)./p p Website auditors must apply these four principles:/p ulliJudgment They must be able to choose the scope and granularity of the website, without wasting effort on discovering problems with no meaningful impact on the behavior and performance of the site; hence, a need for business acumen. /liliExpertise In order to determine whether or not best practices were followed by the original site developers, auditors must achieve a level of proficiency beyond that with which the site was delivered. /liliObjectivity Auditors cannot audit a site they themselves produced, or else risk selective blindness – the inability to see problems they missed the first time around. /liliDistance Auditors cannot operate on a website developed by a company – especially their own – with which they have any kind of commercial or personal involvement. /li/ulh3The Real World/h3 p Market studies show that site audits are often used as a loss leader by generalist Drupal agencies. Their objective: to set the stage for redevelopment and third-party maintenance work, where the main volume of business is done using “findings” from a short and low-cost audit to provide the developer with a technical advantage against competitors. /p /div

Four Kitchens: REST Easy Part 4: The Tax(onomy) man!

Mon, 08/24/2015 - 18:09
div class=field-body pIt#8217;s easy to add node endpoints to your RESTful API - but there#8217;s more to Drupal than nodes. This week we#8217;ll add an endpoint for a taxonomynbsp;vocabulary./p /div

Acquia Developer Center Blog: Training Your Team on Drupal 8: Balancing Classrooms and Individuals

Mon, 08/24/2015 - 18:03
div class=field field-name-field-blog-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src=https://dev.acquia.com/sites/default/files/rocknroll_2.jpg width=849 height=565 alt= //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpNot every student learns the same way, so teachers consistently have to find a way to instruct a classroom while also reaching students individually./p pWe were reminded of a teacher’s greatest challenge when we trained dozens of Acquia employees on Drupal 8. As my co-author a href=https://dev.acquia.com/author/kent-galeKent Gale/a and I detailed earlier in this a href=https://dev.acquia.com/blog/organizing-to-rock-with-Drupal-8series on Drupal 8 instruction/a, we separated employees into groups of two, with one person having some knowledge of the new platform and the other having no knowledge. Once their instruction ended, they split up and each teamed with two other employees – our version of chromosomal mitosis./p pOur approach to training was structured. We had goals to achieve. But we also had to stay flexible throughout. Because experience, knowledge, and skill set differed with each employee, we had to connect with them individually while maintaining the larger class structure./p pWe had people with deep programming experience. We had middleware folks. We had site builders. We had front-enders. Because of that, the training program had to present a lot of material, but not so much that individuals wouldn’t learn. We trained with the expectation that not everyone would, or even needed to, become experts./p pConsider the training of our “explainers,” the employees who explain our products to the public. We had to figure out what they could easily learn in only one- to four-hours of training. They needed to know enough to promote and answer questions about Drupal 8, but didn’t need to know as much as a support person, who received anywhere from 40 to 80 hours of training. Figuring out what the explainers needed to learn took some effort, but there was ample material to help us determine which path to follow./p pSpeaking of paths, your team doesn’t have to follow ours. Mitosis worked great for us, but it may pose a problem for your program if you have fewer employees, less time to train, or other considerations./p pYou need to find out what works best and that, as we’ve mentioned, takes time and effort, success and failure. Some employees like to be lone wolves and learn everything on their own, for example, so our process may not work for them./p pTools that track progress will help you ascertain what works and what doesn’t. Every company, no matter how large or small, faces time constraints, so these tools will guide you through the unknowns./p pWe used training as a key performance indicator (KPI) for employees. Shared ownership in this big Drupal 8 training project made sense if we all had to make a big leap together in understanding the new platform. Sometimes employees will sweep training under the rug because they believe putting out other fires is a priority./p pWe knew learning Drupal 8 would be a significant commitment; it’s a significant change, after all. But we couldn’t delay training. Drupal 8 was coming out and there was no time for delay. KPIs helped motivate and get everyone on the same page. There was a vested interest in making progress./p /div/div/divdiv class=field field-name-field-blog-type field-type-taxonomy-term-reference field-label-abovediv class=field-labelBlog series:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/blog-series/organizing-rock-drupal-8 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Organizing to Rock with Drupal 8/a/div/div/divdiv class=field field-name-field-blog-workflow field-type-workflow field-label-abovediv class=field-labelWorkflow:nbsp;/divdiv class=field-itemsdiv class=field-item evenPending/div/div/divdiv class=field field-name-field-blog-featured field-type-list-boolean field-label-abovediv class=field-labelFeatured:nbsp;/divdiv class=field-itemsdiv class=field-item evenNo/div/div/divdiv class=field field-name-field-blog-tags field-type-taxonomy-term-reference field-label-abovediv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/tags/acquia-drupal-planet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=acquia drupal planet/a/div/div/divdiv class=field field-name-field-blog-drupal-8-related field-type-list-boolean field-label-abovediv class=field-labelDrupal 8 related:nbsp;/divdiv class=field-itemsdiv class=field-item evenYes/div/div/divdiv class=field field-name-field-author field-type-entityreference field-label-abovediv class=field-labelAuthor:nbsp;/divdiv class=field-itemsdiv class=field-item evenThomas Howell/div/div/div

Sooper Drupal Themes: 8 Common Customer Service Complaints All Drupal Developers Will Deal With

Mon, 08/24/2015 - 10:51
div class=field-blog-image img typeof=foaf:Image class=img-responsive src=http://www.sooperthemes.com/sites/default/files/styles/bootstrap3_col9/public/blog-images/customer-service.png?itok=uAtmRmE8 width=848 height=300 / /div div class=field-body pEvery Drupal developer heard stories of 'clients from hell' and collaborations that turned into nightmares. And, it’s true… you’re going to come across some extremely difficult clients. No matter you do, no matter how hard you work…you’re going to have problems with them. /p pRemind yourself: “I am not alone!”/p pAll businesses – no matter what kind of company it is.../p /div

KnackForge: Clear views cache when insert, update, delete node in Drupal 7

Mon, 08/24/2015 - 06:10
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-items id=md1div class=field-item evenp   This blog describes how to clear views cache while inserting, updating and deleting a node. If we want to improve site performance, then views caching is one of the options./p p   For example, let's consider that there is a view that display list of records and it will be updated occasionally. Then we can render views data from cache rather than server by setting up cache for views. We can set views cache at Advanced section of its settings page. Drupal supports time based caching by default. We can cache the views until 6 days. If you want to cache the views over 6 days, then you could select 'Custom' option and fill number of seconds in 'Seconds' textbox. /p pimg alt=Drupal 7: Clear views cache class=media-image height=203 style=width: 480px; height: 203px; width=480 typeof=foaf:Image src=/sites/default/files/styles/large/public/clear_views_cache_0.png?itok=PV087TSH //p p   Suppose you have cached views for 30 mins. Then it won't display updated data until 30 mins, even if new node is added to that views. It displays updated data only after 30 mins because the views is cached for 30 mins. In that situation, the user can't view new data in cached views. So we need to clear views cache when we add a new node. Then only we can see new data in views and also data is rendered from cache. /p p   Lets see how to clear views cache while inserting node:/p/div/div/divmeta itemprop=name content=Clear views cache when insert, update, delete node in Drupal 7 id=md2 /

PreviousNext: Boosting performance of a complex Drupal 7 project with Blackfire.io

Mon, 08/24/2015 - 01:49
pEarlier in the year we worked with a household Australian name to help them build a next-generation more-performant version of their energy-comparison site./p pWe used a href=http://blackfire.ioBlackfire.io/a to optimize the critical elements of the site./p pRead on to find out more about our experience./p span property=dc:title content=Boosting performance of a complex Drupal 7 project with Blackfire.io class=rdf-meta element-hidden/span

Mark Koester: Using Rules to Periodically Change a Your Drupal Site Configuration and Variables

Sun, 08/23/2015 - 15:45
div class=field field-name-field-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item even rel=og:image rdfs:seeAlso resource=http://int3c.com/sites/int3c.com/files/styles/large/public/field/image/nodejs-rules-cover.png?itok=UWtyTC6Gimg typeof=foaf:Image src=http://int3c.com/sites/int3c.com/files/styles/large/public/field/image/nodejs-rules-cover.png?itok=UWtyTC6G width=480 height=180 alt= //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpWouldn’t it be cool if you could use Rules to periodically set, change or modify certain Drupal site configurations and variables?/p pYeah, it would be cool and nowit is totally do-able with a href=https://www.drupal.org/project/rules_set_site_variablesRules Set Site Variables”/a/p pBelow is my use case and a simple recipe on how to use Rules (and a few helper modules) to change site configurations periodically. I imagine you can use it for all kinds of other craziness on your Drupal site./p h1Use Case: Modifying Node.Js Host Configuration Variable on Schedule/h1 pWe are huge fans of a href=http://int3c.com/tags/nodejsDrupal and Node.js/a and use it on multiple integration projects. Combined together, Drupal provides powerful information handling and Node.js handles real-time scalability./p pWe use Heroku to handle our free, node.js Chatroom Demo site. Unfortunately, Heroku is ending its policy of forever free dyno and moving towards a limited free usage of 18 hours per day. It’s an understandable, business change. For our a href=http://http://chatroom.int3c.com/free Drupal, Node.js chatroom demo/a, this means I’d need to pay $7 per month to keep the site up and show the [amazingness of Drupal and Node.js](a href=http://int3c.com/tags/nodejshttp://int3c.com/tags/nodejs/a OR shut down the site./p pSo, instead of paying this (I’m cheap), I decided to setup two Heroku, Node.js instances and simply use a Drupal cron process to flip my node.js server twice a day./p pThe end result is that twice a day my Drupal site will change which node.js server it is using and thus prevent me from overusing my free, 18 hour daily limit./p pTechnically, I could have written some custom code, but being a lazy Drupal developer and site builder, I figured there had to be some way to do this with Rules./p pUnfortunately there wasn’t at the time. The only similar solution was a href=https://www.drupal.org/project/conditionalvariablesConditional Variables/a, which would only set a session variable and not a permanent change to the configuration./p pMy solution was to create a href=https://www.drupal.org/project/rules_set_site_variablesRules Set Site Variables”/a, which provides a custom reaction where you set any Drupal site variable. You can read more about that module in a href=http://int3c.com/blog/announcing-rules-set-site-variables-drupal-moduleAnnouncing: Rules Set Site Variables Module.”/a/p pIn order to solve my use case to switch Heroku Node.js server, the final solution involved using Rules, Rules Once Per Day and a href=https://www.drupal.org/project/rules_set_site_variablesRules Set Site Variables”/a as well as a couple of site and rules configurations./p pLet’s take a look at how./p h1Which Modules? Rules, Rules Once Per Day and Rules Set Site Variables/h1 pIn order to accomplish this task of periodically changing a site configuration, I used three modules (besides whatever else I’m using for Node.js and other parts):/p ul lia href=https://www.drupal.org/project/rulesRules/a/li lia href=https://www.drupal.org/project/rules_onceperdayRules Once Per Day/a /li lia href=https://www.drupal.org/project/rules_set_site_variablesRules Set Site Variables”/a/li /ul pI could have used a different triggering method but Rules Once Per Day was the easiest. Rules Once Per Day creates a Drupal event, which you can control and set to a specific time and which you can use as the triggering event with Rules./p pUsing a href=https://www.drupal.org/project/rules_set_site_variablesRules Set Site Variables”/a, you then have the option of creating a Rules Reaction to set a Drupal variable./p pAfter enabling these modules, there were only a few simple configurations./p h1Cron and Rules Once Per Day/h1 pIn order for this to work you are going to need a functioning cron task on your server. This article won’t go into how to configure cron. But essentially for this to work, your server needs to run cron periodically in order to trigger rules and other things. In general you want cron to run every few minutes./p pRules Once Per Day provides a simple configuration setting page where you can configure when you want it to run according to your site time. This means that once a day this event will be triggered and your rules accordingly./p pIn my case, I use Rules Once a Day to change the site configuration to one of the Node.JS servers, create a future scheduled event in 12 hours and send me an email that the whole thing happened./p pimg src=http://int3c.com/sites/int3c.com/files/rules-once-a-day.jpg/p h1Configuring Rules to Change a Variable/h1 pOnce you have created the event side of the rule, your next step is configuring the relevant action in this case “Set Drupal Site Variable”:/p pimg src=http://int3c.com/sites/int3c.com/files/rules-set-site-configuration-variable-2.jpg/p pAs you can see there are just two parts here: pick the variable you want to change and what text it will be set to./p h1Setting Up an Additional Rules Scheduled Component/h1 pSince I need to have this change every 12 hours, I need two scheduled events. The first scheduled event is from Rules Once a Day. The second event gets scheduled from the first one via a Rules Component./p pA Rules Component is basically a conditional action you create that can then be trigger by other things. In this case, it gets scheduled via our original rule./p pIn order to add this to our original rule, we first need to create a new component and add your reaction events. In this case, I created another “Set Drupal Site Variable” action and another reaction to send me an email./p pimg src=http://int3c.com/sites/int3c.com/files/rules-component.jpg/p h2Packaging it all together/h2 pUsing Rules, Rules Once a Day, Rules Components and Rules Set Site Variable, the final result is a series of configurable items that work together to switch my heroku node.js site server twice a day./p pThe rule configuration looks like this:/p pimg src=http://int3c.com/sites/int3c.com/files/rules-set-site-configuration-variable-1.jpg/p h2Conclusion: You can use rules to change site configuration/h2 pWith a href=https://www.drupal.org/project/rules_set_site_variablesRules Set Site Variables”/a, you change site configuration according various site events. In our case we use scheduled cron events to switch our heroku server and save some money./p pOn a wider level, any site builder can now use rules to modify their site’s configuration. Using a bit more configuration and some helper modules, you can make these changes according to a set schedule./p pLive long and prosper Drupal Site Builders./p /div/div/divdiv class=field field-name-field-tags field-type-taxonomy-term-reference field-label-abovediv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item even rel=dc:subjecta href=/tags/drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=drupal/a/divdiv class=field-item odd rel=dc:subjecta href=/tags/drupal-planet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal Planet/a/divdiv class=field-item even rel=dc:subjecta href=/tags/planet-drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Planet Drupal/a/divdiv class=field-item odd rel=dc:subjecta href=/tags/nodejs typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Node.js/a/divdiv class=field-item even rel=dc:subjecta href=/tags/rules typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Rules/a/divdiv class=field-item odd rel=dc:subjecta href=/tags/site-builder typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Site Builder/a/div/div/divdiv class=view view-author view-id-author view-display-id-entity_view_1 view-dom-id-bcecc81b42d66334b4db3747e91a8e9f div class=view-content div class=views-row views-row-1 views-row-odd views-row-first views-row-last div class=views-field views-field-nothing span class=field-contentdiv class=author_block div class=user_image img typeof=foaf:Image src=http://int3c.com/sites/int3c.com/files/styles/square_thumbnail/public/pictures/picture-2-1395211903.jpg?itok=IDtRASfs alt= / /div div class=user_details span class=nameMark Koester/span span class=twitter_handlea href=https://twitter.com/markwkoester target=_blank@markwkoester/a/span span class=job_titleMark has worked on Drupal since the early days of D6. He is passionate about open source as well as entrepreneurship. When he isn#039;t building, he enjoys traveling and speaking one of his many foreign languages. /span span class=locationChengdu, China/span /div /div/span /div /div /div /div

Frederic Marand: Logging for MongoDB

Sat, 08/22/2015 - 19:51
pOne nice thing during Drupal 7/8 development is the ability, thanks to the codedevel/code module, to get a list of all SQL queries ran on a page. As I've been working quite a bit on MongoDB in PHP recently, I wondered how to obtain comparable results when using MongoDB in PHP projects. Looking at the D7 implementation, the magic happens in the codeDatabase/code class:/p div class=codeblockcodespan style=color: #000000span style=color: #0000BBlt;?phpbr //spanspan style=color: #FF8000// Start logging on the default database.br //spanspan style=color: #0000BBdefine/spanspan style=color: #007700(/spanspan style=color: #0000BBDB_CHANNEL/spanspan style=color: #007700, /spanspan style=color: #DD0000'my_logging_channel'/spanspan style=color: #007700);br /\/spanspan style=color: #0000BBDatabase/spanspan style=color: #007700::/spanspan style=color: #0000BBstartLog/spanspan style=color: #007700(/spanspan style=color: #0000BBDB_CHANNEL/spanspan style=color: #007700);br /br //spanspan style=color: #FF8000// Get the log contents, typically in a shutdown handler.br //spanspan style=color: #0000BB$log /spanspan style=color: #007700= \/spanspan style=color: #0000BBDatabase/spanspan style=color: #007700::/spanspan style=color: #0000BBgetLog/spanspan style=color: #007700(/spanspan style=color: #0000BBDB_CHANNEL/spanspan style=color: #007700);br //spanspan style=color: #0000BB?gt;/span/span/code/div pWith DBTNG, that's all it takes, and devel puts it to good use UI-wise. So is there be an equivalent mechanism in MongoDB ? Of course there is !/p pa href=http://blog.riff.org/2015_08_22_logging_for_mongodb target=_blankread more/a/p

flink: Install Apache Solr 5 and Drupal Search API on your laptop in minutes

Sat, 08/22/2015 - 04:46
div class=field field-name-field-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item even rel=og:image rdfs:seeAlso resource=http://flink.com.au/sites/default/files/styles/large/public/field/image/Solr%20Core%20Admin.png?itok=TxF1cOjeimg typeof=foaf:Image src=http://flink.com.au/sites/default/files/styles/large/public/field/image/Solr%20Core%20Admin.png?itok=TxF1cOje width=480 height=372 alt=Solr core Admin page, creating a Drupal Search core //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpWe recently had to debug a site for customer who was using Apache Solr and that wonderful Drupal module combo that goes with it: a href=http://drupal.org/project/search_apiSearch API/a and a href=http://drupal.org/project/search_api_solrSearch API Solr/a.br / We were pleased to find that these components have continued to evolve over the past years, much to the benefit of their users . Setting up Apache Solr for Drupal is now easier than ever before, whether you use the command line or the newish Solr user interface./p pIn the steps below we've gone mostly for the point and click install. /p p1) On the Solr site, hit the a href=http://lucene.apache.org/solrdownload button/a. This redirects you to a page with a number of a href=http://www.apache.org/dyn/closer.cgi/lucene/solr/5.2.1mirror sites/a from which you can download the .tgz. Or the .zip if you prefer. /p p2) Once downloaded unzip the .tgz or .zip and move it to your favourite application folder. I have fallen in the habit of abusing em/Applications/em for this on my Mac, but you can use almost any folder that works for you./p p3) Now cd into the epicentre of your Solr installation. When reading further documentation this is where it is assumed that you execute your Solr commands from:br /codebr / cd /Applications/solr-5.2.1br //code/p p4) A quick smoke test is to launch Solr in standalone (as opposed to cloud) modebr /codebr / $ bin/solr startbr //code/p preWaiting to see Solr listening on port 8983 [/] Started Solr server on port 8983 (pid=10162). Happy searching! /prepYay! Our Solr is up and running!/p p5) Let’s hook it up to Drupal by giving it a Search API configuration to work with. In your emsolr-5.2.1/server/solr/em directory create a new directory emdrupal-search/em and inside that a directory emconf/em. Then drag all the files residing in em/sites/all/modules/search_api_solr/solr-conf/5.x/em  into  emdrupal-search/conf/em./p pOr using the command line:br /codebr / $ mkdir server/solr/drupal-searchbr / $ cp -r [DocumentRoot]]/sites/all/modules/search_api_solr/solr-conf/5.x server/solr/drupal-search/confbr //code/p p6a) Now open a browser window and visit emlocalhost:8983/solr/em and click the strongNo cores available — Go and create one/strong menu option in the bottom left. See the screenshot at the top of this article. /p p6b) Verify by picking drupal-search in the core selector drop-down. You should see something like this:/p pimg style=width: 100%; max-width:100% alt=Drupal Search API configuration src=/sites/default/files/Solr Core Admin with Drupal.png //p pNo errors? Great!/p p7) Revisit your Drupal site on the Search API config page, at emadmin/config/search/search_api/em and fill it out as shown below. /p pimg style=width: 100%; max-width:100% alt=Drupal Search API configuration src=/sites/default/files/Search API Solr config.png //p pPress Save settings and you should see lots of green, like the screenshot below.br / Check and tweak the configuration if necessary via the enEdit tab at the top./en/p pimg style=width: 100%; max-width:100% alt=Drupal Search API configuration src=/sites/default/files/Solr configured in Drupal.jpg //p p8) Made a mistake? You can delete your Solr core like so:br /codebr / $ bin/solr delete -c drupal-searchbr //codebr / Then try again from step 5) or 6)./p p style=text-align: center * * * /p /div/div/divdiv class=field field-name-field-file-under field-type-taxonomy-term-reference field-label-abovediv class=field-labelFile under:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/file-under/planet-drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Planet Drupal/a/div/div/div

Wuinfo: Should or Could a Drupal Developer Practice Like a Lawyer

Sat, 08/22/2015 - 00:50
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpFor a small Drupal shop or an individual Drupal consultant, how to grow up? It seems that small Drupal shops face a glass ceiling when they want to move upward. They are not able to find a larger project because they not big enough. It is not trustworthy or not give the stack holder a confidence if there are not a team of developers. Should we solve this problem by working together in a partnership? The Drupal developer is a very technical intensive. Let us follow the way lawyers did in their practice. We get together and build a strong team./p pimg src=http://wulei.ca/sites/wulei.ca/files/group.people_0.jpg alt=wuinfo lawyer blog for drupal developers class=mobile-float //p pWhat is the benefit to run a Drupal shop in a partnership?br / 1) It is easy to setup unless we want to form an LLP partnership. As a professional Drupal Freelance, we may have some client already. Initial partners sign an agreement and form a partnership with some existing customers already./p p2) A good size team gives confidence to customers. It is going to be easier to win a bigger project./p p3) Having a partnership formed, we can recruit more junior developers and train them./p pThe challenge here is we never did it before. We do may not have any ways to follow. A comprehensive partnership agreement is needed. Here are some important things that we need think through before we form a partnership:br / 1) Types of Partnerships (General Partnership or Limited Liability Partnership)br / 2) Governance and Decision-Makingbr / 3) Partner Compensationbr / 4) Capital Contributionbr / 5) Overhead and Liabilitiesbr / 6) Parental Leaves and Sabbaticalsbr / 7) Retirement and Termination./p pProfessional Drupal developers will benefit by practicing partnership in professional service. A reputable good size team is capable of catch and deliver bigger and more profitable projects./p pDrupal developers provide highly skilled professional service. Lawyers give professional service related law. Lawyers have lawyer office to provide their service in a decent way. Why not copy the way how they did it to provide our Drupal service. /p pReferred document: a href=http://www.cba.org/cba/PracticeLink/WWP/agreement.aspxhttp://www.cba.org/cba/PracticeLink/WWP/agreement.aspx/a/p /div/div/div

Acquia Developer Center Blog: Now or later? Weighing the benefits of early adoption for Drupal 8

Fri, 08/21/2015 - 17:36
div class=field field-name-field-blog-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src=https://dev.acquia.com/sites/default/files/horses_760.jpg width=761 height=443 alt= //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedp dir=ltrIf you’re considering a switch to Drupal 8, why not become an early adopter? Becoming an early adopter has some risks — and Acquia will work with you to mitigate those risks — but it also has huge benefits./p p dir=ltrIn this post, I want to talk to you about those benefits and also share with you my experience witha href=http://www.examiner.com/ style=text-decoration:none; uExaminer/u/a and its early adoption of Drupal 7./p p dir=ltrIf you’re not familiar with it, Examiner is a news company powered by thousands of self-contributing writers. Currently, it’s read by 22 million people a month. But back in 2009, the company was having problems with its ColdFusion CMS, and those problems were hampering its growth./p p dir=ltrExaminer decided to move away from the legacy homegrown platform to Drupal. So they acquireda href=https://en.wikipedia.org/wiki/NowPublic style=text-decoration:none; uNowPublic/u/a, a citizen-journalism company I founded, for its Drupal expertise and leadership. That’s how I became the CTO of Examiner (I later joined Acquia in 2012)./p p dir=ltrMoving ahead, the big question we faced at Examiner was: Do we go with Drupal 6, a stable but mature technology? Or do we take a bold leap and implement the yet-to-be-released Drupal 7? Ultimately, we chose to become early adopters, going with Drupal 7.  /p p dir=ltrHere are the reasons that powered that decision:/p p dir=ltrstrong1) You stay in front of the technology wave/strong/p p dir=ltrWhile a good product at the time, there was no denying that Drupal 6 was closer to its end of lifecycle, while Drupal 7 was just taking off. We already understood the costs involved in supporting a legacy product. And we knew any extra investment early on would be offset by things like a longer lifecycle./p p dir=ltrAs a side note, unlike previous versions of the platform, Drupal 8 releases will come out every six months. So if you plan to become an early adopter of Drupal 8, not only are you taking advantage of the latest and greatest today — but you will continually upgrade to the latest features over the lifecycle of the product./p p dir=ltrstrong2) You differentiate yourself from the competitors/strong/p p dir=ltrAt Examiner, we wanted to set ourselves apart from the competition and we knew D7 would give us that edge. AOL was starting to invest in Patch at that time. And we felt that if we wanted to grow our audience and draw the best journalism to our site, we needed best-in-breed tools.  /p p dir=ltrstrong3) You can attract the top talent/strong/p p dir=ltrGreat developers want to be on the cutting edge. Who wouldn’t want to jump on an opportunity to work full-time on their passion and be able to contribute back to Drupal? When we brought in a great platform at Examiner, we attracted the best Drupal developers in the world. Very quickly, we hired 15 of the top 50 developers in the Drupal community.  /p p dir=ltrstrong4) You have the opportunity to shape your investment/strong/p p dir=ltrGetting in on Drupal 7 earlier put us in the driver’s seat with the technology. That was important. We weren’t looking to adopt just any set of tools. We wanted an opportunity to shape the next generation of a platform. And we knew Drupal was going to meet our needs better than anything else out there. Plus, it’s a lot less risky than building your own CMS, because you are not going it alone. You’re going in as part of a community.  /p p dir=ltrstrong5) It forces you to develop best practices/strong/p p dir=ltrBeing an early adopter forces you to use best practices with respect to software development. At Examiner, we were able to participate in the community and contribute code to the platform. So for us, being an early adopter forced us to do things the right way — and that set a standard within the company moving forward./p p dir=ltrAfter a year of work, Examiner moved to a new platform built on Drupal 7. Thanks to Drupal 7, Examiner went from not being able to meet the needs of its users to exceeding them. We were able to deliver new features on a faster cadence. We had the best-in-breed platform, the easiest to use interfaces, and ultimately those features accelerated the growth of the company./p p dir=ltrExaminer launched on Drupal 7 six months before the official release of the platform. We started developing on it almost a year and a half before the release. So we were really early adopters. Examiner faced tremendous risks, because at that time, Drupal 7 was nowhere near as put together as Drupal 8 is today, but we still decided to do it — and it paid off.  Today, Examiner is a top 60 website./p p dir=ltrBeing an early adopter is definitely an investment. It will cost more to be an early adopter of Drupal 8, but as Examiner has demonstrated, those costs are set off by several factors. And if you are concerned about the risks, keep this in mind: more than 400 sites are already running Drupal 8. Anda href=https://www.acquia.com/about-us/newsroom/press-releases/acquia-launches-next-generation-digital-experience-platform-july-13 style=text-decoration:none; uAcquia has already announced/u/a we are ready to support anyone with Drupal 8./p p dir=ltrWhat are your thoughts? Do you have any experiences on being an early adopter of Drupal 7? And how do you feel about the risks/benefits of being an early adopter for Drupal 8? We’d love to hear back from you and get the conversation going./p /div/div/divdiv class=field field-name-field-blog-workflow field-type-workflow field-label-abovediv class=field-labelWorkflow:nbsp;/divdiv class=field-itemsdiv class=field-item evenPending/div/div/divdiv class=field field-name-field-blog-featured field-type-list-boolean field-label-abovediv class=field-labelFeatured:nbsp;/divdiv class=field-itemsdiv class=field-item evenNo/div/div/divdiv class=field field-name-field-blog-tags field-type-taxonomy-term-reference field-label-abovediv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/tags/acquia-drupal-planet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=acquia drupal planet/a/div/div/divdiv class=field field-name-field-blog-drupal-8-related field-type-list-boolean field-label-abovediv class=field-labelDrupal 8 related:nbsp;/divdiv class=field-itemsdiv class=field-item evenYes/div/div/divdiv class=field field-name-field-author field-type-entityreference field-label-abovediv class=field-labelAuthor:nbsp;/divdiv class=field-itemsdiv class=field-item evenMichael Meyers/div/div/div

ThinkShout: Relaunching the Southern Poverty Law Center's Website

Fri, 08/21/2015 - 17:00
pWhen projects get hectic around the office, we remind ourselves “We’re just pushing pixels.” We’re geeks. We sit in an air-conditioned office and play with cutting edge technologies on shiny MacBooks, drinking aeropress coffee. At the same time, we choose to work with nonprofit clients - experienced organizers and passionate advocates working on diverse issues in environmental protection, human rights, early childhood education, access to health care, and community building. We cannot do what they do; but it is wonderful to help them tell their stories and meaningfully engage their constituents online./p pOver the last year, we’ve been particularly inspired to have had the chance to collaborate with the Southern Poverty Law Center (SPLC) on the redesign of its website. At the same time, our work with them brought further attention to our team about the many human rights challenges that our country has faced over the last year./p pOur initial conversations with SPLC took place days before the death of Eric Garner. And over the year that we’ve been working with the Center, 16 unarmed Black people have been killed by police in the U.S. The Southern Poverty Law Center has been at the forefront of the national conversation about this issue. /p pIf you don’t know SPLC, it is a leading advocacy and educational organization dedicated to fighting hate and bigotry and seeking justice for the most vulnerable members of society. Since 1971, SPLC has been using litigation to fight for civil rights. So hated by the Ku Klux Klan, SPLC’s offices were burned to the ground in 1983 by Alabama Klansmen. Then, in 1987 SPLC won a historic $7 million verdict against the United Klans of America for the 1981 lynching of Michael Donald - effectively bankrupting the KKK and crippling their organization./p pimg src=/assets/images/blog/SPLC_fight.jpg alt=SPLC_fight.jpg/p pIn addition to its fight against hate and extremism, SPLC works on a range of human rights issues, such as children’s rights, immigrant justice, economic justice, mass incarceration, and LGBT rights. And so, fortunately, in addition to watching SPLC weigh in tirelessly on the police’s deadly use of force this year, we have also been able to celebrate with its staff over the landmark win over gay marriage bans, as well as the 50th Anniversaries of the March on Selma and the Passage of the Voting Rights Act of 1965./p pAgain, we have nothing to do with the success of this organization, but to collaborate with this team and to be close to their work has been incredible. We couldn’t be more proud of the website that we designed and implemented along with SPLC’s incredible communications team. Over the next few weeks, we will be writing about the many technical and process innovations we had the chance to implement with the SPLC team. In the meantime, we hope that you will take some time to explore their a href=https://www.splcenter.org/new site/a and to join us in celebrating and supporting their mission./p

Six Mile Tech: Making a Drupal 8 Contrib Module - The Movie: Raw and Uncut

Fri, 08/21/2015 - 16:44
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpspanAs a contrib module developer that is starting to delve into Drupal 8 I wanted to share my experience working with Drupal 8. This is a video of me going through the process of re-creating the contrib module /spana title=Token Conditions drupal.org project page href=https://www.drupal.org/project/token_conditions target=_blankToken Conditions/aspan that I had created the week before. Along the way I delve into some new systems in Drupal 8 and give examples of how to figure out how to add functionality to this vastly changed version of Drupal.  /span/p/div/div/div

InternetDevels: How DruDesk works: a closer look at our Drupal support service

Fri, 08/21/2015 - 14:49
div class=field field--name-field-preview-image field--type-image field--label-hiddendiv class=field__itemsdiv class=field__item evenimg src=http://st2.internetdevels.net/sites/default/files/public/blog_preview/dudesk_work_blog_cover.png width=863 height=577 alt=How DruDesk works: a closer look at our Drupal support service //div/div/divdiv class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenp style=text-align: right;emCreated and powered by InternetDevels a target=_blank href=http://internetdevels.com/servicesDrupal development company/a/em/ppIf your website could speak, there’s one most important thing you would probably hear. And this thing is “Please send me to DruDesk!”. Such a silent request can come up in many cases — let’s see when./p a href=http://internetdevels.com/blog/how-drupal-website-support-drudesk-worksRead more/a/div/div/div

Midwestern Mac, LLC: Vagrant web development - is VMware better than VirtualBox?

Fri, 08/21/2015 - 14:42
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpMy Mac spends the majority of the day running at between one and a dozen VMs. I do all my development (besides iOS or Mac dev) running code inside VMs, and for many years I used VirtualBox, a free virtualization tool, along with Vagrant and Ansible, to build and manage all these VMs./p pSince I use build and rebuild dozens of VMs per day, and maintain a popular Vagrant configuration for Drupal development (a href=http://www.drupalvm.com/Drupal VM/a), as well as dozens of other VMs (like a href=https://github.com/geerlingguy/ansible-vagrant-examplesAnsible Vagrant Examples/a), I am highly motivated to find the fastest and most reliable virtualization software for local development. I switched from VirtualBox to VMware Fusion (which requires a a href=http://www.vagrantup.com/vmwarefor-pay plugin/a) a year ago, as a few benchmarks I ran at the time showed VMware was 10-30% faster./p/div/div/div

Drupal Easy: DrupalEasy Podcast 161 - No Custom Code (Jay Epstein - Relativity Data Model)

Fri, 08/21/2015 - 09:26
div class=field field-type-link field-field-embed a href=http://podcasts.drupaleasy.com/DrupalEasy_ep161_20150817.mp3 rel=enclosureDownload Podcast 161/a /div pa href=http://jay-epstein.comJay Epstein/a (a href=https://www.drupal.org/u/jeppy64jeppy64/a), Senior Developer with a href=http://www.traktekpartners.comTrakTek/a joins Mike, Ted, and Ryan to talk about his a href=http://jay-epstein.com/relativity/overviewRelativity Data Model/a and why he feels it is a superior method for architectuing Drupal sites with a limited number of modules and no custom code. We dive into the techniques, contrib modules, and benefits of the model before our weekly roundup of Drupal news and events./p pa href=http://drupaleasy.com/podcast/2015/08/drupaleasy-podcast-161-no-custom-code-jay-epstein-relativity-data-model target=_blankread more/a/pdiv class=feedflare a href=http://feeds.feedburner.com/~ff/DrupalEasy?a=Kbdb1WavwYs:hDnnzIeb0lU:yIl2AUoC8zAimg src=http://feeds.feedburner.com/~ff/DrupalEasy?d=yIl2AUoC8zA border=0/img/a a href=http://feeds.feedburner.com/~ff/DrupalEasy?a=Kbdb1WavwYs:hDnnzIeb0lU:qj6IDK7rITsimg src=http://feeds.feedburner.com/~ff/DrupalEasy?d=qj6IDK7rITs border=0/img/a /divimg src=http://feeds.feedburner.com/~r/DrupalEasy/~4/Kbdb1WavwYs height=1 width=1 alt=/

Savas Labs: Sassy Drupal theming: Setting up Bourbon and Neat

Fri, 08/21/2015 - 02:00
pWhen Savas built a custom Drupal 8 theme, we needed to include a grid framework and chose Bourbon's Neat for its ease of use, its light weight, and the library of useful Sass mixins provided by Bourbon. In this post I detail how to set all of this up and use Compass to compile SCSS./p pa href=http://savaslabs.com/2015/08/21/sassy-drupal-theming-part-1.htmlContinue reading…/a/p