design

Front-end vs back-end developers, Working Together strategy?

Right now im in the middle of a product (WebApp) release, we are working with ASP.NET MVC. Im a BackEnd dev, but now i must implement the front end with the design, is this the way to do it? code all the basic HTML and then re-implement the final markup. NOTE: *in one of the MIX videos i heard that when the MVC team work on the Nerd din...

What is the most appropriate design for an object who's database key is made up of multiple columns?

Suppose I have a table in my database that is made up of the following columns, 3 of which uniquely identify the row: CREATE TABLE [dbo].[Lines] ( [Attr1] [nvarchar](10) NOT NULL, [Attr2] [nvarchar](10) NOT NULL, [Attr3] [nvarchar](10) NOT NULL, PRIMARY KEY (Attr1, Attr2, Attr3) ) Now, I have an object in my applicatio...

What would be a good way of creating graph on a website?

I got a bunch of data in a database. The goal is to present them to a user in a readable way, and since they're stock-data, there needs to be a graph there. Now it brings one question: which approach would be better, to create a graph on a server side dynamically or let the server just push raw data, allowing the client to generate grap...

Applying Patterns to User Interface design, not only application design

I am a dotnet newbie. After years of procedural coding, my company is moving on to the HOTTEST new trend i.e WINDOWS FORMS :) Our Application is TabbedMDI. Basically we have a menu on the left and clicking an entry opens a new tab for CRUD. I have seen some MVP samples that have a couple of textboxes and it demonstrates moving the code...

Why are so many errors "AccessViolationException"s?

I have seen many errors over the course of my computer-using life, and a lot of them seemed to be Access Violation Exceptions calling way out into non-readable memory or 0x00000000/0xFFFFFFFF. What sort of programming error causes this? is it intentional to get the program to crash when something goes very wrong? ...

how to implement search for 2 different table data?

Using mysql and PHP I am using MATCH AGAINST clauses already. It is working fine against individual tables. Like if i want to search in shops table. No problem. What i want is to be able to search and DISPLAY results from different tables in a single result page. Eg if i type "chocolate clothes" i may get 4 results as follows: Sho...

What screen resolution should my web app target for an average non-technical users?

I noticed StackOverflow appears to be targeting screen resolution widths of 1024px or more. I also checked Amazon, NBC, MSN, & AOL which target more lay users, and they all appear to be targeting the same width. Is 1024px the current recommended width for web apps targeting the largest cross-section of users who use default monitor res...

Where can I get an ASP.NET MVC Designs?

I am looking at the ASP.net gallery of designs that they have available and I cannot find anything that I can use as a base to customize. The project is a basic prototype so I cannot spend money on a designer yet, but I cannot let it go with the default scheme. Any ideas on where I can find a good mvc design that I can modify. As ma...

Link to a site designed using a CSS framework (Blueprint, 960,etc)?

I'd like to see an example of a creative use that a CSS frameworks has been put to in the design of a real site. Does anyone know of any sites that were designed using a CSS framework (Blueprint, 960, etc)? If so, a link would be appreciated. Thanks. ...

Sample Database Design for Financial Accounting

Could someone please lead me to a sample database for a financial accounting system? ...

NHibernate compromising domain objects

I'm writing an ASP.NET MVC application using NHibernate as my ORM. I'm struggling a bit with the design though, and would like some input. So, my question is where do I put my business/validation logic (e.g., email address requires @, password >= 8 characters, etc...)? So, which makes the most sense: Put it on the domain objects the...

I want to make a simple 3D game using openGL, where should I start?

I find that I learn best by example. Is there a good website or codebase that shows how event handling, collision detection, modeling, and basic 3D drawing works? The game I'm trying to begin with is a simple racing game where the user controls a small space ship and navigates through channels, asteroid fields, space colonies, and vario...

Is it possible for programmer to analyze unknown code fast?

Hello, I got a task related to ANCIENT C++ project which hasn't any documentation, comments at all and all code/variables is written in foreign language. Do I have a chance to analyze this code in a 1 working day and make a design/UML to create new features? I have been sitting around for 3 hours already and I feel so frustrated... Mayb...

Where to put the SQL logic

I have an existing SQL Server database whose structure I can't really change, although I can add stored procedures or new tables if I want. I have to write a stand-alone program to access the DB, process the data and produce some reports. I've chosen C# and Visual Studio as we're pretty much an MS shop. I've made a start at exploring us...

Stable System Vs Better Design

In may Daily Job i come across this Dilemma : "Stable System Vs Better Design" In routine job when i am fixing some module, When i see bad design -> Badly written code -> Badly Written Algorithm -> Optimization possible I would prefer to fix these also along with issue i am fixing But many people opposes my changes a few support...

Global statements v. variables available throughout a classes

I try to avoid "global" statements in python and http://stackoverflow.com/questions/146557/do-you-use-the-global-statement-in-python suggests this is a common view. Values go into a function through its arguments and come out through its return statement (or reading/writing files or exceptions or probably something else I'm forgetting)....

What are the major topics a good high-level architecture document should include?

What are the major topics a good high-level architecture document should include? ...

architecture/design advise for a test program

I am trying to build a test program in c++ to automate testing for a specific application. The testing will involve sending requests which have a field 'CommandType' and some other fields to a server The commandType can be 'NEW', 'CHANGE' or 'DELETE' The tests can be Send a bunch of random requests with no pattern Send 100 'NEW' req...

I want a beautiful custom window for my first cocoa app

Hi! I'm a graphic designer - turned web designer - turned web developer - who is currently trying to turn into a mac developer. I've nearly done programming my first app. Is a very, very simple application but I'm happy because I'm learning a lot of new stuff. The problem is: I don't like how it looks. As you may guess, design is a ver...

Framework for scalable (size) GUI (swing,flash,air,..) ?

Is anyone aware of scalable GUI for the desktop (or browser) ? Imagine you layout a huge gui that is too big for one regular screen, but you could zoom out see the complete gui (and even could press buttons etc.) or zoom into the area of your interest. Similar to browser on a mobile phone, zoom out and you cant read the text, but you st...