Questions tagged [code-layout]
The code-layout tag has no summary.
12 questions
0
votes
0
answers
88
views
What is the use case for blocks in template engines?
Most template engines have two ways to refer to other templates:
Inheritance with blocks (child template inherits from parent template and fills one or more blocks)
Includes (parent template includes ...
2
votes
0
answers
293
views
How to "orchestrate" a multi-repository installation
Suppose I'm working on software to be installed on a Linux machine (not mine).
Say the software consists of applications the user might start independently; an application which will likely be started ...
0
votes
1
answer
390
views
Is it good or bad practice to create alternate styles of rows(eg:alternate background color) in ListView using separate xml?
For example,to create alternate layout in ListView which uses different alternate color :
<LinearLayout
android:id="@+id/view1"
android:layout_width="wrap_content"
android:...
5
votes
1
answer
281
views
How to avoid dragging arguments from function to function
When I do my code layout, I like to start with a rather high level view, and then start to delegate actual computation to class or functions that have a bit more detail. Then in these classes of ...
7
votes
4
answers
3k
views
n-layers architecture design, really worth the effort?
I was building an application in .Net for almost a year (almost alone), I took the decision to build it with a 3-layer design. Recently when finished the project, I analyzed if the effort of creating ...
1
vote
4
answers
2k
views
Business layer access to the data layer
I have a Business layer (BL) and a Data layer (DL). I have an object o with a child objects collection of Type C. I would like to provide a semantics like the following o.Children.Add("info"). In ...