mvc

What is MVC Turbine

where we can use MVC Turbine?how can we implement this with ASP.NET MVC? ...

MVC, DI (dependency injection) and creating Model instance from Controller

Hello, My Dispatcher is "choosing" correct Controller; then creating Controller's instance (DependencyInjectionContainer is passed to Controller constructor); then calling some Controller's method... class UserController extends Controller { public function __construct(DependencyInjectionContainer $injection) { $this->container ...

ASP MVC Controller Method not always called from $.getJSON request

I have a controller method that returns a jSON object and in one calling situation, it works and in another calling situation, it does not work. When the URL in my browser is this: http://localhost:65247/Client -- it works. But, when my url looks like this: http://localhost:65247/Client/UserAdmin?id=6 -- it DOES NOT work In a nutshel...

Is it ok to wind up using mostly static classes?

I'm currently rewriting an e-shop - but only the client side, i.e. the CMS remains mostly in tact. I am not using a pre-built framework, as the system has to retain backwards compatibility with the CMS and I have to have full freedom of the structure of code. The new system is purely MVC based and I have a Bootstrapper which loads cont...

ASP .NET MVC partial views and routing

Hi, I have an MVC view that contains a number of partial views. These partial views are populated using partial requests so the controller for the view itself doesn't pass any data to them. Is it possible to reload the data in one of those partial views if an action was triggered in another? For example, one partial view has a jqGrid and...

Visual MVC Builder?

Can anyone recommend a visual tool (preferably for Mac) that will help me visualize my MVC relationships? ...

Programming Pattern: MVC vs MVP

Hello, I'm a little bit confused about these two programming patters: MVC and MVP. Which are the main differences between them?; I have been searching on the net and I made a couple of examples of both of them, but I'm even more confused, because in some sample web pages MVP uses more than 2 interfaces to communicate the presenter with ...

Flex-Mate, How To Back PopUp (Dialog) With A Model

I'm using MATE on an Adobe Flex project for MVC. On one of our pages, we have a dialog window that is presented to the user that displays them information that comes from RPC. The pages where this dialog pops up is unrelated to the data being displayed so this is a separate model. How do I create a MATE mapping file that will create t...

How do I make the modal view only come up half way?

So I have an app where you play a game, and at the end it asks you your name for recording of the high score. I would like to use a modal view to accomplish this, but I am experiencing some hiccups along the way. So far, all I have is the modal view sliding up all the way to the top of the screen, but there isn't anything there yet, it's...

How's View gonna know what component to create?

I'm developing this application where you can put text and drawings in a page. My application is in MVC pattern, and I need all the model parts, text and shapes to be of the same notion. They all extend an abstract ReportElement clas, for example. But the problem is I crate a JPanel for every shape in the page, but to handle text I need...

Implementation examples of 'Model-View-Controller' pattern in Java?

I am looking for general coding examples of the MVC pattern in Java to help me better understand the best practices associated with it. I have done the basic google search, and read the Wiki lol. If anyone has further examples or comments they would be very much appreciated!! :D Badpanda ...

Pass a value from a text box using submit button and post method

I'm new to mvc, and I'm having trouble passing the value of a textbox to the controller method. I've got: in the aspx page: <form action="/Search" method="post" > <input type="submit" value="search" name="id" /> global.asax: routes.MapRoute( "Default", // Ro...

UIView transitions present modal view at the bottom

I need to display a UIView/UIViewController when the user taps a button and the modal view should appear just like how the key board appears from the bottom bar when you edit text in a UITextField. Using the following code, I get to show it as a pop up. [self presentModalViewController:child animated:YES]; How to make it appear like ...

Purchase ASP.NET MVC Chat

Hi everybody I am developing an application in asp.net mvc where i need to have Chat application intergrated in the web page. The chat application should be able to support group chat, private chat, simple file transfer and user should be able to create their own rooms. Can u people tell me where i can buy a simple chat application wit...

MVC, handling POST data, preparing form field values

I am using Codeigniter to develop an application, and have been reading bits about Ruby on the Rails. In particular Skinny Controller, Fat Model seemed to make perfect sense. It really allows me to look at the controller and know what the hell is actually going on, and allows very very quick adjustments and bug fixes. However the one st...

ASP.NET MVC WAP, SharePoint Designer and SVN

All, I'm starting a new ASP.NET MVC project which requires some content management capabilities. The people who will be managing the content prefer to use SharePoint Designer (successor to FrontPage) to modify content. I'd like to allow them to keep doing that. The issues are: Since I'd like this to be a WAP, not a website project...

MVC: Structuring Feed Output

The framework I'm using on my project follows the MVC Pattern. I"M building JSON feeds and need to structure them in a different way then what the system gives me by default from the ORM. Where should I be handling the task of mangling and shaping my data that I'll serve up, in the model, view or controller? Right now I'm doing it in my...

Options for keeping models and the UI in sync (in a desktop application context)

In my experience I have only had 2 patterns work for large-scale desktop application development when trying to keep the model and UI in sync. 1-An eventbus approach via a shared eventbus command objects are fired (ie:UserDemographicsUpdatedEvent) and have various parts of the UI update if they are bound to the same user object updated ...

Return to same view from two different action methods.

Hi, i have a quick search and advance search pages, both are controlled by search controller, i have 2 action methods quick(...) and advanced (....) in my controller. Both pages have sumbit buttons and they are calling two different action method "qucikresults(...)" and "advancedresults(....)".when both method executes they return produ...

problem with adding url variable with javascript

Hello, Can someone help me with this I am trying to set and catch the url variable It begins with a form wich has the standard action set to "/autorisation/logout" Then a button with an inline javascript function function tbPayout() { parent.location = "/autorisation/logout?rcgo=payout"; return true; } <input src="/images/go02.gif"...