Rode the RAILS hard!!!

 This has been the most challenging journey I have had to work on so far. I had earlier at the beginning of the rails class taken some of the concepts for granted. for instance, my previous experience in the SINATRA project was supposed to have actually given me an insight into what I was to expect. well, somewhat. The rails project in itself proved a little bit of a monster I had to tame. There were new concepts I had to learn. In the course of doing my project, I did have a little issue as to what project I was going to come up with. I had sort of a freeze. I came up with a model of a library and its readers. the readers will have comments after reading each book. but I jettisoned the idea. I then came up with the idea of a garden of roses; Roses, garden, and comments of the user with regards to the garden. the problem I ran into was the implementation of the has_many through relationship within the application. I finally made a project with a doctor and a patient, with appointments. I settled on it since my has_many through relationship could be implemented. I was very nervous because I settled on the idea rather late within the week and was really afraid I could not conclude the whole application in time. I did!

In Implementing my application for the rails project,, I had to take into cognizance that there was no project of its kind within the curriculum covered. I had to still create a template for the MVC model that I went through in SINATRA. I thought I was done with this, but the model makes sense. I came up with a couple of Controllers to drive the Model and the Views for my project. the most challenging part of my journey was setting up the authentication(sessions) and the Views within the application folder. These relationships as integral sometimes can throw one of due to the mix of the HTML and Ruby code embedded within the code. I had to rely on other sources for material and a source of inspiration as shown in figure 1 model below.

       
     

In conclusion, The Rails project has been an amazing experience into the world of application development for me. The MVC model, I have noticed is actually an integral part of of the application. I have a feeling, going forward, I will meet more of the same but perhaps in a different model. I look forward to my next chapter, Java Script!


Comments

Popular posts from this blog

Blogging!