ruby/rails from scratch

Sunday, May 25, 2008

Aquamacs 1.4 RC1 (Emacs for Mac OS X)

New release with Tabs (Command+T), "Frame Styles" on be default, full screen edit, persistant *scratch* buffer", Multi-lingual CocoAspell support, search on this Mac via Spotlight, and more.

Links:
Rails On Emacs

Wednesday, May 14, 2008

Git for OS X Installer

Leopard only, Intel or PPC. See: git-osx-installer @ Google Code. Plus, OpenInGitGui allows you to add an icon to your finder, which will open Git-Gui for
the current folder.

Sunday, May 11, 2008

NetBeans IDE 6.1 with Glassfish and MySQL Bundle

Recently released, a bundle of NetBeans IDE 6.1 with Glassfish V2 Update 2 and MySQL Community Server, for Windows, Linux, Mac OS X 10.4, Mac OS X 10.5, Solaris SPARC and Solaris x86.

Links:
Jruby (bundled with NetBeans)

Thursday, May 08, 2008

Links #1

Tutorials
- [Rails] Rapid Rails (a series of articles containing succinct tips to increase your productivity when working with Ruby on Rails, multipart)

- [REST] Beginners Tutorial: Routing in Rails 2.0 (with REST) (a series for beginners wanting to learn about routing in Rails 2.0.)

- [REST] Seeing Rails Resources Clearly (let your named routes guide you)

- [Merb] Slapp (gently introducing the major components of the Merb micro-framework by building a simple chat wall style application)

Howtos
- [Ubuntu] Ubuntu 8.04 Rails Server Using Passenger (setting up a Ubuntu 8.04 server guide, multipart)

Gems and Plugins
- [Databases] Introducing the "uses_connection" Rails plugin (lets you specify which database connection to use on a per-model basis)

- [Patern] Rails endless page plugin

- [Generator] Stage (a code template generator that utilizes helpers as presenters to reduce ruby code used in views)

- [Generator] Rails Layout Extension (simplifying content_for usage)

IDE
- [TextMate] TextMate Ruby Bundle (a look at the Ruby bundle by its maintainer, James Edward Gray II)

Tuesday, May 06, 2008

CommunityEngine, an open source Rails social networking plugin

MissingMethod is releasing CommunityEngine, an open source Rails social networking plugin that you be dropped into new or existing applications, instantly enabling all the features of a basic community site. Features include: Authentication (sign up, log in), User profiles, User search, Blogs with tagging, categories and rich text editing, Photo uploading and tagging, “Clippings” - visual bookmarks, Commenting and comment notification by e-mail (Blogs, profiles, photos, and clippings can be commented)
Forums, Friendships and activity feeds, Favoring of clippings and blog posts, and more.

Rails in the real world

"I think Rails is a big part of the problem. Rails is clearly created by a company that will never distribute its software, and the Rails philosophy is again almost pathologically opposed to the idea of turning your software into a package. Imagine trying to make a Rails project LSB compliant -- your database.yaml file would need to be in /etc, your log directory would need to be in /var, and your actual code would need to be in /usr. There went all of your fancy Rails "convention over configuration", and you're suddenly fighting Rails instead of using it, and everyone you ask for help just tells you to "put it in vendor"."

[source: Luke Kanies]

Monday, May 05, 2008

Passenger (mod_rails) in the real world

"Passenger has clearly targeted the shared host market, where hosts have a large memory footprint and a large number of applications. The same strategy doesn’t work quite as well for a small VPS memory footprint and a single application root, where it would make sense to keep an instance in memory at all times (and clean it up and respawn it, perhaps, on occasion if an idle timeout is reached)."

[source: Nick Plante]