473,729 Members | 2,348 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1160
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******** *****@TK2MSFTNG P15.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
669
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, from various sources. - Non-leaf classes should be abstract (have pure virtual methods), from More Effective C++, Item 33.
15
2001
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 years, writes medical software, which must ultimately pass FDA approval and ISO 9000 certification. The product the document applies to is a large system, (just over 3 million lines of code) running on a variety of platforms (all Unix-ish), and over...
8
1884
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 issues like buffer overflows,memory leaks,user input validation etc.... Aravind
26
1711
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 application project in 2004, based on our C# guidelines. http://www.galasoft-lb.ch/myjavascript/Siemens_SBT_JavaScript_Coding_Guidelines.pdf Please note the following:
6
2132
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 COM/COM+ development using VB. I have used ..NET while working as a Webmaster for developing simple interactive forms and but not at all for developing n-tier web or windows application. Since I don’t have a lot of web/windows application...
12
1308
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 member variables? Doesn't this create problems for case-insensitive languages when we create a private member variable along with properties? For example Private thisIsAVariable As Int32
5
1797
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 everything should be laid out in practice. One of those is deciding whether or not a class should be inherited or declared as an object in the class.
7
2300
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 whole project as well as I could initially. Having no formal training in software development methodologies, I was wondering if anyone could recommend some good reading on the topic or point me to some templates / checklists. I have discovered...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.