Played around with some Actionscript the other day. Tried to make some snow falling from the sky. This is what i came up with.
A preview after the break
Played around with some Actionscript the other day. Tried to make some snow falling from the sky. This is what i came up with.
A preview after the break
Sparkup is a great plugin for writing html in `Vim` and `Textmate`. You use a special syntax and hit `ctrl+e` and presto, HTML all over the place.
EDIT:
I just noticed that sparkup wasnt modified for the last year or so. Another attempt on the same syntax is Zen Coding which you can get at http://code.google.com/p/zen-coding/
A while back i needed a password confirmation field for my users. I looked and found this neat little snippet. I cant remember who created it originally so i cant give credits to the person but its quite easy to use. Just add this to your library and create a new validator object like this.
This would be in your form where you want to have password confirmation.
[Mustache](http://github.com/bobthecow/mustache.php) is an awesome template syntax and while I was working on my own implementation, this guy _bob the cow_, beat me to it. It looks great and I’m looking forward to play with it!
Michelangelo van Dam wrote a great post on Zend Frameworks data models. A lot of great pointers on how to create referencemaps between models without using any complex ORMs. The data mapper approach is a lot of work but it gives you a lot of great flexibility in the long run. Take a look at http://www.dragonbe.com/2010/01/zend-framework-data-models.html
I had a problem with some urls including the paramaters from the url because i used the `Zend_View_Helper_Url`. So just a quicktip is, add the third param `$reset` which resets the url. So you would end up with something like this:
From day to day i spend a lot of time installing basic things like wordpress, drupal, zend framework and so on. To make it easier for my self i created some scripts that’ll do exactly that for me. This one will install wordpress in your current directory from a selected source. Ill post the rest of my tools later as they need some tweaking.
http://ryanflorence.com/object-oriented-jquery-with-mootools-pigs-take-flight/ this is pretty fucking awesome! I thing i know what im spending my weekend doing! Brilliant work
Heres a quick tip to get the total number of days in a month in javascript
Awesome article on creating RESTful protocols http://bitworking.org/news/How_to_create_a_REST_Protocol