What is Model View Presenter ?
Can someone please explain in a way as simple as possible what the Model View Presenter pattern is? What is the difference with Model View Controller ? Which is best or for which purpose ? ...
Can someone please explain in a way as simple as possible what the Model View Presenter pattern is? What is the difference with Model View Controller ? Which is best or for which purpose ? ...
Hi the Requirement in simple words goes like this. Its a charting Application ( kinda Dashboard) with multiple views (Charts , PDF and Excel) DataSources could be primarily from Oracle but there are other data sources like Excel,flat Files....etc. Charting library would be Component art (I would like to try the new asp.net charting bu...
I’m building an application that monitors other systems. Now I want to implement partial view, a User Control called “status”. This control shall display status information about the application.Like: user logged in, How many systems online, Latest activity. This partial view shall be rendered in nearly all other views. How shall I p...
Of all MVC-capable GUI toolkits, which one do you think has the best spefication and which one the most drawbacks ? In which one do you find your code easy to maintain and extend? Which is one do you find crippled (if any) and for what reasons ? I' m mainly interested in Qt and Cocoa but i would like to hear about others too. Thank you...
I am creating a simple aspnetmvc cart application and have defined classes similar to the following: public class Cart { public Guid Id { get; set; } public string Comment { get; set; } public DateTime CreatedOn { get; set; } public DateTime UpdatedOn { get; set; } public DateTime? DeletedOn { get; set; } public ...
Hi, is there any way to use windows authentication in ASP.NET without needing a windows account? I need a virtual directory to be passworded using the browser authentication prompt. ...
When you start a new web application, which pattern are you choosing between MVC and MVP and why? ...
What would you suggest for a Javascript MVC framework? SproutCore JavascriptMVC Junction Something I haven't heard of... ...
Hi, What the following line is saying about model component in MVC pattern: If the model adheres to a strict contract (interface). then these components can be reused in other application areas such as GUIs or J2ME. Does the above line mean, if the model components implement any interface based on any GUI and J2ME applicat...
Hi all, I am a patterns newbie so please excuse this question if it sounds too silly. I am modelling an application which requires a list of identical structures, named CityData, and only one of these structures should be displayed at a time. The view will allow the user to scroll among the various CityData. Now my problem is: should I ...
I am working with an ASP.NET MVC application. There is a requirement that a user be able to select an item from a ListBox that could contain over 30,000 entries. Is there a dynamic way to populate the contents of this ListBox using an Ajax call - that would perform well? Would I be better off just populating the ListBox control on th...
What is the best way to determine which Controller class a Kohana application is presently using? Examples: http://sitesite.com/ - _defaultControllerName_ http://somesite.com/frontpage/articles - "frontpage" http://somesite.com/contact/ - "contact" ...
I have a partial view that returns an HTML chunk of list items that gets appended onto an unordered list via an AJAX call. This all works fine. However, once I receive the HTML back from the AJAX call, I would like to be able to set some properties on each of the list items via JQuery. In order to do that, I'm assuming that I need to ...
Which one has the best performance. I have a list array that contains a list of articles. When I list the articles I have a RenderPartial that displays just one article and the parent page goes through a loop of all the articles. The Renderpatial is inside the parentpage loop. What is the best way to go about this? ...
Rails has a nice idiom that makes it easy for you to have a single action method return properly formated data (json, xml, just the data) based on the format specified by the client (or else deduced from the request. It looks something like this ... respond_to do |format| format.html #edit.html.erb format.json {render :text=> <your...
I'm new to MVC and I'm trying to understand how MVC fits in to what I'm used to. Let's say I have a simple static website with the pages: Home, About, Contact. And let's say that I have one xhtml/css "template" which will be the view for the whole site. To keep it simple, in that tag I'll have a variable for the page contents. So ...
Hello Guys, I deployed my MVC application in our IIS server. When I go to registration page the recaptcha image is not showing. However, When I run it on Visual Studio its working properly. I'm using IIS 6. Do you guys have any idea regarding this issue? Best regards, ...
Hi all, I am building a MVC application in asp.NET for a web portal. I have prepared a series of controllers, and mapped all the paths that don't macth to this to a Page controller, which will render the appropriate page. My default route works like this: routes.MapRoute( "Default", "{level1}/{level2}/{level3}", new { controller ...
Hey Im trying to use ASP.NET login controls, in a ASP.NET MVC project and i get this error, when i click the submit button: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cl...
I used System.Timers.timer in global.as in asp.net to set a timer for scheduling execute a function let' say transferMoney(). But it seems that this timer might stop after several hours unexpected. And this cause that all the actions are pending. I want to know whether there are any better methods to set up a timer in asp.net, MVC 1....