controllers
SQL Alchemy MVC and cross controller joins
When using SQL Alchemy for abstracting your data access layer and using controllers as the way to access objects from that abstraction layer, how should joins be handled?[详细]
2023-01-01 05:49 分类:问答Codeigniter only loads the default controller
I\'m writing some software at the moment and using CI for the first time with it. The default controller is set to the first controller I want to action call \'login\' (the controller is login.php, t[详细]
2022-12-31 00:08 分类:问答Cakephp Request data from other controller
Is it possible to request data from an other controller in cakePHP? For example, i created 2 folders in pages called search and update (both with a index.ctp) and a controller and model in the correc[详细]
2022-12-30 19:51 分类:问答Magento: How do I get observers to work in an external script?
As far as I can tell, when a script is run outside of Magento, observers are not invoked when an event is fired.Why?How do I fix it?[详细]
2022-12-30 04:19 分类:问答First Call to a Controller, Constant is defined, Second call, "uninitialized constant Oauth"?
I am trying to get the OAuth gem to work with Rails 3 and I\'m running into this weird problem... (independent of the gem, I think I\'ve run into this once before)[详细]
2022-12-29 10:45 分类:问答Problem passing parameters in asp.net mvc2
I have the following controller: public ActionResult Search(string Name, int? Friend, int? Page) It works if I use this url localhost/users/search/name but 开发者_开发知识库these don\'t localhost/us[详细]
2022-12-25 04:40 分类:问答Initialization of controllers in a for loop - leaking problem?
I am creating a kinda gallery and for each gallery I created a view controller whose view is added to a scrollview (see code below) :[详细]
2022-12-23 19:37 分类:问答Zend Framework : Subdirectories in controllers directory
I\'m using the Zend Framework for my website, and just created a special module \"api\" to create... Well, an API.[详细]
2022-12-22 10:33 分类:问答Inserting Controller Actions between Actions in Rails - Best Practices
What are best-practices (or usual-practices) when it comes to adding more steps in a process in Rails?[详细]
2022-12-19 19:24 分类:问答Rails: When testing controllers with RSpec, how do I stop them from redirecting?
I have controller methods that look like this: class TestController < ApplicationController def testAction[详细]
2022-12-17 22:35 分类:问答