Wednesday, October 24, 2012

Rails 3 problems encountered so far

Working on Rails 3 application with Devise.  The problems that I have encountered thus far or opinions concerning Rails from what I have seen in the entry level context:

-  Database, Controller, and Views outside pre fabricated structures have posed as increasingly difficult with respect to the database object associations (many to one, one to many).  I've for instance managed to easily create controller and views in the path of one to many  (e.g., mapping from users any number of posts isn't so hard), but I've had a difficult time mapping views of the many objects in one fell swoop (e.g., mapping all posts from the set of users...sort of has and hasn't worked for me).  In other words, digging deeper into customization with Rails hasn't appeared as easy beyond the first glances of generate and scaffold commands.  

- Problems with controller to view and route interpretations.  I set a route_to view_path link in a given rails html file and the interpreter seems to think the page makes action call to controller method isn't a redirect to another page handling the call to the actual controller action but seems to think it is the page request handling data passing to the actual controller action.  Alongside the task handling of user sessions verification in Devise with a customized controller function embedded in say something like a Posts controller, management appears neither so quick and easy on the customization end.
  
I'd lastly mention, I don't know as a noob that I am such a fan of controller architecture in the view models...one it seems that queries to database objects themselves could be more independent of the views themselves or why each and every page should have some compartmental controller structure that makes routing for database access so difficult when simpler security layers could be embedded into the framework alternately, and data inquiry could be opened up...tempts me to try and construct my own framework relative to something like this, or at least alternately outside of .net there's Django...

No comments:

Post a Comment

Oblivion

 Between the fascination of an upcoming pandemic ridden college football season, Taylor Swift, and Kim Kardashian, wildfires, crazier weathe...