This is my first web application based on SOA and is user-specific.
I have three layers;
web
service
database
for eaxample,
I have a table graph like this:
("<---" = foreign-key)
User<---Post<---PostTitle
Now my service need to allow web to load PostTitles directly so the user can see it. However, this action must by user-specific...
Dear all,
What is a good way to design/structure large functional programs, especially in Haskell?
I've been through a bunch of the tutorials (Write Yourself a Scheme being my favorite, with Real World Haskell a close second) - but most of the programs are relatively small, and single-purpose. Additionally, I don't consider some of th...
Background:
I'm trying to produce dynamically generated Factsheets, where each Factsheet has a number of ContentAreas, and each ContentArea is configured to contain a number of Panels.
I have a FactsheetController, a ContentAreaController, a PanelController and individual panels such as NameAndDate and AssetPanel
FactsheetController p...
I've recently started materializing my biggest website project idea. Not sure if this relevant, but I'm using ASP.NET MVC 2 and Microsoft stack.
I appreciate design and aesthetics, and know they play a critical role in the success of this project. I think I have an eye for basic usability things, but from design and visual perspective, ...
I'm wondering why .NET exceptions classes from Base Class Library has some mutable members by default
Why I can change the Source, HelpLink and values from Data, but can't change anything else like the Message?
Why throwing the exception rewrites the StackTrace making it mutable too? Is appending the stack trace information to existing...
Hi! I'm a few years into my Computer Science Education, and I had to transfer to a new school in the between years. The problem I'm having is that the "intro" classes at my first school focused first on Mostly professional programming skills, like problem design, and put the mathematics concepts in later courses, and when I transferred, ...
I'm designing a very simple database for my application and it's configured like this:
Employee
Carnet
Name
LastName
Area
Name
Document
ID
Employee (FK)
Project (FK)
Project
ID
Company (FK)
Title
Company
Name
CEO (FK)
NIT
Person
Carnet
Name
Lastname
Now the gist of this question is, an Area can have many Document; and a Document ...
I have the VS2010 shotcuts guide published in msdn and I can't find shorcuts to improve my productivity when i'm using the designer (in my case I spend most of my time in winforms, but this is extensible to WPF too).
Are there any shorcut/keybinding than could help me to design my forms in less time?
Thanks.
...
Hello,
I am building small app that will only display products in various categories. And will never display categories without products.
So far I have two models - product and category and wondering if I really need controller dedicated to category model? I can only see one advantage so far - rendering collection (partial) of category. ...
I would like to parse a self-designed file format with a FSM-like parser in C++ (this is a teach-myself-c++-the-hard-way-by-doing-something-big-and-difficult kind of project :)). I have a tokenized string with newlines signifying the end of a euh... line. See here for an input example. All the comments will and junk is filtered out, so I...
I've just started at a new job. My manager and mentor suggested that I ramp up to the code base by documenting the code in comments. He intends for me to check in the documentation that I write, I believe.
The writers of the code have left me a blank slate; there are only a few inline comments in really crucial places. I find that the c...
Hi
I want to create a EditText and button that looks like this:
This is almost the same as the quicksearch , but it is custom made,
Can someone help me out?
...
Hello all,
I'm looking for advice on how to tackle a design problem I've came up with. I'm currently using Symfony framework so I'll be using the names of Symfony classes.
When a user becomes "authenticated" or their "credentials" change in the Symfony user class, a regenerate() gets called on the currently used storage class. The stor...
I have seen lots of great sites that use all white pages (Stack Overflow?) without having the content column set against a different color background.
I am designing a web game and was wondering if the all white (or solid color) is the way to go or if having a content column against a backdrop is better.
If its a "it depends" answer, ...
I am trying to create a database design and need some help. Diagram is displayed below. The database is for an address book attached to a e commerce site. Its coded in php and uses a mysql database.
See my diagram below - I think I have solved my problem but I want to know is this a good way to do it?
This is what I would like to do:
...
I want to design a text editor in QT and planning to implement the following basic features,
1) Basic editing features like cut,paste,formatting,indentation etc.
2) Auto completion based on the context.(Based on some xml input file)
3) Syntax highlighting ( based on some xml input file )
Can you please suggest some approaches for the...
I have some years exprience with ASP.NET, but I am new to Silverlight.
I have a basic question regarding the design and navigation of a Silverlight page/application ? If a Silverlight project is hosted together with an ASP.NET project,
is it possible to use masterpages for the branding/design and navigation for the page/application ? ...
Friends,
This Ask Tom thread which I found via another SO question, mentions Table and Transactional API's and I'm trying to understand the difference between them.
A Table API (TAPI) is where there is no access to the underlying tables and there are "getters" & "setters" to obtain information.
For example to select an address I ...
Yesterday I came accross an interesting blog post describing the need for stronger user interface design for software error popups, they use apple as an example - thought i'd share:
http://bit.ly/9qBZLM
This got me thinking - could you build something like this dynamically to handle a variety of exceptions / errors?
Any examples of ot...
I have a question relating to the usage of "this".
Suppose I have two classes A & B; their rough outline is as follows:
class A
{
public:
...
void AddB( B* b )
{
// inserts B into the vector v
}
private:
std::vector<B*> v;
};
class B
{
public:
...
void foo( void )
{
...
// Adds itself to th...