• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Какво трябва да знае всеки Drupal новак
 

Какво трябва да знае всеки Drupal новак

on

  • 1,214 views

Presented at DrupalCamp Sofia 2012

Presented at DrupalCamp Sofia 2012

Statistics

Views

Total Views
1,214
Views on SlideShare
1,201
Embed Views
13

Actions

Likes
1
Downloads
3
Comments
0

2 Embeds 13

http://www.linkedin.com 11
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Thank you very much for joining me today so early in the morning. My name is Rumen Yordanov and I will speak about varnish. I have two important notes before the session start: There is no magic pill or universal vcl that will help your website fly BUT I will try to show how to build the integration with Drupal so you can make it. While I am good in coding and people management and I do want to be good in making session so your feedback is important to me. I will really appreciate just contact me after the session and give me some positive feedback or at least by me a beer.
  • I really appreciate taking challenging task as some times development can be very easy/boring with Drupal. One of this tasks is doing performance audits and optimizations over success web sites. I do start development at the time when resource constraints matters and that help me a lot being able to understand the process and finding the right solution.
  • About this session: I will start by explaining some general things about the technology and what are the benefits of using the reverse/proxies or web accelerators and why Varnish stands out from the other. The next important topic that we are going to discuss is how actually varnish decides to cache the content and what are the most used strategies for caching the content in it. Leading us to the interesting parts : Drupal and varnish and how to integrate those great system Thinking out of the box and making some advanced caching. Varnish tools.
  • Security and availability are other benefits that should be consider.
  • Security and availability are other benefits that should be consider.
  • Security and availability are other benefits that should be consider.
  • It is very very fast. It works entirely in memory, there are no disk operations and programmed to take full usage of 64-bit architecture. It is flexible because you can configure and hook into all stages of request process and the configuration can be loaded runtime for most of the changes without the need of service restart. Easy to use because it has all kind of tools that can help you in monitoring and debugging the problems. Very well supported and developed, very stable. Support for ESI includes which give you a possibility to load parts of your page, assemble them at varnish and server them to the user. There is quite good integration within Drupal so you do not need to develop all the support function that are needed for having the two system full integrated.
  • Security and availability are other benefits that should be consider.
  • Showing sample configuration and going through it. Showing the things directly connected to the caching.
  • Varnish acts like a client side cache so the it decides if the object is cacheable or not by the response headers and more specifically by the cache-control header, max-age header is used to set time to live for the object into the cache. Different cache versions are stored based on the client/server headers and most often the cases are connect to the User agent header ( different css for the browsers ), Accept-Encoding, Vary in this case varnish just add them to the hash and you can not control that.
  • Show sample implementation of the cache
  • Show possible VCL. Explain difference in approach between D6 and D7.
  • Show possible VCL. Explain difference in approach between D6 and D7.
  • Show possible VCL. Explain difference in approach between D6 and D7.
  • Show possible VCL. Explain difference in approach between D6 and D7.
  • Show possible VCL. Explain difference in approach between D6 and D7.
  • Should show example if have time.

Какво трябва да знае всеки Drupal новак Какво трябва да знае всеки Drupal новак Presentation Transcript

  • Какво трябва да знаевсеки Друпал новак ? DrupalCamp Sofia 2012
  • Facts about me• Мартин Мартинов (me@mmartinov.com)• Web development since 2004• Работя с Drupal от както се присъединих към Propeople преди 5 години• Drupal Distributions Team leader @ Prp• Повече от 80 сайта, базирани на Drupal• http://drupal.org/user/207484
  • Какво ще правим Какво представлява Drupal Типични Drupal знания и умения Общността около Drupal Как се организира работата с Drupal Няколко начина да накарате Drupal хората да ви харесват
  • Кой използва Drupal?
  • Mr. Obama http://whitehouse.gov/
  • ...някои други сайтчета• 54-th GRAMMYs• The Economist (economist.com)• Twitter (dev.twitter.com)• MTV UK (www.mtv.co.uk)• Warner Brothers records• Sony Music• И много други...
  • Защо?
  • Защото Drupal e...• Гъвкав и приспособим• Дава short time to market• Open Source• Има страхотна общност и екосистема
  • А лошите страни? ”Drupal е бавен.” Трудно е да се научиш да го използваш. ”Drupal e грозен.”
  • Drupal tech knowledge• Кой работи с Drupal? Какво мога да правя аз?• 3-те роли при работата с Drupal:  The site builder  The coder (developer)  The themer• Designer, PM, editor, server guy, etc.
  • Малко друпалски Core Contrib module Theme Node Content type Field
  • Drupal общносттаDrupal is a collaborative project.
  • ... неписани правила• Всеки е добре дошъл• Всеки може да допринася за общото благо• ”Do-ocracy” принцип: Този, който прави повече неща получава повече влияние.• drupal.org/dcoc – ръководство за поведение в света на Drupal
  • Къде е тази общност?• Интернационални DrupalCon• Локални Drupal срещи• Online chats: drupal.org/irc• Forums: groups.drupal.org• Повече идеи на drupal.org/contribute
  • Как се работи за Drupal• Само 2-ма човека правят промени по ядрото• Хиляди пишат код• Доста повече дискутират в issue queues• По-големите промени се координират в отделни ”Инициативи”
  • Contrib• Всеки може да започне sandbox проект• Всеки може да избира co-maintainers за проектите си• Имате нужда от ”Шофьорска книжка” за да направите проекта си от sandbox в ”full project”
  • 5-те начина...… да накарате Drupal хората да ви харесват• Казвайте ”Благодаря”• Грижете се за лесните проблемчета в issue queues• Подобрявайте документацията (drupal.org/documentation)• Помагайте на другите
  • • Посещавайте ”Core office hours” и станете Герой! (drupal.org/node/1242856)
  • Въпроси ?