David Golding



New to Lithium: Part 1

By David Golding | Print This Post Print This Post

I enjoy writing prose more than writing code, though I must say that the two writing environments seem to reinforce each other. I come to understand complexity by distilling it to its most basic logic, and putting programming concepts into prose serves to sharpen my coding skills. So as an exercise in bringing together code and prose, I’ve put together a draft of a tutorial for newcomers to the Lithium framework.

The tutorial is available as “New to Lithium” and is the first installment in what I hope can be a series of articles working with Lithium at the most basic levels through more moderate and advanced concepts. Be advised that this is only a draft. I’m making it available in the hopes that it generates feedback and serves the Lithium community in some constructive way. Feel free to provide critical feedback in the comments here or shoot me a line on Scribd where the document is currently published.

Read the first part of “New to Lithium” on Scribd

Download PDF Version


Comments

5 Responses to “New to Lithium: Part 1”

Michael

Aug 12th, 2011, 3:42 am

Hey David,

nice document! How do you typeset/write documents like this?

I’m particularily interested in how you’ve done the syntax highlighting part in the pdf :)

Regards,
Michael

David Golding

Aug 12th, 2011, 11:16 am

I used Apple’s Pages to format everything. I created a paragraph style for the code blocks that has a background fill of dark gray then I set character styles for the various semantic pieces of the code, so a different color for function names, a different one for strings, a different one for variables. Then I have the enjoyable task of applying the character style to each instance of code type… It’s tedious but very helpful for beginners to see what’s going on.

Hannes

Sep 6th, 2011, 3:47 am

Hi,

it would be great if you could offer this nice writeup as PDF for Download.
On Scribd you can download it only if you have a Facebook account and I dont want to create one only for this nice writeup.

But thank you for your article!

Best regard from Berlin,

Hannes

David Golding

Sep 6th, 2011, 10:24 am

Hannes: I’ve added a link to the PDF in the original post.

Cosmin Stefaniga

Jan 6th, 2012, 1:52 am

Thanks for the document, it helped me get started with Lithium.

Maybe you can do one about globalization, I’m trying to get my head around it in Lithium, the wiki didn’t help me as much as I hoped.

Best regards from Romania,
Cosmin



Submit Comment


Beginning CakePHP: From Novice to Professional by David Golding

Other Blogs

David Golding

A blog about CakePHP, web design, and grad studies in religion. © 2008, D. Golding