|
I'm confused as to what the issue is here. The normal way to solve this issue is to have a decent backup solution implemented on the server. Why is this not appropriate for your problem?
|
|
|
|
|
My questions are:
Does your app check the db structure? And how?
And how do you deal with a change of database version like from SQLServer 2000 to 2008R2?
How do you take advantage of datatypes like VarChar(max) which is available in 2005 and further, but not in 2000, without forcing all clients to migrate to 2008R2?
I then got a question 'why would you check the db structure?' upon which I described a not so fictive situation WHY I would want to check the db structure. See my previous post. I've seen this kind of situations numerous times in the past, most of the time here in the house: 'I have a db, don't know the version, but it works' a few hours later: 'oh no, it doesn't work'
Backup's aren't the problem. Stupid users and ignorant developers are.
Regards ... OttO
|
|
|
|
|
But you talked about the user recovering from a catastrophic database failure by reinstalling the database. That is not the way out of the problem. Being able to seamlessly recover from a backup is the way to bypass this issue.
|
|
|
|
|
Ofcourse, I agree on that.
Nevertheless: how do you signal all kinds of mischief? (the described situation is only a example, maybe not as realistic in a live situation at a clients site.)
How do you deduce that a database of a 'strange' origin is attached to your application?
Without crashing the app on some non-descriptive error like 'error in query'?
Regards ... OttO
|
|
|
|
|
Ahh, I see what you're getting at. What we do is have a version table in the database which we query to determine whether or not the latest version is installed. This table is kept up to date by the installation scripts and the version must match the version number we keep in the application configuration.
|
|
|
|
|
Thanks for sharing.
We are considering the same at the moment. That's one vote extra in that direction.
So, you don't check the db structure?
Do you use different database versions (SQLServer 2000, 2005, 2008R2, maybe beside those Oracle, MySQL etc)?
How do you get the most of them from within the same application?
I think I will go for a sort of abstract factory pattern to support the different possibilities of the SQLServer versions. Other database types aren't in the picture at the moment fortunately.
Regards ... OttO
|
|
|
|
|
We have a custom data provider that sits at the back end that allows us to swap between the vendors. We can't use something like nhibernate because we switch between different geo functionality between database vendors. This wraps up a lot of the standard geocoding stuff for us.
|
|
|
|
|
Thanks for the info.
Regards ... OttO
|
|
|
|
|
No problem. Glad to help.
|
|
|
|
|
OChristiaanse wrote: The software was updated, and in the update proces columns and tables are added,
and sometimes the content of some tables will be altered. The client doesnt add
the columns etc, only performs the update of the software.
I solve that all the time.
I have a table like: db_version.
It has columns like: name and version.
Name is a text value.
Version has a format like {number}.{number}.{number} (text too)
A software 'update' that applies a database update adds one or more rows to that table.
Software that uses the database either relies on a specific name/version pair or it relies on a minimum name/version pair.
When the software starts it validate the match or minimal versions that it expects.
If they don't match then the software issues an error and exits.
The name column exists to allow sub functional dependency checks rather than just a global version.
|
|
|
|
|
Thanks, your extra vote no.2 for this approach.
Regards ... OttO
|
|
|
|
|
databinding between WPF and sqlserver 2008 express
|
|
|
|
|
Is this a question? If so it is rather meaningless, please try explaining what your problem is.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
What about it? Rephrase the question if you have one and maybe people can help you.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Your question is not clear. Maybe you should check on msdn.
|
|
|
|
|
During the period of developing new changes request for our application, some of significant experience and mistakes are found which is necessary to make a conclusion in order to enhance team’s work in future.
1.Granularity of items in Solution &Design document.All detail changes in business, logic, UI and DB changes should be described in this document. We are supposed to make any developer get all details from this document.
2.Before talking about CR and drafting this document, it is very important to go through the related exist code of application, which will help to clear the relationship among the business objects and confirm CRs’ feasibility.
When we made an investigation for the relationship between business log and Machine and made a mistake that one log contains multi Machines.
Actually only one Machine in this log. So when we are coding, we found this problem and then we have to update our Solution &Design document again. Certainly it’s disappointing.
3.As to any one item, its corresponding priority (market/user level) and access permission should be taken into consideration as well.
welcome your input for this.
|
|
|
|
|
When customers / sales people / product managers etc. request a change, they are not at all interested in code. They look at the functionality only. Such requirements often start with a headline only, it is then the duty of requirements engineering / product management to precisely describe the requested functionality, possibly with user stories. When appropriate, the description will show the differences to the present situation. Now you have a functional specification.
Next, development has to scrutinize the requested change, and see how the application has to be designed: which interfaces, classes are needed, how they are distributed between server and client, etc. They have to look at the present code and its re-usability. Now you have a technical specification, and you can estimate the efforts for development.
Of course, the "functional" guys may talk with the "technical" guys when they create their functional specification.
When you eventually develop the functionality, you'll document differences from the original plan.
With "big" projects, you'll start with the main functionality, and while the customers can already use that core functionality, more details will be added as outlined in the steps above.
|
|
|
|
|
aoe.Dylan wrote: Certainly it’s disappointing.
Not sure what the question is.
But I believe you are suggesting that you had a Change Request (CR) and that while analyzing/implementing this you found a bug.
The bug, which significant, had nothing to do with the CR. As such it is nothing more than another CR despite originating from a different CR. You might choose to bundle multiple CRs into a release or not. That decision is based on an independent evaluation of each CR.
|
|
|
|
|
We anylasize the relationship of certain two object and thought it is one-to-many through business logic. We wrote these into our solusion &design document and were waiting for approval from archetect/DBA ext. However these related logic had exist in our application, its implementation logic is according to one-to-one.This kind of implementation can satisfy old logic. So when we develops, we should follow old one-to-one logic. We have to change design in document, but nobody is willing to review and apporve it again(disappointing). Therefore my conclusion is the reason of this mistake is "we didnt go through old code!". Hope you can see my point.
|
|
|
|
|
If I understand that correctly then the incorrect implementation of the design means that you are not going to be able to implement the new Change Request (CR.)
Normally you must build that correction in to the estimate for the CR. It is up to who ever pays if they want the main feature or not.
However your company might have a mitigation policy however that allows another CR to be put into place via some 'good service' policy (whether an explicit or implicit policy.) If that exists then you must put that CR into place and expedite it so it doesn't impact the other CR. Even if the primary CR is not accepted the correction can proceed since it impacts the expected functionality, even if not the actual functionality.
|
|
|
|
|
Not sure if this is the appropriate place to post but I found it odd that none of the top five online education companies offer content for smartphones. Desktop laptop and, of course... the iPad. Its not a form factor or capacity issue. Looking for a credible reason why this might be the case. Guidance sought
|
|
|
|
|
I think it's just because the explosion in popularity is still relatively new. So they're probably playing catchup just like a lot of us. There are plenty of online resources available though, just have to do a little research. The Android community is pretty active posting things in community forums (although the official Android website just points you to StackOverflow, but if you search online you'll find other forums).
Good luck!
|
|
|
|
|
One can only guess of course but some possibilities...
Education normally moves a bit slower than the consumer market place. Not sure how this fits with iPad but maybe because little effort is required.
There can often be beauractric hurdles associated with education.
The market is driven by sales not technology. And for some reason either the companies don't see opportunity or they did investigate it and found it lacking. Perhaps based on per item revenue expectations.
There is a 'toy' perception of phones apps and those companies don't want their apps taken that way. And the first implementer might suffer until acceptance is gained so no one wants to take the plunge.
They are all actively working on it but they haven't released it yet.
|
|
|
|
|
I teach at TAFE is Australia. One of the reasons there is little iOS offerings is because up until recently, there was little demand so most labs are setup to run Microsoft/Linux. I'm sure this will change, we are already aware of the demand.
Also I question the value of online except for the purpose of getting the qualification. If its not the piece of paper you are after, there are plenty of free online resources.
Class room environments are best because teachers can normally tell who's comfortable and who's struggling immediately. Online teaching makes this a lot harder to identify. Also more experienced/talented students can be pushed harder and get a deeper understanding of the subject matter.
"You get that on the big jobs."
|
|
|
|
|
We are creating a chat app for our office colleagues. Currently we are thinking of using web service for sending and receiving chat messages [calling function every 5 second]. Since this will be for smart phones [iOS, Win Mobile and Android] is this the best design or can this be improved or is there a better one.
|
|
|
|