Data service API design
We’re designing a data service that will store a large number of statistics about stocks, including historical data. The client will be a web application, which will need to pull various bits of data to show in different places on the site.
Passing the data of a certain page to another page. Windows Phone 7
The user will fill out information in page 1, and the data will be seen in the other page listed in a listbox.
How should I track approval workflow when users at every security level can create a request?
I am writing a new application that allows users to enter requests.
When does ‘optimizing code’ == ‘structuring data’?
A recent article by ycombinator lists a comment with principles of a great programmer.
Having a generic data type for a database table column, is it “good” practice?
I’m working on a PHP project where some object (class member) may contain different data type. For example :
What’s the proper term for a function inverse to a constructor – to unwrap a value from a data type?
Edit: I’m rephrasing the question a bit. Apparently I caused some confusion because I didn’t realize that the term destructor is used in OOP for something quite different – it’s a function invoked when an object is being destroyed. In functional programming we (try to) avoid mutable state so there is no such equivalent to it. (I added the proper tag to the question.)
Enforcing Constraints Upon Data Documents of Various Formats
This seems like the sort of problem that must have been solved elegantly long ago, but I haven’t the foggiest how to google it and find it.
Can data classes contain methods for validation?
OK, say I have a data class for a user:
I need some help creating a non-binary tree (or some other data structure that will better solve my problem)
I have about ten lists of numbers and some strings. Each list has about <= 30K lines. Each line on a list has a distinct number.
Isolating test data in acceptance tests
I’m looking for guidance on how to keep my acceptance tests isolated. Right now the issue I’m having with being able to run the tests in parallel is the database records that are manipulated in the tests. I’ve written helpers that take care of doing inserts and deletes before tests are executed, to make sure the state is correct. But now I can’t run them in parallel against the same database without uniquely generating the test data fields for each test. For example.