School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,418 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,559 people online right now. Registration is fast and FREE... Join Now!




The Best Approach to Software Development

 

The Best Approach to Software Development, Where should you start from?database or main application?

Ace26

16 Jun, 2009 - 04:03 AM
Post #1

New D.I.C Head
*

Joined: 10 Aug, 2008
Posts: 30


My Contributions
Guys, for some time now I have been wondering about something and I decided to seek your opinions on it.

Which is the best starting point in software development? Is it from database design to main application or vice versa?

User is offlineProfile CardPM
+Quote Post


RudiVisser

RE: The Best Approach To Software Development

16 Jun, 2009 - 05:11 AM
Post #2

.. does not guess solutions
Group Icon

Joined: 5 Jun, 2009
Posts: 1,872



Thanked: 137 times
Dream Kudos: 125
Expert In: PHP, MySQL, HTML, CSS, C#

My Contributions
I currently have my approach to software development saved as a draft on my blog... Will publish it soon and give you the link if you want.

Summary = Database Design w/ Client, Sketch of App Design for approval w/C Client, Build Core DLLs (because I believe in an MVC-Style workflow), test Core DLLs functionality with a Console Application to replicate GUI features, then build GUI.

Obviously the post goes more indepth smile.gif
User is offlineProfile CardPM
+Quote Post

Ace26

RE: The Best Approach To Software Development

17 Jun, 2009 - 01:19 AM
Post #3

New D.I.C Head
*

Joined: 10 Aug, 2008
Posts: 30


My Contributions
QUOTE(MageUK @ 16 Jun, 2009 - 05:11 AM) *

I currently have my approach to software development saved as a draft on my blog... Will publish it soon and give you the link if you want.

Interesting. Thanks for your response.I'll be waiting.....
User is offlineProfile CardPM
+Quote Post

Pwn

RE: The Best Approach To Software Development

21 Jun, 2009 - 04:47 AM
Post #4

D.I.C Regular
***

Joined: 25 Nov, 2007
Posts: 360



Thanked: 13 times
My Contributions
The answer seems obvious to me. Your database will need to be set up correctly before you start the UI. Otherwise, you'll find the need to change both before you're done. Spend enough time to make the database correct, then your UI will be easier and more straightforward.
User is offlineProfile CardPM
+Quote Post

baavgai

RE: The Best Approach To Software Development

21 Jun, 2009 - 05:42 AM
Post #5

Dreaming Coder
Group Icon

Joined: 16 Oct, 2007
Posts: 4,261



Thanked: 389 times
Dream Kudos: 550
Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua, Cheese

My Contributions
The datastore itself should be functionally irrelevant. Some of the worst database schemas you'll ever find are those based literally on fields on a form.

Identify the data that must be persistent. Organize access to that data through methods, things like Save and LoadById, LoadAll, etc. Once you have a clear picture of the data you need to store and how you need to access it, then you can work on the actual database.

A well designed, normalized schema with all the rules and referential integrity in place is usually a pain from a developers standpoint. The developer just wants data and three or four joins seems frivolous. The solution is to make set of methods in the application that retrieve and save data in a consistent way that is intuitive for the developer.

The magic behind such methods will usually be a database, but that database provider may change. It may even become a web service or some simple flat files. This is the fundamental design goal object oriented programming. You don't have to know what's going on inside, as long as the interface remains the same.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 11:36PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month