I\'m having trouble creating an application in Rails. This application has two models, one to represent companies and the other to represent products. Each company sells zero or more products and I\'
I am currently working on my own implementation of a MVC framework. I would like to know how to add language layer to my 开发者_如何学JAVAframework so that it could support multiple languages other th
i\'m wondering how i can manually start execute a controller action of my MVC application. My goal is to integrate the html output of /myController/myAction into another php application (typo3) using
Why default factory WON\'T return full name of the controllers (with namespaces)? I\'m using Service Locator and autofac.
What do you have in your model classes. Generally if i use any framework or any library (Zend Framework) , my classes only have variable which is table name . I know that in complicated applications m
How do I write 开发者_运维问答tests for projects which use establish_connection in model to connect to another database?When you do establish_connection for certain models to connect to a different da
I am preparing an iphone application in which I am using many transition among view controllers. This means that there is one main menu view controller and after i press the necessary box, a modal vie
I just attended an enterprise architecture session at my firm. The architect (astronaut) made a strong statement within the first 10 minute开发者_运维知识库s.
I have the following scheme: My site is a trivia game, so every Question \"hasMany\" Answers, but a Question also \"hasOne\" correct Answer that is also represented by the Answer model.
I\'m looking to write a Ruby script which I can load into the Rails Consol开发者_StackOverflow中文版e which will access data from the models I have created. I created a model called student using the