Ruby - Hidden Open Source WEB CMS Player

railfrogOpen source content management systems are all over the internet with a majority of these pages in PHP with Perl and Java on some and a tiny bit in Rails. There is a continuing debate over the power of Rails and PHP, with php being the one adapted early by most of the web developers, rails was indeed left on the sidelines, picking up areas that PHP deemed too have a small market and thus less profitable. Mephisto for example is described as one of the less known blog engines that integrates some CMS concepts has a surprisingly powerful templating system with an aggressive caching scheme that other platforms lack or suck at. Continue Reading »

Ruby - Too Much Diversity

ulitzerThe many companies who use Rails as their platform are muddling up the overall image of the platform which may be the main reason why it fails to go into mainstream web development. There are tons of variants and combination of the less than popular yet powerful tool which seems to be on a less than unified voice, compared to that of PHP which has a solid grip on the world and the web as a whole. Most of the pages we see on the internet are based on PHP with some dedicated yet promising ones on Rails, like the new and improved Ulitzer, which is set to become the premiere viral web advertising site of the whole web. That remains to be seen yet rails is simply too powerful enough and diverse which keeps it relevant in today’s unsecured web. Continue Reading »

Rails 2.3 Finally!!

railscreenshotThe much awaited upgrade to the much loved yet seemingly less loved Roby gets a full update with the full release of Rails 2.3 loaded with many updates and improvements to the rising underdog of the open-sourced world. Top features includes more built-in templates, making implementation of stripped down rails applications onto a skeleton framework easier, loaded with your default gem stacks, configuration settings and much much more. Nested forms have also become easier with improved built in handling allowing complex forms to be included easy as pie. Reusable application pieces in the engine completes the whole picture which allows developers and programmers to use, reuse and recycle working modules, easily including them into their current projects. Continue Reading »

Tips for Ruby and Rails programming

1. Be up to date
Try to be a part of the online communities that discuss Ruby and Rails programming so you can be updated on the latest developments in resources, updates, fixes, reviews that you can find online. This robust and constantly moving community is one of the best features of open source technology like Ruby and Rails, so use it and learn new things from it.

2. Utilize plug-ins.
Scratching you head and looking for the right code? Fear not. sites like the Rails Plug-in Directory and Core Rails feature plug-ins that do all the work for you. Many other like-minded sites exist online, it up to you to find them. Such power at your fingertips is one of the many benefits of using open source technology like Ruby and Rails.

New Bamboo’s - Panda streaming video heaven

pandaThe newly developed Panda from New Bamboo which is based on RoR os hoped to be the solution for video problems developers would rather not tackle die to huge demands on server resources and amount of bandwidth consumed. The software allows ease of integration, uploading and conversion to the many web formats we all love to use. The several formats of video that are required by the billions if internet users who need to use, upload and send streaming video is more streamlined than previous systems allowing seamless integration and being based on RoR, it is another plus for the platform which has maintained it small piece of the platform market. Continue Reading »

Ruby and Merb combines to form Rails 3

For a long time, Ruby on Rails and Merb has been on opposite sides of the programmer’s planet. However, a development has been sighted and the two will now merge and become: Rails 3.

We all realized that working together for a common good would be much more productive than duplicating things on each side of the fence. Merb and Rails already share so much in terms of design and sensibility that joining forces seemed like the obvious way to go. All we needed was to sit down for a chat and hash it out, so we did just that.

What this will mean in practice is that the Merb team is putting their efforts into bringing all of the key Merb ideas into Rails 3. Yehuda Katz will outright join the Rails core team, Matt Aimonetti will work on a new evangelism team, and Carl Lerche and Daniel Neighman (hassox) will be co-starring the effort to bring all this over. We’ve immortalized the merge with plaque page at rubyonrails.org/merb.

Always give peace a chance, I say.

Source

Email on Rails

Image Source: joeydevilla.com

This is a guide on how to send message from your email using Ruby on Rails. First thing to do is to create a mailer for you to use in your application.

  • Open the command prompt window or your terminal
  • Run “./script/generate mailer MyMailer” from your Rails application home directory

Then you will have to configure the mailer. To be able to do this you should;

In your text editor, open config/environment.rb
Then add this script in the file’s bottom part

config.action_mailer.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “smtp.example.com”,
:port => 25,
:user_name => “username”,
:password => “password”,
:authentication => :plain
}

Rake like Make

Image Source: blogs.sun.com

Rake is a utility which is the same with Make in Unix. Rake is the Make of ruby or the Ruby Make. Luckily, Rails defines many tasks to help you. Some of the important commands which are supported by Ruby’s rake is

listed below;

  • rake db:fixtures:load - Load fixtures into the current environment’s database.
  • rake db:migrate - Migrate the database through scripts in db/migrate.
  • rake db:schema:dump - Create a db/schema.rb file that can be used against any DB.
  • rake db:schema:load - Load a schema.rb file into the database.
  • rake db:sessions:clear - Clear the sessions table.
  • rake db:sessions:create - Creates a sessions table for use with
    “CGI::Session::ActiveRecordStore”.
  • rake db:structure:dump - Dump the database structure to an SQL file.
  • rake db:test:clone - Recreate the test database from the current environment’s database.
  • rake db:test:clone_structure - Recreate the test databases from the development structure.
  • rake db:test:prepare - Prepare the test database and load the schema.
  • rake db:test:purge - Empty the test database.
  • rake doc:app -Build the app HTML Files.
  • rake doc:clobber_app - Remove rdoc products.
  • rake doc:clobber_plugins - Remove plugin documentation.
  • rake doc:clobber_rails - Remove rdoc products.
  • rake doc:plugins - Generate documation for all installed plugins.

What’s Up, Ruby?

Image Source: eclips3media.com

The past few years, open source software and technologies have taken stake of web development and web application development. The Ruby on Rails hype in IT industry have seen the increase in performance and scalability problems. Ruby on Rails , is a framework for web application. Ruby on Rails development India offers Ruby on Rails offshore outsourcing web development and is based on open source web platform, LAMP. Ruby is object oriented programming language. Rails is a well stack, comprehensive open source framework for developing database, dynamic websites using MVC methods.
The Rail web development environment helps you develop complete, simple web application with rich functionality and interactivity. Ruby on Rails is well suited for e-commerce development, content management and online social communities.

First Steps through Ruby on Rails


Image Source:www.flickr.com

Classes, attributes, methods, and objects are the core of any Object-Oriented language. I am going to discuss how these classes, attributes, methods etc can be implemented in Ruby. There are two types of classes ‘close-ended’ and ‘open-ended’. If a class is close-ended, then new functionalities cannot be added to it without inheriting the class.
If a class is open-ended, then new functionalities can be added to it without inheriting it. Ruby is open-ended.
The class declared and defined just now is an empty class as it doesn’t contain any attributes or methods. You will notice that the procedure to define methods in ruby is very simple. def is the keyword used to define methods.
In ruby we don`t use brackets to define a set of code and we don`t use any semicolon at the end of the statements.

Next Page »

Bad Behavior has blocked 18 access attempts in the last 7 days.