At 06:05 PM 8/9/2003 -0500, you wrote:
> >  I agree with you about the amount of post-back code relied on
> > for
> > interaction; I hate it.  It goes against my theories on good
> > coding
> > practices.
>
>Curious:  What are those theories?

  Post-back code in .NET is being called Web-Forms.  Web-forms are a 
parallel to windows forms (in traditional windows programming).  I don't 
think that the parallel really applies to web development.  In windows 
application development, the end result is a single program.  In web 
development, I think it is best to view every template as a separate program.

  As a general rule, I don't like forms that submit back to themselves.  In 
my experience it creates more code and is harder to maintain.  You have to 
figure out which "mode" the form is in, either 'input' or 'processing'.

  I like to keep my templates so that they perform one discrete task.  So, 
instead of trying to have all the form input and processing code on the 
same template, I believe that it is easier to write and maintain 2 
templates (one for input, one for code processing).  (Or a third for form 
verification between input and processing).


> >  I would assume that when the author said that using .NET (or
> > ASP.NET
> > specifically) allows the programmer access to the entire machine
> > he meant
> > the server, not the client.  But, I don't have enough experience
> > to say yes
> > or no either way.
>
>He means the server machine.

  It does make sense for a non-web application to be able to access the 
client machine.  Since .NET can be used for both web and windows 
development, we can't say for certain what the author was referring to 
without knowing the context of the comment.

>The
> > >methods that ASP.net uses to simulate a fat client just seem to
> > be so much
> > >kludge, it seems that its bound to make inefficient interfaces.
>
>Again, being judicious in the use of web controls is the key.

  I'll agree there; however most of the hype (and books I've read) would 
lead the readers to believe that web forms are the only way to do anything.


--
Jeffry Houser | <mailto:[EMAIL PROTECTED]>
AIM: Reboog711  | Phone: 1-203-379-0773
--
We Provide The Soundtrack to your Web: <http://www.fcfstudios.com>
My Books: <http://www.instantcoldfusion.com>
--
Far Cry Fly's CD Release Party on September 6th at Q-River in Wallingford
Energetic Acoustic Rock: <http://www.farcryfly.com> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to