RSS

Archive for the ‘Web 2.0’ Category

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Advanced Rails

Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more.

O’Reilly Media, Inc. published an intermediate-to-expert Rails book, authored by Brad Ediger:

Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. Advanced Rails pays particular attention to building applications that scale — whether “scale” means handling more users, or working with a bigger and more complex database.

16 Mar 2008

Advanced Rails: Go to the next level with Rails

Author: ceefour | Filed under: Books, News, Plugins, Rails, Reviews, Ruby, Web 2.0

Morph logo

Morph Labs is currently beta-testing their next-generation solution in application deployment, delivery, and management, the Morph Application Platform.

Acquiring hardware and configuring software to support web apps are things of the past. Morph Labs brings you the next-generation solution in application deployment, delivery, and management. Reduce your time to market and lower your startup costs no matter if you are an ISV, a developer or a business.

About Morph Labs

Morph Labs Inc. www.morphexchange.com is a Philippine-based Web 2.0 technology company focused on providing innovative technologies and applications to support Software as a Service (SaaS) globally.

Canadian Web Hosting provides shared, VPS, and dedicated web hosting for Canadian sites. They operate from a 1st Class Colocation facility located at Harbour Center in downtown Vancouver, BC, Canada. The advantage to international (i.e. non-Canadian) hosting services are obvious: they are much faster to access from Canada (with an added bonus that you pay in your native Canadian Dollars currency! ;) Hence, if your customers and/or your business is based on Canada, hosting your Rails site with them might be a perfect fit.

5 Feb 2008

Ruby on Rails Web Hosting for Canadian Sites

Author: ceefour | Filed under: News, Rails, Rails Hosting, Ruby, Web 2.0

RM-Manage is a monitoring product for Rails applications. Their claim:

Building elegant and powerful Rails applications rapidly is important. Ensuring that they perform properly once deployed in production is even more important. A poorly performing or unavailable business-critical application can have a devastating impact on your bottom line, negating the benefits of Rails development.

Rails applications are more than just Rails itself. Databases like MySQL and Oracle, web servers such as Apache, and even the host operating system each affect performance and availability.

25 Jan 2008

RM-Manage: Monitor Your Rails Apps

Author: ceefour | Filed under: Cool, Enterprise, Rails, Tools, Web 2.0

Practical Reporting with Ruby and Rails is a great book for Ruby and Rails developers seeking to create compelling business intelligence and reporting solutions using a wide variety of applications and services. Published by Apress, and the author is David Berube.

Business intelligence and real-time reporting mechanisms play a major role in any of today’s forward-looking business plans. With many of these solutions being moved to the Web, the popular Rails framework and its underlying Ruby language are playing a major role alongside web services in building the reporting solutions of tomorrow.

As easy as:
has_timezone :fields => [ :start_datetime, :end_datetime]
Timezone_fu makes it really easy to deal with datetime fields in your models. It adds a method to your models, has_timezone.

The README for the plugin describes all of the options but below is an example:

class Event < ActiveRecord::Base
    has_timezone :fields => [ :start_datetime, :end_datetime]
end

The model has three fields a start_datetime and end_datetime and a timezone. Adding has_timezone to the model changes the behavior of the two datetime attributes.
Notice below that calling event.start_datetime shows the time in local time (”America/New York”).

21 Jan 2008

Sexy Time Zones in Ruby on Rails with Timezone_Fu

Author: ceefour | Filed under: Cool, Plugins, Rails, Ruby, Tips, Tools, Web 2.0

You know what, I really wanna learn this whole JavaEE-related thingy……

For some reason it’s unavoidable……. it’s bound to be touched by me……

 Ruby on Rails, Java EE, RIA, Adobe Flex, Comet, Messaging, EDA, SOA, …, ouch!!

You see, the trend is going RIA. MVC is going away. AJAX ain’t gonna compete. At least not fully. And will lose in many ways in respect to something like Adobe’s Flex. (Unfortunately there’s not much competitor better than Flex, and fortunately it’d probably be “standard” in the near future). Esp. with Flex going open source. Flex will need a backend, since it’s not a server-side product. There is Flex LiveCycle Data Services ES (what a name!!) by Adobe. There’s also BlazeDS open source. There’s also the excellent WebORB, which is free and open source for Rails and PHP. Oh yeah, it’s free for Rails! :)

The latest entry in Addison-Wesley’s Professional Ruby Series is The Rails Way, by Obie Fernandez, is a long awaited book billing itself as the “expert guide to building Ruby on Rails applications.”

More precisely, the book dives into nearly every area of the Rails libraries and APIs and acts as a reference work for them. Coming in at about 850 pages, the book is physically very similar to The Ruby Way by Hal Fulton. There’s no denying that these two books look good next to each other on the bookshelf, and a lot of comparison can be made between the two.

We’ve been doing a lot of scraping and mashups lately. So we’d love to share on how to do this. Fortunately Schadenfreude has written a good tutorial about using Mechanize and Hpricot to scrape Gmail.

The tutorial uses mechanize and hpricot to login to gmail and return a list of Unread emails.

Installation of required tools

gem install mechanize --include-dependencies

This will install both mechanize and hpricot.

Usage

ActiveScaffold is a plugin for Ruby on Rails (also known as Rails) that provides dynamic model-based view generation. Instead of having to create pages by hand that display your models, ActiveScaffold will introspect your ActiveRecord models and dynamically generate a CRUD (create, read, update, delete) user interface for managing those objects.

Installing ActiveScaffold

As ActiveScaffold is a Rails plugin, you can install it from a remote Web or Subversion server. The command below will check out the ActiveScaffold plugin from the ActiveScaffold Subversion server.

Install the latest version of the plugin:

script/plugin install http://activescaffold.googlecode.com/svn/tags/active_scaffold

Add this to your layout:

1 Jan 2008

Turbocharge Ruby on Rails with ActiveScaffold

Author: ceefour | Filed under: Cool, GUI, Plugins, Rails, Ruby, Tips, Tools, Web 2.0