dynamic website creation
ΙΕΚ ΑΚΜΗ. - Thessaloniki - 11/12/2014
Drupal web develloper
to use

to be
( Content Management System )
setup a Linux server
with
the CMS and its quirks and its modules and every modules settings
9769 modules
34825 plugins
Drupal 7

DevelopmentSeed.org
index.html
http://mydomain.com/karate
index.html
http://mydomain.com/masters
}
}
index.html
http://mydomain.com
( articles, news )
2014-05-21-articles-entry.md
2014-05-21-news-entry.md
masters-entry.md
kata-entry.md
( kata image, date of birth of master, etc )
---
---
---
layout: post
title: Blogging Like a Hacker
photo: master-itoshu.jpg
date_of_birth: 1870
---
head.html
header.html
footer.html





( template engine )
{% if user.name == 'elvis' %}
Hey Elvis
{% endif %}
{% include any.html %}
{{ product.title }} <!-- Output: Awesome T-Shirt-->
{{ 'sales' | append: '.jpg' }} <!-- Output: sales.jpg -->date - reformat a date (syntax reference)
capitalize - capitalize words in the input sentence
downcase - convert an input string to lowercase
upcase - convert an input string to uppercase
first - get the first element of the passed in array
last - get the last element of the passed in array
join - join elements of the array with certain character between them
sort - sort elements of the array
map - map/collect an array on a given property
size - return the size of an array or string
escape - escape a string
and more
.
├── _config.yml
├── _drafts
| ├── begin-with-the-crazy-ideas.textile
| └── on-simplicity-in-technology.markdown
├── _includes
| ├── head.html
| ├── footer.html
| └── header.html
├── _layouts
| ├── default.html
| └── post.html
├── _posts
| ├── 2007-10-29-why-every-programmer-should-play-nethack.textile
| └── 2009-04-26-barcamp-boston-4-roundup.textile
├── _data
| └── members.yml
├── _site
└── index.html---
layout: default
---
<div class="home">
<h1 class="page-heading">Posts</h1>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>
index.html
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include header.html %}
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>
{% include footer.html %}
</body>
</html>_layouts/default.html
just a new file in the _posts folder
git init
git add .
git commit -m "Master README added"
git remote add origin git@github.com:chrisjacob/grandmaster.git
git push origin master
git checkout -b gh-pages
git rebase master
git push origin gh-pages