Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Sculpin 
Chris Tankersley 
NomadPHP November 2014
2 
Who Am I? 
● A PHP Developer for 10 Years 
● Lots of projects no one uses, and a 
few some do 
● https://github.com/dra...
3 
What is Sculpin?
4 
Static Site Generator 
Sculpin is a static site generator written in 
PHP. It converts Markdown files, Twig 
templates ...
5 
In Short... 
Turns a collection of static files into a 
dynamically generated site
6 
Other systems 
● Jekyll 
● Octopress 
● Pelican 
● Phrozen 
● PieCrust
7 
Why? 
● Not everything requires PHP 
● Static sites are quick 
● Lets you use existing tools
8 
The Guts 
● A bit of symfony 
● Embedded Composer 
● React 
● Twig
9 
What's it look like?
10 
index.md
11 
Generate and check
12 
Let's throw in some templates
13 
Create a Twig template
14 
Tell our index.md about it
15 
Generate the site!
16 
Add some posts
17 
Tell Sculpin about the posts
18 
Tell our index.md about them
19 
Create a post
20 
Generate the site
21 
Deployment 
● Copy everything in output_(dev| 
prod) to your live environment 
– FTP, rsync, whatever
22 
More Info 
● https://sculpin.io/ 
● https://github.com/sculpin/sculpin 
● @getsculpin
23 
Thanks! 
● https://joind.in/128006 
● @dragonmantank 
● chris@ctankersley.com
Upcoming SlideShare
Loading in …5
×

Sculpin

515 views

Published on

We can build anything we want with PHP, be it a small little blog for ourselves to a giant world-spanning social media network. There are times though that we do not need all of the dynamic goodness that PHP brings and we just need a site that sits there. Sculpin is a static site generator that leverages the power of PHP and Twig to allow developers to quickly generate flat HTML sites, but completely automate the process of stitching all of that HTML together. We’ll quickly run through getting started with Sculpin and the power that it provides.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Sculpin

  1. 1. Sculpin Chris Tankersley NomadPHP November 2014
  2. 2. 2 Who Am I? ● A PHP Developer for 10 Years ● Lots of projects no one uses, and a few some do ● https://github.com/dragonmantank
  3. 3. 3 What is Sculpin?
  4. 4. 4 Static Site Generator Sculpin is a static site generator written in PHP. It converts Markdown files, Twig templates or standard HTML into a static HTML site that can be easily deployed. @beausimensen
  5. 5. 5 In Short... Turns a collection of static files into a dynamically generated site
  6. 6. 6 Other systems ● Jekyll ● Octopress ● Pelican ● Phrozen ● PieCrust
  7. 7. 7 Why? ● Not everything requires PHP ● Static sites are quick ● Lets you use existing tools
  8. 8. 8 The Guts ● A bit of symfony ● Embedded Composer ● React ● Twig
  9. 9. 9 What's it look like?
  10. 10. 10 index.md
  11. 11. 11 Generate and check
  12. 12. 12 Let's throw in some templates
  13. 13. 13 Create a Twig template
  14. 14. 14 Tell our index.md about it
  15. 15. 15 Generate the site!
  16. 16. 16 Add some posts
  17. 17. 17 Tell Sculpin about the posts
  18. 18. 18 Tell our index.md about them
  19. 19. 19 Create a post
  20. 20. 20 Generate the site
  21. 21. 21 Deployment ● Copy everything in output_(dev| prod) to your live environment – FTP, rsync, whatever
  22. 22. 22 More Info ● https://sculpin.io/ ● https://github.com/sculpin/sculpin ● @getsculpin
  23. 23. 23 Thanks! ● https://joind.in/128006 ● @dragonmantank ● chris@ctankersley.com

×