XP on Rails Extreme Programming Blog

29Sep/090

Rails Authlogic + Subdomain_fu Template

The second free Rails startup skeleton written by DevInterface and releases under Rails MIT license is Rails Authlogic + Subdomain_fu Template.

Rails Authlogic + Subdomain_fu Template

This template works as a skeleton for any new Rails application (using Rails 2.3) that aims to provide authentication with subdomain support.

To install and run this template perform following actions:

git clone git://github.com/devinterface/authlogic_subdomain_fu_startup_app.git
cp config/database.yml.example config/database.yml
rake gems:install
rake gems:install RAILS_ENV=test
rake db:migrate

Skeleton Behaviour

This template sets up a working application with support for authentication and subdomain.

Application workflow

  • Guest access a public section of the site (http://localhost:3000)
  • Guest chooses to register new account (http://localhost:3000/account/new), including itself as user, and becomes account’s owner
  • Accounts owner goes to his account (subdomain) url (http://useraccount.localhost:3000/login) and logs into his account
  • Accounts owner can add more users to it’s account (http://useraccount.localhost:3000/users/new)
  • Each created user can log into the account they belong

Skeleton features

Here’s a list of what this template sets up:

Rails

Javascript

  • jQuery as javascript framework instead of prototype

CSS

Testing

Other

Some other useful gems/plugins such as:

29Sep/090

Rails Startup Template

Hi all.

Today I would like to show the first of two free Rails startup applications written by DevInterface.

They are both hosted on GitHub and releases with Rails MIT licese. So feel free to clone/fork/patch them.

Rails Startup Template

This template lets you to create quickly new Rails applications using Rails 2.3. To use it, just specify the -m switch when creating a Rails application:

rails new_app_name -m http://github.com/devinterface/Rails-Startup-App/raw/master/rails_startup.rb

Generated Application

Here’s a list of what this template sets up:

SCM
* git repository

Javascript
* Choice of Prototype or jQuery

CSS
* Blueprint as css framework

Rails
* Choice of Authlogic with or without OpenID support (includes models, controllers and views)

Testing
* BDD testing support using RSpec, Cucumber, and FactoryGirl

Other
Some other useful gems/plugins such as:

20Sep/090

Moving to DevInterface (preview of the near future)

Hi all.

Summer is ending right now and I’ve finally found the time to update my blog with some new posts.

The great news is that I’m going to create my personal company (DevInterface, the final version of the site is not ready right now, just wait a couple of weeks) with other two university classmates.

We all share the same study profile (we are all graduated in information technology) and also a long term friendship.

After many years as employees or independent professionals we would like to establish our own company and start to work for ourselves.

This will be a great challenge for us, due to the difficulties to find great jobs (here in Italy) without being subcontracted by “body rental” companies.

At first, we’ll still mantain our current jobs (we also need to eat :D ) and we are planning to drive DevInterface in our free time until we’ll find as many projects to economically sustain us.

So the first real challenge will be to find customers.

As DevInterface, we’ll work with a large number of technologies that include:

  • Web applications, using Java/J2EE, .NET, Ruby/RubyOnRails, Python/Django/Appengine, PHP
  • mobile applications
  • desktop applications

We agreed to develop using Agile methodologies, using Scrum(development) as management framework and most of eXtreme Programming techniques where possible.

As you’ve seen, we can accomplish customers in a large number of ways. So if you need to start a new project, fell free to contact us (devinterface@gmail.com) or me (stefano.mancini@ymail.com).

This just an introductory post on what you’ll see in the near future in our company blog, so stay tuned!