Category Archives: Programming Language

Back to Basics

Now, for those who do not have any idea what we are doing as of now, better begin again from the start. The term “Easy to Learn” doesn’t mean that you get all the stuff into your head in a couple of minutes. While it is true that there are several claims of getting you [...]

Also posted in Development, Programming Basics | Comments closed

Getting started

Ruby on rails can be downloaded from many sources over the internet like from http://api.rubyonrails.org/ where there are also instructions on how to quickly install and start programming. The first lessons would be the forever basic “Hello World” program which is very easy if you get set-up right. For a more automated installation you could [...]

Also posted in Development, Programming Basics | Tagged , , | Comments closed

Building Projects

Once you have successfully installed and tried that the install was a success through the Hello World program. You now begin building projects with the following syntax : “rails ProjectName”. You then start the WeBrick webserver with “cd ProjectName enter ./script/server”. The above procedures invoke the interpreter which may be required on some platforms as [...]

Also posted in Development, Internet, Programming Basics | Comments closed

Weak points…. or are they?

Before we jump into the programming itself, let us learn some of the so-called weak points that you might be able to consider and improve on ( or even share) with others out there to make the platform a better one. First is speed, the information that I might have come upon may be a [...]

Also posted in Development, Internet | Tagged , , | Comments closed

Blocks for Transactions Discussed (Part 1)

The sample code above shows the number of techniques that can be used to maximize the use of blocks for transactional control where the takeAndDosomething method is considered a class method and that it can be called independent or without influence of any single File Object. We used it to function in the same manner [...]

Also posted in Development, Programming Basics | Tagged , | Comments closed

Engine Yard takes Over Old Ruby

Older versions of Ruby and Ruby on rails have been wondering what would happen to them as newer and improved versions and flavors of the much loved yet less used open-source platform, and they got an answer form Engine Yard who has announced it will be taking over the responsibilities of maintaining the older release [...]

Also posted in Development, General Info | Comments closed

Merb and RoR Combines for Growth with Rails 3.0

Old news as it may be, the already powerful language that is Ruby on Rails is set to get a very much needed boost with their partnership with Merb. Why all the interest in so a discreet language? Well Twitter is one example which is based on RoR and as we can see, has swept [...]

Also posted in General Info | Comments closed

Ruby On Rails: Less Codes and Zero Turnaround Time

Image source:www.flickr.com Following the simple Rails programming gathering does more than just eradicate the need for configuration files. It also means that Rails can routinely handle myriad lower-level details without you having to tell it to do so. This means that you write fewer lines of code to implement your application. Keeping your code small [...]

Also posted in Development, Features, General Info, Internet, Programming Basics, Protocol, Tutorials, Uncategorized | Comments closed

Blocks for Transactions

Blocks or chunks of code that can be used for transactional control which in our example would have it open a file, process it then make sure that same file is closed after processing before exiting the code. There is an automatic function that ensures this and we will discuss it further in the following [...]

Also posted in Development, Programming Basics | Tagged , | Comments closed

Blocks and Iterators (Part 2)

Anytime the “yield” statement is called upon it calls on the chunk of code within the block executing it returning control to where the yield statement was called continuing on its way till the process is finished. That’s where the magic of Ruby is, that a block can be made to function like a method [...]

Also posted in Development, Programming Basics | Tagged , | Comments closed