Re: Modules



Frank Adam wrote:
On 18 Aug 2006 01:01:13 +0200, "Dag Sunde" <me@xxxxxxxxxxxx> wrote:

As far as the Form is concerned, it's only job was
to detect the event, the rest is none of it's business.

...............

Now I like that attitude. Detect and redirect whenever possible.

That particular approach is a very good practice, and is called
(or is part of) the "MVC design pattern" (Model/View/Controller)

Worth googling for!

I too split on functionality like most of the rest here, but i tend
to make classes instead of functions in public modules. (I know,
I'm probably way too OO...) ;-)

Ahhh, *now* we're talking bloat. Next you'll be confessing to using
collections ! ;-p

Splutter!!!! hmpfffh!

Of COURSE I'm using collections!
Especially when my database is *huge* and I need to grab that
500000 row table in one go!

;-D

(But yes, as long as I *know* they will never be larger than
approx. 500 item, I do...)

--
Dag.


.



Relevant Pages

  • Re: Modules
    ... Detect and redirect whenever possible. ... That particular approach is a very good practice, ... Worth googling for! ... I too split on functionality like most of the rest here, ...
    (comp.lang.basic.visual.misc)
  • Re: response.redirect with frames
    ... Is it possible to leverage this type of functionality in the ... >> Let's assume a page has a simple top and bottom frame. ... >> redirect the entire browser window, ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: newbie - lists vs. database
    ... My question is more related to best practice than what is possible. ... to create a database or to let SP handle this for me by ... what is best practice for creating data entry screens when writing a ... Should I just use the edit in dataheet functionality or ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Can I append an ADO recordset to an Access table in one go?
    ... The Microsoft-annointed flock will tell you, ... practice" (apparently, the practice of making things more functional ... Large numbers of rows in batch updates tend to perform poorly, ... functionality to import data from Excel. ...
    (microsoft.public.data.ado)
  • Re: FormsAuthentication.RedirectFromLoginPage is not redirecting to the correct page.
    ... I handle this kind of functionality in a Session variable ... Request.URL.ToStringin the header.ascx control that's placed on all ... procedure, then I redirect to the default page, otherwise I redirect ... there to disregard the login page as a RedirectURL and some other ...
    (microsoft.public.dotnet.framework.aspnet)