choice

Is it valid to have a 'choice' of 'group' elements when defining an XML Schema (XSD)

Is it valid to have a 'choice' or 'group' elements when defining an XML Schema (XSD) i.e. is the following valid <xs:complexType name="HeaderType"> <xs:sequence> <xs:element name="reservation-number" type="ReservationNumberType" minOccurs="1" maxOccurs="1" nillable="false" /> <xs:choice minOccurs="1" maxOccurs="1"> <xs:...

MOSS 2007 Document Library - choice column not displaying selected value

I have something funky going on with MOSS & was wondering if anyone out there has seen anything like it: I have a document library in MOSS that has several custom columns added to it. I have a column of type choice. For one document in the library (a word document), the selected value does not get displayed for the one column - all of...

Game programming - How to avoid reinventing the wheel

Summary: Can I program a "thick client" game in C without reinventing wheels, or should I just bite the bullet and use some library or SDK? I'm a moderate C programmer and am not afraid to work with pointers, data structures, memory locations, etc. if it will give me the control I need to make a great "thick-client" ...

Is porting a library/code from lang.x to lang.y sane?

Like many, if not all, i too have a favorite programming language that i like to use in projects, read about, advocate about, sleep with etc.. which i'll call lang.y To not to re-invent the wheel, i mostly use others' works in my projects whe(n|re)ever i can. But sometimes, the already made wheels are written in other languages(lang.x) ...

What is a good GUI programming language for an experienced PHP developer?

I have been working with PHP for a while now and would like to learn some Windows desktop-based GUI applications. Something similar to C# or Visual Basic would be nice, however I would like to learn a language that is open, similar to PHP. Please do not suggest anything that requires an expensive compiler or one that does not allow yo...

Why does everyone go with Subversion?

I personally used Mercurial and Subversion in a limited way and I just can't see why 95% of the people will chose SVN over something else. Is it just a monopoly case or is there a lot of good hidden in SVN that other systems don't have? ...

Do you leave parentheses in or out in Ruby?

When possible.. do you leave parentheses in or out in Ruby? ...

How would you symbolise 'change' ?

Because of a space-issue I have to make 'single-character-links' for crud actions: In characters I would symbolise: 'delete' with character x 'add' with + … How would you symbolise 'change' ? ...

Why would one want to use ruby over python or vice versa?

I wanted to know, while deciding which language or technology to use for implementing an idea; a design, what are the factors involved in making a decision? Specifically talking about popular scripting languages, why would one choose to use ruby over python or perl or vice-versa? All these scripting languages have proved their worth, so ...

Choosing a PHP Framework for long-term deployment

Duplicate Question: What PHP Framework Would You Choose for a New Application and Why? We are starting a new project and I am wondering which PHP framework we should use and if we should use a framework. We decided to choose PHP instead of ASP.NET in part because we didn't want to get stucked in a unflexible paradigm (WebForms, every...

On what criteria choose a good programming book?

Sometimes there are many books about some part of programming knowledge. Sometimes there are written by very good authors. So on what criteria choose a book to read? What take in an account to make sure that book will give me what I want? If authors are equally good and when readers don't judge what book is better one? ...

xml namespace to java, how to model 'choice' ?

What is the best way to represent in java a "choice" namespace tag? ie. <xs:complexType name="MyType"> <xs:sequence> <!-- common elements here --> <xs:element type="xs:string" name="name" ... /> </xs:sequence> <xs:choice> <xs:element name="stringValue" type="xs:string"></xs:element> <xs:element name="intValue" type...

Learning a web language

I am wondering what other people have experienced in creating a web service application, what language/framework is best suited for a beginner? Are there characteristics of the chosen language that make it better suited to programmers of a certain way of thinking that makes language XYZ appeal to particular programmers more? I'm looking...

New project language repartition

A few months ago I saw a pie chart of a study showing the trend in new projects as for the language of choice. The study revealed that the leading language of choice was Java, then C++ then C, and so on. I'd like to find that study if anyone knows where to find it ...

I need to add a choice field to sharepoint that has values depending on the current selection.

I need to add a choice field to sharepoint that has values depending on the current selection. Example: if the current selection is Open then the options have to be 'open, and In progress **Current selection | Possible selections** Open | Open,In progress In progress | In progress,To be communicates,rew...

gwt libraries

Hello! Which GWT library would you suggest I used for a project? Could someone tell me a summary of the pros and cons of various libraries around (SmartGWT, Ext-GWT, GWT-Ext etc.). Is there a best-all-around-library basically "everyone" works with or are some libraries more suited for specific applications than others? Thanks! Possible ...

Multiple choics iPhone App - UITableView?

I am developing a voting app, where the User will be presented with a question and multiple choices. In a typical HTML world the choice for this interface would be a Radio Box/Check box. What kind of view would I use in the iPhone SDK for a similar behavior? Are there any sample apps which I can refer to? Thanks, Amy ...

is Ruby here to stay?

Ruby on Rails has made a rapid rise as decent language for webdevelopment. How does it compare to other languages in that area (PHP, Perl, Java, VB.NET, ...) from a webdevelopment perspective? Will the number of sites programmed with Ruby keep rising or has its popularity brought up issues that may keep it from becoming a keeper (eg spee...

Help on language choice

A little more than three years ago I wrote an Access db to use for our bank accounts and budgeting. I've used it and loved it ever since because it does several great things that nothing else out there does. I've decided for several reasons to write it into an independent program. I'll let some family and friends use it, and later, af...

Should rails ajax calls be bundled into their own separate controller?

Should AJAX calls that are not RESTful be: put in the controller that most suits their functionality/view, or bundled together into their own separate 'Ajax' controller? I've been doing 1, but I've just read this (2725 diggs) article http://zygote.egg-co.com/10-dirty-little-web-development-tricks/ (see point 9) and this chap opts f...