Re: aspbeans

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



well, take a somewhat large form with a complicated datagrid. you can
populate, save, navigate through the columns by hand, and do all of
that good stuff with one line of code for each way of the transfer, or
you can do it with 2 lines of code (not counting xml situps).

that you can make changes in one layer without having to significantly
alter another, or hopefully not at all, is a fairly big benefit i
think. further, it reduces ties between the controller and the
presentation, enforcing MVC paradigms better.

that's where i see the benefit. things like RoR and JSP already offer
(fairly similar) ways to do this, but i didn't know of anything that
did it in .net so i slapped one together.

i'm planning on putting in validation, so you can write custom
validators without having to pollute your code with that either.

the main idea, i suppose is to reduce redundant code and allow
developers to focus on their logic and control, instead of doing tons
of trivial stuff. if you've got any suggestions that you'd think would
make it more clearly beneficial to you, i'm definitely open to them :)

if it's a small project, though, then it might be a pain to implement
the separate layers and everything else. i'd say the same goes for
things like (n)hibernate, ibatis, struts, or anything else.

.



Relevant Pages

  • Re: Model-View-Presenter (MVP) question
    ... Think of the controller as being the glue between the two. ... validation is done in the model). ... structure that you put an objects (screens) attributes in. ... a very simple one - because there is simply one business event - the ...
    (comp.object)
  • Re: responsiblity about MVC
    ... if it was directly generated off of the data structure you were updating. ... You could make it the responsibility of the Controller to do validation. ...
    (comp.object)
  • Re: Slow UI even when use background thread
    ... The controller controls another component that permanently polls a smart card reader connected by a serial port. ... As soon as a smart card is discovered, the controller receives a notification and starts the smart card validation procedure. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Slow UI even when use background thread
    ... The controller controls another component that permanently ... polls a smart card reader connected by a serial port. ... After validation has been finished, ... described problem only exists on the fast device with CE 6.0. ...
    (microsoft.public.dotnet.framework.compactframework)