standards

for attribute - standards wise

How this code should be (asp.net standard)? <label for="jobno">Job#</label> <input id="TextBox_JobID" name="jobno" runat="server"/> <input type="button" value="Show Job" class="fbutt" id="Button_showJob" onserverclick="Button_showJob_ServerClick" runat="server" /> </p> <p> <asp:Label ID="Label_error" runat="server" class="...

Any good book about data exchange standards?

Hi, These days I'm finishing the thesis and have to add citations for some elements commonly used in web applications such as SOAP, cookie, HTTP stack. Does anyone know any good book with definitions of data standards and protocols? As already familiar with practical use I am looking for a book to cite definitions. Actually the simpl...

Do pointers to string literals remain valid after a function returns?

Is the pointer returned by the following function valid? const char * bool2str( bool flg ) { return flg ? "Yes" : "No"; } It works well in Visual C++ and g++. What does C++ standard say about this? ...

What is the point of `void func() throw(type)` ?

I know this is a valid c++ program. What is the point of the throw in the function declarement? AFAIK it does nothing and isnt used for anything. #include <exception> void func() throw(std::exception) { } int main() { return 0; } ...

Should a colon character be escaped in TEXT values in iCalendar (rfc2445)?

My understanding from reading the specification (http://www.ietf.org/rfc/rfc2445.txt) is that the ":" character should not be escaped in text values like DESCRIPTION. From the RFC: The "TEXT" property values may also contain special characters that are used to signify delimiters, such as a COMMA character for lists of va...

Rules to Develop a Delphi Windows 7 App

Where can I find the best set of rules to follow for developing a Delphi application for Windows 7? ...

Visual C++ standards compliance

Hey, I was wondering if, and to what degree, does Microsoft's Visual C++ compiler conform to the current C (C90/C99) and C++ (ISO/IEC 14882:2003) standards. Unfortunately I'm only able to find partial information on the subject, I may be looking at all the wrong places. Any pointers to related resources are much appreciated. Thanks in ...

Is there a way to store and manipulate a span of time that takes month lengths, leap years, etc. into account?

I was just about to write this myself, but I know this has to exist and I'm just managing to avoid all the Google keywords that would lead me right to it. I would be looking for something like DDDMMMYYY where D, M, Y are the number of days, months, and years. So 00103000 would indicate a span of three months and one day, or 000000001 wo...

Windows Standard File Locations

Could somebody point me to a document which lists all the standard file locations in windows and what one should and shouldn't use them for. Something like User Application Data -> %USERDIR%/AppData/Local/%VENDOR%/%APPLICATION% and so forth. ...

HTML 5 - Sneaky stuff

HTML 5 is the new W3C definition for HTML and will likely represent the direction the internet goes as people find the next killer apps that work in it. There are the much publicized 'public' coding features like the <video> tag, but I'm wondering what low-level coding tricks people have found so far that could be important, useful, int...

Is this valid C++?

struct SomeStruct { int a; int b; }; SomeStruct someFn( int init ) { SomeStruct ret = { init, init }; //... return ret; } void someFn2( SomeStruct* pStruct ) { // .. } int main( ) { someFn2( &someFn(32) ); return 0; } ...

What are the boundaries or scope definitions of HTML5 development?

From reading the mailing lists and looking at the specification I cannot tell what the limits of HTML5 are as a software or programmatic technology. I have seen where they have attempted to standardize video and audio formats in HTML5 and it seems they may be writing the definitions for XHTML5 into the HTML5 specification. It also appe...

Is ISO 9241 (Ergonomics of Human System Interaction) relevant in the industry?

Are standards like ISO 9241 "Ergonomics of Human System Interaction" of any relevance in the industry? Are there examples of certified software products? And would you do a certification of your software products? ...

Browser behavior on 403 Forbidden error

My server returns a 403 forbidden error when a user tries to access a resource that they do not have access to. Along with the header the server also writes a small message describing the error. In Firefox the error message gets displayed nicely and the user knows what's going on. In Internet Explorer the message is hidden and replaced...

ISO standards for .NET 3.5

Does anyone know the ISO standard that covers .NET 3.5? I found ISO/IEC 23270:2006, but I am not sure if this is the right/latest one. I need to put this in my SRS document. ...

Block Level Elements inside Inline elements

The W3C Validator tells me I can't put block-level elements inside inline elements. Makes sense... but what if I'm using CSS to change that block-level element into an inline element? And what if I'm using CSS to convert an inline element into a block-level element (when inside another inline element)? The Validator doesn't pick up on...

Naming standard for INCLUDE indexes?

We use a fairly straightforward naming standard for indexes that I can validate programmatically, but I am struggling with naming indexes with INCLUDE columns. If I do it based on a simple formula, it's too easy to build names that are too long. Then my programmatic validation fails, and I end up with truncated names. For those of you u...

Helpful Tips for developing WAPs

I'm starting to develop WAP (websites for mobile devices) websites, however I'm finding there are such a wide range of mobile devices that stretch from the advanced iPhone to older blackberries. Are there any helpful sites that discuss best techniques and good practices so that I'm not ignoring any of the major issues? Cheers ...

Are colons allowed URIs?

I thought using colons in URIs was "illegal". Then I saw that vimeo.com is using URIs like http://www.vimeo.com/tag:sample. What do you feel about the usage of colons in URIs? How do I make my Apache server work with the "colon" syntax because now it's throwing the "Access forbidden!" error when there is a colon in the first segment o...

Drupal page optimization question... which is better?

In terms of: Speed Required processing (which will influence speed) Following standards Which of the following two methods will be better? I want to create a general page layout, however, the frontpage will look different from the normal look and feel. Method 1 Creating a normal page.tpl.php file but with the following code in it:...