Question regarding patterns involving Model-View-Presenter, IOC and WCF (although I imagine the same would apply to MVC):
Working on a large-scale Windows Forms implementation using a MVP (Supervising Controller) pattern plus IOC, where Presenters get their dependencies injected. One common type of dependency is a WCF Client Proxy, crea...
I have to come up with a basic CRUD app. as fast as possible (and by "fast" I mean like 3 days).
I considered going with Django, but I don't have a lot of experience with Python/Django, and also I have a complete set of EntityBeans that I need do CRUD on. So I thought reusing them would be better.
The resulting CRUD app. should be ...
<input type="radio" name="regenerate" value="1" id="cus" />
<input type="radio" name="regenerate" value="2" id="gen" />
<input type="checkbox" name="renerateEmail" id="renerateEmail" />
<div id="txt" style="display:none"><input type="password" name="pass" id="pass" /><br />
<input type="password" name="repas...
All,
I have a PHP5 web application written with Zend Framework and MVC. This application is installed on 2 servers with the same setup. Server X has php5/MySql/Apache and Server Y also have the same. We don't have a common DB server between both the servers.
My application works when accessed individually via https on Server X and Serv...
I'm coming from web forms and still very new to MVC. I want to create a contact form that simply emails me the contact information,
e.g:
FirstName
LastName
Email
Age
Company
I need to collect about a dozen different fields of information.
In web forms it was easy to build the email body just by calling TextBox.Text
What's the bes...
Hi All,
I have a JSP page called CreateProcessGroup.jsp and i use an annotation controller to map requests to CreateProcessGroup.htm to that page. But i m having an interesting issue when i request the page from browser it works, when send a request using jquery $.get method i get 404 (CreateProcessGroup.htm not found) is there a differ...
Regardless of the language or MVC framework used, how should I handle different views based on roles?
For example (pseudo code):
views/post/show:
<% show post here %>
if (role.isAdmin or role.isModerator) {
<% show moderation tools %>
}
<% show rest of content %>
I don't quite like the idea of putting too much business logic into...
I have a simple controller test using MvcContrib's test helpers:
var controller = new HomeController();
var result = controller.Contact();
result.AssertViewRendered().ForView("Contact").WithViewData<ContactViewModel>();
The only problem is, the controller method currently only returns a view, it is NOT setting a view model yet. Why wo...
I currently have a list of a book object as follows:
public class Book()
{
public int BookId { get; set; }
public string Name { get; set; }
public string Author { get; set; }
}
List<Book> books = BookRepository.SelectAll();
I would like to return a string list/array of Authors for return via a Json Result in my action met...
Hi guys,
I'm developing a system with codeigniter, in my situation i have to press a link in one user interface and get it's ID and pass it to the model and get the data relevant to that ID and go to the other interface and display the data in the relevant fields, i know how to pass data from model to view, but i don't know how to pass ...
I was recently introduced to the HTMLhelper class....along with MVC in general.
Does MVC, or the HtmlHelper class give any alternates for image links...and static links? For example, if I want to display an image on a webpage, do I still have to do the traditional href tag?
I.e. <img src='/Content/Images/mypic.jpg' />
or is there...
Background: I am playing around with the feedzirra plugin in a rails app, and I am attempting to utilize both the feed and entry accessors of the parsed feed in a single view.
To accomplish this, I have created two models: feed and feed_entry. They are as follows:
feed.rb:
class Feed < ActiveRecord::Base
attr_accessible :title, :ur...
I have to design a java based web application, it should support be highly scalable, should support almost 500 concurrent users with response time less than 3 secs. I have short listed 5 frameworks(Struts, Spring MVC, JSF, Wicket and GWT). My questions are:
1.I want to compare the performance of these framworks similar to the way it de...
Hello:
I am developing a medium sized ASP.NET project using ASP.NET MVC and Entity Framework. I have developed a 3-tier system by setting up 3 Visual Studio projects and referencing them accordingly:
Presentation -- This is my MVC project and contains all the views and controllers. I deleted the model folder completely from this proje...
I would like to convert our college's hard coded website.
Should i follow any pattern to achieve efficient & fast Conversion ?
kindly guide me.
...
hi guys, please am a student working on a project to develop a visualization tool to analyse data using an mvc design in matlab. but the problem im having is that im new to programming and matlab is the first real programing im doing. ive pretty much done the codes but i fear they are no way in an mvc design pattern so i need to change t...
Hi all:
My usual way of working on web development is to split the project into three tiers, which are:
Data Tier - Accessing Relational Database of all sorts, based on requirements
Server Tier - providing services to client-side controller calls.
Client Tier - Rendering the view as well as loading the controller javascript.
Basi...
I'm looking for a simple MVC framework for PHP and would like something that handles basic user auth (for the admin) and generates it's own CRUD pages out of the box.
Edit: I'd really like something that creates these admin pages on the fly or "automatically" instead of the whole "baking" concept or having to manually update the CRUD pa...
Hello,
I use MVC2/asp.net and try to develope something like a wizard. This wizard will have serveral websites.
The user will be able to enter some information on website A and to navigate then to
website B (by pressing a button which triggers the Http.Post event).
No problem up to this point.
Also on website B can the user enter some ...
I am integrating Spring MVC into an existing project I have been working on. By integrating, I mean I am rewriting the project using Spring, and using much of my old code. I have already setup the environment and have began working on it. I will refer to this project as ProjectX.
I have already setup and configured my ProjectX-servlet.x...