Cute Detective

Meta: June 22 2009 // Funnies // Comment

Picture 1

Tags: ,

Us @ Carlton vs Lions Triple M

Meta: June 14 2009 // Muffin // Comment

lios

Tags: , ,

Protokol Decal

Meta: June 10 2009 // Design // Comment

dsc_0920dsc_0924

Tags: , ,

My Roland GX24

Meta: June 09 2009 // Technology // Comment

dsc_0918

Tags: , , ,

My Cutter – Roland GX24

Meta: June 08 2009 // Technology // Comment

cmstormscoutsnipermnpctechcom9z9n

Arriving this week sometime!
Wohoo!!

Tags: , , , ,

Hovercat To Base

Meta: June 07 2009 // Funnies // 1 Comment

1244301842942

Tags: ,

WeDecal!

Meta: June 06 2009 // Web Design // Comment

wedecalwedecal2

Site I’m close to completing and releasing.
More news to come soon!

Tags: , ,

New Posts Soon

Meta: June 01 2009 // jotlab // Comment

Sorry guys!
I know i haven’t posted in a while!
But i have been heaps busy with CakePHP stuff and life.
But i post rants and raves over @ socialmediathis.com
New posts, other than twitter spam soon!

Tags:

Unworry

Meta: May 04 2009 // Ideas // Comment

Tags: ,

Excerpt: Why I Use Cakephp

Meta: April 29 2009 // CakePHP // 2 Comments

Awesome comment about why he uses CakePHP @ http://dojo.codegreene.com/?p=148

I’ve been developing for the last 9 years. Since I got into frameworks, I can’t imagine myself one day “digging holes without a shovel”.

Everyone says it’s hard to learn how to use frameworks. The fact is that almost everyone of them don’t know OOP. If they knew, it wouldn’t be hard at all. All you’ve got to do is understand MVC structure and the core functions. Right?

I started in CI, stayed for long enough to know it well. Then took a look at RoR. Man, RoR is really exciting. Then, I came to CakePHP and decided to stay on it, because it is the most complete PHP framework out there. I will wait some more time for the Ruby on Rails to grow up, then go and use it.

CodeIgniter is good, have a lot a core functions, is fast, but you will have to code some code, anyway.

Zend is more of a structure of development than an automatic framework. Its learning curve is really terrible.

Ruby on Rails is not mature enough, I think. One quote that I considere true (cause I’ve been on RoR and saw it), is that if you are on RoR that’s because you’re classy and cares about writing beautiful code.

CakePHP is amazing, all automatic. Its Bake is the developers’ paradise. I made an application up and running in 2 MINUTES!! I also love its ORM system. The only drawback is that it takes 300ms to load even on small systems.

Update:

I agree Boris. After I commented, I saw a misunderstanding in my text. What I mean by immature is related to the business environment today. A few hosts offer support to it. Some clients are willing to still pay for a PHP4-5 hosts, which are cheaper. Most of the time, if you have a robust application, if you make use of a dedicated server using Ruby, it usually will need more hardware (since you’ll need more memory). Here in Brazil, only one well known and trusty hosting server is supporting Ruby. I know it’s that way in a lot of countries out there. I think in a year or 2 it won’t be so anymore.

I think Rails is really exciting. Its core has got mature because of its great community. I have myself made my plans already, I will leave PHP and go to Rails as soon as I can.

Tags:

Feeling Dirty After So Much SQL

Meta: April 28 2009 // CakePHP // Comment

What this does is go through my Apache log in my MySQL DB and calculate unique hits, overall hits, amount of bandwidth used per month, and only for the past 3 months! Making sure each month begins and ends on the first and last day of the month, not using timestamps from the current date! Phew. Brain hurts.

$size = $this->Show->Episode->Log->find('all', array('conditions'=>array('Log.filecode'=>$filecodes,'UNIX_TIMESTAMP(`timestamp`) 
BETWEEN 
UNIX_TIMESTAMP(DATE_FORMAT(LAST_DAY(DATE_SUB(NOW(), INTERVAL 2 MONTH)), \'%Y%m01000000\')) 
AND 
UNIX_TIMESTAMP(DATE_FORMAT(LAST_DAY(NOW()), \'%Y%m%d235959\'))'), 'group'=>array('YEAR(timestamp)', 'MONTH(timestamp)'), 
'fields'=>array('Log.*', 'UNIX_TIMESTAMP(timestamp) as timestamp', 'SUM(Log.size) AS size', 'COUNT(*) as hits', 'COUNT(distinct ip) as uhits'), 'order'=>array('timestamp DESC')));

Tags: ,

Protected: Do Something

Meta: April 25 2009 // Books // Enter your password to view comments

This post is password protected. To view it please enter your password below:


Tags:

Cassettes Won’t Listen – Freeze and Explode

Meta: April 23 2009 // Music // Comment

Tags: , , , , ,

Quick Wallpaper I Made

Meta: April 15 2009 // Doing Now // Comment

voidet

Tags:

Michi Dark Design

Meta: April 15 2009 // Web Design // Comment

michi2

Tags: , ,