"Medium traffic" = able to handle around 50 concurrent users on average.
If you want to handle 100+ concurrent users with the same modest hardware see the Varnish section below.
- 4096 MB memory
- 125GB SSD
- 4 CPUs
- Cpanel
var metalSmith = require('metalsmith'); | |
var myPlugin = function(files, metalsmith, done){ | |
/* | |
files param looks like this | |
{ | |
'path/to/file.html': { | |
// yaml front matter data from md file here (foo and whatever) | |
foo: 'bar', |
/* | |
* Nunjucks + Express | |
* I couldn't find anything that helped me setup the enviornment | |
* correctly for these in the latest vesion of Express 4 (at the time | |
* of writing this). | |
* | |
* This Gist for those that want to keep using Nunjucks with Express 4. | |
* This also goes over working with a Nunjucks environment to use custom | |
* filters, extensions, etc. | |
* |
"Medium traffic" = able to handle around 50 concurrent users on average.
If you want to handle 100+ concurrent users with the same modest hardware see the Varnish section below.
###Jeffrey Way (1) - Bootcamp
Jeffrey went through about 12 subjects one right after the other and gave tips along the way.
1. With Laravel 4.2 it’s easier to use APIs like Mailgun and Mandrill for e-mail notifications. This avoids using SMTP which is really cool.
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* ExpressionEngine - by EllisLab | |
* | |
* @package ExpressionEngine | |
* @author ExpressionEngine Dev Team | |
* @copyright Copyright (c) 2003 - 2011, EllisLab, Inc. | |
* @license http://expressionengine.com/user_guide/license.html | |
* @link http://expressionengine.com |
Here are a few common tasks you might do in your templates, as they would be written in ExpressionEngine vs. Craft CMS.
$ brew install ansible # OSX
$ [sudo] pip install ansible # elsewhere
<div id="payment-errors"> | |
{{ bison:checkout_form_errors }} | |
{{ if missing }} | |
<p>You are missing the following fields.</p> | |
<ul> | |
{{ missing }} | |
<li>The {{ field_label }} field {{ message }}</li> | |
{{ /missing }} | |
</ul> | |
{{ endif }} |