Download presentation
Presentation is loading. Please wait.
Published byRandell Fletcher Modified over 9 years ago
1
DrupalCon 2011: Feedback ENTICE meeting 8 April 2011 Silvia Tomanin DG-CO
2
DrupalCon 2011 8 April 20112DrupalCon 2011: Feedback Website: http://chicago2011.drupal.orghttp://chicago2011.drupal.org Session list: http://chicago2011.drupal.org/sessions http://chicago2011.drupal.org/sessions Videos: http://www.archive.org/search.php?query=drupal %20chicago%202011 http://www.archive.org/search.php?query=drupal %20chicago%202011 12 sessions for coders. Next DrupalCon: London 22-26 Aug 2011London 22-26 Aug 2011
3
Session 1: development Introduction to module development Often you don't need to start from scratch: remember to check if there's already a module that is doing what you need or part of it. Recommendations (use Devel, optimized API search) Introduction on Drupal hooks 8 April 20113DrupalCon 2011: Feedback
4
Session 2: security Drupal security for coders Read the documentation Handle strings safely (check_url(), check_plain(), check_markup(), filter_xss()) User protect module Secure code review module (dev)Secure code review module 8 April 20114DrupalCon 2011: Feedback
5
Session 3: from D6 to D7 Coder Module: easily port modules to D7 Coder is for code review. Do you need to port a D6 module to D7? Use coder upgrade module, it helps. Automatic conversion of many functions from D6 to D7. Careful: still work in progress (beta6 released). 8 April 20115DrupalCon 2011: Feedback
6
Session 4: testing Automated testing and Drupal Simpletest is D7 core. How to run Simpletest: Via UI Via Drush How to write and run a test Other tools: Yslow, GooglePageSpeed, NetExport (for Firebug), Jmeter, Selenium 8 April 20116DrupalCon 2011: Feedback
7
Session 5: performaces Drupal module coding: leaner techniques for faster websites PHP performances: n of source files, memory utilization (deallocate unneeded structures!), db queries (use static cache, load in variables, use exportable configurations > CTools). Use PHP 5.3 (better performances) Do not split very small modules! 8 April 20117DrupalCon 2011: Feedback
8
Session 6: performaces Test, tune, tweak, hack, repeat: industrial- strenght performance and scalability Testing Xdebug, Tracelytics, Coder review Tuning &Tweaking Refactoring: reduce node loads, reduce dependencies on views, pass by reference to reduce memory, optimize css Hacking core : don’t do it if possible! 8 April 20118DrupalCon 2011: Feedback
9
Session 7: usability Drupal usability for developers: how to get real people to love your work Don’t do it alone: check the guidelinesguidelines D7 dashboard (many improvements from D6) D7 modules: Signup (ex. allows users to associate themselves with a node), Views (ex. how to display contextual links), CTools 8 April 20119DrupalCon 2011: Feedback
10
Session 8: Git Git on Drupal.org How to configure Git to contribute to the Drupal community Git documentation No need for approval for new Drupal projects Possibility to assign different roles for different Drupal users to contribute at the same project 8 April 201110DrupalCon 2011: Feedback
11
Session 9: Drush Advanced Drush What is it? Drupal command line $drush site-install $drush clear-cache $drush pml --type=module --status=enabled --no-core Scripting with Drush New commands $drush node-show 3 / $drush node-delete 3 (--json) $drush node-edit 3 8 April 201111DrupalCon 2011: Feedback
12
Session 10: search Attain Apache SOLR coding chops How to configure and run SOLR on localhostSOLR Fields and Dynamic Fields schema Solr integrations for Drupal: differences and versions available ApacheSolr integration (beta4 for D7) can do multi-site searches 8 April 201112DrupalCon 2011: Feedback
13
Session 11 Aphorism of API design Use watchdog for faster debugging! Fail early, fail often: constrain input Again, do not implement something already existing Use standards Use simpletest for testing 8 April 201113DrupalCon 2011: Feedback
14
Session 12 Views for hackers How to code views: conceptual overview Views: file and folder structure Difference between filters and arguments Examples Pretty advanced: if you need a plugin for views it’s better waiting for someone else to write it. 8 April 201114DrupalCon 2011: Feedback
15
Questions? ? 8 April 201115DrupalCon 2011: Feedback
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.