Monday, April 14th, 2008
I’m in the process of building and theming the brand new bitbythebeautybug.com for Sara. Not only is she excited, but I’m elated to be working with the newest of the new in WordPress “technology”. It’s a strange leap from all the WP installs I’ve dealt with previously, but you can tell they’ve dropped a metric ton of work into making it the most secure (as it possibly can be) and usable blogging platform out there.
The first thing we did to get this ball rolling was to find a designer that truly “got” Sara’s vision for her brand. Luckily we were able to retain the services of a wonderful designer named Erika. I really liked the work she did for the RailsEnvy guys and figured I would give it a shot to see if she would be available for some design work. Turns out she had some space in her (I’m sure) busy calendar and whipped up some designs for us. Design – complete. Much thanks to Miss Greco!
On my end, the development work so far, other than slicing images, has consisted of a few tasks.
It goes without saying – I’m far from finished, but in the initial sprint to build out this site these are the pieces I managed to take note of. All in all though, WordPress 2.5 has been nothing short of a revelation in terms of where it came from, and where it’s going to. Huge props go to Happy Cog for the work they put into the new WP dashboard. It just feels so right.
Tags: development, plugins, sara, wordpress
Posted in Site Work, Web Development, Work | No Comments »
Tuesday, February 26th, 2008
Over at Thredded I am still using Rails 1.2.3 (I’m a little gun-shy to upgrade to 2.0) and, of course, felt that slugged links were necessary for both search engine optimization and making things like assessing site analytics a little easier. It doesn’t even need justification as it’s a matter of fact and necessity for any and all social platforms – blogging, forums, etc. With RoR 1.2.3 the best way to get your links slugging it out was to incorporate a plugin like acts_as_sluggable. It works like a charm, really, and I’ve never had any case where I needed extra functionality.
… Until now. I’ve started incorporating some auto-updating magic to Thredded and needed to grab a lot of data back from an AJAX call (sorry Steve – XHR) in the form of JSON. All well and good so far. But, when new links needed to be built on the client side, I didn’t have my handy built-in Rails ActiveRecord overrides to spit out my new slugged-up link! What to do?!
I dug through the plugin source and found the function that built the url’s slug -
def make_slug(string)
string.to_s.downcase.gsub(/[^a-z0-9]+/, '-').gsub(/-+$/, '').gsub(/^-+$/, '')
end
… And thought the quickest solution was just to rewrite it as a simple JS function.
function slug(id, title)
{
title = title.toLowerCase().replace(/[^a-z0-9]+/g,'-').replace(/-+$/g,'').replace(/^-+$/g,'');
return(id+'-'+title);
}
Tags: javascript, rails, ruby, seo
Posted in Misc, Site Work, Web Development, Work | No Comments »
Monday, February 4th, 2008
Has it really been (well over) a year since I last posted a single thing on this weblog? It goes without saying that that is a crying shame. Woefully neglected is too soft a phrase to use when it comes to signifying how little I’ve done with joeloliveira.com in the past year and a half. This site turned into an abandoned wasteland – deserted and stagnant.
Why? It borders on cliche, and could probably be filed within the “cop out” category, but for me it begins and ends with my not having the energy or motivation to write for my own website when I got home from work. I probably could have written a paragraph or two while from work, but never felt that was fair to my employers. What about those hours outside of work? Surely there are moments I could steal past 5 or 6ish to write something? Absolutely! But then the question still remains -
What to write about? There are numerous topics I ponder in the course of a day but for months – no one single target subject. I’ve usually just posted whatever events I’ve attended, fun nights out with friends, stupid miscellanea found on the internet – nothing of consequence for the majority of folks on the internet. To my friends and family – of course I know it’s interesting to YOU, but to communicate over the internet in such a blanket manner feels a bit too detached.
What now? Well things have changed – drastically! A little over a month ago I left my job at Molecular, an internet consultancy. The company I’ve left to work for is a very small and fledgling little operation – my own company. After months of preparation, nerve-wracked second guessing and laying groundwork with hopes I could pull this off I actually did it. As difficult as it was to leave such a great group of people at Molecular and all the opportunity they’ve allowed me in the past three years I decided that it was the right time to make this next big step.
So far, so good. I’m excited. I am already engaged with a local ad agency helping them with a handful of their (immense) interactive clients. This site is going to evolve into my portfolio for anyone looking for a resource to bang out nice, clean, rich interfaces with XHTML, CSS, javascript, and other interesting and challenging web-based technologies.
To give you an idea as to what types of things I’m involved with – The past year and change I’ve actually been encouraging and helping Sara with her own weblog. Have I not told you about it yet? For shame! Go visit and take a look at the wonderful work she’s been doing. In addition to playing occasional tech-support and copy editor for Sara I’ve been putting in most spare hours working on my own project(s). Instead of writing about it – I’ve been trying to DO it. Think it’s difficult to post on a blog every day? Try doing it when you’re attempting to master new tools in addition to supporting the users who are helping drive your new project. It’s not easy.
The ultimate end-game will be to afford myself the time to work on those few previously mentioned projects that have grown over the past few years to something I’m hoping could blossom into something beyond “pet project” status. Once I’m a little more comfortable with their status I will post announcements here.
In the meantime, this site will very occasionally feature commentary on the things I find interesting about what’s going on in my industry, maybe some personal anecdotes, and hopefully some useful original content. Let’s just hope it’s not another 16 or 17 months until I write another post.
Tags: business, life, website, Work
Posted in Misc, Site Work, Work | 1 Comment »