Posted by Codejoy
Mon, 14 Aug 2006 17:18:00 GMT
First of all, I have never done web programming before, and really never had the inclination. That all has changed with Ruby on Rails. For many reasons, first and foremost is the price of entry. It is relatively easy to get started in RoR and deployment to a webhost isn't to bad. My host is HostingRails.com. They have some sweet deals for free or near free web hosting and very helpful staff. I recomend them a great deal.
Warholit! was my first forray into Ruby on Rails. For the other newbie rails users, I would like to distribute some tips and lessons learned. (this is a lessons learned from warholit, mostly a stupid list of all the gotchas that I ran into while stepping into the Ruby on Rails waters with this project):
- Keep your development machine and webhosc always running at the same version
- Remember on your web host, if your application just doesnt seem to start from the web browser, try from the command prompt of your web host % >script/console
- Something in particular this project: RMagick has two modes Q8 and Q16, if you are doing an operation on your dev machine that looks funky on the web host, double check what version you have of RMagick and find a work around for converting.
- Multiple Applications can run on a single host usually, though you have to do funky stuff. I put this here cause i was never sure if this was true or not, it indeed ist rue and the host should help you to set that up. Typically it invovles haveing one RoR app that contains another ina subdirectory, the routes and perhaps some other stuff make setting this up difficult at times, but well worth it. I am currently running typo, and within that my RoR flickr toy "Warholit"
I would also like to take a moment to state that Typo (what powers this blog) is awesome. It's adminstrative functions are lovely and very web 2.0 :). So I guess my number one tip for those new to Ruby on Rails is first, spend some time developing simple and fun Ruby scripts. Then after that, find a great book that shows you Ruby on Rails, I hear "Ruby for Rails" is a great book (though I learned all my stuff using the "Agile web development with Rails" book (not so bad)). The biggest trouble I had when starting out was learning how to pass arguments from web page to Ruby script and back again. I will release some sourcecode to my warholit app after it has matured a bit more to demonstrate this. (I also found it quite difficult at first to figure out how to use check boxes and option boxes).
All in all I am happy with Ruby on Rails. It is a fun new way to code, and as someone who has always wanted to write web apps makes the barrier to entry very low. My biggest concern was how I was going to coax my webhost into allowing me to host multiple rails applictions (like this typo blog AND my warholit app) but with some help and some knowhow, it was a very doable thing at no extra cost. For those who have always wanted to try Web Development, I think ruby on rails is the way to go, but now I guess I am officially a biased opinion :)
Posted in Rails, Ruby, Hacks, Ruminations | Tags hacks, postmortem, reflection, tips, warholit | 184 comments
Posted by Codejoy
Mon, 07 Aug 2006 23:37:00 GMT
So although warholit isn't up yet, I took some time to spiff up the site, most notably adding my own logo to this here. The wonderful people at
http://www.hostingrails.com are goin to help me to figure out why warholit isn't working. So soon my pretty soon. I would like for any of those who might visit this, and used
the old toy, and saw what
the new one will produce (in my flickr stream), then please tell me if you want the option to do it the old way still!
Posted in Ruminations | Tags logo, thomasonrails, warholit | 5 comments
Posted by Codejoy
Wed, 02 Aug 2006 23:34:00 GMT
Okay, first things first I admit, I am a total rails n00b. It appears my /warholit application's url_for call in the rhtml isn't working correctly, and it might be a rails 1.1.4 issue. I might have luck freezing down to rails 1.1.2 for the warholit application (if this is even possible). And further more I am lovin this theme but need a logo which will inevitably require me to change the color scheme which will be quite an under taking. Oh well, what else am I doing right?
Posted in Ruminations | Tags 1.1.2, 1.1.4, rails, rumination, url_for | 8 comments
Posted in Ruminations | 41 comments
Posted by Codejoy
Sun, 30 Jul 2006 15:50:00 GMT
Welcome to Thomas on Rails! This site will be changing and having links to my flickr toys when those go live (having some server issues). So sit around and enjoy. I want to really beef this site up with themes and lots of cool ruby on rails apps. Soon to be live is
"Warhol it!" my little flickr toy....
Posted in Ruminations | Tags first, post, warholit | 13 comments