3. WordPress is a free and open source blogging tool and a CMS based on PHP
and MySQL. Features include a plug-in architecture and a template system.
WordPress is used by more than 18.9% of the top 10 million websites as of
August 2013. WordPress is the most popular blogging system in use on the
Web, at more than 60 million websites.
It was first released on May 27, 2003, by its founders, Matt Mullenweg and
Mike Little, as a fork of b2/cafelog. As of February 19, 2014, version 3.8 had
been downloaded more than 20 million times.
WORDPRESS
16. Everyone is different
Every client has different needs.
Every team has different tools.
Every project is unique.
It’s very cumbersome to pass a project made
by a developer to another developer.
18. The problems we had
We have a team of 6 developers. That
means lot of different people with very
different coding styles.
We couldn’t move across projects quickly
and be agile and dynamic.
19. We needed conventions
We needed a more structured organization,
a “framework”: always know where to put
files and where to find them.
20. A better workflow
We want to make projects repeatable
and familiar. We like familiar.
21. Style guides, Wikis, Docs
๏ Kind of hard to write
๏ Very easy to forget
๏ Very easy to ignore
We needed something else!
29. Wordless supports
✓ HAML for writing beautiful HTML
✓ SASS for writing concise CSS
✓ CoffeeScript for writing safer JavaScript
30. Your production server will just use PHP,
HTML, CSS and JavaScript. No worries!
Wordless automatically compiles
all these great languages for you.
31. HAML haml.info
A small language which compiles to HTML,
which fundamental principle is:
“Markup should be beautiful”
HAML makes markup templates faster to
write and easier to read.
33. SASS sass-lang.com
An extension of CSS3 which compiles to CSS
and adds nested rules, variables and mixins.
Compass is a SASS framework which adds
many mixins for browser compatibility.
35. CoffeeScript coffeescript.org
A little language that compiles to JavaScript,
which main motto is:
CoffeeScript takes the good parts of it and
makes you write better, safer and faster code.
“It’s just JavaScript!”
36. var fill = function(container, liquid) {
if (container == null){
container = "cup";
}
if (liquid == null){
liquid = "coffee";
}
return "Filling the " + container + " with " + liquid + "...";
};
var result = [], ingredients = ["coffee", "milk", "syrup", "ice"];
for (i=0; i<ingredients.length; i++) {
result.push(fill(ingredients[i]));
}
JavaScript
fill = (container = "cup", liquid = "coffee") ->
"Filling the #{container} with #{liquid}..."
ingredients = ["coffee", "milk", "syrup", "ice"]
result = (fill(elem) for elem in ingredients)
CoffeeScript
37. Compiled CoffeeScript
var elem, fill, ingredients, result;
fill = function(container, liquid) {
if (container == null) {
container = "cup";
}
if (liquid == null) {
liquid = "coffee";
}
return "Filling the " + container + " with " + liquid + "...";
};
ingredients = ["coffee", "milk", "sugar", "ice"];
result = (function() {
var _i, _len, _results;
_results = [];
for (_i = 0, _len = ingredients.length; _i < _len; _i++) {
elem = ingredients[_i];
_results.push(fill(elem));
}
return _results;
})();
44. To install, test and implement
a computer system or application.
DEPLOY
/dɪˈplɔɪ/
45. ✓ 46% freelancer
✓ 78% uses FTP for deploying
✓ 76% worked live on production
✓ No common approach for database
via Smashing Magazine | http://bit.ly/1atrWRp
WordPress usage
63. Good to know!
✓ DB serialized arrays translation (cForms anyone?)
✓ DB deploy over FTP? Yes, we can!
✓ Invoke wordmove from anywhere in your project tree
64. WORDMOVE
✓ Fully automated, only one command to deploy
✓ Frequent and fast deploy... on multiple environments
✓ Push and pull operations
✓ If it doesn’t work, than fix it!