MooTools Development in Dojo Land

June 3, 2009

I am a MooTools JavaScript developer. I love the framework, and in writing MooTools code, I’ve become a better Object-Oriented-Programmer, and a better JavaScript developer. If you follow technology, you know there’s multiple JavaScript frameworks – jQuery being the most popular (IMO), with Dojo Toolkit being the most used in enterprise applications. After having used [...]

Read the full article →

Making Twitter @Username Clickable in Sweetcron

May 31, 2009

I’m a fan of Yongfook‘s work, particularly Sweetcron. What is Sweetcron? To quote Wikipedia: Sweetcron is an open source lifestreaming blog software created by Jon “Yongfook” Cockle based on the CodeIgniter framework. It was originally released on 3 September 2008 and the latest version following on 22 September. Sweetcron is similar to other web applications [...]

Read the full article →

Posting to Twitter Using PHP and cURL

May 27, 2009

This is just the basic code you’ll find EVERYWHERE on the net. In an effort to be more like Scoble I want to start posting in regards to stuff I’m using/finding/reading to make future efforts in reuse easier – delicious only goes so far, in regards to remembering “what did I tag that with?” The [...]

Read the full article →

JavaScript Equivalent of PHP Time() in UNIX Format

April 23, 2009

In PHP you have the time() function to pull the UNIX Timestamp: [code lang="php"] $unix_time = time(); echo $unix_time; [/code] We don’t have an easy-as-pie solution for JavaScript however – instead, we have this function we can use: [code lang="javascript"] function unix_time() { // tada! return parseInt(new Date().getTime().toString().substring(0, 10)); } [/code]

Read the full article →

Stop Caching Old Files – A PHP Function

March 27, 2009

It’s weird that I swear David Walsh follows me around – everytime I have a conversation with someone about something, he writes an article about it – like preventing your css and javascript from being cached. I had come to the same conclusion (from by conversation with Toby) that random querystrings being appended didn’t make [...]

Read the full article →