Planet Drupal

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

Aten Design Group: Declarative Programming and Drupal

Fri, 08/08/2014 - 16:17
img src=http://atendesigngroup.com/sites/default/files/drupal_3.png width=1000 height=600 alt= /pLately I've been very interested in declarative programming. Last week Smashing Magazine published a href=http://www.smashingmagazine.com/2014/07/30/declarative-programming/my article on Declarative Programming and the Web/a, and last weekend I gave a talk at DrupalCamp Colorado on a href=https://2014.drupalcampcolorado.org/session/footless-drupalFootless Drupal/a in which I talked about how Drupal 8 is using declarative programming for configuration; how the a href=https://www.drupal.org/project/cincConfig in Code (CINC)/a module is aiming to, among other things, backport that to Drupal 7; and how it's already possible to use custom configuration workflows outside the default Drupal interfaces./p pIf you're not already familiar with declarative programming and/or the Drupal 8 configuration API, I recommend reading my a href=http://www.smashingmagazine.com/2014/07/30/declarative-programming/declarative programming article in Smashing/a (of course I do), as well as a href=https://www.drupal.org/developing/api/8/configurationDrupal's configuration API documentation/a before continuing. All caught up? Great, let's talk about some next steps for expanding declarative programming in Drupal./p h2Custom Configuration Tools/h2 pFirst, we need more tools for managing configuration, with interfaces designed around more specific workflows. We're using a wide variety of approaches to building Drupal sites, and with a standard configuration format, there's no reason we shouldn't have the same variety of configuration interfaces. Do you define your content types in spreadsheets? Me too. I made a href=http://cinc.io/playground/tsv2module/an interface for that/a. Do you test your menus as static HTML? Great, let's make an interface that converts HTML menus to Drupal menu config. Do 90% of your views show all content of a given type? Let's auto-generate those Views configs./p pWhile there's still a lot changing in Drupal 8, and some of that will likely impact configuration structures, those structures are stable enough and simple enough that we should be building our own tools around them today. And as CINC gets closer to D8 config API parity, we can use more and more of the same configuration in D7 as well. These tools can be written entirely outside Drupal, in a completely different language if you prefer, which then exports to a href=https://en.wikipedia.org/wiki/YAMLYAML/a. Or you can take advantage of the information available within Drupal, i.e. current site configuration and content, and build modules with new interfaces. The world is our new Drupal configuration playground. Let's get playing./p h2Declarative Forms/h2 pBut there's also no reason declarative programming in Drupal needs to stop at configuration. Drupal has a wide variety of non-configuration concepts that could benefit from declarative approaches. One area I've been thinking a lot about lately is forms. Drupal's form API is already mostly declarative, but it's built around PHP arrays, and we interact with form arrays with imperative code. We could probably learn a lot by comparing Drupal forms to existing standards for declarative forms, like a href=https://en.wikipedia.org/wiki/XFormsXForms/a. But simply taking a form array and formatting it as YAML would be a good start. (Or we could do it as JSON, as a href=http://www.gizra.com/content/headless-drupal-form-api-drupal9/Amitai Burstein has suggested/a)./p pI'm sure declarative forms in Drupal would end up being a large and complex project, but it would come with large benefits as well. Many form alters apply universally to a given form, so they might as well be editing the original form definition directly. That wouldn't make sense in community module code, but moving the form definition outside code would allow such form alters to happen directly in the configuration. The same way we can now do span class=geshifiltercode class=text geshifilter-text\Drupal::config('node.type.page')-gt;set('name', 'Basic page')-gt;save()/code/span, we could do form alters with something like span class=geshifiltercode class=text geshifilter-text\Drupal::form('formid')-gt;set('mytextfield.#title', 'My Text Field')-gt;save()/code/span. Or with a YAML workflow, simply editing a YAML file would edit the form. That's already a huge benefit, as it would open up many form alters to a much wider group of implementers. Remember when we edited forms directly in HTML? A YAML form interface could give us that same ease of editing while still maintaining the power of Drupal's form API./p pAnd just like with declarative configuration, declarative forms would open up a wider world of use cases. Forms created in a href=https://www.drupal.org/project/webformWebform/a or the field API could be easily reused in custom modules. And the same forms could be built or used entirely outside Drupal, opening the door for more form-building tools focused on specific workflows./p pHopefully this is enough to get more people excited about taking advantage of the parts of Drupal that already have declarative interfaces, and also pushing declarative programming even further in Drupal. I'm continuing to work on these ideas and will likely have more examples to share soon, but I'd really like to see more people playing here. If you're already working or interested in working on declarative programming in Drupal, let's talk./p

Lullabot: Keeping Up with Drupal News

Fri, 08/08/2014 - 09:38
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpThis week the podcast gets a little bit meta by discussing how to find Drupal news. Addison Berry is joined by three different community news sources: Mike Anello of a href=http://drupaleasy.com/podcastDrupalEasy podcast/a, Bob Kepford of a href=http://theweeklydrop.comThe Weekly Drop newsletter/a, and Chris Weber from Drupal and Coffee in the Morning hangout and the a href=https://plus.google.com/u/0/communities/111161359890617128846Google+ Drupal community/a. We discuss why following the news is important, and how we manage to keep up with it./p/div/div/div ul class=field field-name-field-show-notes field-type-link-field field-label-hidden li a href=http://drupalize.me/blog/201408/fresh-new-video-tutorials-building-sites-drupal-7-panels-views-and-morePanels Video Tutorials/a /li li a href=http://drupaleasy.com/podcastDrupalEasy Podcast/a /li li a href=http://theweeklydrop.comThe Weekly Drop Newsletter/a /li li a href=https://plus.google.com/u/0/communities/111161359890617128846Google+ Drupal Community/a /li li a href=http://drupal.org/planetDrupal Planet/a /li li a href=https://www.drupal.org/node/63589Drupal.org RSS Feeds/a /li li a href=http://javascriptweekly.com/JavaScript Weekly/a /li li a href=http://nodeweekly.com/Node Weekly/a /li li a href=http://shoptalkshow.com/Shoptalkshow Frontend Podcast/a /li /ul

DrupalCon Amsterdam: Register before midnight and save 50€ on tickets to DrupalCon Amsterdam

Fri, 08/08/2014 - 08:16
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpWill you be coming to DrupalCon Amsterdam?/p pDrupalCon is where all the big magic happens. From sprints that improve the project to training that brings in new talent, attending DrupalCon is the best way to get involved, get connected, and give back. /p pTake a break from your summer holiday and secure your place at DrupalCon before ticket prices rise on 8 August (that's tonight!) at 23:59 Amsterdam local time. Save the €50 you'd pay on a late ticket and make sure you a href=https://amsterdam2014.drupal.org/ticketsbuy your tickets now/a to take advantage of the regular rate. You can even buy for your company, with our easy a href=https://amsterdam2014.drupal.org/tickets#prepaidprepaid tickets/a. /p h3On the fence about attending?/h3 pIf you're having trouble deciding whether to attend, we suggest you check out the a href=//amsterdam2014.drupal.org/schedule”schedule of sessions, BoFs, parties, and more/a, see a href=//amsterdam2014.drupal.org/attendees”who's going to be in Amsterdam/a, a href=//amsterdam2014.drupal.org/program”what you can learn/a, and a href=//amsterdam2014.drupal.org/sprints”how you can help the project/a while you're there. We've even got a href=https://amsterdam2014.drupal.org/keynote-cory-doctorowCory Doctorow/a keynoting the event on Wednesday! What's not to love about that?/p pIf you're having trouble convincing your boss to send you, a href=//amsterdam2014.drupal.org/convince-your-boss”check out these resources/a we've put together to help you get your manager's buy-in on the conference./p pThere will be a href=//amsterdam2014.drupal.org/sessions”great sessions/a, a href=//amsterdam2014.drupal.org/training”fantastic training opportunities/a, a quickly-filling a href=//amsterdam2014.drupal.org/business-summit”business summit/a, a a href=//amsterdam2014.drupal.org/community-summit”community summit/a, a href=//amsterdam2014.drupal.org/sprints”tons of sprints/a, and lots of fun at DrupalCon Amsterdam./p pHave more questions? Check out the @a href=//twitter.com/drupalconeur”DrupalConEur/a Twitter handle for breaking news and new information, or a href=//amsterdam2014.drupal.org/contact-us”let us know if you need help/a./p pWe hope to see you in Amsterdam!/p /div/div/div

Barnettech: Introducing the new OG Group Content Module

Thu, 08/07/2014 - 23:05
!-- google_ad_section_start --!-- google_ad_section_end --div class=field field-name-taxonomy-vocabulary-4 field-type-taxonomy-term-reference field-label-abovediv class=field-labelWiki Terms:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/category/drupal-7Drupal 7/a/divdiv class=field-item odda href=/category/drupal-planetDrupal Planet/a/div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpI've just released the OG Group Content module nbsp;a href=https://www.drupal.org/project/og_groupcontenthttps://www.drupal.org/project/og_groupcontent/a on drupal.org. nbsp;Here is the description of the module from drupal.org:/p/div/div/div

Mediacurrent: What organizations can expect in Drupal 8

Thu, 08/07/2014 - 22:47
img typeof=foaf:Image src=http://www.mediacurrent.com/sites/default/files/styles/thumb_blog_spotlight/public/webinarexpectindrupal8.png?itok=F_9lhbOl width=200 height=152 alt=What Organizations Can Expect with Drupal 8 title=What Organizations Can Expect with Drupal 8 / pJoin me and Acquia on Tuesday, August 12, 2014, to a href=https://www.acquia.com/resources/webinars/what-organizations-can-expect-drupal-8explore Drupal 8/a from a business owner's perspective. In this session, you’ll get to see what Drupal 8 has in store for you, including better support for mobile, internationalization, web services, HTML5 and the enterprise marketplace. For attendees already using Drupal, we’ll dive into how to prepare your site now for Drupal 8 and what you can do to get help when the newest version comes out./p pWe will review:/p

Last Call Media: Design 4 Drupal, A First Timer's Perspective

Thu, 08/07/2014 - 22:39
span class=field field-node--title field-name-title field-type-string field-label-hidden data-quickedit-field-id=node/104/title/en/rssDesign 4 Drupal, A First Timer#039;s Perspective/span div class=field field-node--field-blog-image field-name-field-blog-image field-type-image field-label-hidden data-quickedit-field-id=node/104/field_blog_image/en/rss div class=field-items div class=field-item img class=image-style-blog src=https://lastcallmedia.com/sites/default/files/styles/blog/public/lead-images/blog_08-14_d4d-jill_01.jpg?itok=gdbnxUbU width=758 height=527 alt= / /div /div /div div class=field field-node--body field-name-body field-type-text-with-summary field-label-hidden data-quickedit-field-id=node/104/body/en/rss div class=field-items div class=field-itempspanI just joined Last Call Media a couple of weeks ago, and was invited to join my new peers for a trip to Boston for Design 4 Drupal.  I was super excited for a couple of reasons.  A) I love a road trip, and B) this was my first opportunity to meet my new and extended Drupal family./span/p pspanSo, given that I am not a morning person, I set two alarms.  I did not want to be late to the meet-up spot and have my new coworkers leave without me, or think that I am a total slacker.  I showed up at 5:57am and was the only car there.  I started to feel foolish, like I had been the subject of a hilarious practical joke designed to break in the new team members.  I imagined my coworkers plotting against me “Just string a couple letters and numbers together, make an early meeting time on one of her first weekends.  You can imagine my relief, as the earliest of my coworkers started to trickle in, oh, and it turns out they are not the bullies I had imagined.  I now know that 6am means 6ish  (I think this is called Last Call standard time or LCST, for any event that begins before 8am).  From here we started our convoy, with 11 Last Callers en route.  Monster Energy Drink and Old School Rap tunes first thing in the morning had me amped for my first day long All-Geek event!/span/p pspanWe arrived at MIT (what an amazing campus, btw) with plenty of time to set up a booth and attend the Keynote:  Steve from a href=http://www.republicofquality.comRepublic of Quality/a gave a heartfelt talk about being emotionally connected to your work and how to demonstrate this with your content./span/p pspanimg alt= data-editor-file-uuid=4662ef12-f129-458b-9105-5d78821c0d84 src=/sites/default/files/inline-images/blog_08-14_d4d-jill_02.jpg //span/p pspanWe had one of the first sessions of the morning, a href=http://boston2014.design4drupal.org/session/case-study-lastcallmediacomCase Study: lastcallmedia.com/a,  where we were able show how heartfelt and connected we all are to our work./span/p pspanIt became clear to me that I have joined a very engaging team, as I sat in on my new coworkers presenting their work; I learned that we have the first commercial site in the US running on Drupal 8. It was a great opportunity to treat ourselves to a very special site redesign and tackle Drupal 8, which was still alpha, and get our hands dirty with constant upgrades.   The team was so pumped to share their experience with the Drupal community!/span/p pspanimg alt= data-editor-file-uuid=ae447fea-354d-4abe-9d39-574db8fcd22f src=/sites/default/files/inline-images/blog_08-14_d4d-jill_03.jpg //span/p pspanThere was a great deal of excitement from the attendees who were impressed that we invested the time and resources to work with Drupal 8. It made me very proud of where I work!  After the session, attendees flocked to our booth to find out more about our site and to ask more specific questions.  There is certainly is a lot of buzz about Drupal 8 and lastcallmedia.com./span/p pspanI met a lot of great people in the Drupal community, and went to a few sessions myself./span/p pspanErin Holloway gave a lot of nice pointers for streamlining communication in the a href=http://boston2014.design4drupal.org/session/anti-handoff-better-design-front-end-relationshipAnti-Handoff/a session and visuals to increase efficiency in the design/development process, from emails to Photoshop shortcuts.   This session was well attended by Last Call; I looked around the room and saw, Sean, Colin and Julia./span/p pspanJeff reported that he really enjoyed a href=http://boston2014.design4drupal.org/session/accessible-experience-designing-everyoneThe Accessible Experience: Designing for Everyone/a /spanspansession, where he was introduced to different accessibility tools and was able to see them demonstrated./span/p pspanJayme reported that the presentation a href=http://boston2014.design4drupal.org/session/rwd-budget-wtfRWD on a Budget WTF/a offered a good reminder about the countless small non-profits who both require and deserve a quality responsive website, but who do not have much of a budget. Large scale, and hence, expensive projects have more and more become the central focus of the industry. In our enthusiasm to see how far we can push the envelope of what we can do with Drupal for clients who have the budget to allow us to take it to this level, smaller companies--and in particular smaller non-profits--often get left behind. Johanna Bates and her collaborative made the important point that Drupal is still an excellent tool for making responsive websites that, while are perhaps not as ambitious to produce, offer a way to contribute to making the world a better place.”/span/p pspanOur very own Rob hosted a href=http://boston2014.design4drupal.org/session/responsive-javascripta well-attended session/a at the end of the day, although technically way over my head, it must have had some good meat that developer types could chew into because I received several requests for the slides and code samples.  You can find his presentation a href=https://docs.google.com/presentation/d/1NiBeZ0hQYkgPl-NjEsPkriYxkrCrc4XH2nOiZvcleVwhere/a./span/p pspanMost of us finished out the night at the a href=https://generalassemb.ly/General Assembly/a in Boston for a super time at thea href=https://www.wework.com/ WeWork/a coworking space.  What a cool spot.  We challenged other developers to table tennis, learned a little mixology as we played “bartender” by hand squeezing our own lemons and crafting our Tom Collins drinks./span/p/div /div /div

Drupal core announcements: Priority TCDrupalaton sprint tasks!

Thu, 08/07/2014 - 20:07
pToday is the start of a double dose of sprint awesome at a href=http://2014.tcdrupal.org/TCDrupal/a and a href=http://2014.drupalaton.hu/Drupalaton/a. Here are some important sprint tasks to help get Drupal 8 done. /p ol li h3Beta blockers/h3 pOur top goal for the sprints is to make significant progress on the a href=https://www.drupal.org/project/issues/search/drupal?project_issue_followers=amp;status%5B%5D=1amp;status%5B%5D=13amp;status%5B%5D=8amp;status%5B%5D=14amp;status%5B%5D=4amp;version%5B%5D=8.xamp;issue_tags_op=%3Damp;issue_tags=beta+blockerthree remaining beta blocker/a issues. These issues aren't the best place to jump in if you're not already following them, but plach, alexpott, effulgentsia, fago, and others are going to do what they can to get these issues done./p /li li h3Beta deadline issues/h3 pThe next priority for the sprints are the a href=https://www.drupal.org/project/issues/search/drupal?project_issue_followers=amp;status%5B%5D=1amp;status%5B%5D=13amp;status%5B%5D=8amp;status%5B%5D=14amp;status%5B%5D=4amp;version%5B%5D=8.xamp;issue_tags_op=%3Damp;issue_tags=beta+deadlinebeta deadline issues/a, which are non-critical issues that will have to be postponed to either Drupal 8.1.x or Drupal 9 if they are not done by the time the beta is ready. Many of these issues are related to the Entity Field API, so if you're interested in those systems, reach out to entity and field maintainers fago and swentel at Drupalaton to see if there's a beta deadline issue for you./p /li li h3Twig autoescape followups and double-escaping bugs/h3 pOne of the beta-blocking issues that's already been resolved is a href=https://www.drupal.org/node/2296163enabling Twig's autoescape functionality/a, so that strings that have not already been sanitized by Drupal can be escaped automatically in the theme layer. There are a lot of important followups to this change, which can be grouped into two categories:/p ul li h4Double-escaping issues (a href=https://www.drupal.org/node/2297711#2297711/a)/h4 pSince Drupal already does its own sanitization at many different points, there are a number of places where we are unintentionally escaping markup twice, resulting in double-escaping bugs like:br / codeamp;lt;emamp;gt;My double-escaped stringamp;lt;/emamp;gt;/code/p pWhen code uses the appropriate sanitization functions or the theme and render systems so that the output can can be themed, escaped, and altered properly, double-escaping is not an issue. So, we need to fix these regressions, ideally by removing the markup from the code entirely and converting to a Twig template, or failing that, by using the a href=https://www.drupal.org/node/2311123inline templating render element/a. In some cases these issues might be simple to fix; in others they will require some refactoring./p /li li h4Improper uses of SafeMarkup::set() (a href=https://www.drupal.org/node/2297703#2297703/a)/h4 pIn order to inform the theme layer about what markup Drupal has already sanitized, strings that have been processed by a href=https://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/function/t/8t()/a, a href=https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Utility%21String.php/function/String%3A%3AcheckPlain/8String::checkPlain()/a or a href=https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Utility%21Xss.php/function/Xss%3A%3Afilter/8Xss::filter()/a are automatically marked safe, as are markup strings created from render arrays via a href=https://api.drupal.org/api/drupal/core%21includes%21common.inc/function/drupal_render/8drupal_render()/a. This list of sanitized strings is stored by the a href=https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Utility%21SafeMarkup.php/class/SafeMarkup/8SafeMarkup/a class, which is intended for stronginternal use only/strong. However, the initial conversion patch added codeSafeMarkup::set()/code calls in many places as an interim fix. We now need to remove as many of these improper uses of SafeMarkup as possible, by converting or refactoring the code in the same way that we would to fix double-escaping bugs./p /li /ul pWe will be sprinting on these issues at TCDrupal. Talk to YesCT or mdrummond for help getting started./p /li li h3Critical issue triage/h3 pOnce Drupal 8 is in beta, the next step will be to resolve the other a href=https://www.drupal.org/project/issues/drupal?priorities=400amp;version=8.xcritical issues that block a Drupal 8 release candidate/a. As a first step, we need to assess all of the critical issues to determine which are most important, which are no longer relevant, etc., as well as what the path to get each done is. In each critical, we should clearly identify:/p ol liWhy is it critical?/li liWhat would be the implications of not fixing the issue?/li liWhat would be the implications of fixing the issue between betas? (Code changed for modules, upgrade path, etc.)/li liWhat would be the implications of fixing the issue after the first release candidate?/li liWhat is the next step to make progress? What are the remaining tasks?/li /ol pTalk to xjm to help with this essential task./p /li /ol pIf you're sprinting at TCDrupal, remember to put the a href=https://www.drupal.org/project/issues/search?issue_tags=TCDrupal%202014TCDrupal 2014/a issue tag on issues you work on at the sprint. Similarly, use the a href=https://www.drupal.org/project/issues/search?projects=amp;project_issue_followers=amp;issue_tags_op=%3Damp;issue_tags=Drupalaton+2014Drupalaton 2014/a tag at Drupalaton. And whether you're sprinting in Minnesota, in Hungary, or remotely, join the #drupal-contribute IRC channel to coordinate with other sprinters./p

Get Pantheon Blog: Headless Websites - Headless Drupal Options

Thu, 08/07/2014 - 19:44
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpThis past week at a href=http://2014.drupalcr.org/Drupal Costa Rica/a, I had a nice conversation with Todd Ross Neinkerk of a href=https://fourkitchens.comFour Kitchens/a, who was there presenting on the notion of de-coupling content management and content display (a href=https://www.youtube.com/watch?v=SnROzqxXDmIamp;feature=youtu.behere's video of a similar talk he did in Austin/a). I also spoke with Jesus Olivias who recently did a great a href=http://www.drupodcast.com/podcast/drupodcast-s04-e07-omar-aguirre-angular-drupal-8Spanish-language podcast/a with a href=https://www.drupal.org/u/omersOmar Aguierre/a on the topic, and he was kind enough to give me his two cents./p pemHeadless Drupal is officially now a thing/em. It's all happening. If you're curious why this is exciting people, see my previous blog post on the topic: a href=https://www.getpantheon.com/blog/headless-websites-whats-big-dealwhat's the big deal with headless websites/a? In this blog post I will dig into the technologies at your disposal for exploring Headless Drupal today./p !--break--p img src=https://www.getpantheon.com/sites/default/files/styles/panopoly_image_original/public/heads.jpg alt=Heady Topic width=540 height=405 /br / h4Headless Drupal Now!/h4 pFor those looking to develop Headless Drupal websites right now, you can totally do it with version 7. Even though there's excitement about the upcoming Drupal 8 release — and I'll detail the action below — you don't need to wait to get started with these techniques. Drupal 7 still has a long life ahead of it, and with the right contrib modules it is usable for anyone looking to build headless websites today./p pThe most well-known interface for Drupal 7 and an alternate front-end is the a href=https://www.drupal.org/project/servicesServices module/a, which has a very Drupal-ish manner (e.g. codehook_services_alter()/code) of exposing various interfaces. It comes with built-in REST and XML-RPC interfaces, and allows you to expose, nodes, users, taxonomies and other core data fairly easily behind custom endpoints (API paths). You can also use it as a basis for specifying your own custom services./p pThere's also the a href=https://www.drupal.org/project/restwsrestWS/a module, which exposes any Drupal entity on its existing URL based on headers. This module is the basis for Drupal 8's REST module, which we'll discuss more later./p pFinally there's a really interesting package from the developers at a href=http://www.gizra.comGizra/a, a href=https://github.com/Gizra/restfulthe Restful module/a, which is also entity-centric, but takes a different philosophical approach. Rather than exposing Drupal's internals, it allows developers to define what data they specifically want sent in response to a request. It also allows the exposure of some entity types and not others (e.g. the Article nodes, but not Pages). This module is definitely more developer-centric, but they have some nice a href=http://www.gizra.com/content/restful-angular-forms/blog posts/a about how they use it a href=http://www.gizra.com/content/headless-drupal-inline-edit/with AngularJS/a that will help you get up to speed./p h4The Future of Headless Drupal in Version 8/h4 pThe future of Headless Drupal opens up significantly with version 8. Core includes both a REST interface module and a brand new routing system built on the Symphony2 HTTP kernel. This provides a lot of opportunity for headless implementations both for beginning and more advanced developers./p pa href=http://drupalize.me/blog/201401/introduction-restful-web-services-drupal-8The REST module/a is a souped-up version of what you got from RestWS in Drupal 7. Your core entities are all eligible for exposure, using the JSON+HAL format by default. This gives consumers of entity data the ability to follow links to other data sources — for instance you can pull the definition of a content type from any node. /p pMaking Drupal's native entity data model accessible to other apps via REST takes only a few clicks. Views — also in core for Drupal 8 — a href=http://drupalize.me/blog/201402/your-first-restful-view-drupal-8natively supports REST export/a as a type of display. You can configure your way to a robust REST API into your content without installing a single extra module./p pFor those looking for more specific or nuanced functionality, the core HTTP routing framework is one of the most exciting pieces. It's a general upgrade for how all Drupal modules handle requests, replacing the legendary codehook_menu()/code with a fully-featured HTTP server. You can set up custom routes, define controllers for callbacks, and manage responses based on headers, status codes, and all the other things one cares about once you make the mental leap from serving pages to talking HTTP in your application./p pFor developers with experience building server-side applications in Python, Ruby on Rails, or Node, this is a welcome change. It opens the door to much more sophisticated implementations with Drupal — powering the backend for complex mobile applications, serving as a lightweight integration point for different kinds of data, even acting as a pure API to external application developers./p h4Much More To Come/h4 pThere's still more to come. A big part of the equation is what's on the other side: now that we know how to build a headless backend in Drupal, what's the client? There are many exciting answers, which I'll address in another post, ideally with code samples for AngularJS, Backbone, and others. /p pThere's also exciting movement in the headless direction in WordPress, where the a href=http://wp-api.org/WP-API project/a aims to have a native REST/JSON server bundled into the 4.1 or 4.2 releases later this/next year. I'll be doing a dive into the potential for those implementations soon as well./p pAre you building headless applications? Do you have tips tricks or techniques to share? Let me know and let's spread the word!/p /div/div/divdiv class=field field-name-field-blog-categories field-type-taxonomy-term-reference field-label-abovediv class=field-labelBlog Categories:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/blog/engineeringEngineering/a/div/div/divdiv class=field field-name-field-blog-related-posts field-type-entityreference field-label-abovediv class=field-labelRelated posts:nbsp;/divdiv class=field-itemsdiv class=field-item evenHeadless Websites: What#039;s the big deal?/divdiv class=field-item oddWP REST API - A Superficial Review/div/div/divdiv class=easy_social_box clearfix horizontal easy_social_lang_und div class=easy_social-widget easy_social-widget-twitter firsta href=http://twitter.com/share class=twitter-share-button data-url=https://www.getpantheon.com/blog/headless-websites-headless-drupal-options data-count=horizontal data-lang = en data-via= data-related=:Check it out! data-text=Headless Websites - Headless Drupal OptionsTweet/a/div div class=easy_social-widget easy_social-widget-facebookiframe src=//www.facebook.com/plugins/like.php?locale=en_USamp;href=https%3A//www.getpantheon.com/blog/headless-websites-headless-drupal-optionsamp;send=falseamp;layout=button_countamp;width=88amp;show_faces=trueamp;action=likeamp;colorscheme=lightamp;font=amp;height=21amp;appId= scrolling=no frameborder=0 style=border:none; overflow:hidden; width:88px; height:21px; allowTransparency=true/iframe/div div class=easy_social-widget easy_social-widget-googleplusdiv class=g-plusone data-size=medium data-annotation=bubble data-href=https://www.getpantheon.com/blog/headless-websites-headless-drupal-options/div/div div class=easy_social-widget easy_social-widget-linkedin lastscript type=in/share data-url=https://www.getpantheon.com/blog/headless-websites-headless-drupal-options data-counter=right/script/div /div !-- /.easy_social_box --

tanay.co.in: FBIp - A lightweight module to automate form-submission based IP banning in Drupal

Thu, 08/07/2014 - 18:34
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedp dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;Drupal has a nice Internal tool to block IP addresses. It is available in core with no additional modules required. It can be accessed via Configuration -gt; People -gt; IP Address Blocking./span/span/p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;img height=284px; src=/sites/default/files/cdn/2014/08/07/EiMj979UUT0ZbmpfgI19mXHHxyyyNDdj1T_ZC57LT-qBd11mtkQ0kwySCPritGp01m1GUkkm4PE_zr4d9gyWl5Yosr1Tr01tllGzWRXFr_KJTKrTKNj-vo-Yg8K_Q80_MQ style=border-style: none; transform: rotate(0rad); -webkit-transform: rotate(0rad); width=624px; //span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;But it is practically useless without any automation to control spammers as it requires each IP to be manually submitted by the admin./span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;And there are the suite of modules available for Drupal. Ranging from captcha to mollom. And all of these target preventing form submission. While they do a good job in preventing the spammer from submitting forms on your site, the spam bots are still able to access your site/form./span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;And most of the times, there are some really dumb spam boths that do not bother whether they have been successful in the spam attempt. They do not realise that the same and they keep attempting to submit the same form repeatedly. While cpatcha, mollom, honeypot etc on your site are discarding these form submissions from bots, your site’s resources are being utilised to generate this form and show it again to the bots thousands of times./span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;And the worst part is that many of these form pages are not really cached allowing capcha etc to function properly. This makes the condition ever worse./span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;Have you ever wished there was a small module that just blocks a spammer completely after he either submits / attempts to submit a form a dozen times  times on your site?/span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;So /spana href=https://www.drupal.org/project/fbipspan style=font-size: 15px; font-family: Arial; color: rgb(17, 85, 204); font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; white-space: pre-wrap; background-color: transparent;FBIP/span/aspan style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent; is here now! /span/span/p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6a href=https://www.drupal.org/project/fbipspan style=font-size: 15px; font-family: Arial; color: rgb(17, 85, 204); font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; white-space: pre-wrap; background-color: transparent;https://www.drupal.org/project/fbip/span/a/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6a href=https://www.drupal.org/project/fbipspan style=font-size: 15px; font-family: Arial; color: rgb(17, 85, 204); font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; white-space: pre-wrap; background-color: transparent;img height=405px; src=/sites/default/files/cdn/2014/08/07/SKRypffK8EJqkF3fQ5b8US1tdhSR2KpQNFGKBWnDakIjZqawcipQ9rXigDXY1r4ywP2JYtNtxLJ-s0IGLe4zGu9UBm8MgsivyZ9y3AlIeaeI8KIV5RoVELcRrXB3PRmxPQ style=border-style: none; transform: rotate(0rad); -webkit-transform: rotate(0rad); width=519px; //span/a/span/p p ul style=margin-top:0pt;margin-bottom:0pt; li dir=ltr style=list-style-type: disc; font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;It keeps a track of form submissions and if some user crosses a threshold that you specify, the user’s IP will be automatically blocked!/span/span/p /li li dir=ltr style=list-style-type: disc; font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;It is /spanspan style=font-size: 15px; font-family: Arial; font-weight: bold; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;Leightweight/spanspan style=font-size: 15px; font-family: Arial; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;. It does not add any additional tables to your site. It makes use of the Flood Control API available in the core of Drupal to keep a track of submissions per user./span/span/p /li li dir=ltr style=list-style-type: disc; font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;You can choose between tracking either all forms on your site. Or specific form ids./span/span/p /li li dir=ltr style=list-style-type: disc; font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;You can whitelist some IPs that you do not want to be tracked (Like your site administrators)/span/span/p /li li dir=ltr style=list-style-type: disc; font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;You can also choose to reset the IP bans at each cron run, if you wish to not to block any user permanently!/span/span/p /li /ul p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;img height=553px; src=/sites/default/files/cdn/2014/08/07/SM7tDRRloLpC-RqqFqZWCHfCkexi1pv374fR5Gs-VYxVb-ZsqEByeg0AejtG1a_v-UUjU6zsJlN6aiJBBD9tOzzT5oNitbWJMo9qApDkREwFCO1o52a5VexMUzH2xE0DHw style=border-style: none; transform: rotate(0rad); -webkit-transform: rotate(0rad); width=569px; //span/span/p p p dir=ltr style=line-height:1.5;margin-top:0pt;margin-bottom:0pt;span id=docs-internal-guid-59970b01-b151-1776-0ad0-cfcb340beea6span style=font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; white-space: pre-wrap; background-color: transparent;Beware Spammer, FBI(p) is watching you!/span/span/p div  /div /div/div/div

Advomatic: Design for Drupal 2014

Thu, 08/07/2014 - 18:15
divMy new (awesome!) coworker Sarah recappednbsp;a href=http://www.advomatic.com/blogs/sarah-german/takeaways-besides-cheese-drupalcamp-wisconsinher experiences/anbsp;atnbsp;a href=http://drupalcampwi.com/DrupalCampWI/anbsp;the other day, so I will follow suit with my thoughts from my new favorite tech camp,nbsp;a href=http://boston2014.design4drupal.org/Design4Drupal/a, held in Boston last weekend. This camp is an intimate gathering for front-end developer and designers all experiencing the same pain points working with Drupalnbsp;and on websites in general. On the surface, that meant things were a little less geeky and a lot more stylish, andnbsp;digging deeper, there were many substantial, tangible lessons to take home./div divnbsp;/div pimg alt=stata center src=/files/ghery.jpg style=max-width:100% /br / emHome base was this magical Ghery building, the Stata Center, on the MIT campus./em/p divThe organizers of D4D made a conscious effort to gear the first day more toward business, and I relished the opportunity to think more about client communication.nbsp;/div divnbsp;/div divI attended a great session on getting better client feedback, and you can read my favorite client communication tips a href=http://www.advomatic.com/blogs/amanda-luker/not-getting-great-client-feedback-heres-how-you-can-helphere/a./div divnbsp;/div divAnother gem of the day was a detailed explanation of copyright and creative commons, and robust a href=http://www.advomatic.com/blogs/amanda-luker/quick-guide-to-free-stuff-well-images-and-fonts-internetlist of places to get open source fonts andnbsp;stocknbsp;imagery/a./div divnbsp;/div divnbsp;/div pimg alt=cuchi cuchi src=/files/cuchicuchi.jpg style=max-width:100% /br / emCapped off Friday by dinner amp; drinks with the lovely women of a href=http://devcollaborative.com/DevCollab/a and a href=http://www.pixelsandpulp.com/Pixelsamp;Pulp/a. Above is a href=http://www.cuchicuchi.cc/Cuchi Cuchi/a. This is without a doubt how I would decorate my house if I lived alone./em/p divI started Day Two started a little bleary-eyed, but we jumped right into all the discussions I#39;d been itching to have, particularly about workflow./div divnbsp;/div divThe workflow for front-end development has skyrocketed in complexity over the last few years, and we front-end devs arenbsp;welcoming anything wenbsp;can do to improve the hand off from design to development and to streamline our work. You can read more about taking some ofnbsp;the headaches out of front-end worknbsp;a href=http://www.advomatic.com/blogs/amanda-luker/streamlining-your-design-workflowhere/a.nbsp;/div divnbsp;/div divThenbsp;a href=http://boston2014.design4drupal.org/session/responsive-javascriptResponsive Javascript/anbsp;session was a good reminder to pause every time you think aboutnbsp;jumping into writing some responsive Javascript. strongFirst, s/strongstrongtop, and ask if it can be done better with CSS/strong. Most likely, CSS will trump Javascript every timenbsp;in terms of performance, accessibility and potential QA rabbit-holes./div divnbsp;/div divAnd check outnbsp;a href=https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Testing_media_queriesw/aa href=https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Testing_media_queriesindow.matchMedia()/anbsp;-- it#39;s a simple way to check if you have hit different breakpoints. (Be sure to grab thenbsp;a href=https://github.com/paulirish/matchMedia.js/polyfill/anbsp;for IE9 and below.)/div divnbsp;/div divLast, but not least, was the discussion onnbsp;a href=http://boston2014.design4drupal.org/session/real-time-multi-device-theming-say-goodbye-refresh-buttonstreamlining development and testing/a.nbsp;We got an overview ofnbsp;stronga href=https://developers.google.com/web/starter-kit/Google#39;s Web Starter Kit/a/strongnbsp;and all of it#39;s goodies, like live reloading, synchronized browser testing, and a built-in, living style guide. And there was an audible gasp (from me) when they showed whatnbsp;stronga href=http://www.browsersync.io/browsersync.io/a/strongnbsp;could do;nbsp;all devices on the network could look at the same local site, and when you scrolled down on one device THEY WOULD ALL SCROLL DOWN. Stunning./div divnbsp;/div divThe presentation was interesting, and the dev environment really parallels the dev environment we have home-brewed for ourselves here at Advomaticnbsp;with a combination of Compass/Sass,nbsp;Grunt,nbsp;LiveReload, xip.io, andnbsp;KSS.nbsp;I quickly learned that there aren#39;t many other shops doing this yet, so we couldn#39;t talk the nitty gritty details (likenbsp;gnarly compile times). So that conversation is to be continued./div divnbsp;/div divI can#39;t wait to hear next year how others are using these tools to improve their workflow./div divnbsp;/div pimg alt=baraka cafe lemonade src=/files/8179254247_b632c73e6b_b.jpg style=max-width:100% /br / emI ended my weekend drinking the best lemonade I will probably ever have, at a href=http://www.barakacafe.com/Baraka Cafe/a just down the street from where I was staying. Photo credit: a href=https://www.flickr.com/photos/chefcooke/8179254247/in/photolist-54UL84-47g91n-M7gAH-EwV8c-6BSNME-91uiUZ-dsLPjX-54Fnsm-2as1DNathan Cooke/a/em/p

Drupal Association News: From Poverty to Prosperity: How Drupal is Improving Lives in South Los Angeles

Thu, 08/07/2014 - 15:30
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpimg alt=Students in Teens Exploring Technology class=left src=https://assoc.drupal.org/files/TeensExploringTechnology-sm.jpg style=width: 240px; height: 131px; /For many people all over the world, Drupal is a fun hobby or even a means to a career. But for some young men in South Los Angeles, it’s more than that: it’s a ticket to a better life./p pa href=http://exploringtech.org/ target=_blankTeens Exploring Technology/a is the brainchild of Oscar Menjivar, a social entrepreneur, programmer, and Drupal user. The program serves young men who are at risk of recruitment by gangs in Los Angeles’ southern neighborhoods by bringing them off the streets and educating them on community, leadership, academics, and technology./p pEach year, thirty or more high-school boys are selected to participate in the program. Through it, they are introduced to computers and computing, and attend weekly classes held by the program and hosted in one of the classrooms at the University of Southern California (USC). Classes are instructed by volunteers who donate their time and expertise to the program, teaching the boys to improve their lives and their community through technological innovation./p p“Currently, we partner with USC but we are starting to look at other universities for expansion” said Menjivar. “Our program is in demand and we need to expand. Right now, we’re building relationships with other universities, so in the next few years we’ll probably be meeting at USC and another university in the area./p pThe program, which is completely free for its students, has already made waves in its local community. Numerous alumni of Teens Exploring Technology are currently studying Computer Science and Information Systems at schools such as Stanford, Syracuse, USC, University of California Los Angeles (UCLA), and elsewhere; the projects that these students completed while participating in Teens Exploring Technology, meanwhile, are still doing good in their communities./p p“Last year, one of the groups developed a Drupal website called South LA Run,” said Menjivar. It’s an interactive map that displays safe places where people in south central LA can run. The site allows users to make accounts, and create and share routes with each other. Our students collected data and research from the community in South LA, then used it to build the site, which launched last summer./p pThe project perfectly embodied our mission to help the kids recognize some of the problems in their communities, identify ways they can solve these problems, and give them the resources to solve those problems with technology,” Menjivar added./p h2 Fighting poverty with technology/h2 pThe program, which has won a Google Rise award, was inspired by Menjivar’s past./p pI grew up in South Los Angeles in the ‘90s and went to one of the worst high schools in the city,” said Menjivar. “They promised me a technology magnet program, but at the time we had nothing but typing classes. The lack of resources at my school made it harder for me to focus on bigger goals in life, like college.”/p pFrom a young age, Menjivar had been interested in computing and computer science. I wanted to do computer science and learn how to code, and [my upbringing] was a huge barrier for me to overcome. Luckily, I had a good friend in college who took me under his wing.” Now, Menjivar is paying the favor forward by giving young men in rough neighborhoods the same help that he once received./p p“Seven or eight years ago, I went back to my old high school and spoke to sixty kids. I asked if they knew what a website was, or knew what HTML was, and out of these kids only 5 of them knew what that meant. That was what opened my eyes,” he said. “I thought, there’s something that we need to do about this.”/p pFor most young men who live in the inner cities, survival can be difficult. Many are recruited by gangs, or turn to crime to keep money coming in. The biggest problem that I encountered with myself was that, in the '90s I had a lot of friends who… one ended up shot, another ended up in jail, and most didn’t go to college,” said Menjivar. I was lucky because I had good mentors, but most of my friends didn’t have the same opportunity./p pNow, Teens Exploring Technology is serving the neighborhood that Menjivar himself grew up in. The program focuses on educating young at-risk men about technology, inspiring them to use technology for social good, and instilling high-integrity values in the process. But Menjivar doesn’t want to stop there./p pThe overall vision for what we’re doing is to develop leaders and change makers who can improve world through technology,” Menjivar said. “We want our students to go and use technology for good, and develop solutions for their communities. Our main focus is always on addressing problems in our students’ community, specifically how can we use technology to transform the lives of kids.”/p h2 Doing good with Drupal/h2 pIn the Teens Exploring Technology program, the participants are introduced to a wide range of technologies— and Drupal is by far the most popular./p p“We decided to use Drupal because it gives the kids a chance to learn on the spot and not have to wait for something to be pushed out,” Menjivar said. “They can practice their coding skills, and if they make a mistake they can redo it again easily in Drupal. The flexibility of it, the modules that the kids can play with, and the themes that Drupal can do all make it very popular. With kids, you have to be able to give them a choice for how to customize their website and make it their own, and Drupal does that really well./p p“Last year, we had 8 different web apps and I would say 4 of them were Drupal-based. The other ones were Wordpress, Android, iPhone, and Shortstack, which is a Facebook app. This year we’re throwing in Unity, so the kids will be able to build games./p p“Every year we experiment a lot but Drupal always stays at the core of what we do,” said Menjivar./p h2 How Teens Exploring Technology is changing South Los Angeles/h2 pThe pilot program for Teens Exploring Technology began five years ago./p p“At first, we did recruiting,” said Menjivar. “We went out into the community and approached kids about participating in the program that first year, but it’s all word of mouth now. The kids call themselves TxTrs, and they really spread the word. It happens often that, in schools, an 8th or 9th grader will come to a current student and say 'I want to do this, how do I do this.’/p p“In the community, we feel that people are starting to recognize potential with technology. We had 150 applications this past year, and even though we were only able to pick 45 participants, we’ve created a database of kids who didn’t get in and their parents. We reach out to give them information whenever we can, and pretty soon we’ll have an open space that we’re opening up so that everyone can come, build with technology, and take workshops on different tools,” Menjivar added./p pHelping at-risk young men build better lives for themselves and for their communities is at the heart of what Menjivar does— but he doesn’t plan to stop just with Teens Exploring Technology. Currently, the Teens Exploring Technology team is working to expand the program so that everyone in South Los Angeles has an opportunity to learn and grow./p p“We’re about to open the first ever hacker/tech space in South LA where people in the community — not just boys but everyone else, girls, older people -- can come and learn how to develop and learn to make web apps,” Menjivar said. We’re excited about it. We’ll be helping people learn about CSS, HTML, Javascript, and other different platforms. It's a huge step for us because we’ll be able to do summer programs with the boys in Teens Exploring Technology,” Menjivar added, “and then take those concepts over to our Hackerspace and encourage the community to initiate change through technology./p pMenjivar’s vision for the Hackerspace isn’t one of a formal classroom, but rather a safe space for knowledge-sharing where people can help each other out-- or, in his words, “We want a ‘learn by doing’ space.”/p p“We want to build an organic community of technology culture so people can come in and do peer to peer teaching,” Menjivar said. “We want it to be a place where you can come hang out and have fun while learning to build online products. We aim to build culture of knowledge using the latest dev tools.”/p p“I find that the best way to build knowledge is together, instead of just doing workshops all the time,” Menjivar added./p p“When we began setting the place up, picture a big mess right in the middle of the room: chairs everywhere and stucco and paint all over the place,” said Menjivar. “People came in and asked us what we were doing, and when we told them they could come and learn to develop, they got excited. In fact, as soon as we announced the Hackerspace to the community, we had tons of people coming in and asking how they could get involved./p p“The community in South LA has a lot of talent, but it just isn’t being nurtured and fostered. So that’s what we want to do,” said Menjivar./p h2 Getting Involved/h2 pAlumni of the Teens Exploring Technology program give back to the program by donating their expertise and recruiting for the community— but the program’s expansion means that more help is needed./p p“Right now, we’ve got a summer leadership academy going on for boys who are between 14 and 17 years old,” said Menjivar. “We put the kids in production and development groups, and then everyone picks a different role: product developer, project manager, and so on. The boys go through process of identifying a problem and then using the technology to solve that problem, and to make this happen, we need mentors./p p“Finding volunteers with exceptional skills is critical. We don’t just want people to volunteer, we want them to build relationships. Our volunteers become role models to the kids, become people they can look up to. Finding volunteers who can commit an hour to the program, and who are willing to stay in touch with the kids afterwards, can be a challenge.”/p pBeyond the need for more volunteers, resources are tight with the program. “getting funding is a challenge, especially since it’s a completely free program for the students,” said Menjivar. “Many of the boys we serve are from low income families, families whose annual income is about $15,000. In order for us to serve more students and provide new opportunities, we need to increase our income. This year we were invited to a startup weekend but we didn’t have transportation so going was difficult. Funding is definitely a challenge.”/p p“One of the questions we ask ourselves a lot is, how do we use this program to continue helping the Drupal community grow, and how do we get the Drupal community more involved in the future? One thing that would help would be sponsorship from companies for the program and for its volunteers./p p“Our summer volunteers put in 20-25 hours a week helping the boys, and do so for no pay. Right now we’re looking for people or companies who can sponsor those volunteers, and maybe even give them a stipend,” said Menjivar./p pCurrently, the culture of creating technology doesn’t exist in South L.A., so we’re building that technical dream and people are recognizing that. We’ve become the place where, if you want to learn to build or create, you go to Teens Exploring Technology or you go to Hackerspace. It’s a small space but I’m looking forward to seeing what comes out of it,” said Menjivar./p pAbove all, the emphasis for me is our pillars of community, leadership, academics, and technology, because that’s what we anchor ourselves around. We want to help our kids understand how those pillars change the world, and really understand the technology that will make a difference in their lives and the lives of others as they become a developer./p pFor more information on the program, or to get involved, please a href=http://exploringtech.org/contact-us target=_blankcontact the Teens Exploring Technology team/a, or reach out to Oscar Menjivar via Twitter at a href=http://twitter.com/urbantxt target=_blank@urbantxt/a./p /div/div/div

Forum One: The Road to Drupalaton

Thu, 08/07/2014 - 15:07
pWe arrived in beautiful Budapest on Tuesday night already excited for a href=http://2014.drupalaton.hu/Drupalaton/a, Hungary#8217;s premier annual Drupal event which takes place at the town of Keszthely on Lake Balaton (from which the event gets its name)./p pYesterday morning we met up with our friends at the a href=http://cheppers.com/Cheppers/a office, and loaded our bags into the cars to caravan down. Cheppers is one of the major sponsors for Drupalaton, and a good example of the new breed of Drupal shops coming out of Eastern Europe. Incidentally they also happen to be a fantastic road trip crew./p pOn the way down we talked about what we all hoped to get out of the big Drupal event. Personally I#8217;m looking forward to a couple of uninterrupted days of contributing to Drupal 8. In a regular work week it#8217;s hard to get this much time for contribution all at once, and it will be great to feel like I#8217;m making a dent in the issue queue. Adam Juran, one of our Interface Engineers, talked about the friends we#8217;d get to see and the #8220;community track#8221; of discussing code over a beer, which seems particularly appealing given the dearth of local lakeside restaurants. We#8217;re seriously considering extending that idea by hosting an unofficial Forum One code sprint on the beach!/p pDrupalaton promises to be a fantastic conference. These local Drupal events are one of the few places where you can rub shoulders with well-known contributors and local first-timers all at once. Most of these European Drupal camps are fairly intimate gatherings of only about a hundred participants, which means that everyone eats, codes, and hangs out in just one or two big groups. Not to mention, these events are much lower pressure than the larger Drupalcons for everyone involved. People are often running through their presentations for the first time, and very few of them have other project or marketing work to distract them. This means that everyone is there for the same reasons: to code, to learn, and to have fun!/p pSure to be one of the highlights of the event program is my three-hour workshop: a href=http://2014.drupalaton.hu/schedule#speaker-9Coder vs. Themer: Ultimate Grudge Smackdown Fight to the Death!/a with my colleague a href=http://forumone.com/staff/adam-juranAdam Juran/a. Adam, using only the theme layer, and I, using only the module layer, will compete and invite our audience to do the same to determine who is able to build the better Drupal website: Coder or Themer?! We#8217;ve had a lot of fun with this session in the past and it#8217;s sure to be a popular one among the Drupalaton crowd./p pThis conference will also include well known Drupal contributors like Morten DK, Wim Leers, Dan Wehner, Reuben Teijieroand of course Gabor Hojtsy. Big names in the community like Stephanie El Hajj and Steve Purkiss will be there too, alongside some of our favorite local Drupal organizers like Lauri Eskola and Zsofi Major. A lot of these people are old friends for us – but whom we often only see on the Drupal.org issue queues – so it#8217;s a special treat to hang out in person, even if we essentially have the same conversations. As for the people we don#8217;t yet know: it will be great to code, session, and enjoy some tasty a href=http://en.wikipedia.org/wiki/PálinkaHungarian Palinka/a with them as well!/p pimg class=aligncenter size-large wp-image-3795 src=http://forumone.com/wp-content/uploads/2014/08/Campbell-and-Adam-at-Lake-Balaton-700x393.jpg alt=Campbell Vertesi and Adam Juran with friends at Lake Balaton, Hungary. //p pDrupalaton will also feature some of the best of the local Hungarian community, in a beautiful lakeside setting. At a href=http://forumone.com/agencyForum One/a we talk a lot about the value of local engagement with open source products like Drupal, and it#8217;s very rewarding to be a part of that core value in action. Hungarian Drupalists are some of the most talented – not to mention friendly! – in the European community. We#8217;ll definitely post more when the con gets started!/p

Code Karate: Embed Panel Node View in code

Thu, 08/07/2014 - 03:48
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenThere are times when you want to programmatically embed a node display in a block or panel pane./div/div/div

Drupal core announcements: This Month in Drupal Documentation

Thu, 08/07/2014 - 01:08
pHere's an update from the a href=https://drupal.org/governance/doc-working-groupDocumentation Working Group (DocWG)/a on what has been happening in Drupal Documentation in the last month or so. Sorry... because this is posted in the Core group as well as Documentation, comments are disabled./p pIf you have comments or suggestions, please see the DocWG home page for how to contact us. Thanks!/p h3Thanks for contributing!/h3 pSince July 1st (a href=https://groups.drupal.org/node/431208our previous TMIDD post/a), 260 contributors have made 800 total Drupal.org documentation page revisions, including 5 people that made more than 20 edits (gisle, lolandese, YesCT, adellefrank, and mparker17) -- thanks everyone!/p pIn addition, there were many many commits to Drupal Core and contributed projects that improved documentation -- these are hard to count, because many commits combine code and documentation -- but they are greatly appreciated too!/p h3Documentation Priorities/h3 pThe a href=https://www.drupal.org/documentation/prioritiesCurrent documentation priorities page/a is always a good place to look to figure out what to work on, and has been updated recently./p pIf you're new to contributing to documentation, these projects may seem a bit overwhelming -- so why not try out a a href=https://drupal.org/contributor-tasks/writersNew contributor task/a to get started?/p h3Upcoming Events/h3 ul lia href=https://groups.drupal.org/node/434038 title=https://groups.drupal.org/node/434038https://groups.drupal.org/node/434038/a - Drupal Sprint Weekend London - 16-17 August 2014/li lia href=https://amsterdam2014.drupal.org/ title=https://amsterdam2014.drupal.org/https://amsterdam2014.drupal.org//a - DrupalCon Amsterdam - Sept 29 - Oct 3, 2014/li lia href=http://bogota2015.drupal.org/ title=http://bogota2015.drupal.org/http://bogota2015.drupal.org//a - DrupalCon Latin America, Bogotá, Columbia, Feb 10-12, 2015/li /ul h3Report from the Working Group/h3 ul liWe finally finished our deliberations, and decided on our priorities for documentation-related software/infrastructure. These priorities were submitted to the Software Working Group, and are also listed on a href=https://www.drupal.org/governance/docwg-goals title=https://www.drupal.org/governance/docwg-goalshttps://www.drupal.org/governance/docwg-goals/a. Ideas we considered but decided were not priorities for the next year are listed on a href=https://www.drupal.org/node/2258139 title=https://www.drupal.org/node/2258139https://www.drupal.org/node/2258139/a./li liWe are preparing for the sprints at a href=https://amsterdam2014.drupal.org/sprintsDrupalCon Amsterdam/a (29 Sept.-3 Oct.) by updating and prioritising documentation issues. We'll be using documentation issue tag docsprint to tag issues that we think will be good for sprints, over the next two months especially./li liAfter an initial period of setting ourselves up, we are now happy to open up the monthly meeting of the a href=https://drupal.org/governance/doc-working-groupDocumentation Working Group/a to anyone who would like to attend. Please contact Boris (a href=https://www.drupal.org/user/22175batigolix/a) if you want to join the meeting and send hit the email address you use for Google, since we meet in Google Hangout./li /ul

Janez Urevc: Drupal 8 from my media perspective - update #1

Wed, 08/06/2014 - 23:15
div class=field field-name-body field-type-text-with-summary field-label-hidden view-mode-rssdiv class=field-itemsdiv class=field-item even property=content:encodedpMedia team is very active. Purpose of this post is to provide the progress update to the rest of the community that might not be aware of everything that is going on in this field. I am planning to publish this posts on a regular basis. We'll see how it goes :)./p h2Media sprint in Zurich/h2 pWe had a very productive sprint about a week ago in Zurich were we've worked on various core and contrib issues (see below of details). Sprint was organized by a href=http://www.md-systems.ch/MD-Systems/a. They did their best to bring everyone togehter and made sure that we felt comfortable and welocome. Thank you so much (special thanks go to a href=https://www.drupal.org/u/miro_dietiker@miro_dieteker/a and a href=https://www.drupal.org/u/berdir@Berdir/a)!/p h2Core/h2 pIn Zurich a href=https://www.drupal.org/u/blueminds@blueminds/a fixed a href=https://www.drupal.org/node/2078473[#2078473] Use entity access API for checking access to private files/a./p pWe are currently focusing on few issues:/p/div/div/div

Promet Source: What Does It Mean to be a Drupal Developer?

Wed, 08/06/2014 - 22:28
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even p dir=ltr style=line-height:1.15;margin-top:0pt;margin-bottom:0pt; /p/div/div/div

Acquia: Don’t wait, update your codebase now!

Wed, 08/06/2014 - 20:34
div class=field field-name-body field-type-text-with-summary field-label-hidden div class=field-items div property=content:encoded class=field-item evenpstrongTL;DR: a a href=https://www.drupal.org/SA-CORE-2014-004security update/a for Drupal 7 and Drupal 6 was just released. All sites are affected and sites that are not updated immediately may experience Denial of Service (DoS) attacks leading to unexpected downtime./strong/p pstrongUpdate/strong: This vulnerability was covered on a href=http://mashable.com/2014/08/06/wordpress-xml-blowup-dos/ target=_blankMashable/a and one of the reporters published a detailed a href=http://www.breaksec.com/?p=6362 target=_blankfull disclosure of the vulnerability/a./p/div /div /div span property=dc:title content=Don’t wait, update your codebase now! class=rdf-meta/span

agoradesign: Beware of evil pathauto patterns!

Wed, 08/06/2014 - 19:38
div class=field field-name-body field-type-text-with-summary field-label-hidden div class=field-items div class=field-item evenpRecently, a very mysterious problem has cost us quite a lot of time and some headache too. Before I explain, what happened, I want to mention, that it happened on a Drupal 7 Site on a MS SQL Server database. According to an issue on drupal.org, that I will mention later, it may also occur with PostegreSQL, but most likely not with MySQL. But I also have a general advice regarding pathauto patterns and best practices./p /div /div /div

Drupal.org frontpage posts for the Drupal planet: Drupal 7.31 and 6.33 released

Wed, 08/06/2014 - 19:35
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenp style=position: inherit;Drupal 7.31 and Drupal 6.33, maintenance releases which contain fixes for strongsecurity vulnerabilities/strong, are now available for download. See the a href=https://www.drupal.org/drupal-7.31-release-notesDrupal 7.31/a and a href=https://www.drupal.org/drupal-6.33-release-notesDrupal 6.33/a release notes for further information./p div style=float: right; margin: 0 0 1em 1em; text-align: center; a href=http://ftp.drupal.org/files/projects/drupal-7.31.tar.gz class=link-button style=margin: 0 0 0.6em 0;spanDownload Drupal 7.31/span/abr /a href=http://ftp.drupal.org/files/projects/drupal-6.33.tar.gz class=link-buttonspanDownload Drupal 6.33/span/a/div p style=position: inherit;stronga href=/upgrade/Upgrading/a your existing Drupal 7 and 6 sites is strongly recommended./strong There are no new features or non-security-related bug fixes in these releases. For more information about the Drupal 7.x release series, consult the a href=https://www.drupal.org/drupal-7.0Drupal 7.0 release announcement/a. More information on the Drupal 6.x release series can be found in the a href=https://www.drupal.org/drupal-6.0Drupal 6.0 release announcement/a./p !--break--div style=float: right; padding: 0 0 2em 1em; margin-left: 2em; width: 35%; border-left: 1px solid #cdcdcd; h2Security information/h2 pWe have a a href=/securitysecurity announcement mailing list and a history of all security advisories/a, as well as an a href=/security/rss.xmlRSS feed with the most recent security advisories/a. We strongstrongly advise Drupal administrators to a href=/securitysign up/a/strong for the list./p pDrupal 7 and 6 include the built-in Update Status module (renamed to Update Manager in Drupal 7), which informs you about important updates to your modules and themes./p h2Bug reports/h2 pBoth Drupal 7.x and 6.x are being maintained, so given enough a href=https://drupal.org/project/issues/search/drupal?status[]=8amp;categories[]=1bug fixes/a (not just a href=https://drupal.org/project/issues/search/drupal?status[]=1amp;categories[]=1bug reports/a) more maintenance releases will be made available, according to our a href=https://www.drupal.org/documentation/version-info#whenmonthly release cycle/a. /p/div h2Changelog/h2 pDrupal 7.31 is a security release only. For more details, see the a href=https://www.drupal.org/drupal-7.31-release-notes7.31 release notes/a. A complete list of all bug fixes in the stable 7.x branch can be found in a href=http://drupalcode.org/project/drupal.git/shortlog/refs/heads/7.xthe git commit log/a./p pDrupal 6.33 is a security release only. For more details, see the a href=https://www.drupal.org/drupal-6.33-release-notes6.33 release notes/a. A complete list of all bug fixes in the stable 6.x branch can be found in a href=http://drupalcode.org/project/drupal.git/shortlog/refs/heads/6.xthe git commit log/a./p h2Security vulnerabilities/h2 pDrupal 7.31 and 6.33 were released in response to the discovery of security vulnerabilities. Details can be found in the official security advisory:/p ullia href=https://www.drupal.org/SA-CORE-2014-004SA-CORE-2014-004/a/li /ulpTo fix the security problem, please upgrade to either Drupal 7.31 or Drupal 6.33./p h2Update notes/h2 pSee the a href=http://drupal.org/drupal-7.31-release-notes7.31/a and a href=http://drupal.org/drupal-6.33-release-notes6.33/a release notes for details on important changes in this release./p h2Known issues/h2 pNone./p /div/div/divdiv class=field field-name-taxonomy-vocabulary-34 field-type-taxonomy-term-reference field-label-abovediv class=field-labelFront page news:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/903Planet Drupal/a/div/div/divdiv class=field field-name-taxonomy-vocabulary-5 field-type-taxonomy-term-reference field-label-abovediv class=field-labelDrupal version:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/102Drupal 6.x/a/divdiv class=field-item odda href=/taxonomy/term/120Drupal 7.x/a/div/div/div

Forum One: NVDA Screen Readers and Invisible Elements

Wed, 08/06/2014 - 17:02
pHere#8217;s an interesting bug#8230;/p pIt is a pretty common practice to hide from view text that is meant for visually impaired users to read via a screen reader. In Drupal, required fields will get a value that is hidden in this way via CSS in the field#8217;s label elements. By default, this text reads #8220;This field is required#8221; however the text is translated, so it may vary depending on the language of the page. Visually, this text is hidden; sighted users will still see a red star character next to these fields, but it is only meant as a cue for users utilizing screen readers./p pA common method of hiding these #8216;Cur#8217; elements is to set the element#8217;s width and height to 1px and use the the clip property. This method can be seen a href=https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.htmlin this blog post/a and is briefly hit upon in a href=http://webaim.org/techniques/css/invisiblecontent/this WebAIM article/a./p blockquotep.element-invisible {/p pposition: absolute !important;/p pheight: 1px;/p pwidth: 1px;/p poverflow: hidden;/p pclip: rect(1px 1px 1px 1px); /* IE6, IE7 *//p pclip: rect(1px, 1px, 1px, 1px);/p p}/p/blockquote h2The Problem/h2 pI#8217;ve come across an issue that can hamper accessibility. Users employing the NVDA Screen Reader with Firefox and using the screen reader viewer will see elements styled like this with the spaces removed, e.g., #8220;Thisfieldisrequired.#8221; This does not appear to be an issue in Chrome, and I have not tested in other browsers. The screen reader view renders as:/p pa class=image-link href=http://forumone.com/wp-content/uploads/2014/06/NVDA-Screen-Reader-1.pngimg class=aligncenter wp-image-3700 size-large src=http://forumone.com/wp-content/uploads/2014/06/NVDA-Screen-Reader-1-700x368.png alt= width=700 height=368 /br / /a/p h2The Solution/h2 pIt seems that this spacing is caused by how Firefox is interpreting the width property. Using a larger width here seems to resolve the issue, and a good threshold for this seems to be 9px. I tried it with 8, but oddly, that width leaves some words still missing spaces while correcting others. This may cause some layout issues, however. (I spend more of my time in back-end development, so I am not a CSS expert by any means.) Here is the result of changing the element’s width to 9px:/p pa class=image-link href=http://forumone.com/wp-content/uploads/2014/06/NVDA-Screen-Readers-2.pngimg class=aligncenter wp-image-3703 size-large src=http://forumone.com/wp-content/uploads/2014/06/NVDA-Screen-Readers-2-700x369.png alt= width=700 height=369 //a/p pnbsp;/p pnbsp;/p pspan style=color: #000000;Thus, it seems changing the pixel size of these invisible elements could be one small step towards improving accessibility of this screen reader in Firefox./span/p