i am wondering if there is any way i can create an app that starts as a desktop application, for personal use for now. and since desktop applications can work with my HDD files which i may want to manage but don't feel secure throwing them onto a web server. but what i think i may want to do in the future is port the app to the web since...
Put them all in one separate folder structure or along with classes which implements them ?
...
Sample code:
public class Service1
{
public int Service1()
{
....
}
}
public class Service2
{
public int Service2()
{
...
var service1 = new Service1();
var count = service1.Service1();
...
}
}
Both classes and methods are exposed thru WCF.
...
I'd like to have one interface for all my grid related tasks.The tasks implement this interface:
public interface IDataForGrid<T>
{
IGridResponse<T> GetList(IGridRequest request);
}
The T type is always a DTO class. I cant't create a common interface for this DTOs because they have nothing common.Just a dumb DTO with particular pr...
I need a base class for my DTO classes which will be used in my generic interfaces.
But the DTO classes have nothing in common. They are just dumb classes containing some properties.
public void GetGridData()
{
IDataForGrid<DTOBase> aa;
if(request == 1) aa = new CustomerGridData;
if(request == 2) aa = new OrderGridData;
...
We're building a simple web based system whereby somebody adds a record, a CMS page for example, that gets approved by someone in charge before being shown on website.
If the author then decides to edit that page later, we want to create a draft based on the live copy, on approval it will replace the old live page.
We thought about doi...
My company has a handful of apps that we deploy in the websites we build. Recently a very old app needed to be included along side a newer app and there was a conflict w/ a duplicate table name needed to be used by both apps.
We are now in the process of updating an old app and there will be some DB updates. I'm curious what people ...
I want to build an application that utilizes the data from a server, and it needs to synchronize the data in the application with the data entered by other client applications.
So, there are some questions:
How to design the database schema efficiently? Should it replicate the same database schema on the server or should it add some m...
I'm designing a Silverlight software solution for students and teachers to record flashcards, e.g. words and phrases that students find while reading and errors that teachers notice while teaching.
Requirements are:
each person publishes his own flashcards in a file on a web server, e.g. http://:www.mywebserver.com/flashcards.txt
othe...
Hello,
I am using Role Based Design Methodologies for a Java Application and I deal with the following:
A class (e.g. FOO) will act a a Service Provider. That is it will accept messages from other classes and perform calculations on the provided input based on complex business logic.
Now the question is: Should I make the exposed meth...
I believe for a typical MVC web application the router / dispatcher routine is used to decide which controller is loaded based primarily on the area requested in the url by the user.
However, in addition to checking the url query string, I also like to use the dispatcher to check whether the user is currently logged in or not to decide ...
I'm just getting started with TDD and am curious as to what approaches others take to run their tests. For reference, I am using the google testing framework, but I believe the question is applicable to most other testing frameworks and to languages other than C/C++.
My general approach so far has been to do one of three things:
Write...
I'm beginning the design of a medium-sized web application. I usually like to design from the top down, i.e., start at the highest level and design my way down.
I am planning to have the following layers:
Presentation (PHP/Ajax)
Business Logic
Data Access
Database
Now I'd like to start sketching out the major objects in each layer a...
First, I want to say that it has been awhile since I've gotten into the kind of detail I am at currently. Lately, I've been very much in the SharePoint world and my entire thought process was focused there for quite some time. I'm very glad to be creating databases again, writing "lower level" code to deal with data access, and so fort...
Hello
How can i create a dummy design of an application before the actual development starts? How to simulate the UI of the application. After completing the analysis phase do i need to start the design directly using dev tools or can i create some dummies (even images, using Visio or something) with other tools?
Thank you
...
Hi,
I'm looking for best practices and resources regarding design of workflow based applications. E.g.Best practice/guidance for:
How best to represent business object 'states' (position in workflow)
How to approach logging of transition between workflow states
State transition rules
I'm using .NET, but am rather looking for general...
I am building an application that manages a number of custom objects, which may be edited concurrently by multiple users (using different instances of the application). These objects have an underlying serialized representation, and my plan is to persist them (through my application UI) in an external source control system. Of course thi...
How would you design an application (classes, interfaces in class library) in .NET when we have a fixed database design on our side and we need to support imports of data from third party data sources, which will most likely be in XML?
For instance, let us say we have a Products table in our DB which has columns
Id
Title
Description
Tax...
With the addition of the Tuple class in .net 4, I have been trying to decide if using them in my design is a bad choice or not. The way I see it, a Tuple can be a shortcut to writing a result class (I am sure there are other uses too).
So this:
public class ResultType
{
public string StringValue { get; set; }
public int IntV...
I have been asked to choose between Web Forms and MVC for a minor internal company project. I do not know MVC. How much of MVC do i have to know to be able to make a decision?
Note:
1. I have read up on MVC to an extent that i know the high level design choices that I will have to make, however as a developer, I do not feel comfortable ...