guidelines

Application environment guidelines

I am looking for Windows applications guidelines, related to configuration, log files and other issues not related to user experience - like Store your configs in Foo directory Put temporary files in Baz one Default directory for open/save has to be Bar etc Thanks ...

Are Icon design UI guidelines still valid ?

Found UI guidelines of Launcher icon design http://d.android.com/guide/practices/ui_guidelines/icon_design.html but System Icons in recent Android releases doesn't seem to follow these guidelines (icons are flat instead simplified 3D perspective, as described in document). Are they already obsolete and what are the current guidelines ?...

Where can I find information about Android 2.x icon design guidelines?

Assuming that old Icon design guidelines are not valid anymore, where can we find information about the guidelines to follow to design "new-styled" 2.X launcher icons? Should applications provide icons for both icon styles if they work for both versions? ...

Naming conventions - in which namespace do subclasses go?

Hypothetically, if I have: Contoso.App.People.SecurityGuard : Contoso.App.People.Person And I then build this class and ship it as a core lib. If I then consume this library in, say, a mobile client app and make a: NightDeskGuard : Contoso.App.People.SecurityGuard In which namespace would the new class go? Contoso.App.Mobile.Peopl...

Visual guide to System.Windows.SystemColors

All throughout the Windows UX Guide it is suggested to use the appropriet SystemColors within an application to ensure that an application's default theme is consistent with teh rest of the system. I totally aggree, the only problem is that there seems to be no guide for how named values within the SystemColors type map to actual common ...

Vim like window manager

I'm trying to implement a window manager like vim does but in-browser with JavaScript. I got pretty much what I wanted working with jquery layout, but how I should manage my windows still elude me.. I can start with a single "window" and a empty buffer like vim does, then split it vertically or horizontally to get a split view of two or...

General guidelines for parsing name=value pairs from a long user-input text string

I'm developing a system (in PHP) that will take in a string of text (from email, initially) and need to determine the beginning and end of a section of the text that contains name=value pairs of data, and parse that section so that the name=value pairs can be processed into a form submission. I am looking for ideas on what to use as deli...

Guidelines for logging (tracing) in a Windows application

As I see it there are two different types of logging: User-focused logs, like those produced by my anti-virus ("started scan", "no threats found", etc.) Developer-focused traces, which may be as simple as a log of exceptions or as detailed as a log of every method call I'm currently planning how to incorporate the second type of logg...

What exception clas to use in when IEnumerable contains null

I have seen the following exception case several times public SomeClass(IEnumerable<T> someValues) { if (null == someValues) { throw new ArgumentNullException("someValues"); } int counter = 0; foreach (T value in someValues) { if (null == value) ...

iPhone Human Interface Guidelines question

iPhone Human Interface Guidelines -- Do they apply for OpenGL games? GL games typically have custom buttons, custom lists, etc. Take the Quake player list for example, if ported, it wouldnt be a typical UI list object. Does this mean the reviewer in question would reject anything that wasn't using standard UI? Or, is there an excepti...

iPhone application launch time guidelines

Please point me to the iPhone application launch time guidelines. I see that there is a hard limit of ~24 seconds. OS kills application if it did not started in that time with the message: com.bundle.id failed to launch in time There is also a QA article on this. (24 seconds is the time until OS on my phone kills the app.) But I thin...

Shortcut keys for menu items (alt + letter). Is there any convention for namings ?

Is there any official/unofficial/informal convention for alt+key namings ? maybe, Microsoft have some internal document for that thing. Different menu levels and so on ... http://img256.imageshack.us/img256/2426/shortcutl.jpg ...

Are there old versions of Windows UX guidelines somewhere?

Since I've read Windows User Experience Interaction Guidelines (there's a PDF download avaliable) I've found it to be admirably self-deprecating, humbly pointing out their own horrible UI practices long scolded by Joel Spolsky. I'd like to know, however, what they had in mind while they made those mistakes. Is this (terrific) UX Guid...

Extension Methods and Application Code

I have seen plenty of online guidelines for authoring extension methods, usually along these lines: 1) Avoid authoring extension methods when practical - prefer other approaches first (e.g. regular static methods). 2) Don't author extension methods to extend code you own or currently develop. Instead, author them to extend 3rd party o...

Are there stored procedure writing guidelines?

There are a lot of information about how to write an stored procedure from a practical view, in a very database server language dependent way, but since I and the team that I work everyday already know that, I was looking for a more theoretical discussion about how to do this, in some way language or database server independent. I want ...

How do you create a GUI if you are not graphic savvy?

Imagine that you have the next silver bullet software idea and you are a terrific programmer but you don't know a thing about Photoshop and colors stuff. Do you hire a graphic? Do you steal from some free templates? Do you have any advice to handle this common problem? EDIT: My question is on GUI in general: Web, Desktop or Mobile. ...

When should I use temporary variables?

Specifically, I'm wondering which of these I should write: { shared_ptr<GuiContextMenu> subMenu = items[j].subMenu.lock(); if (subMenu) subMenu->setVisible(false); } or: { if (items[j].subMenu.lock()) items[j].subMenu.lock()->setVisible(false); } I am not required to follow any style guidelines. After o...

Recommendations for 'C' Project Architecture Guidelines?

Now that I got my head wrapped around the 'C' language to a point where I feel proficient enough to write clean code, I'd like to focus my attention on project architecture guidelines. I'm looking for a good resource that coves the following topics: How to create an interface that promotes code maintainability and is extensible for fu...

Suggestions for Android project guidlines

Im trying to prepare a set of guidelines and project template for my future Android projects. Im already implementing the basic MVC architecture modularity. Im trying to have add more advanced level of design to my Android projects to make my development easier and maintainable. For example can someone suggest me a way to make Intent ca...

Win.Forms project structure guidelines

How do you typically organize Windows Application project files and what naming guidelines you follow? For example, usually I keep project root folder as clean as possible with program.cs, app.config. All the others files are put into project folders: UI folder for all UI components: UI\Base (base forms and base user controls) UI\...