Hello everybody,
I was wondering what everybody thought of this project I've been working on and whether there is anything that I should change before launching it. Bare in mind this is my first go at designing a full site.
Feel free to feedback on any aspect you feel is not up to scratch, ie design, code, whatever you like.
I'll be...
Hi All,
My problem statement is :
I want to write design file management (add, copy, delete etc. operations). There are two approach :
Service Driven approach
Write file VO which contains only file attributes. For e.g.
public Class File {
private boolean hidden;
private boolean read;
private boolean write;
publi...
Hello!
This is the testsite i am working on:
http://test.pafo.net/
As you can see, it cuts the middle line in half and i am trying to sort out why it does that.
The body backgroundcolor is just for testing.
The layout idea is
<div> - entire box
<div /> - top (image with the start line)
<div> - content
<div> - left (test 2 on ...
I'm trying to head this one off at the pass. I've got two database servers (DEV and PRD) and I have my database on the DEV server. I am looking to deploy v1 of my application to PRD server.
The question is this: Say in two months, I am ready to ship v1.1 of my application, which introduces two new VIEWS, six new fields (three fields in...
Hello All,
I am searching for Software design problems and solutions. Or something like, design a subsystem to open an Image and save to user defined format. Different people give different solutions. I would like to if you have any links which actually talk about problems and one of the good solution with Class diagrams.
Thanks in ad...
I have a column in a table that will store an enum value. E.g. Large, Medium, Small or the days of the week. This will correspond to displayed text on a web page or user selection from a droplist. What is the best design?
Store the values as an int and then perhaps have a table that has the enums/int corresponding string in it.
Just st...
I'm in the process of designing a WPF custom control, based on ItemsControl, which needs a Resizer/Splitter. This sounds pretty easy, I can just hook-up a few event handlers in my control and react to the dragging. But, I may also need to use this Resizer/Splitter in the content of the selected item. Ideally, the splitter would take i...
var mergedInstance = MergeFactory<InterfaceOne, InterfaceTwo>();
((InterfaceOne)mergedInstance).InterfaceOneMethod();
((InterfaceTwo)mergedInstance).InterfaceTwoMethod();
Can anyone recommend a design pattern or exact syntax that would make something like this work?
Inside the MergeFactory, I'm picturing something like this going on:...
Possible Duplicate:
How to use Enum with aditional options (All, None)
Somewhat subjective.
I have an enum
public enum Faction {
Aliance,
Horde
}
as we all know code closely modeling business domain it is applied is "always better".
In a given domain there are two factions, and these two factions are enumerated in ...
I'm basically just posting tonight to get some feedback from some of you more experienced architects out there. I'm just starting to get into more use of Interfaces...already seasoned and know Abstract Classes which I've used in some pretty slick designs of my own.
Anyway, I created a hack UML here: uml.pdf
A few things about the diag...
I am a bit confused about OData. Is it meant only for "publishing" data to other parties? Or can I use it in my client server application as a data layer.
The case I have is : developing a client-server application for managing some information.
The client is a WPF application, the Server is basically Database and a WCF Layer to expose ...
I just added a ScrollViewer to my WPF app. Now some of my content is hidden because it is at the bottom of the ScrollViewer--this is intentional. However, is there any way in the Design view of Visual Studio 2010 to scroll a scrollbar so that I can preview what my app looks like when the scrollbar is at different positions? It would b...
What are some specific[1] real-world code[2]/design examples, personal anecdotes, mistakes learned (with more emphasis on personal anecdotes, mistakes learned instead of pointing out third-party software) that best illustrate the programming philosophy of Unix? For a start, here's Raymond's summarization of the philosophy from The Art of...
Hi,
is there a way to modify the values of a status field in the colModel dynamically?
Lets say we have a col Model with a field like:
... field ... name: "state",type: "select",
editoptions: {value: "0:state0;1:state1;2:state2;3:state3;4:state4"}
So I get a select field for my states with this values. But I need to dynamicaly decide...
hi everyone ..
I am developing a student results website in which :-
Every year has its own subjects ( 1st year has sub1 , sub2 , sub3 and 2nd year other subjects and so on ) which will be added , deleted by the admin of the site .
I designed three tables :-
"Students" : contains info about students and their current year .
"Subjec...
Hey all,
I never understood why the stylesheets and scripts are outside the /app folder in ruby on rails. Is there benefits of housing them in the /public folder away from the /app?
Thank!
Matt
...
Hello,
Does anyone know any sites/books/articles covering best practices or theory around design patterns in high performance applications? It seems a lot of the patterns use indirection/abstraction/encapsulation in a way that may affect performance in computationally intensive code. Head First Design Patterns and even GoF mention possi...
Hi,
I have to make an app for client where there are functionalities best defined by tab bar interface. I am no UI designer but I have done some basic research and read the Human Interface Guidelines by Apple. Another point is that app deals extensively with Web Services and user has to login before using any of the features of the app....
For web applications you can have one designer create a mockup, and then another one (Perhaps Off Shore) generate CSS, templates, themes, skins...whatever.
How can you do something similar with Monotouch?
How would it differ from what can be done in SDK workflow?
Can you use some of the same tools as for WPF/Silverlight?
(And still be ...
There's a common pattern, when each layer of application, dealing with data from a stream tends to wrap it into a BufferedInputStream, so that at a whole, there's a lot of buffers, filled from buffers, filled from buffers and so on.
I think this is bad practice and want to question: how does it impact the performance? Can this cause bu...