guidelines

Where can i get a good guideline/suggestion on designing a complex website?

Am in the process of building an enterprise web application and i know its gonna be very complex especially the workflow and navigation process. I intend to use django as my framework and mysql as the backend database. Am looking at an application with over 300 tables!!! (its an app i had already done as a desktop application and am pla...

ASP.NET MVC: Is a helper allowed to grab data?

All my controllers in my project inherit from a base controller, which has a property with my Entity Model. Let say I have a view that shows cities in the world, and it has an option to filter by country. The country filter is a dropdown list of countries from the database. The Html helper for the dropdown list requests a IEnumerable<Se...

Making an existing site mobile friendly

So I am planning to make an existing website mobile friendly. The good part is that it is entirely text based with a few images which can likely be omitted from the mobile version of the site. The bad part is that it is a VERY complex site with a ton of pages (and each page can vary based on the data and the user accessing the site) A l...

Postback or Callback?

I was wondering what to take into consideration when deciding between a full postback or a quick callback. There are two extremes: You could do it the "old" way, where every user action causes a full postback. Or you could conceivably ajaxify your whole web application so as to never cause a full postback. Both options don't seem to m...

if / while nestings... how much is too much?

Say we have the following code function ABC() { if (....) { if (....) { if (....) { ... } } else { ... } } else { ... } } my question is... Is that 3 levels of If/while-blocks already way too much to withstand? if not, how much levels of these statement blocks can you ...

Are there any good documents or websites that show design guidelines for XAML GUIs?

I am looking for some guidelines or standards for XAML GUI design... or even a very good set of examples that show nice GUI that I can use as a starting point. Over the years I have grown into a very good Battleship Grey Dialog designer, but those are old, and ugly now... and I need to revamp a couple of product GUIs. I know with XAML...

Fault Diagnostic Process

Has anyone created or seen a good fault diagnostic procedure for a web based solutions that an Operations team could use to do diagnostic and support with? The solution is based on a C# system running on IIS and making use of things like workflow and WCF services. It's a Service Based solution and also makes use of external and Internal...

Know any unobstrusive, simple GUI guidelines or design recommendations for notifications?

Hello again. I'm in the process of designing and testing various ideas for an application whose main functionality will be to notify users of occurring events and offer them with a choice of actions for each. The standard choice would be to create a queue of events showing a popup in the taskbar with the events and actions, but I want ...

Event Signature in .NET -- Using a Strong Typed 'Sender'?

I fully realize that what I am proposing does not follow the .NET guidelines, and, therefore, is probably a poor idea for this reason alone. However, I would like to consider this from two possible perspectives: (1) Should I consider using this for my own development work, which is 100% for internal purposes. (2) Is this a concept that...

Should a cancel button ask for confirmation?

If a user clicks a cancel button should it pop up a dialogue asking for confirmation? If so, should this be all the time, or only when there are unsaved changes on a form? ...

Default checkbox state: checked or unchecked?

I have an application settings page with a bunch of checkboxes. How should I choose the default checked state of the checkboxes? I see the following options: Always set the default state to unchecked, but this leads to negative statements in the checkbox text (like "Don't automatically show due schedules"), which is sometimes hard to ...

Any good guides to give to developers for documentation?

I've got to prepare a documentation guide for developers of a software project. We use a variety of languages (PHP and Java). I'm looking for some sort of language agnostic, high level, "this is what (or why) you should document" guide. Some heuristics and rules of thumbs that I can give to people to read in the hope that they will produ...

Open Sourcing a Framework: Ok, I bought the concept, now what?

(Note to moderators: I did my homework, and I know there is a very similar question, I'm putting on a different perspective. Please be somewhat more lenient to me. Yes, I'm asking for forgiveness not permission :]) In the past year, I wrote an application in order to deliver as my grad thesis. Its fine, and it works with some interestin...

Guidelines for better unit tests

Jimmy Bogard, wrote an article: Getting value out of your unit tests, where he gives four rules: Test names should describe the what and the why, from the user’s perspective Tests are code too, give them some love Don’t settle on one fixture pattern/organizational style One Setup, Execute and Verify per Test In your opinion these gui...

What is a "customizable VCL designer guideline" in Delphi?

The web page http://www.codegear.com/en/products/bds2006 starts with a list which includes this line: Ensure visual consistency with customizable VCL designer guidelines. Is this related to the 'laser-line' guidelines? How can these guidelines be 'customized'? Edit: This page gives additional information about this feature....

Application Design Guidelines references / books

This book is an excellent reference for framework design guidelines; how much of it should one use when designing / implementing a system? Or should just relying on FxCop/SyleCop be enough? Any references to books, blogs, etc are appreciated. ...

Updating attribute based on radio selection

I have a table with question_id , nominees and vote_count in which the values for question_id and nominees are populated from other tables with vote_count as zero. ex: question_id nominees vote_count 1 tamil 0 1 selvi 0 2 aaaa 0 ...

How do you use guidelines to help format your code in the VS editor?

Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\9.0\10.0\Text Editor. What guideline settings do you use? ...

Refactoring policy for real-time code for critical system

I'm working in a company which produce real-time C program for home-made hardware, the program is 15-years old, and still need to be maintained. Even though we do not verify manually the code, We have a strict no-refactoring policy. Even if a certain code is hard to grasp, or have many clear code smells, you must make minor changes to i...

SPWeb.Site, should you call Dispose() on it?

Updated 06/08/2009 15:52: Short answer NO. Original question: I can't find any reference which gives guidance on SPWeb.Site regarding disposing. I've gone through some of the more popular best practises documentation on disposing SharePoint objects: http://www.sharepointdevwiki.com/display/public/When+to+Dispose+SharePoint+objects htt...