Choose Your Theme
Warren Shea

I grow weary….

Thursday, October 25th, 2012 at 12:48 am

…of my Secret Project KB.

There’s just SO MUCH content to create/pour. I knew it’d be a long project but I underestimated my need for perfection and thus, how long I’d spend re-doing something (like photographs) that are 90% perfect.

I’ve only been working on this project since June…5 months (though I took a month break).
In a previous post, I budgeted 2 months. (I often underestimate projects as I too strongly believe in my abilities, especially the one that says I won’t procrastinate).

In that previous post, I also said 1 more month for warrenshea.com and it took 5 more months. Looking back at my posts, warrenshea.com was being on and off worked on for about a year. >_< Though technically decently complicated, I know the reason was that it took a long time to compile the portfolio section and that I really struggled with the writing. Geez. Worldofwarren took no time to set up. Anyways, I'm going to try to continue and finish my Secret Project KB. The key is eternal vigilance: consistently working on it every day, until it's finished. Taking a day break turns into 2 turns into 5. Once Secret Project KB is done, I've decided to take a break from my projects (plan subject to change) and take some time to study/re-learn regular expressions, read that clean code book, get better with jQuery, and learn Backbone and Node JS. These projects I’ve had are too time consuming with very little payoff in terms of learning new things. I need to change it around: quick projects where I learn a lot. How will I do that? I’ll have to think about it ;)

I also want to rewrite some of my code given that I’ve learned new things. I think that’s a really good idea.

I was also thinking about taking my javascript files, turning them into PHP with a JavaScript MIME type, and loading them with a querystring that tells it to minify.
So I would work with a PHP (that renders in Javascript) that’s heavily commented and organized and all that.
But when I load the script, it’ll be something like
<script src=”javascript.php?minify”> and it’ll output the JavaScript file without comments, which I can remove with PHP and regular expressions.

The purpose of this is to serve up a minified, very short (and thus, small) javascript file when used to load the page. However, when editing the file, I can add as many comments as I want. That way, anyone who wants to read/learn the code, can understand it (by going to javascript.php) whilst I still serve up a small file (by loading javascript.php?minify). WIN WIN.

I might do this with my CSS too.

Anyways, that’s what I have in my head. SOUNDS LIKE FUN. And isn’t that the real goal? :)

Leave a Reply