{"id":17735,"date":"2012-04-18T21:05:10","date_gmt":"2012-04-19T04:05:10","guid":{"rendered":"http:\/\/blog.wapreview.com\/?p=17735"},"modified":"2012-04-18T21:07:56","modified_gmt":"2012-04-19T04:07:56","slug":"discovering-octopress-and-adventures-in-javascript-development","status":"publish","type":"post","link":"https:\/\/wapreview.com\/17735\/","title":{"rendered":"New To Me: Static Site Generators and A JavaScript Blog"},"content":{"rendered":"

\"Adventures<\/a><\/p>\n

I’m working on improving my meager JavaScript skills. One\u00a0useful\u00a0resource I’ve found is\u00a0Adventures in JavaScript Development (rmurphey.com<\/a>. ).\u00a0<\/em>It’s the lively technical and personal blog of JavaScript guru Rebecca Murphey, who writes eloquently on everything from personal experiences and social issues to JavaScript control structures.<\/p>\n

Almost as interesting as the site itself is that it’s built using\u00a0Octopress<\/a>, a new to me, blog aware, static site generator that claims to create a mobile first, “responsive design” layout.<\/p>\n

Unlike traditional blogging platforms, such as WordPress, which generate pages\u00a0dynamically\u00a0from data in a database,\u00a0a static site generator runs on your workstation and creates static HTML pages which it publishes to your web server. Serving static pages is a lot more efficent that dynamically generating them, which should make the site faster and able to handle more users with the same server hardware. Static pages should also be a lot more resistant to exploits and hacking than a complex webapp using a database and server side scripting.<\/p>\n

Octopress is a user friendly framework for Jekyll<\/a>, the static site generator powering Github Pages<\/a>. \u00a0An added benefit of using a static site generator is that you can host your blog for free on Github, Dropbox or anywhere else you can publish file too. Octopress comes with quality documentation<\/a>, tools<\/a> (from Jekyll) for migrating from WordPress and other blog platforms\u00a0and has a sizeable community<\/a> of users.<\/p>\n

I find Octopress\u00a0intriguing\u00a0though I”m not completely sold on the “mobile first” part. The idea of mobile first is that you send a minimal mobile\u00a0friendly\u00a0page with small images by default and then use front end logic to bring down full size images when a big screen is encountered. \u00a0The page weight of the Octopress pages I looked at averaged 300 or 400 KB regardless whether I used a 320 px wide viewport or a 1680 px one. 400 KB is no problem for smartphones and fast cheap data plans but not something you want to send your developing world feature phone readers who are paying by the KB. The good news is that Octopress and Jekyll are open source with an \u00a0active development community, so if there’s something I don’t like I can roll up my\u00a0sleeves\u00a0and change it.<\/p>\n","protected":false},"excerpt":{"rendered":"

I’m working on improving my meager JavaScript skills. One\u00a0useful\u00a0resource I’ve found is\u00a0Adventures in JavaScript Development (rmurphey.com. ).\u00a0It’s the lively technical and personal blog of JavaScript guru Rebecca Murphey, who writes eloquently on everything from personal experiences and social issues to JavaScript control structures. Almost as interesting as the site itself is that it’s built using\u00a0Octopress, a new to me, blog aware, static site generator that claims to create a mobile first, “responsive design” layout. Unlike traditional blogging platforms, such as … Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":16985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[51],"tags":[1359,1358,1356,1361,1360],"_links":{"self":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/17735"}],"collection":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/comments?post=17735"}],"version-history":[{"count":13,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/17735\/revisions"}],"predecessor-version":[{"id":17793,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/17735\/revisions\/17793"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/media\/16985"}],"wp:attachment":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/media?parent=17735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/categories?post=17735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/tags?post=17735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}