Model–View–Controller (MVC) is an architectural pattern used in software engineering. Use the more specific [asp.net-mvc] tag (ASP.NET MVC) instead, if applicable.
0
votes
1answer
10 views
Extending Devise Registration Controller
I have an Accounts model set up with Devise. Devise uses a few attributes (such as email, password etc.) but I have a few other attributes that I made. On sign up, I'd like to set them up in a way.
...
4
votes
2answers
33 views
MVC - Site still accessible if not logged in?
I'm converting an existing ASP.Net webapp to MVC / Entity Framework, and I'm an issue with the login functionality.
I have my login page working, that is to say, if they don't enter the correct ...
0
votes
0answers
8 views
How to do search within the Jquery TreeView Plug In with auto-complete
I have a View within which there is a dialog box. Opening the dialog box renders a tree view of records with checkboxes. For example a node could have 5 levels of hierarchy. We have parts and ...
0
votes
2answers
10 views
Passing common title to all view and models CodeIgniter
I have this controller
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Main extends CI_Controller {
function __construct()
{
...
1
vote
1answer
18 views
Where does logging fit in the model view controller architecture?
I would like to log communications activity and, as part of logging, display communications history in a window on the screen. I don't want the communications modules to know about the screen of ...
0
votes
0answers
15 views
Where should I put the business logic with a tornado/mongoengine app?
I'm writing a Tornado Rest API and I'm using mongoengine as an ODM. I would like to keep things as decoupled as possible. The reason I dont want my code right in the handler is I would like to make ...
3
votes
1answer
62 views
Is Meteor JS flexible to be full stack framework?
I've read some interesting articles and comparisons on JavaScript MV* frameworks and I do know outline of architecture of most popular ones (Ember, Backbone, Angular) However as a PHP programmer (and ...
1
vote
3answers
25 views
unable to access the linq to sql result in mvc4
I am getting result from theee tables usign linq to sql but i am unable to use the values in the view, how i can do that as i am new to mvc
here is my controller code:
public ActionResult Grid()
{
...
0
votes
2answers
19 views
How to show required field validation conditionally from a view
In My MVC 4 application, I have a Multi Select List Box, where I can select multiple values, I also has an Item New Role as one of the list items, which also refers to a model property NewRole.
So ...
0
votes
1answer
38 views
Best way to add ActionListeners to the View
After reading some posts, I am not sure about the difference between these two ways to implement ActionListeners. Is there any good reason to code in one way or another? What about view-decoupling?
...
0
votes
1answer
8 views
Postback a single item on a Razor ListBoxFor
I have a ListBoxFor helper that is populated with users that have to be verified from a db. I click a single user and then click a submit button. This works fine and sets the admin verified bit in the ...
0
votes
0answers
17 views
MVC4 & SQL 2008 Spreadsheet Application
I am trying to create a simple application, I am transferring spreadsheet data to an SQL database and then creating an MVC4 C# application to do the usual CRUD, I also want to be able to sort each ...
0
votes
0answers
4 views
MVC .NET 3 ModelState and ValidationResults
I have problem. I use [IBAN] Atrribute with nHibernate ORM. Everything work fine except one thing. When I input wrong IBAN I get information about it in object.ValidationResults() but I don't have it ...
0
votes
1answer
12 views
Error: The entity or complex type cannot be constructed in a LINQ to Entities query
I have a problem with join query with MVC and i dont know why.
The entity or complex type 'Tusofona_Website.Models.site_noticias' cannot be constructed in a LINQ to Entities query.
My ...
0
votes
0answers
10 views
Design pattern like MVC for phoneGap development of android device
I require information about any design pattern that can be implemented for Phone Gap development of android device.
can we use any design pattern at the time of creating the Phone Gap application for ...