473,385 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

guidelines for developing an application

Hi There,

I am about to develop a windows application. I was wondering if there is
any set of general guidelines I should be following when developing a
windows application? Is there a preference of writing SQL queries within the
application rather than Stored Procedures?

Please help

Thanks

Vivek
Nov 21 '05 #1
4 1140
Vivek,

What sort of guidelines are you referring to? If you are talking about
coding standards then I personally believe that it should be up to the
developer to come up with their own. If you are developing the project on
your own then so long as you can code the application in such a way that if
you were to come back to the project later you can understand what is going
on, then that should be fine.

If you are developing in a team it is probably best to have a meeting with
the other developers and come up with some coding standards between
yourselves that everybody is happy with and get them documented.

As for writing SQL queries, wherever possible I would try to write them as
stored procedures as this would make your code easier to maintain.

Hope this helps?

Kevin

"Vivek Sharma" wrote:
Hi There,

I am about to develop a windows application. I was wondering if there is
any set of general guidelines I should be following when developing a
windows application? Is there a preference of writing SQL queries within the
application rather than Stored Procedures?

Please help

Thanks

Vivek

Nov 21 '05 #2
Vivek,

The freedom of a programlanguage is that it let yourself decide what you can
take.

When you make a program than good sense, readability, and with that good
maintanability should be in my opinion your first guideline. Where is OOP
perfectly for.

The advance from a stored procedure above non stored procedure is not much.
In the current SQL server version you can solve a security problem by using
a stored procedure while there is a very little bit less datatransfer
needed.

In my opinion is it good first to use text commands and when your programma
is running create stored procedures from that. The change in a VBNet program
is almost only one statement per procedure.

Just my thought,

Cor
Nov 21 '05 #3
Hi,

Thanks a lot for your opinion. I appreciate your feedback. I am quite clear whatI want to achieve now.

Cor Question for you....

Could you please elaborate on this

The advance from a stored procedure above non stored procedure is not much.
In the current SQL server version you can solve a security problem by using
a stored procedure while there is a very little bit less datatransfer
needed.

In my opinion is it good first to use text commands and when your programma
is running create stored procedures from that. The change in a VBNet program
is almost only one statement per procedure.

I could not understand what you are trying to convey.

Lastly, i understand that I am going to have a role based security in my application. At the same time I want to develop a flexibility that allows users to create customised fields and forms. Can you please guide how can I achieve this?

Thanks again

Vivek
"Vivek Sharma" <jo*******@news.com> wrote in message news:eU*************@TK2MSFTNGP15.phx.gbl...
Hi There,

I am about to develop a windows application. I was wondering if there is
any set of general guidelines I should be following when developing a
windows application? Is there a preference of writing SQL queries within the
application rather than Stored Procedures?

Please help

Thanks

Vivek

Nov 21 '05 #4
Vivek,
In my opinion is it good first to use text commands and when your programma
is running create stored procedures from that. The change in a VBNet
program
is almost only one statement per procedure. I could not understand what you are trying to convey.
When I have made a new stored procedure I have to check on two places when
there is a SQL exception. When I first make it in my program I have to check
it only on one place when that exception is trowhed. That is all.
Lastly, i understand that I am going to have a role based security in my
application. At >the same time I want to develop a flexibility that
allows users to create customised >fields and forms. Can you please guide
how can I achieve this?


I almost never answer any security questions. I have the idea that when I
write it here, I can for the same write it as helptext on every program I
make for the guys who want to hack it.

Cor

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

61
by: Pete Vidler | last post by:
Hi Folks, I'm wondering if there is a compilation of C++ guidelines out there anywhere. Here are some of the ones I've picked up so far (as examples): - Functions should fit on one screen,...
15
by: Earl Higgins | last post by:
The company where I work as a Senior Software Engineer is currently revamping their (1991 era) "Programming and Style Guidelines", and I'm on the committee. The company, in business for over 20...
8
by: Aravind | last post by:
I am Aravind.Could someone provide me with a list of specific guidelines for secure programming in C/C++?.I would like to use those guidelines for developing a security application to deal with...
26
by: Laurent Bugnion [MVP] | last post by:
Hi group, In agreement with the head of our R&D department, I published my firm's JavaScript Coding Guidelines. I work for Siemens Building Technologies. We developed these guidelines for a web...
6
by: =?Utf-8?B?Sm9l?= | last post by:
Hello, I have 10 years of experience working as a Webmaster. For about an year I worked on a 3-tier ASP application which gave me a good experience with SQL Server (Stored procedures) and...
12
by: =?Utf-8?B?VG9tKys7?= | last post by:
I have been reading "Design Guidelines for Developing Class Libraries" at http://msdn2.microsoft.com/en-us/library/ms229042.aspx. Is it correct that they are recommending camelCase for private...
5
by: superheathen | last post by:
Hi, While I think I have a reasonable grasp of C++ in general, I've never really used it more than a convenient C. as such, I'm finding very basic OO confusing, not so much the concept, but how...
7
Breezwell
by: Breezwell | last post by:
Hi everyone, Quick question regarding application development guidelines. After working for a few months on developing an Access-based search tool, I have found that I may not have planned the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.