Archive for the ‘programming’ Category

ActiveScaffold – A Ruby on Rails plugin for dynamic, AJAX CRUD interfaces

Posted on the May 26th, 2007 under programming,Rails Ecommerce Project,Ruby on Rails by

After playing with streamlined, I discovered ActiveScaffold. ActiveScaffold seems to be a bit more fine tuned and ready for production use then streamlined when it comes to restful development. This is just what I was looking for the speed up the dev of the backend admin area. While its not a final solution, it allows you to get things going fast and start coding the core of your app without the need to code all the minor crud features in the beginning. Its worth a look at, try the demo here: http://demo.activescaffold.com/users

ActiveScaffold also allows you to override anything you need, layouts, columns, associations, etc.
It doesn’t get more simple and clean then that.

Main features:

* An AJAXified table interface for creating, updating, and deleting objects
* Automatic handling of ActiveRecord associations
* Sorting, Search and Pagination
* Graceful JavaScript degradation
* RESTful API support (XML/YAML/JSON) baked in
* Sexy CSS styling and theming support
* More extension points than you can shake a stick at
* Guaranteed to work on Firefox 1+, IE 6+ and Safari 2+
* Released under the MIT License, the same one as Rails itself, so you can use it freely in your commercial applications.

Working with edge rails – creating a project from scratch using edge rails

Posted on the May 25th, 2007 under programming,Rails Ecommerce Project,Ruby on Rails by

This has always been something I was thinking of, why caint I create my project initially with edge rails?

There are always minor changes in edge rails that can effect creating your project from using the stable version. Using the way below eliminates that issue by creating your initial project with edge.

mkdir -p new_project/vendor
cd new_project
svn co http://svn.rubyonrails.org/rails/trunk vendor/rails
ruby vendor/rails/railties/bin/rails .

Now you have yourself a fresh project base to start your new edge rails app.

scaffold_resource is now just scaffold in edge rails

Posted on the May 25th, 2007 under programming,Rails Ecommerce Project,Ruby on Rails by

Why I did not notice this earlier is beyond me, however, scaffold_resource is now just scaffold in edge rails. I must have been in a recent change committed.

Scaffold resource used to be the command ( script/generate scaffold_resource modelname) to generate a rest based (restful) scaffold of a model, along with the migration.

Now its just simply scaffold, same commands are available. (script/generate scaffold_resource modelname notes:text, etc)

I couldn’t find the change log in