I'm trying to find out what the best way would be to have a specification pattern in PHP where the specifications could (optionally) by transformed to PHP.
I am exploring some new directions and am testing how well they would work. Code and ideas are still very unclear in my mind.
Minimal interfaces would be like these:
interface IRep...
What is the default SVG style ? for example, what is the default font of a new SVG document ? Is it described in the SVG spec ?
<svg><text x="10" y="10">Hello</text></svg>
Thanks
...
How to deal with a project manager that imposes really tight deadlines but with a day or so before the deadline brings in new features and spec changes to implement, with another tight deadline.
The worst thing about this is that most of the new stuff leads to major rewriting of the existing code, as previously implemented business ru...
There appears to be a somewhat standard "descript.ion" file in Windows programs universe which provides meta data for all/some of the files in a given directory.
I know there are various programs which write this file (example: NewsBin, UseNet downloader) and read it (Example: "FAR", a file manager mimicking old Norton Commander).
I'm...
With the growth of dynamically typed languages, as they give us more flexibility, there is the very likely probability that people will write programs that go beyond what the specification allows.
My thinking was influenced by this question, when I read the answer by bobince:
http://stackoverflow.com/questions/1777705/a-question-about-j...
I've heard that putting a block element inside a inline element is a HTML sin:
<a href="http://www.mydomain.com"><div>
What we have here is a problem.
You see, an anchor element is an inline element,
and the div element is a block level element.
</div></a>
But what about if you style the outer anchor as "display:block" in th...
Is there an open standard (microformats'ish) that exists for specifying an arbitrary table of key/value pairs in an HTML meta tag?
So let's say I had a website about color, and had a page about a 5-color palette. I essentially want to express information represented in the page, in a format that can be gobbled up by third-party servic...
I frequently find myself wanting to make a table of forms -- a bunch of rows, each row being a separate form with its own fields and submit button. For instance, here's an example pet shop application -- imagine this is a checkout screen which gives you the option to update the quantities and attributes of the pets you've selected and sa...
Does anybody know why, at the end of section 7.6 of the ECMA-262, 5th Edition specification, the nonterminals UnicodeLetter, UnicodeCombiningMark, UnicodeDigit, UnicodeconnectorPunctuation, and UnicodeEscapeSequence are not followed by two colons?
From section 5.1.6:
Nonterminal symbols are shown in
italic type. The definition of ...
Background
I come from a hardware development engineering background. Our detailed specifications contained a revision history as a table at the end or beginning of the—typically MS Word—document. These specs were saved in a document management system separate from the management system used to store the hardware design deliverables, su...
We agreed some time ago that a company produce a specification for a piece of internal software. Until they produce the spec, we won't agree to the contract for the implementation.
They have sent us a confidentiality agreement to sign, covering the "program specification".
I have a few questions:
Is this normal practice?
Since the do...
Some special CLI types from mscorlib library (ArgIterator, TypedReference and RuntimeArgumentHandle types) cannot be used as generic type parameters to construct the generic types / methods:
void Foo<T>() { }
void Bar() { Foo<ArgIterator>(); }
provides the compiler error:
error CS0306: The type 'System.ArgIterator' may not be used as...
Chrome seems to measure an elements width from the inside of the margin including padding but Firefox and IE measure the boxes width where the border is (not including padding but inside margin). measuring the elements width from the border makes sense to me and is also helpful when coding because turning on borders will let you see the ...
Hi,
I'm currently thinking about a timekeeping application which can store and process information about the times and durations somebody is working.
There is national law about working times (at least in Germany), which should be considered. But what about more technical standards?
Are there any standards or spezification of models ...
I'm reading about closures which are going to appear in Java 7.
And I'm a bit confused because from one hand there are lots of nice articles which describe new java closures. But from the other hand there were 3 different specs and some of the articles are simply outdated because describe not the latest proposal.
So, if anyone trac...
So a coworker and I are in a fairly heated debate. We are beginning a new project and we are attempting to use BDD. We are both first-timers and don't fully understand what practices should be used. We've written some specs and we are now implementing the code. Things are getting pretty tricky since there is a lot of database interaction...
According to the w3 XHTML specification, the label attribute specifies a shorter label for the option. However (using the try-it tool with FF3.5), I can't see any effect. Hence my question: what does this attribute really do?
EDIT
It seems that it overrides the label used in the dropdown list. The contents of the option are (as far as I...
Are there some standards that you consider to be so obvious that they would be assumed to be in any spec?
For example, should hitting escape always cancel a form? Should double clicking a column header separator resize the column?
When a customer says "this is obvious and 'standard behavior' therefore it is a bug to not have it" -...
Background (question further down)
I've been Googling this back and forth reading RFCs and SO questions trying to crack this, but I still don't got jack.
So I guess we just vote for the "best" answer and that's it, or?
Basically it boils down to this.
3.4. Query Component
The query component is a string of information to be i...
In Germany, mobile carriers often provide a simple way to configure your mobile phone for MMS and GPRS: After keying in your phone number and device model on the carrier's website, you get a "configuration sms" sent to you.
I'm trying to understand how that works from a technical standpoint. I have scanned through 3GPP TS 03.40 (http://...