|
This is pretty basic, but sort of a generic issue so I want to hear what people's thoughts are. I have a situation where I need to take an existing MSI file and update it with a few standard modifications and spit out a new MSI file (duplication of old...
Started by Glytzhkof on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
No reason to expose the following design:
var task = new Task(src, dst); // required params goes to constructor task.Progress the logic out of the constructor....
I'd go with your first thought: put all of the conversion logic into one place.
|
|
I'm currently working on a pet project of mine: a web application using Servlets/JSP and some jQuery and Javascript goodies.
I just started on the project and my dilemna is: should I focus first on the website design or should I implement the back-end...
Started by Zabbala on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
After the back-end logic is coming into shape then start actually buildingDesign the interface (not UI....
When you have lead to better design.
End logic you design into your system but better to be prudent and plan for change.
|
|
In a game, many entities should be updated every frame. Im toying with different design patterns to achieve this. Up until now, Ive had a singleton manager class to which every Logic instance is added. But Im considering the following, a static list in...
Started by mizipzor on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
One caveat would be that this pattern (currently) doesnt allow Logic instances to be deleted during would need an iterator as argument)
If you use a slightly different loop like
std::list<Logic*>::iterator it = all.begin(); while (....
|
Ask your Facebook Friends
|
I have three c# projects in my solution. One is a console app that simply calls into a class library project. The class library project does all the processing for the application. Then there is a WinForm project that displays a form and then when a button...
Answer Snippets (Read the full thread at stackoverflow):
It's perfectly acceptable and normal to put this sort of logic in your UI, since that bit can't reasonably live within the logic layer, as it is UI....
This is where you need clear definition between your logic layer and your UI layer.
|
|
Hello all,
I am trying to determine the best design pattern to use for a business key validation web service. The basic logic flow is coded below. The program will take a parameter and use a field to help determine the path to take in searching multiple...
Started by JustinDSN on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
To perform the logic, encapsulate them in their own objects, and then use them interchangeably throughout processing object contains a set of logic that describes the types of command objects that it can also design the behavior ....
|
|
In my project,i have workflow which operates on multiple entities to accomplish a business transaction. What is the best place to represent the workflow logic? currently i just create a "XXXManager" which is responsible for collaborating with entity objects...
Started by Jimm on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Consider "Order" in the model below.
Of this workflow? If so, the workflow logic probably belongs in there.
|
|
I am just starting with coding some JSP, which I find isn't all that different from asp.net or any other "real" web-language / web-gateway. I found this question; Structure JSP/Java code where logic is not in the JSP file . However I don't find it helpful...
Started by Filip Ekberg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
There's a lot of other great stuff that comes with it, but if that's all you wanted... .
Check: Can anyone recommend a simple Java web-app framework?
Spring 's web MVC is very good, in my opinion .
There are many MVC frameworks, almost too many chooce from .
|
|
Hi all,
I need to abstract some behavioural code and have a problem trying to reference the objects in the class that is calling these behaviours, let me try to explain:
My "parent" class, has a property called CurrentPage . I also have some behavioural...
Started by Mark Cooper on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Although I do not feel it is directly about design patterns here, more about design.
Move the logic in its separate class, expose its relevant methods and call them whenever needed intial class.
|
Payroll System Design, Business Logic in SPs or Application Layer (C#.Net), Maintainability - Repost
Hi,
We are designing a Payroll Generation System for a client.
The organization we are targeting has a hierarchy as follows: Company -> Cluster -> Business Unit (BU) -> Department -> Employee
The salary for an employee is made up of various...
Started by SharePoint Newbie on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It is more difficult to write, debug.
To shy away from putting business logic in the DB layer.
|
|
Hi
I’m reading some Html code for a web page, where author essentially wanted to create a page with header, footer and content area. The content area would be divided into three columns with center column having the right and left margins set to 200px...
Started by carewithl on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
That's probably on the internet :)
I would rather see someone author web-pages for the content and then design them in CSS ( How To: Pure CSS Design....
Usually people adjust their markup due to having their layout and design in mind.
|