Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are using views in sql no longer necessary?

I just got floored by a command from my manager, saying that in our newest version of our coldfusion 8 powered site, we would not be using any views.

He believes that what our contractor said with Coldfusion 8, that the performance benefit is minimal, and that it is very inconvenient to have to lookup the code for a view.

We do have a development server, with coldfusion, iis, and sql server 2005 on it, but the other programmer and my manager either refuse to use it or don't care. I don't think they really understand the importance of a dev server and source control but that's not my main question.

We do have a lot of custom reports, and having worked only a year here, and only part-time, it has been very hard to get a handle on their database, so using views for reporting in our new version would make it much easier to grab certain sets of data, rather than have all the complex joins in the coldfusion code.

I will respect his wishes, of course, I am just totally floored by the lack of evidence backing up this decision.

On our production server we have Coldfusion 8 Standard, IIS7, SQL Server 2008.

I can understand the ease of seeing all the sql, but I use ssms every day, looking at tables, views and stored procedures, so I don't claim to be an expert, but I am reasonably familiar with sql server.

And I guess that's what I really expect from them, to have some solid reasons for not using views.

Am I being irrational?

I don't want to get into arguments, that's pointless, but it's so hard when they don't even have a solid development life cycle, or use source control.

I don't want to be the anal sob, being rude or making them feel uncomfortable, but I just dont' get it why they aren't adopting to what I consider basic must have, in any kind of solid web programming company or department.

Sorry for long post, just this bothers me, I want to make sure this decision makes sense for performance reasons, or maybe I just have too few clout to ever make them see why this decision is wrong, and i will have to accept it.

But is there any clear provable evidence, that we don't need to use views with coldfusion/sql server anymore?

like image 904
crosenblum Avatar asked Nov 11 '10 05:11

crosenblum


1 Answers

I think the short of it is NO.

Views arent dead, they havent even staggered yet, instead I think it has a lot more uses than most think.

In a situation like this, I would rather have an informative discussion with the others. Preprare yourself, get some documentation, and put together a little presentation. Show the pros and cons of your ways, and be open to discussion. But always remember, as the Client is always right, so the Manager/Boss thinks they are...

like image 112
Adriaan Stander Avatar answered Sep 28 '22 02:09

Adriaan Stander