Ozimodo, Rails based tumblelog, and why its still awesome
One of the coolest small Rails apps is Ozimodo
http://ozimodo.rubyforge.org/ , a Rails based tumblelog
Micro blogging and non-traditional forms of communication are helping to evolve how we’ll be communicating in the future. Its list of contributors is a veritable who’s who in the Rails community.
Here’s an enumeration of aspects that make Ozimodo great in the current context
small urls with Camping
I am happy to announce yet another very small URL generator called
hurl it => http://hurl.it/
In fact its first entry is this very blog post.
There are obvious predecessors and the recent (and very cool) Rails based urlTea which itself I think is inspired by rubyurl
But hurl it is not those things, hurl it is a Camping application. Camping is a Microframework written by why the lucky stiff, a MVC based framework that is a total size of 4K and written in Ruby. Camping applications are small, light weight, and are intended to do one thing really well. hurl it does one thing very well – RESTfully create and serve very small URLs.
hurl it has these attributes
- is a Camping application
- RESTful (index, show, and create verbs) and responds to application/xml
- tunes its use of ActiveRecord for use with the performanced minded MyISAM engine
- developed with Agile practices including full unit and functional tests using Mosquito
- is open source under the MIT License
- has a neat-o base 62 number algorithm using the alphabet of 0-9,A-Z,a-z that would be good to know on an interview
hurl it is meant to be the honey layer in your peanut butter sandwich on wheat bread. hurl it is not the sandwich nor tries to be anything more than really super awesome at representing long URLs as really short URLs.
Things I’ve found helpful during hurl it development
- Evan Weaver Camping Master
- top-secret tuned mysql configurations for rails (EV)
- rv-a-tool-for-luxurious-camping a SysV init.d reference implementation for daemonizing Camping apps (EV)
- Camping, a Microframework (by _why)
- Mosquito Camping test framework (by TF GG)
I wrote a SysV init.d setup for Gentoo based on Evan’s work call RV2
Source
Sasquatch, Inc.
I’m now a company!!!
Yet another programmer becomes a consultant.
Linux, Ruby, and a little Java to make some latte money.
Processing Cellphone MMS Messages With Ruby
Cellphone Multimedia Message Service (MMS) messages that your cellphone sends are really just email formatted text. You can send MMS to other cellphones or to a real email address. I wrote a post about using the Rails receive method in ActionMailer::Base to process email decoding email attachments with ActionMailer::Base receive If you just want to process the mail but don’t need the hook into Rails then just use the TMail class’s parse method directly
mail = TMail::Mail.parse(raw_email)
I’ve been processing MMS emails via TMail recently and have found the cellphone carriers often modify user generated content (text, videos, images) to include advertising for their services.
Posted in Nuby Rails, Ruby, Seattle.rb, web2.0 |
Agile Web Development with Rails (ISBN 0977616630)
I’ve started reading the second edition of Agile Web Development with Rails . I’m going to try something different and append my notes from each chapter to his blog entry as I read them. I bought this book from The Pragmatic Programmers site with the PDF copy of the book. I like having the PDF copies of their books (I currently own the PickAxe book , the Agile Rails book, and the Rail Recipes books) so I can reference them without having to search the internet or crack open my real book for a discussion of a question I might have. |
Posted in Books, Nuby Rails, Rails, web2.0 |
CSS: The Missing Manual (ISBN 0596526873)
After reading Slashdot’s review of “CSS: The Missing Manual” by David Sawyer McFarland, I was interested in learning more about CSS so I picked up a copy.
The book gave me a better understanding about the different structures in CSS but what I really learned was how to properly structure HTML, validate HTML, and how valid HTML will improve search engine results for a page i.e. Seach Engine Optimization. |
I recommend the book for your collection and here are my notes from reading the book …
decoding email attachments with ActionMailer::Base receive
There are lots of references that say you can decode images and other media attachements in email using the receive method of ActionMailer::Base
Ruby On Rails Wiki is one: HowToReceiveEmailsWithActionMailer.
Rails Recipes Recipe #68 “Testing Incoming Mail” is another.
But those references and many others on the internet don’t show you how to really do it.
Here’s how its done …
Posted in Nuby Rails, Rails, web2.0 |