2
votes
1answer
368 views

CodeIgniter MVC Model Logic

I have programmed in Rails, Django, Zend, and CakePHP. Also, Wordpress and Drupal. Now, I am "catching up to speed" in as fairly large application in CodeIgniter. Typically, my experience with MVC ...
2
votes
1answer
528 views

MVC: Set value in autocomplete on Edit

In our MVC application we use jQuery autocomplete control on several pages. This works fine on Create, but I can't make it work on Edit. Effectively, I don't know how to make the autocomplete ...
1
vote
1answer
36 views

Ember.js: Proper way to iterate through object in model?

I'm developing my first EmberJS app after following some tutorials as practice. It simply contains a list of 'tables', 'columns', and 'rows' similar to a database. Link to the problematic page: ...
1
vote
0answers
139 views

how to display multiple model data with a single view--mvc

I created a VectorModel(store vector data like start and end point) and VectorView(to display vector) classes. I wanted to create two circle(c1 and c2) and display a vector between each circle and ...
1
vote
0answers
1k views

custom sort list in magento grid

I am having magento grid sort option like bellow Best Value Price Name I want to modify it like bellow My whislist Price: High to Low Price:Low to High Designer:A-z Designer:Z-A Designer,Price ...
1
vote
0answers
282 views

MVC model structure flat hierarchy

I got a problem concerning the possible hierarchy of models in a MVC-pattern. Consider the following situation: The database have three tables. Gallery Album Image The gallery has 0..* albums The ...
0
votes
0answers
5 views

MVC3 - How should I crete a List of Models and using them as attribute value of another Model?

I have to create a kind of many-to-many relation between my models. For example I should create a number of School entities in my db and then, as I create a Student entity, I should be able to select ...
0
votes
0answers
52 views

backbone - how to get the model when listening to “add” event on the collection

first question here at SO :) I'm workin on a backbone project and the main example I rely on is TODOMVC by Addy Osmani, but there's something I cant figure out: on the Todo app inside AppView ...
0
votes
0answers
38 views

Where have I to define my entities?

i am working an my own PHP mvc framework. Now I want to know where to get and specify my entities. An example, should I do this: class User_Model extends Model { private $name; public getName() {} ...
0
votes
0answers
49 views

Entity FrameWork 4.0 classes are not accessible

While working with ADO.Net Codefirst feature of latest Entity Framework 4.0, I have installed Entity Framework CTP 4 from Microsft and create a model. But i am not able to access DBContext and ...
0
votes
0answers
89 views

Insert in many tables with My_Model in Codeigniter

I have a site developed in codeigniter.I have done an insert into my database without validation. Now I want to use My_Model (an extended model to validate my fields used by many developer to ...
0
votes
0answers
66 views

ASP.NET MVC many-to-many post

I have a question about ASP.NET MVC. What I want is that I can create Events with Addresses (multiple addresses for one event) This is a part of my database (the tables that I am going to use); ...
0
votes
0answers
27 views

No find model when i use Zend_View_Helper_Action

Sorry for my English, it's very poor but i thing you understand my problem. I have module "addons" and "default" in my project. And I use plugin in default module. I show code: public function ...
0
votes
0answers
65 views

View with two entities

I have a client table and a mobile table that contain the mobile's numbers with a foreign key to the client because he can get more then one mobile number I succeed to add dynamically a text input to ...
0
votes
0answers
242 views

Modelling Controller and Database in a MVC application using COMET UML profile

I am creating a UML diagram using COMET UML profile for my MVC application. I distinguish between Information Model which describes the application entities, such as the domain model, and the ...

1 2 3 4 5
15 30 50 per page