The previous post using the yield statement gives us the following output which shows the ease of using blocks in programs which can be used to pass on parameters to the other parts of the same statement. The code from the previous post gives the output: Hi There Hi There Hi There The code between [...]
Author Archives: Ernest
Using thw [] for conditional processing
The process shown below is and example of using the [] to have the program execute a condition that searches the contents of an array till a match is found. It goes from the top to the bottom to check each and every member of the array to look for a match doing the requested [...]
Getting Started and how to open Programs : Part 2
Save the text file with the following filename “first1.rb” and we now go into the syntax checking function and the facility provided to show the syntax check verbosely. The following code shows how code is checked for syntax correctness and returns the result of the said checking by typing the following code : $ ruby [...]
Database manipulation
The database has been initialized, so now we get down to business of defining the fields in that database and include a field that we would call a foreign key which allows the establishment of the one to many relationship between the tables. This part of the process requires quite a bit of background of [...]
Learning the Ruby on Rails framework
Ruby on rails is rapidly becoming a popular tool for developing professionally strong & reliable web applications. It may be the open source nature, or the light nature of the RESTful web services or probably the endless number of features contributed by third party developers. Nevertheless, today, many companies are making millions developing masterpieces on [...]
Building web applications
Ever translated your phrases online, just to impress your chat buddy? It might have looked a lot easier – pasting your query (in your native language) and translating it with just a small click. But take it from me; the applet you have just used has a far more complicated background & history. Though many [...]
From Snails to “Ruby on Rails”
You are probably wondering about the hundreds of successful websites making a mark on the Internet every day. You might ask yourself – “How can some many people learn those complicated technologies all at once” or “How are so many website owners rich enough to hire professional developers”? Well, the secret lies elsewhere; a secret [...]
Why Corporate Geeks Hate Ruby
There is a very huge opposition when it comes to enterprise use for industry which is because of the mere fact that when ruby was created, it took the bad and ugly of the internet and the way it works, add to that lessons learned from industry applications and then coming up with a totally [...]
The significance of graphic design contest when designing your website
Normally, you will notice when a newbie enters a web business, he finds difficult to choose a particular web design. There are many web designs available as a pre designed template. Many web hosting firms do provide you with an option to choose from a range of pre-designed templates and put them on your site, [...]