skip to content

DerekAllard.com : CodeIgniter, ExpressionEngine, and the World of Web Design

Writing personal content, and other assorted thoughts

March 22nd, 2007

This is one of those “a little bit of everything posts”.  I’m re-writing my business site, building an ExpressionEngine tutorial and impressed by beautiful javascript, and I’m too sexy for my shirt (so sexy it hurts).  Let’s tackle these in order shall we?

So I’m rebuilding my business website (no links right now, but its not exactly a secret URL).  Through a series of unfortunate events (that would seem much funnier if they had happened to someone else) I lost every non-textual asset from my site 3 months ago.  Every image, pdf, a few flash files… gone.  Backups you say?  Of course I had backups… and I can prove it.  I’ll just get them out… I know they’re around here somewhere… maybe in this directory… no, well I know they must be… hmmm… Found them!  And you doubted me?  Oh wait, it seems this backup (and all my backups) have images from my site from 2 generations ago!  Sigh… so now, only html pages, which means text and styles intact only. 

So I took it as an excuse to rebuild, but then I got sidetracked when I was hired by Ellislab, and other work picked up, and I started getting really active bug squashing in CodeIgniter and well, you know how these things go.  So I finally finished off the design, rebuilt the site using CI on my test server, and now all I have to do is drop in the content.  The problem is of course, that the only content I have right now is probably 4 years old, and I’m not happy with what I wrote.  So I’m off to re-write it now.

Let me just say that writing content for a website is hard work.  No wonder getting clients to hand it over is always such a struggle.  And writing for your own website is twice as hard.  On top of all the normal “extra things to think about” when writing for the web (be brief, summarize, use headings and bullets) when you’re writing your own content you have to walk that fine line between “promote yourself” and “I’m a self aggrandizing attention whore”.  Its a finer line then you’d think at first.

When I finish that up, the next project for me is to write a quick ExpressionEngine tutorial to demonstrate how to use Dreamweaver and/or other editors to create templates with.  In all honesty, I didn’t even know this was possible until a conversation I had with Rick, Les, Paul and Derek when I was down at South by Southwest.  Punchline, export your templates to files then interact with them via FTP as you’d do outside a CMS.  Seems so obvious now that I think of it, but I only every really thought of saving templates to file for the purposes of backups or quick moves.

<change_of_topic type="abrupt" />

I notice today google-code-prettify, a small javascript library released under the Apache open source license.  Looks very nice, its a small unobtrusive script that looks though your code for class="prettyprint”, and then colour-codes up your code.  It looks like it was intended for SQL, HTML, XML, CSS, and Javascript, but reports that it works well on other similar syntaxed languages, such as PHP and Ruby. I know there are other nice libraries out there that do similar things, but this is notable because of its license, its adherance to unobtrusive principals, it works on all modern browsers, and its easy to implement.  Nice to see another strong alternative out there.

<change_of_topic type="abrupt" />

Finally, with all due respect to Right Said Fred, I pulled this out of my closet this morning.
EllisLab shirt front EllisLab shirt back

This entry was made on March 22nd, 2007 @ 12:45 and filed into , , , .

Comments

Gilles wrote on March 22nd, 2007 @ 18:28

Nice “a little bit of everything” post ;)

I can’t wait to read your next tutorial about how to use Dreamweaver to create EE templates! I use Dreamweaver too on my Windows XP station. I also use VIM a lot for some specific coding stuff (Ruby/Python) and would love to use TextMate.

Nice to know that the next version of your business website will be powered by CI! Let us know when it will be online ;)

Derek, Derek, Derek… I’m jealous! I want the same t-shirt! I want the same one! I really love it! Soft, Professional and Sexy like hell! (I talk about the t-shirt, of course). EllisLab should open a goodies store for fans :)

Yannick wrote on March 22nd, 2007 @ 22:06

That’s a pretty nice shirt Derek and I too am looking forward to seeing the redesign of your business website.

Matthew Pennell wrote on March 23rd, 2007 @ 5:21

Yeah - where can we buy the EllisLab shirts, as I missed out on picking one up last week?

Derek wrote on March 23rd, 2007 @ 7:31

Matt, you missed getting one?  How, you were at SxSW.  I tell you what you 3, I’ll see if we still have any sitting around… but they were pretty hot commodities you know ;)

@Gilles: I’m aiming for the tutorial in the next few weeks, and I’m also hoping to do one for the file upload library in CodeIgniter.

Oh man… I’ve got so much to do.  I also wanted to write an article on PHP frameworks for a very prestigious web magazine… where’s my time!

Thank god my new Macbook is pretty much glued to my side these days.

Matthew Pennell wrote on March 23rd, 2007 @ 9:50

That upload library link is borked - and more importantly (as I discovered last night when working on my current project) you can’t find the file upload page very easily in the CI User Guide.

Derek wrote on March 23rd, 2007 @ 10:52

D’oh!

Fixed, and thanks Matthew.  Yeah, “file upload” isn’t as helpful as “upload”.  I’ll see about getting that changed.  Good point.

Wonder Monkey wrote on March 26th, 2007 @ 23:54

Hey Derek, can you ask the pMachine EllisLab peeps to add that prettify stuff to the EE template edit part of the CP? I mean, if you had that (and maybe the ability to tab to align code), why would you need/want to edit templates in Dreamweaver?

Post a Comment

Sorry, comments are automatically closed after 45 days, or sooner if one entry gets targetted by spammers. Why not contact me directly?