mvc

What is the best way to handle authentication in ASP.NET MVC with a Universe database?

We use an IBM database known as Universe that holds all of our user id's, passwords, and profile information in a table called USERINFO. Can I use the Membership Provider to connect to this database and authenticate the user? The database access is actually through a web service since we don't have a direct connect to the database. ...

Have you used Rhino Igloo?

Has anyone used Rhino igloo in a non-trivial project? I am curious if it's worth, what are its drawbacks, does it enhance testability a lot, is it easy to use. How would you compare it to a pure MVC framework (ASP.NET MVC)? Please share the experience. ...

How to create a triple-join table with Django

Using Django's built in models, how would one create a triple-join between three models. For example: Users, Roles, and Events are the models. Users have many Roles, and Roles many Users. (ManyToMany) Events have many Users, and Users many Events. (ManyToMany) But for any given Event, any User may have only one Role. How can this b...

Do you know any examples of a PAC design pattern?

Can anyone point to any websites or web applications that are using the Presentation-Abstraction-Control design pattern rather than MVC? Desktop applications are easy to find like this (e.g.; GIMP) but I'm looking for something on the web. ...

What, in your mind, is the best PHP MVC framework?

There are quite a few PHP frameworks out there, from CodeIgniter to Zend to CakePHP to symfony.. which do you think is the best? I'd prefer answers that say why, rather than just which. Which features make your preferred framework stand out as the best? ...

How do you reference .js files located within the View folders from a Page using Asp.net MVC

For example, if I have a page located in Views/Home/Index.aspx and a javascript file located in Views/Home/Index.js, how do you reference this on the aspx page? The example below doesn't work even though the compiler says the path is correct <script src="Index.js" type="text/javascript"></script> The exact same issue has been posted ...

In Struts 1.3, what's the best way for the Controller to fill the View with variables ?

I've just inherited some old Struts code. If Struts (1.3) follows the MVC pattern, how do the Action classes fill the View with variables to render in HTML ? So far, I've seen the Action classes push variables in (1) the HTTP request with request.setAttribute("name", user.getName()) (2) in ActionForm classes, using methods specific ...

MVC C# custom MvcRouteHandler - How to?

Does anyone have experiences in providing a custom MvcRouteHandler? In my application I'd like to implement a globalization-pattern like ">http://mydomain/en/about_ or ">http://mydomain/de/about_. As for persistance, I'd like to have a cookie read as soon as a request arrives and if there is a language setting in this cookie apply it (...

What Is ASP.Net MVC?

When I first heard about StackOverflow, and heard that it was being built in ASP.Net MVC, I was a little confused. I thought ASP.Net was always an example of an MVC architecture. You have the .aspx page that provides the view, the .aspx.vb page that provides the controller, and you can create another class to be the model. The process...

Examples of Hierarchical-Model-View-Controller (HMVC)?

Hi, I'm interested in the Presentation-Abstraction-Control? (aka Hierarchical-Model-View-Controller (HMVC)) Architectural Pattern for constructing complex user interfaces (GUI or web) and was wondering if anyone was aware of any examples in the wild where I could read the code? I'm aware of the JavaWorld article and associated letters...

Any Yahoo YUI validation framework that I can implement in asp.net MVC?

Hi, Has anyone seen a Yahoo YUI validation framework that I could implement into asp.net MVC? I've seen a jQuery one but I want to work wit YUI. ...

Are there many users of PRADO out there?

After making some comments, I've been inspired to get some feedback on the PHP MVC framework PRADO. I've been using it for over a year now and I've very much enjoyed working with it, however I notice that throughout Stack Overflow, it doesn't seem to rate a mention when symfony or CakePHP are being talked about as potential candidates fo...

Is there any benefit to using Cocoa's version of MVC with .NET?

There's a diagram depicting the difference between traditional MVC and Cocoa MVC here: Cocoa Design Patterns: The Model-View-Controller Design Pattern Are there any benefits of doing it the "Cocoa" way in .NET using Visual Studio? ...

What are the bare basics you put down when you start a new PHP project?

I personally use the following method for all my sites. It has grown a little bit from using prefixed $_GET variables to using mod__rewrite but i have had these basics for a couple of years now. .htaccess: RewriteEngine On RewriteRule ^includes/ - [L] [OR] #do not apply for direct requests to /includes or RewriteRule ^images/ - [L] ...

ASP.NET MVC vs. Django - Which framework should I learn?

I am starting a new web project where using MVC framework seems appropriate. My background is mostly with .Net / ASP.NET, so using ASP.NET MVC looks like the easiest way. I read that django is very powerful and easy to use, but I only have little experience with python. Can anyone with experience in both frameworks tell me their perspe...

WF and ASPNET MVC

Hello, Is there a way to use MS WF interactively in ASPNET MVC? Thanks ...

Running an MVC application through IIS results in "Directory listing denied"

I have an .Net MVC application which runs fine if I use the build in Visual Studio Webserver. If I use the projects property pages to switch to IIS as the webserver and create a virtual directory for my project, any request I send to the server results in a "Directory listing denied" failure. Does anyone know a solution for this? ...

PHP + AWASP

Who here is using WASP (http://wasp.sourceforge.net/content/) to in real world applications? What impressions do you have? Good? Bad? If you can provide any inputs, how good it is comparing with rails for example. I'm really looking for MVC frameworks for PHP Thanks, Victor UPDATE: This comparation that i found today is good http://w...

When to use MVC Architecture

Hi I am new in MVC. can u tell me when to use MVC architecture. Is the MVC is the best approch for data driven huge and complex functionality. most of the forms are dynamic?? ...

ASP.NET MVC Preview 5 - Html.Image helper has moved namespace

We've just updated ASP.NET from Preview 3 to Preview 5 and we've run into a problem with the Html.Image HtmlHelper in our aspx pages. It seems that Html.Image has moved from System.Web.Mvc into Microsoft.Web.Mvc, and the only way we've found to access the helper now is to add an import statement to every .aspx page that uses it. All the...