Showing posts with label book. Show all posts
Showing posts with label book. Show all posts

Saturday, December 09, 2006

XCode Animations - Core Graphics

XCode Animations - Core Graphics:

Ever wanted to be able to use fancy transitions and animations in your Xcode applications? This tutorial provides the method and the means to implement terrific flips and ripples throughout your app, showing window transition effects using both undocumented and documented Objective-C code that can be implemented anywhere quickly and efficiently.


A small, quickly readable eBook that teaches the use of undocumented Core Graphics functionality. This certainly falls in the category of Undocumented Goodness and usage is therefore discouraged. That being said, if you would like to add effects like the ones used in applications like Quicksilver, Virtue Desktops and certain Apple applications I recommend you read this eBook.

Download (zip | pdf)

Friday, December 01, 2006

Ruby on Rails

About 2 weeks ago I started looking into Ruby on Rails. I've programmed using ruby before, and I installed a rails based blog before, but I never used rails to develop something myself. What I've seen so far really makes me think why I didn't start using Ruby on Rails before.

All the tools that come with Rails really make development much more easier than what I've used before. The scripts used to generate models, migrations and controllers from templates take away the need to repeat yourself with the most basic code.

More interesting is the tool called Capistrano. I just started using Capistrano only two weeks ago, but already I'm sold. Gone are the problems of releasing a new version and having a different version online then the one I'm working on. Since using Capistrano releasing websites to the web has become way more organized.

The current setup I'm using for the live server is an apache2 installation with 3 mongrel servers running in a cluster for each Rails application.

I develop the Rails application on my powerbook and test it using mongrel installed using Locomotive. The Rails installation is of course stored in a subversion repository. As soon as I think the current development version is ready for a release (feature complete and the tests show no errors occur) I tell Capistrano to deploy. A few seconds later my new version is online without me ever starting a ftp application. The database tables are updated automatically, files are checked out from subversion and all I have to do is sit and watch. And if somehow my unit tests didn't catch a bug, or something else has gone wrong, I'm back at the old version within 2 seconds. No more troubles with ftp, searching for the files that caused the error.

Because of all the information available on the internet you don't need a book nowadays to start programming a new language or to start learning a new framework. I usually find using Google to find API documentation is much faster then browsing a book. Tutorials on the web are usually more updated and provide useful user feedback in the comments. That's why you won't find much books at my place about programming.

I do buy books on occasion that provide me with information not available on the web. That's why I bought the book Rails Recipes. I read several positive reviews and after reading through the book myself I immediately felt like I would use it for each rails project. The book contains small 'recipes' usually not longer than 2 or 3 pages that provide snippets of code that show how an experienced Rails developer would solve a specific problem.




I own the book for two days now, and already I've learned more from it than from all the tutorials I've read. So if you know Rails already from the tutorials you've ready, but you're looking for more interesting pieces of code to read and use check out Rails Recipes.