Bottom’s Up

That is a development style that begins with the overall layout and ends with the details or nuances on how the web page works. It is best for visually intensive sites that need a lot of graphics but equally important is the way that visual layout translates to a well developed page. Keeping your pages clean and neat(without sacrificing layout/graphics) can be achieved with some nifty tools that come from many sources on the web. Developer forums allows people like you and me to get real world solutions and even snippets of codes to help us do the most common tasks. Common sense is the basis of such a well developed page for the headaches will surely come if you fail to properly do your page…

Form-Based Web Authentication

One of the most common forms of web page security that aims to keep legit users in and intruders out for no good out. They can come in many forms and types such as the “Remember Me” check box that eliminates repetitive data entry for login information which most web pages use. Secret questions and password strength checks is another way of delivering proper security to the page’s standards.
One issue that is being extremely developed is to prevent denial of service attacks through rapid fire login’s that aim’s to break the security of a page and last is to use third party web authentication security that lets other people handle the dirty work of screening out legit from.

Plug-ins and Rails


Using plug-ins with Ruby on Rails is really not hard. In fact, it is quite easy to use plug-ins because it already has a very well developed plug-in. This means that plug-ins can be easily installed and used in the application. It is not unusual for a developer to use up to six plug-ins for every single Rails application.
Plug-ins are quite helpful because during the process of development, the plug-ins already have the code that you need ready. You won’t even have to write it yourself. This is one reason why developing on Rails is so fast and easy.

Cross-Platform/Browser Compatibility

This means designing your page well enough to not only display but work properly over the several browsers that are out on the web. Many developers fail to consider the subtle differences that web browsers have when it comes to page function. Firefox being the most widely used browser is mostly covered but IE with Microsoft’s branded technology tends to require a bit more to get the ball rolling.
Browsers such as IE7, IE8, Opera, Safari, Firefox, Chrome and some others are the most commonly used browsers so taking time to install copies and review code will go a long way to help your page function flawlessly across borders.

The Garbage Collector

The Garbage Collection feature has been introduced in Ruby recently. Though this useful feature is already available in other programming languages, Ruby made an effort to make it more efficient. Garbage pertains to the memory that has been allocated but not freed even if it is not needed anymore. An automatic mechanism for finding and clearing out the garbage is available in Ruby. It also frees memory in just a snap. The good outcome of this is the reduction of memory leaks. It cleans up the storage space in the memory effectively and avoids a lot of application boo-boos. The garbage collector is automatically tasked of freeing unused objects which makes it a more effective programming language.

Productivity and Rails (1)

Rails can help you achieve a new level of productivity by combining the right elements in the right amounts. A number of the most important ingredients that make up Rails:

• Ruby – use the Ruby programming language and it’s unique design makes it easy to create domain-specific languages and to do metaprogramming. Rails takes full advantage of this.

• Full-stack MVC framework – a framework where Rails provides all the layers and they work together without an effort.

• Convention over configuration – Rails application uses few simple programming conventions that let it figure out everything by way of reflection and discovery.

Ruby and Rails – Parent/Child Relationship II

The number of programmers learning Ruby and Rails is increasing every year and that is a good sign! Some are having a hard time but some are actually having fun!

Ruby is a big help to a programmer to become a better developer by nourishing him with a better understanding on the code he is currently working on. Programming task is much more easier if the developer is quite familiar with the idioms and conventions available in Ruby. Debugging will also be an easy task for the programmer if he is working with Rails language.

Ruby on Rails is a very efficient way of creating and developing successful web applications in a short span of time compared to other programming and development environments.

Ruby and Rails – Parent/Child Relationship I

Have you realized that Ruby and Rails are mostly spoken together knowing the fact that they actually have individual differences and that they can go on without the other? For you information, Ruby is the base foundation of Rails. In other words, Ruby and Rails have this sort of parent-child relationship.

You can easily work with Rails if you have background with Ruby since both have similar conventions. We are not saying that you wouldn’t understand Rails without any knowledge on Ruby. You will save more precious time learning Rails if you are already familiar with Ruby. The code and functionality if Rails will be understood easily if you actually have knowledge on Ruby while studying Rails.

Opening, Saving, Closing,Editing and Running programs in Ruby

In Ruby, you have the choice to use any text editor that is more convenient for you. Ruby provides flexibility on whatever Operating System that is used and can run as a ruby program by just simply giving the filename and mentioning of extension is not required. The file extension .rb might still be needed in other programs.

We need to pass the file for processing and execution to ruby interpreter twice. Once to go for the proper syntax errors and upon receiving the success status second time to execute it. We need to give –c and –w as command line switches to get the checking status for errors and warnings if required Here –c states the checking for syntax errors and –w demonstrates the warnings messages to be sent to programmer .If the execution is done successfully we get the actual result displayed on our computer screens.

The Ruby Language

Ruby is straightforward and easy to learn. Coding for tasks is simple and can be easily maintained. In Ruby programming things work out as you expect them to do, and no surprises will spring on you. It is a transparent language as it does not hide solutions behind syntax you have written and does not need support codes to get simple things done. Programs are expressed directly and elegantly, making coding faster and the programs readable.
It is quite astonishing that when you use Ruby, more codes can be done and it works at the first try. You will see very few syntax errors, no type violations, and far fewer bugs.

Next Page »

Copyright ©Basic Ruby On Rails Programming.