03-14-2005, 05:08 PM | #1 (permalink) |
Insane
|
[general] RAD Development
I'm gearing my post towards Delphi developers, but I know this might go a long way for everyone who programs using a RAD environment.
My current problem is that I don't really know how I want to structure my program. It's a LiveJournal client, and it's only being created as a time-waster. I need something to do with my spare time! Right now all I want to do is have a login form and a PostEvent type form. Login - lets you enter in your name and password and logs you in. If successful, it shows the PostEvent form. PostEvent - has fields that allow you to enter music, mood, event text. A post button will send the request to the server. In Delphi, you have the concept of a main form that gets created and shown when your porgram initially runs. You can change things a little however, so you can do pretty much anything. For some reason, perhaps its my procedural programming background, but I hate the idea of having the login form being the "main" form (which by Delphi standards, if it closes, the program is terminated). So I have a third form that does nothing except hide itself, and show the login form. Also, I would like to know if it is proper to reference other modules in ones code, say Unit1.Invoke_This_Method. For another odd reason, I think that there is another more proper way to do that, too... but alas this is why I'm asking the question in the first place - so, in my login form would I just code in a posteventform.show ? or should i create an instance of the TPostEvent form in the local scope and then do a MyPostEventForm.Show ? Is this "proper"? I'd like to advanced my programming skills, so as I know you can program something 10 different ways, I would like to know what should be the most proper, most efficient, most "advanced" I guess. Am I making sense? I think Visual C has a bit of RAD development, and if not I know Visual Basic certainly does. How is it done properly in VB?
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip |
Tags |
development, general, rad |
|
|