{"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":"
<\/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