As my Cocoa skills gradually improve I'm trying not to abuse the MVC as I did early on when I'd find myself backed into a hole built by my previous assumptions. I don't have anyone here to bounce this off of so hoping one of you can help...
I have a custom Model class that has numerous & varied properties (NSString, NSDate, NSNumber, et...
We have several asp.net MVC apps in the following setup
SecurityApp (root application - handles forms auth for SSO and has a profile edit page)
Application1 (virtual directory)
Application2 (virtual directory)
Application3 (virtual directory)
so that domain.com points to SecurityApp and domain.com/Application1 etc point to their associ...
I am looking for a way to present a modal view animated, and make it look like the current modal view is presenting the new one in the animation, but behind the scenes ditch the old modal view (the new modal should have the same parent as the old one).
Presenting one on top of the other is not an option as there is an arbitrary number o...
I'm seriously going crazy with this.
Here is what is in my Global.asax
routes.MapRoute("BlogDetails", "Blogs/{id}/{title}", new { controller = "Blogs", action = "Details", id = "" });
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL wit...
guys
as per my understanding about mvvm is.
there is a model (entity class that also implement inotify...), view (xaml code) and some class as vm (kind of controller which normally inherit icommand) to let us make events/commands to be generated on specific event...
m just wondering about difference between viewmodel class and xaml'...
i know that these 2 languages require oop.
but inside the classes, could you have procedural code?
and for the mvc part, that pattern comes with their frameworks right?
nothing to do with the actual language itself?
...
I've bought a CSV United States business database with ~20 million records, which is divided to 51 databases, every database represents a state.
I need to write an ASP.NET MVC Web Application that will query this database, by state and more arguments. Should I create a SQL Server database and import all the records in the all 51 csv fi...
Hi.
I am playing around with MVC on Mono.
When I pass a string to Html.ValidationSummary() i get "method argument length mismatch".
Link to full error page: http://johan.jabit.se/Dinners/Edit/1
When I pass no argument to Html.ValidationSummary() everything works fine, but then I have no summary text at the top :(
Passing strings to ...
I have an iterator service that works fine already and returns a correctly structured values to my flex application through my Zend Amf server
$contacts = array();
mysql_connect( 'localhost', 'root', 'test' );
mysql_select_db( 'test' );
$res = mysql_query( 'SELECT * FROM contact' );
while( $contact = mysql_fetch_as...
I'm working on an application that manages people and their spouses, if married. Essentially a person will be entered and then from that person I want to be able to add a spouse. My database schema is like this. Persons (Person_ID, Name, BirthDate, etc...), Marriages(Marriage_ID, Husband_ID, Wife_ID, Date).
The process is Add a Per...
Ok. So I am working on a website using CI. Here is the structure of my controller:
class MY_Controller extends Controller
class User extends MY_Controller
class User_Model
So, I load the User_Model inside the constructor of the User controller. I know that it is loaded properly because I tried to print something from User_Model and it ...
if i've got a thread model and controller.
should that be in singular or plural for both the model and controller?
i could show a thread and also list threads.
dont know what i should use.
$thread->get_lists(); // doesnt sound good
$threads->show(); // doesnt sound good
...
javascript\jQuery:
> var items = new Array();
>
> var obj { Begin: "444", End: "end" };
>
> items.push(obj);
items.push(obj);
>
> var request = {
> DateStart: $("#DateStart").val(),
> mass: items
> };
>
>
> $.post("/Home/Index", request, null,
> "json");
C# Mvc Index Controller
public class My...
Where do you guys put your static pages, like "home", in an MVC framework? Do you have a "home" controller? A "pages" controller? Do you create actions for each static page?
I'm using CFWheels now, and I'm trying to figure out the best place to put them.
Edit: Apparently CFWheels doesn't require you to create actions for all your vie...
Hi,
I have a problem with my master pages. They have such inheritance order:
MainMaster1.Master can be nested by Nested1.Master, Nested2.Master, etc.
At the same time MainMaster can be duplicated and have working copies like MainMaster2, MainMaster3, etc.
Advise please how can I dynamically change the MasterPageFile of my Nested1, Nes...
i dont quite understand this pattern.
from what i have read, it looks like one model = one table (if you are using database to store data).
so if i've got a table called tags, i should have a tags model. and with a threads table i create a threads model.
then i got a tags controller and a threads controller right?
so what if i've got...
Hello Guys,
I'm using crystal report in my MVC application. I wanted to display an image on my CR viewer. The image is generated using a Handler. Example if I want to display an image it would be (http://localhost/imagehandler?imageid=1&width=4). Something like that. When I use that in my Crystal Report the image just doesn't show. ...
Hi,
can anyone please tell about showing message box from MVC controller?
The scenario is -
I want to show a message box with Yes/No buttons. On clicking Yes i want to show a confirmation message box.
I want to do this using MVC controller?
How can I do this?
Thanks in advance,
Kaps
...
In mvc we can do some global tamlpate for type of some property.
like with datetime.. we can just made some tamplate with the jQuery call inside the tamplate.
form oo prespective this is great. but what about jQuery?
assume that I have 5 datetime properties in my form with auto tamplate.
each tamplate has an:
$(document).ready(functi...
Hi.
I have written 3 ASP.net MVC web applications, and all are deployed on shared hosting servers with my ISP.
All 3 applications are very similar in configuration and settings. The 1st application is deployed to a different server than the 2nd and 3rd. The 1st application gives me no errors.
The 2nd and 3rd applications spit out the ...