Whats up with Hatim!

life, musings and rants of a Pakistani Software Developer

Working on my Typo Site

Posted by hatim Tue, 03 Apr 2007 06:14:00 GMT

I have been working to extend my typo based website. Firstly after a discussion over the latest features of Typo in #typo channel of irc.freenode.net, I decided to give the SVN trunk a try. I also looked up a decent theme from typo garden to fulfill my needs (until the day I make my own theme)

One thing which I have not been able to work out is an easy way to route the main page of my site to /blog/pages/home..I am now able to route easily to pages within my typo blog using proxy option ([P]) of mod_rewrite.

Following '.htaccess' file is similar to what I have used...

Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteBase /
RewriteRule ^$ http://site.com/path_to_view [P]

 


The result is that I have pages which can be accessed from outside URL, but are still controlled by Typo.

Posted in | no comments |

Reading up on Ruby on Rails

Posted by hatim Thu, 15 Feb 2007 16:59:00 GMT

It's been long since I vowed that one day I will finish up a Ruby on Rails text book (and incorporate it in my personal website). Between my job and watching downloaded tv shows I have been really slacking up on that goal. Not for long as I am planning to finish significat portion of new Agile Web Development with Rails (2nd edition , Dec 2006) by this weekend.

It seems there are tons of books available out there for both Ruby and for RoR, but Agile Development with Rails seems to be the lead book. Fortunately the new edition does cover Rails version 1.2 so I can forget about learning old RoR ways and focus on the latest available stuff. The first chapter points out that this new edition is essentially a whole new book as alot of stuff had to be rewritten.Hopefully this book will let me cover alot of ground, but like any book on a web devlopment platform, it is no where near exhaustive. So it will be a long ride to mastery of rails.

Posted in | no comments |